Move pushing of r12 into methods that aren't main (makes code size smaller).