package o; import o.InterfaceC6674cZq; import o.ZI; /* renamed from: o.bGy, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C3796bGy extends ZI { public final C17809ztu b; public C0865Qg d; public String e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C3796bGy(C17809ztu c17809ztu, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c17809ztu, ""); C14957gcv.e(c16903sI, ""); this.b = c17809ztu; this.e = "N"; } public static /* synthetic */ void b(C0865Qg c0865Qg, final C3796bGy c3796bGy, InterfaceC6674cZq.IeS ieS) { C14866gag c14866gag; OR or; C14957gcv.e(c0865Qg, ""); C14957gcv.e(c3796bGy, ""); String str = c0865Qg.j; C14957gcv.c((Object) str, ""); ieS.b(str); OL ol = c0865Qg.b; if (ol == null || (or = ol.p) == null) { c14866gag = null; } else { ieS.a(); ieS.d(or); c14866gag = C14866gag.c; } if (c14866gag == null) { ieS.c(); } if (!c0865Qg.a) { ieS.j(); C14957gcv.e("Y", ""); c3796bGy.e = "Y"; } else { final String str2 = c0865Qg.h; C14957gcv.c((Object) str2, ""); ZI.IeS ieS2 = new ZI.IeS(str2, c3796bGy) { // from class: o.bGB private String b; private C3796bGy c; @Override // o.ZI.IeS public final void e(Object obj) { C3796bGy.e(this.b, this.c, (InterfaceC6674cZq.IeS) obj); } { this.b = str2; this.c = c3796bGy; } }; if (c3796bGy.f != 0) { ieS2.e(c3796bGy.f); } } String str3 = c0865Qg.i; C14957gcv.c((Object) str3, ""); if (str3.length() > 0) { String str4 = c0865Qg.d; C14957gcv.c((Object) str4, ""); if (str4.length() > 0) { String str5 = c0865Qg.i; C14957gcv.c((Object) str5, ""); String str6 = c0865Qg.d; C14957gcv.c((Object) str6, ""); ieS.c(str5, str6); } } if (c0865Qg.c) { ieS.g(); } else { ieS.f(); } } public static /* synthetic */ void b(C3796bGy c3796bGy, InterfaceC6674cZq.IeS ieS) { C14957gcv.e(c3796bGy, ""); String str = c3796bGy.e; C0865Qg c0865Qg = c3796bGy.d; if (c0865Qg == null) { C14957gcv.a(""); c0865Qg = null; } ieS.b(str, c0865Qg); } public static /* synthetic */ void e(String str, C3796bGy c3796bGy, InterfaceC6674cZq.IeS ieS) { C14957gcv.e(str, ""); C14957gcv.e(c3796bGy, ""); if (!C14957gcv.b((Object) str, (Object) "Y")) { if (C14957gcv.b((Object) str, (Object) "N")) { C14957gcv.e("N", ""); c3796bGy.e = "N"; ieS.e(); return; } else { C14957gcv.e("N", ""); c3796bGy.e = "N"; ieS.d(); return; } } C14957gcv.e("Y", ""); c3796bGy.e = "Y"; ieS.b(); } }