Together, un-gyo and a-gyo (aun-gyo) represent the beginning and the end, infinity. Evil spirits are expelled through he mouth of a-gyo and good spirits are kept in through the closed moth of un-gyo.
Guardian dogs or lions are common in Asian cultures. In Japan, they are "Komainu" and "Shisa" in Okinawa. In China, they are called "Shishi". In Myanmar, they are "Chinthe". They are found guarding Buddhist, Shinto, and Ryukyuan shrines, temples, and altars.