The number of different nouns and adjectives involved here is unclear. Perhaps better seen as two separate lemmas, with those referring to divinities taken as feminine forms of gny, "genie" or in any case from gny#2 "to revile".
NB: The passage at JSB5 510:13 was misunderstood by LS2 as some kind of place of cultic prostitution.