bhavas ca jagmatuh svam svam
atha-after this; tasmai-unto Him; bhagavate-unto the Supreme Personality of Godhead; namaskrtya-offering obeisances; pitamahah-Lord Brahma; bhavah ca-as well as Lord Siva; jagmatuh-returned; svam svam-to their own; dhama-abodes; upeyuh-approached; balim-King Bali; surah-all the other demigods.