It seems likely that  was originally some kind of god, whose worship had been lightly Christianised by the addition of various church features.
It seems probable that  once served as a divine figure, with the gradual integration of church attributes altering how it was worshipped.