ぼうであれば
shinobōdeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 師の坊

1. If the master's chamber…; When the master's chamber…

Ba Conditional