jiù qǐn
to go to sleep
to go to bed (literary)
就
jiù
(after a suppositional clause) in that case; then
寝
qǐn
old variant of 寢|寝[qin3]