What is the grammatical function of “mufāriqan” and “mustaṣḥiban”?

The Ḥulwān Maqāmah: Recognition and the Turns of Fortune