package o; import java.util.Objects; /* loaded from: classes3.dex */ public final class IEw extends wRi { private final Xky a; private final AFI d; final VwS e; @InterfaceC13391fZD public IEw(Xky xky, VwS vwS, AFI afi, yRw yrw, yRw yrw2) { super(yrw, yrw2); this.a = xky; this.e = vwS; this.d = afi; } public final void e(final Xfm xfm, boolean z) { AbstractC13163fSk map = this.d.b(z).map(new fSS(xfm) { // from class: o.Nxi private Xfm b; @Override // o.fSS public final Object a(Object obj) { Xfm xfm2 = this.b; nvv nvvVar = (nvv) obj; xfm2.a = nvvVar.d; String str = nvvVar.a; C14957gcv.e(str, ""); xfm2.d = str; return xfm2; } { this.b = xfm; } }); final Xky xky = this.a; Objects.requireNonNull(xky); e(map.flatMap(new fSS(xky) { // from class: o.krr private Xky e; @Override // o.fSS public final Object a(Object obj) { return this.e.e((Xfm) obj); } { this.e = xky; } }).doOnNext(new fSQ(this) { // from class: o.ENT private IEw d; @Override // o.fSQ public final void c(Object obj) { this.d.e.b((iKd) obj, false); } { this.d = this; } })); } public final AbstractC13163fSk b() { return e(new C13377fYp(this.e.y())); } }