package o; import java.util.List; import o.C6915ceS; import o.InterfaceC8954dab; import o.ZI; import o.wRi; /* renamed from: o.ceS, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C6915ceS extends ZI { public List a; private final C17659yi b; public final C17382wKl c; public final zMZ d; public int e; @InterfaceC13391fZD public C6915ceS(C16903sI c16903sI, C17659yi c17659yi, C17382wKl c17382wKl, zMZ zmz) { super(c16903sI); this.b = c17659yi; this.c = c17382wKl; this.d = zmz; } /* renamed from: o.ceS$HBt */ /* loaded from: classes4.dex */ public class HBt extends wRi.LWm> { private C6915ceS a; public HBt(C6915ceS c6915ceS) { this.a = c6915ceS; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { List list = (List) obj; C6915ceS.a(this.a); if (list == null || list.isEmpty()) { C6915ceS c6915ceS = this.a; C6918ceV c6918ceV = new C6918ceV(); if (c6915ceS.f != 0) { c6918ceV.e(c6915ceS.f); return; } return; } C6915ceS c6915ceS2 = this.a; final C17659yi c17659yi = c6915ceS2.b; c6915ceS2.a = (List) C16157lj.c(new Object[]{list, new InterfaceC1244Ytw(c17659yi) { // from class: o.yf private C17659yi b; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return this.b.e((C16359nhm) obj2); } { this.b = c17659yi; } }}, -1846295624, 1846295631, (int) System.currentTimeMillis()); C6915ceS c6915ceS3 = this.a; ZI.IeS ieS = new ZI.IeS(this) { // from class: o.ceU private C6915ceS.HBt d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8954dab.jNh) obj2).b(this.d.a.a); } { this.d = this; } }; if (c6915ceS3.f != 0) { ieS.e(c6915ceS3.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C6915ceS.b(this.a); C6915ceS c6915ceS = this.a; C6918ceV c6918ceV = new C6918ceV(); if (c6915ceS.f != 0) { c6918ceV.e(c6915ceS.f); } } } static /* synthetic */ void b(C6915ceS c6915ceS) { if (c6915ceS.f != 0) { c6915ceS.f.ar_(); } } static /* synthetic */ void a(C6915ceS c6915ceS) { if (c6915ceS.f != 0) { c6915ceS.f.ar_(); } } @Override // o.ZI public final void w_() { C17382wKl c17382wKl = this.c; if (!c17382wKl.h.isDisposed()) { c17382wKl.h.dispose(); } super.w_(); } }