Complex sentence: Females tend to be attracted to males with longer song repertoires since they tend to sire offspring with improved viability, thus gaining indirect benefits for their own young.
Split into simpler sentences: Females tend to be attracted to males with longer song repertoires since they tend to sire offspring with improved viability. In doing so, they gain indirect benefits for their own young.