package o; import java.util.ArrayList; import java.util.Collection; import java.util.List; import o.InterfaceC9501dkt; /* renamed from: o.cbz, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C6789cbz extends ZI { public SB a; public List b; public List d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C6789cbz(C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c16903sI, ""); } /* JADX INFO: Access modifiers changed from: private */ public static List a(List list, Integer num, boolean z) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); int i = 0; for (Object obj : list2) { if (i >= 0) { SB sb = (SB) obj; arrayList.add(new SB(sb.m, sb.a, sb.c, sb.g, sb.h, sb.i, sb.j, sb.f, sb.e, sb.d, z ? false : num != null && i == num.intValue())); i++; } else { throw new ArithmeticException("Index overflow has happened."); } } return arrayList; } public static /* synthetic */ void a(List list, C6789cbz c6789cbz, InterfaceC9501dkt.IeS ieS) { C14957gcv.e(list, ""); C14957gcv.e(c6789cbz, ""); ieS.c(list); List list2 = c6789cbz.b; List list3 = null; if (list2 == null) { C14957gcv.a(""); list2 = null; } if (!list2.isEmpty()) { List list4 = c6789cbz.b; if (list4 == null) { C14957gcv.a(""); } else { list3 = list4; } List a = a(list3, (Integer) 0, true); c6789cbz.b = a; ieS.e(a); } } public static /* synthetic */ void d(C6789cbz c6789cbz, InterfaceC9501dkt.IeS ieS) { C14957gcv.e(c6789cbz, ""); List list = c6789cbz.b; if (list == null) { C14957gcv.a(""); list = null; } ieS.a(list); } public static /* synthetic */ void c(List list, C6789cbz c6789cbz, InterfaceC9501dkt.IeS ieS) { C14957gcv.e(list, ""); C14957gcv.e(c6789cbz, ""); ieS.e((List) list); List list2 = c6789cbz.d; List list3 = null; if (list2 == null) { C14957gcv.a(""); list2 = null; } if (!list2.isEmpty()) { List list4 = c6789cbz.d; if (list4 == null) { C14957gcv.a(""); } else { list3 = list4; } List a = a(list3, (Integer) 0, true); c6789cbz.d = a; ieS.c(a); } } public static /* synthetic */ void a(C6789cbz c6789cbz, InterfaceC9501dkt.IeS ieS) { C14957gcv.e(c6789cbz, ""); List list = c6789cbz.d; if (list == null) { C14957gcv.a(""); list = null; } ieS.d(list); } }