package o; import java.util.Objects; import o.InterfaceC9192dfA; import o.ZI; import o.aVW; import o.wRi; /* loaded from: classes4.dex */ public class aVW extends aVB { public final kqX a; private final C16823rY b; public final C12616fCa d; @InterfaceC13391fZD public aVW(C16903sI c16903sI, C12616fCa c12616fCa, kqX kqx, C16823rY c16823rY) { super(c16903sI); this.d = c12616fCa; this.a = kqx; this.b = c16823rY; } /* loaded from: classes4.dex */ public class HBt extends wRi.LWm { private aVW c; private final C0665Ls e; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { aVW.e(this.c); final LW a = this.c.b.a((GUJ) obj, this.e); aVW avw = this.c; ZI.IeS ieS = new ZI.IeS(a) { // from class: o.aWa private LW d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9192dfA.LWm) obj2).b(this.d); } { this.d = a; } }; if (avw.f != 0) { ieS.e(avw.f); } } public HBt(aVW avw, C0665Ls c0665Ls) { this.c = avw; this.e = c0665Ls; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { aVW avw = this.c; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.aWc private aVW.HBt b; private Throwable e; @Override // o.ZI.IeS public final void e(Object obj) { aVW.HBt.a(this.b, this.e, (InterfaceC9192dfA.LWm) obj); } { this.b = this; this.e = th; } }; if (avw.f != 0) { ieS.e(avw.f); } } public static /* synthetic */ void a(HBt hBt, Throwable th, InterfaceC9192dfA.LWm lWm) { lWm.ar_(); C16903sI c16903sI = hBt.c.j; Objects.requireNonNull(lWm); lWm.e(c16903sI.c(th, new RunnableC2028aVV(lWm))); } } /* loaded from: classes4.dex */ public class IeS extends wRi.LWm { private aVW c; public IeS(aVW avw) { this.c = avw; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C17034tQJ c17034tQJ = (C17034tQJ) obj; super.onNext(c17034tQJ); aVW avw = this.c; ZI.IeS ieS = new ZI.IeS(c17034tQJ) { // from class: o.aVX private C17034tQJ b; @Override // o.ZI.IeS public final void e(Object obj2) { aVW.IeS.c(this.b, (InterfaceC9192dfA.LWm) obj2); } { this.b = c17034tQJ; } }; if (avw.f != 0) { ieS.e(avw.f); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void c(C17034tQJ c17034tQJ, InterfaceC9192dfA.LWm lWm) { lWm.ar_(); if (c17034tQJ.b != null) { lWm.g(c17034tQJ.d); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { super.onError(th); aVW avw = this.c; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.aVU private Throwable a; private aVW.IeS e; @Override // o.ZI.IeS public final void e(Object obj) { aVW.IeS.a(this.e, this.a, (InterfaceC9192dfA.LWm) obj); } { this.e = this; this.a = th; } }; if (avw.f != 0) { ieS.e(avw.f); } } public static /* synthetic */ void a(IeS ieS, Throwable th, InterfaceC9192dfA.LWm lWm) { lWm.ar_(); C16903sI c16903sI = ieS.c.j; Objects.requireNonNull(lWm); lWm.e(c16903sI.c(th, new RunnableC2028aVV(lWm))); } } static /* synthetic */ void e(aVW avw) { if (avw.f != 0) { avw.f.ar_(); } } @Override // o.ZI public final void w_() { kqX kqx = this.a; if (!kqx.h.isDisposed()) { kqx.h.dispose(); } C12616fCa c12616fCa = this.d; if (!c12616fCa.h.isDisposed()) { c12616fCa.h.dispose(); } super.w_(); } }