package o; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import o.LBA; import o.ZI; /* renamed from: o.bIn, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3846bIn extends ZI { public List a; public List b; public final ECd c; public final Fvk d; public final C6269cNv e; public C0885Qu g; public String h; public C0405Fw i; private final C16127lV k; @InterfaceC13391fZD public C3846bIn(C16903sI c16903sI, C16127lV c16127lV, Fvk fvk, C6269cNv c6269cNv, ECd eCd) { super(c16903sI); this.d = fvk; this.k = c16127lV; this.e = c6269cNv; this.c = eCd; } static /* synthetic */ void b(C3846bIn c3846bIn, zwR zwr) { c3846bIn.a = c3846bIn.k.d(zwr); } static /* bridge */ /* synthetic */ void a(C3846bIn c3846bIn, LBA lba) { c3846bIn.b = lba.a; } static /* synthetic */ void e(C3846bIn c3846bIn) { final ArrayList arrayList = new ArrayList(); int i = -1; for (C0405Fw c0405Fw : c3846bIn.a) { if (c0405Fw.b.equalsIgnoreCase("TH")) { i = c3846bIn.a.indexOf(c0405Fw); } arrayList.add(c0405Fw.d); } final int i2 = i + 1; ZI.IeS ieS = new ZI.IeS(arrayList, i2) { // from class: o.bIv private int a; private List b; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9363diN) obj).d(this.b, this.a); } { this.b = arrayList; this.a = i2; } }; if (c3846bIn.f != 0) { ieS.e(c3846bIn.f); } } static /* synthetic */ void c(C3846bIn c3846bIn) { final ArrayList arrayList = new ArrayList(); Iterator it = c3846bIn.b.iterator(); while (it.hasNext()) { arrayList.add(it.next().b); } ZI.IeS ieS = new ZI.IeS(arrayList) { // from class: o.bIu private List c; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9363diN) obj).e((List) this.c); } { this.c = arrayList; } }; if (c3846bIn.f != 0) { ieS.e(c3846bIn.f); } } static /* synthetic */ void d(C3846bIn c3846bIn) { if (c3846bIn.f != 0) { c3846bIn.f.ar_(); } } static /* synthetic */ void b(C3846bIn c3846bIn, Throwable th) { if (c3846bIn.b(th)) { c3846bIn.d(c3846bIn.j.e(th)); } } static /* synthetic */ void a(C3846bIn c3846bIn) { if (c3846bIn.f != 0) { c3846bIn.f.ar_(); } } static /* synthetic */ void c(C3846bIn c3846bIn, Throwable th) { if (c3846bIn.b(th)) { c3846bIn.d(c3846bIn.j.e(th)); } } static /* synthetic */ void b(C3846bIn c3846bIn) { if (c3846bIn.f != 0) { c3846bIn.f.ar_(); } } static /* synthetic */ void d(C3846bIn c3846bIn, Throwable th) { if (c3846bIn.b(th)) { c3846bIn.d(c3846bIn.j.e(th)); } } @Override // o.ZI public final void w_() { Fvk fvk = this.d; if (!fvk.h.isDisposed()) { fvk.h.dispose(); } ECd eCd = this.c; if (!eCd.h.isDisposed()) { eCd.h.dispose(); } C6269cNv c6269cNv = this.e; if (!c6269cNv.h.isDisposed()) { c6269cNv.h.dispose(); } super.w_(); } }