package o; import java.util.List; import java.util.NoSuchElementException; import o.InterfaceC9273dgd; import o.ZI; import o.wRi; /* renamed from: o.bhw, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C4852bhw extends ZI implements InterfaceC4774bgX { public yGw a; public C16926sT b; public mJZ e; @InterfaceC13391fZD public C4852bhw(C16903sI c16903sI, C16926sT c16926sT, mJZ mjz, yGw ygw) { super(c16903sI); this.b = c16926sT; this.e = mjz; this.a = ygw; } /* renamed from: o.bhw$1, reason: invalid class name */ /* loaded from: classes4.dex */ public class AnonymousClass1 extends wRi.LWm> { private C0710Mv a; private C4852bhw c; private C0698Mn d; public AnonymousClass1(C4852bhw c4852bhw, C0698Mn c0698Mn, C0710Mv c0710Mv) { this.c = c4852bhw; this.d = c0698Mn; this.a = c0710Mv; } /* JADX WARN: Multi-variable type inference failed */ @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { zEQ d; String str; List list = (List) obj; super.onNext(list); YKU yku = new YKU(list); if (yku.b.hasNext()) { d = zEQ.a(yku.b.next()); } else { d = zEQ.d(); } if (d.d == 0) { str = ""; } else { T t = d.d; if (t == 0) { throw new NoSuchElementException("No value present"); } str = ((LEE) t).a; } C16926sT c16926sT = this.c.b; Object[] objArr = {c16926sT, this.d, this.a, Boolean.valueOf(this.c.e.b.T()), str}; System.identityHashCode(c16926sT); final List list2 = (List) C16926sT.e(objArr); C4852bhw c4852bhw = this.c; ZI.IeS ieS = new ZI.IeS(list2) { // from class: o.bhL private List d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.HBt) obj2).a(this.d); } { this.d = list2; } }; if (c4852bhw.f != 0) { ieS.e(c4852bhw.f); } final List c = this.c.b.c(this.a, this.c.e.b.T(), str); C4852bhw c4852bhw2 = this.c; ZI.IeS ieS2 = new ZI.IeS(c) { // from class: o.bhI private List c; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.HBt) obj2).d((List) this.c); } { this.c = c; } }; if (c4852bhw2.f != 0) { ieS2.e(c4852bhw2.f); } final List e = this.c.b.e(this.a, this.c.e.b.T(), str, this.c.a.b.M()); C4852bhw c4852bhw3 = this.c; ZI.IeS ieS3 = new ZI.IeS(e) { // from class: o.bhK private List d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.HBt) obj2).b(this.d); } { this.d = e; } }; if (c4852bhw3.f != 0) { ieS3.e(c4852bhw3.f); } if (this.c.a(this.d.c)) { C4852bhw c4852bhw4 = this.c; C4807bhD c4807bhD = new C4807bhD(); if (c4852bhw4.f != 0) { c4807bhD.e(c4852bhw4.f); return; } return; } if (this.c.e(this.d.c)) { C4852bhw c4852bhw5 = this.c; C4809bhF c4809bhF = new C4809bhF(); if (c4852bhw5.f != 0) { c4809bhF.e(c4852bhw5.f); } } } } }