This deity helped resolve a dispute that brought a water goddess back from 
This deity helped resolve a dispute that brought a water goddess back from Nubia and oversaw three major battles between order and chaos. One creature that served this god was a guardian of a lake of fire named Astennu. He gave Isis the words that would resurrect Osiris and once alleviated Nun's sterility by gambling with Khonsu to secure the intercalary days. One of his forms is the god of equilibrium, the baboon-headed A'an. He oversaw the ceremony in which the feather of Ma'at, his feminine counterpart, was weighed by Anubis against the heart of the deceased. For 10 points, name inventor of writing, an Egyptian god of wisdom and magic who is depicted with the head of an ibis.
This deity helped resolve a dispute that brought a water goddess back from Nubia and oversaw three major battles between order and chaos.
{Thoth} [or {Djehuty}; or {Tahuti}; or {Zehuti}; or {Techu}; or {Tetu}]