package o; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import o.C0690Mh; import o.ZI; /* renamed from: o.amd, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C2863amd extends ZI { public List b; public final C16363nj c; private final C16356nh d; public final C15794if e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C2863amd(C16903sI c16903sI, C15794if c15794if, C16363nj c16363nj, C16356nh c16356nh) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c15794if, ""); C14957gcv.e(c16363nj, ""); C14957gcv.e(c16356nh, ""); this.e = c15794if; this.c = c16363nj; this.d = c16356nh; } @Override // o.ZI public final void w_() { this.e.a(); super.w_(); } public static /* synthetic */ void c(final C2863amd c2863amd, final String str, final C0367Fb c0367Fb, final C0433Gl c0433Gl, final xIq xiq) { C14957gcv.e(c2863amd, ""); C14957gcv.e(str, ""); C14957gcv.e(c0367Fb, ""); C14957gcv.e(c0433Gl, ""); ZI.IeS ieS = new ZI.IeS(c2863amd, xiq, str, c0367Fb, c0433Gl) { // from class: o.amm private String a; private C2863amd b; private C0367Fb c; private C0433Gl d; private xIq e; @Override // o.ZI.IeS public final void e(Object obj) { C2863amd.b(this.b, this.e, this.a, this.c, this.d, (InterfaceC9004dbY) obj); } { this.b = c2863amd; this.e = xiq; this.a = str; this.c = c0367Fb; this.d = c0433Gl; } }; if (c2863amd.f != 0) { ieS.e(c2863amd.f); } } public static /* synthetic */ void a(List list, InterfaceC9004dbY interfaceC9004dbY) { C14957gcv.e(list, ""); interfaceC9004dbY.b((GJ) C14881gav.e(list)); List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); Iterator it = list2.iterator(); while (it.hasNext()) { String str = ((GK) it.next()).d; if (str == null) { str = ""; } arrayList.add(str); } interfaceC9004dbY.b(arrayList); } public static /* synthetic */ void c(C2863amd c2863amd, Throwable th, InterfaceC9004dbY interfaceC9004dbY) { C14957gcv.e(c2863amd, ""); interfaceC9004dbY.ar_(); if (c2863amd.i(th)) { return; } interfaceC9004dbY.e(c2863amd.j.d(th, C0690Mh.IeS.JUST_DISMISS)); } public static /* synthetic */ void b(final C2863amd c2863amd, final Throwable th) { C14957gcv.e(c2863amd, ""); ZI.IeS ieS = new ZI.IeS(c2863amd, th) { // from class: o.amk private Throwable a; private C2863amd e; @Override // o.ZI.IeS public final void e(Object obj) { C2863amd.c(this.e, this.a, (InterfaceC9004dbY) obj); } { this.e = c2863amd; this.a = th; } }; if (c2863amd.f != 0) { ieS.e(c2863amd.f); } } public static /* synthetic */ void e(List list, int i, InterfaceC9004dbY interfaceC9004dbY) { C14957gcv.e(list, ""); GK gk = (GK) C14881gav.b(list, i); if (gk != null) { interfaceC9004dbY.b(gk); } } public static /* synthetic */ void b(C2863amd c2863amd, xIq xiq, String str, C0367Fb c0367Fb, C0433Gl c0433Gl, InterfaceC9004dbY interfaceC9004dbY) { C14957gcv.e(c2863amd, ""); C14957gcv.e(str, ""); C14957gcv.e(c0367Fb, ""); C14957gcv.e(c0433Gl, ""); interfaceC9004dbY.ar_(); interfaceC9004dbY.e(c2863amd.d.b(xiq.a, xiq.d, str, c0367Fb, c0433Gl)); } }