元姓 げんせいであれば
genseideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 元姓

1. If [surname] were [one's] original surname; If [one]'s surname had been [that]

Ba Conditional