Right side
主 supplies the sound (zhǔ → zhù, a tone shift) plus a strong semantic echo:
主 means 'host/master' — the one who stays put while guests come and go. So
住 = a person who is the host = 'to stay, reside'. Phono-semantic with unusually tight semantics.
主 itself is a lamp on a stand (the dot is the flame).