Function of muʿallimā in ḥaḍara muʿallimā al-madrasati?

The Dual Noun: Inflection, Maqṣūr, Mamdūd and Iḍāfah