Borrowed from Arabic مَحَلِّيّ (maḥalliyy). By surface analysis, mahal + -iy.
mahalliy (comparative mahalliyroq, superlative eng mahalliy)