package o; import o.C0690Mh; import o.C16889sB; import o.C4656beL; import o.ZI; import o.cYS; import o.wRi; /* renamed from: o.beL, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C4656beL extends ZI { public boolean a; public final IaV b; private C16889sB c; public C1193Xr d; /* JADX INFO: Access modifiers changed from: package-private */ @InterfaceC13391fZD public C4656beL(C16903sI c16903sI, IaV iaV, C16889sB c16889sB) { super(c16903sI); this.c = c16889sB; this.b = iaV; } /* renamed from: o.beL$LWm */ /* loaded from: classes4.dex */ public final class LWm extends wRi.LWm { private C4656beL a; private C15949jrV b; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { XUx xUx = (XUx) obj; if (this.a.f != 0) { final C1191Xp d = this.a.c.d(new C16889sB.IeS(xUx, this.b)); C4656beL c4656beL = this.a; ZI.IeS ieS = new ZI.IeS(this, d) { // from class: o.beO private C4656beL.LWm a; private C1191Xp b; @Override // o.ZI.IeS public final void e(Object obj2) { cYS.IeS ieS2 = (cYS.IeS) obj2; ieS2.e(this.b, this.a.a.d); } { this.a = this; this.b = d; } }; if (c4656beL.f != 0) { ieS.e(c4656beL.f); } C4656beL.c(this.a); } this.a.a = false; } public LWm(C4656beL c4656beL, C15949jrV c15949jrV) { this.a = c4656beL; this.b = c15949jrV; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { if (this.a.i(th)) { return; } C4656beL.a(this.a); C4656beL c4656beL = this.a; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.beK private C4656beL.LWm c; private Throwable d; @Override // o.ZI.IeS public final void e(Object obj) { cYS.IeS ieS2 = (cYS.IeS) obj; ieS2.e(this.c.a.j.d(this.d, C0690Mh.IeS.NAVIGATE_BACK)); } { this.c = this; this.d = th; } }; if (c4656beL.f != 0) { ieS.e(c4656beL.f); } this.a.a = false; } } static /* synthetic */ void a(C4656beL c4656beL) { if (c4656beL.f != 0) { c4656beL.f.ar_(); } } static /* synthetic */ void c(C4656beL c4656beL) { if (c4656beL.f != 0) { c4656beL.f.ar_(); } } }