メスであれば
mesudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of メス

1. If (it is) a female; When (it is) a female

Ba Conditional