わりであれば
owarideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 終わり

1. If it ends; If it is finished; When it ends; When it is finished

Ba Conditional