In “عَلِيٌّ مُقِيمٌ”, “مُقِيمٌ” is musnad and “عَلِيٌّ” is musnad ilayh.

ʿIlm al-Maʿānī: Khabar, Inshāʾ and the Purposes of Reporting