package o; import java.util.Iterator; import java.util.List; import o.ZI; /* renamed from: o.aHh, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C1555aHh extends ZI { public final xNu a; private final C16184ly e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C1555aHh(C16903sI c16903sI, xNu xnu, C16184ly c16184ly) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(xnu, ""); C14957gcv.e(c16184ly, ""); this.a = xnu; this.e = c16184ly; } public static /* synthetic */ void e(C1555aHh c1555aHh, hMS hms, InterfaceC9177dem interfaceC9177dem) { C14957gcv.e(c1555aHh, ""); C14957gcv.e(hms, ""); List e = c1555aHh.e.e(hms.c, hms.a, false, hms.g); C16184ly c16184ly = c1555aHh.e; List d = C16184ly.d(hms.j); String str = hms.e; Iterator it = e.iterator(); int i = 0; while (true) { if (!it.hasNext()) { i = -1; break; } else if (C14957gcv.b((Object) it.next().g, (Object) str)) { break; } else { i++; } } Integer num = i < 0 ? 0 : null; if (num != null) { i = num.intValue(); } interfaceC9177dem.d(e, i, d, hms.i); } public static /* synthetic */ void e(C1555aHh c1555aHh, final Throwable th) { C14957gcv.e(c1555aHh, ""); C14957gcv.c((Object) th, ""); if (c1555aHh.f != 0) { c1555aHh.f.ar_(); } ZI.IeS ieS = new ZI.IeS(th) { // from class: o.aHr private Throwable b; @Override // o.ZI.IeS public final void e(Object obj) { C1555aHh.e(this.b, (InterfaceC9177dem) obj); } { this.b = th; } }; if (c1555aHh.f != 0) { ieS.e(c1555aHh.f); } } public static /* synthetic */ void e(Throwable th, InterfaceC9177dem interfaceC9177dem) { C14957gcv.e(th, ""); interfaceC9177dem.d(th); } public static /* synthetic */ void a(final C1555aHh c1555aHh, final hMS hms) { C14957gcv.e(c1555aHh, ""); C14957gcv.c(hms, ""); if (c1555aHh.f != 0) { c1555aHh.f.ar_(); } ZI.IeS ieS = new ZI.IeS(c1555aHh, hms) { // from class: o.aHq private C1555aHh c; private hMS e; @Override // o.ZI.IeS public final void e(Object obj) { C1555aHh.e(this.c, this.e, (InterfaceC9177dem) obj); } { this.c = c1555aHh; this.e = hms; } }; if (c1555aHh.f != 0) { ieS.e(c1555aHh.f); } } @Override // o.ZI public final void w_() { xNu xnu = this.a; if (!xnu.h.isDisposed()) { xnu.h.dispose(); } super.w_(); } }