package o; import o.ZI; import o.cDP; import o.wRi; /* loaded from: classes4.dex */ public final class cDP extends ZI { public final iRl c; public final KTB d; public C1114Vy e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public cDP(KTB ktb, iRl irl, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(ktb, ""); C14957gcv.e(irl, ""); C14957gcv.e(c16903sI, ""); this.d = ktb; this.c = irl; } /* loaded from: classes4.dex */ public final class IeS extends wRi.LWm { private String c; private cDP d; public IeS(cDP cdp, String str) { C14957gcv.e(str, ""); this.d = cdp; this.c = str; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { if (this.d.f != 0) { cDP cdp = this.d; ZI.IeS ieS = new ZI.IeS(this) { // from class: o.cEc private cDP.IeS d; @Override // o.ZI.IeS public final void e(Object obj2) { cDP.IeS.e(this.d, (InterfaceC9568dmG) obj2); } { this.d = this; } }; if (cdp.f != 0) { ieS.e(cdp.f); } } this.d.c.a.U(); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { cDP.c(this.d); cDP.a(this.d); } public static /* synthetic */ void d(cDP cdp, Throwable th, InterfaceC9568dmG interfaceC9568dmG) { C14957gcv.e(cdp, ""); C14957gcv.e(th, ""); C0693Mj e = cdp.j.e(th); C14957gcv.c(e, ""); interfaceC9568dmG.c(e); } public static /* synthetic */ void e(IeS ieS, InterfaceC9568dmG interfaceC9568dmG) { C14957gcv.e(ieS, ""); interfaceC9568dmG.b(ieS.c); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C14957gcv.e(th, ""); if (this.d.f == 0 || this.d.i(th)) { return; } cDP.c(this.d); cDP.a(this.d); final cDP cdp = this.d; ZI.IeS ieS = new ZI.IeS(cdp, th) { // from class: o.cEa private cDP d; private Throwable e; @Override // o.ZI.IeS public final void e(Object obj) { cDP.IeS.d(this.d, this.e, (InterfaceC9568dmG) obj); } { this.d = cdp; this.e = th; } }; if (cdp.f != 0) { ieS.e(cdp.f); } } } public static /* synthetic */ void a(boolean z, String str, InterfaceC9568dmG interfaceC9568dmG) { C14957gcv.e(str, ""); if (z) { interfaceC9568dmG.a(str); } else { interfaceC9568dmG.c(str); } } public static /* synthetic */ void e(C1114Vy c1114Vy, InterfaceC9568dmG interfaceC9568dmG) { C14957gcv.e(c1114Vy, ""); interfaceC9568dmG.e(c1114Vy, true); } public static /* synthetic */ void a(C1114Vy c1114Vy, InterfaceC9568dmG interfaceC9568dmG) { C14957gcv.e(c1114Vy, ""); interfaceC9568dmG.a(c1114Vy); } public static /* synthetic */ void c(C1114Vy c1114Vy, InterfaceC9568dmG interfaceC9568dmG) { C14957gcv.e(c1114Vy, ""); interfaceC9568dmG.e(c1114Vy, false); } public static final /* synthetic */ void a(cDP cdp) { if (cdp.f != 0) { cdp.f.ar_(); } } public static final /* synthetic */ void c(cDP cdp) { if (cdp.f != 0) { cdp.f.aq_(); } } }