package o; import o.C0690Mh; import o.ZI; import o.bWG; import o.wRi; /* loaded from: classes4.dex */ public class bWG extends ZI { public String a; public C8919dZt b; private final CQ c; public YpL e; @InterfaceC13391fZD public bWG(C16903sI c16903sI, C8919dZt c8919dZt, YpL ypL, CQ cq) { super(c16903sI); this.b = c8919dZt; this.e = ypL; this.c = cq; } /* loaded from: classes4.dex */ public class IeS extends wRi.LWm { private bWG d; public IeS(bWG bwg) { this.d = bwg; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { bWG bwg = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.bWL @Override // o.ZI.IeS public final void e(Object obj2) { bWG.IeS.e((InterfaceC9417djO) obj2); } }; if (bwg.f != 0) { ieS.e(bwg.f); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void e(InterfaceC9417djO interfaceC9417djO) { interfaceC9417djO.ar_(); interfaceC9417djO.A(); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { super.onError(th); bWG bwg = this.d; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bWO private Throwable b; private bWG.IeS c; @Override // o.ZI.IeS public final void e(Object obj) { bWG.IeS.a(this.c, this.b, (InterfaceC9417djO) obj); } { this.c = this; this.b = th; } }; if (bwg.f != 0) { ieS.e(bwg.f); } } public static /* synthetic */ void a(IeS ieS, Throwable th, InterfaceC9417djO interfaceC9417djO) { interfaceC9417djO.ar_(); if (ieS.d.c(th, false)) { interfaceC9417djO.e(ieS.d.j.d(th, C0690Mh.IeS.NAVIGATE_BACK)); } else { interfaceC9417djO.e(ieS.d.j.e(th)); } } } @Override // o.ZI public final void w_() { super.w_(); C8919dZt c8919dZt = this.b; if (c8919dZt.h.isDisposed()) { return; } c8919dZt.h.dispose(); } }