Both happened relatively simultaneously, as far as I'm concerned. The nonfinite verb is just that-- it offers no definitive time of occurrence unless common sense orders the actions, as in 'Quickly reloading the pistol, I fired six rounds into his brainpan'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.