package o; import java.util.List; import o.C7908cxH; import o.InterfaceC8972dat; import o.ZI; import o.wRi; /* renamed from: o.cxH, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C7908cxH extends ZI { private final CY a; private final uCX b; private final YnH e; @InterfaceC13391fZD public C7908cxH(C16903sI c16903sI, CY cy, uCX ucx, YnH ynH) { super(c16903sI); this.b = ucx; this.e = ynH; this.a = cy; } public final void d() { ZI.IeS ieS = new ZI.IeS() { // from class: o.cxG @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC8972dat.Sts) obj).v(); } }; if (this.f != 0) { ieS.e(this.f); } this.b.e(); uCX ucx = this.b; ucx.d(ucx.i, new RVV(this, (byte) 0)); } @Override // o.ZI public final void w_() { uCX ucx = this.b; if (!ucx.h.isDisposed()) { ucx.h.dispose(); } super.w_(); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.cxH$RVV */ /* loaded from: classes4.dex */ public class RVV extends wRi.LWm> { private C7908cxH a; private RVV(C7908cxH c7908cxH) { this.a = c7908cxH; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final List list = (List) obj; super.onNext(list); if (this.a.f != 0) { C7908cxH c7908cxH = this.a; ZI.IeS ieS = new ZI.IeS(this, list) { // from class: o.cxN private List c; private C7908cxH.RVV e; @Override // o.ZI.IeS public final void e(Object obj2) { C7908cxH.RVV.b(this.e, this.c, (InterfaceC8972dat.Sts) obj2); } { this.e = this; this.c = list; } }; if (c7908cxH.f != 0) { ieS.e(c7908cxH.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { super.onError(th); if (this.a.i(th) || this.a.f == 0) { return; } C7908cxH c7908cxH = this.a; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.cxO private Throwable a; private C7908cxH.RVV e; @Override // o.ZI.IeS public final void e(Object obj) { C7908cxH.RVV.b(this.e, this.a, (InterfaceC8972dat.Sts) obj); } { this.e = this; this.a = th; } }; if (c7908cxH.f != 0) { ieS.e(c7908cxH.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { super.onComplete(); C7908cxH c7908cxH = this.a; ZI.IeS ieS = new ZI.IeS() { // from class: o.cxJ @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC8972dat.Sts) obj).aq_(); } }; if (c7908cxH.f != 0) { ieS.e(c7908cxH.f); } } public static /* synthetic */ void b(RVV rvv, List list, InterfaceC8972dat.Sts sts) { if (list != null && !list.isEmpty()) { sts.b(rvv.a.a.a(list, rvv.a.e.b.T(), false)); C7908cxH c7908cxH = rvv.a; if (list.size() <= 10) { ZI.IeS ieS = new ZI.IeS() { // from class: o.cxF @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC8972dat.Sts) obj).b(); } }; if (c7908cxH.f != 0) { ieS.e(c7908cxH.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cxI @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC8972dat.Sts) obj).d(); } }; if (c7908cxH.f != 0) { ieS2.e(c7908cxH.f); return; } return; } sts.c(); } public static /* synthetic */ void b(RVV rvv, Throwable th, InterfaceC8972dat.Sts sts) { rvv.a.j.e(th); sts.e(); sts.aq_(); } /* synthetic */ RVV(C7908cxH c7908cxH, byte b) { this(c7908cxH); } } }