Global dynamics of the Kummer-Schwarz differential equation