In this reordered sentence, ʿAmr is the subject.
Al-Mafʿūl Bih: Definition, Fronting and Omission