package o; import o.C0690Mh; import o.C15354goF; import o.C5372brm; import o.InterfaceC9336dhn; import o.ZI; /* renamed from: o.brm, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C5372brm extends AbstractC5073bmE { private final C15354goF b; private final zWC c; private final mYS d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C5372brm(mYS mys, C15354goF c15354goF, C16903sI c16903sI, zWC zwc) { super(c16903sI, zwc); C14957gcv.e(mys, ""); C14957gcv.e(c15354goF, ""); C14957gcv.e(c16903sI, ""); C14957gcv.e(zwc, ""); this.d = mys; this.b = c15354goF; this.c = zwc; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.brm$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C5372brm b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C5372brm.e(this.b, th2, C0690Mh.IeS.JUST_DISMISS); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C5372brm c5372brm) { super(1); this.b = c5372brm; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.brm$RVV */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private C5045bld a; private C5372brm d; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { C5372brm.e(this.d); final C5045bld c5045bld = this.d.e; if (c5045bld != null) { C5372brm c5372brm = this.d; final C5045bld c5045bld2 = this.a; ZI.IeS ieS = new ZI.IeS(c5045bld, c5045bld2) { // from class: o.brs private C5045bld a; private C5045bld b; @Override // o.ZI.IeS public final void e(Object obj) { C5372brm.RVV.b(this.a, this.b, (InterfaceC9336dhn.Sts) obj); } { this.a = c5045bld; this.b = c5045bld2; } }; if (c5372brm.f != 0) { ieS.e(c5372brm.f); } } return C14866gag.c; } public static /* synthetic */ void b(C5045bld c5045bld, C5045bld c5045bld2, InterfaceC9336dhn.Sts sts) { C14957gcv.e(c5045bld, ""); C14957gcv.e(c5045bld2, ""); sts.d(new C5045bld(c5045bld.d, c5045bld.a, c5045bld.c, c5045bld.b, c5045bld2.e), true); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C5372brm c5372brm, C5045bld c5045bld) { super(0); this.d = c5372brm; this.a = c5045bld; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.brm$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C5372brm c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C5372brm.e(this.c, th2, C0690Mh.IeS.JUST_DISMISS); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C5372brm c5372brm) { super(1); this.c = c5372brm; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.brm$Sts */ /* loaded from: classes4.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN { private C5372brm a; private String b; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { C5372brm.e(this.a); final C5045bld c5045bld = this.a.e; if (c5045bld != null) { C5372brm c5372brm = this.a; final String str = this.b; ZI.IeS ieS = new ZI.IeS(c5045bld, str) { // from class: o.brr private C5045bld b; private String e; @Override // o.ZI.IeS public final void e(Object obj) { C5372brm.Sts.d(this.b, this.e, (InterfaceC9336dhn.Sts) obj); } { this.b = c5045bld; this.e = str; } }; if (c5372brm.f != 0) { ieS.e(c5372brm.f); } } return C14866gag.c; } public static /* synthetic */ void d(C5045bld c5045bld, String str, InterfaceC9336dhn.Sts sts) { C14957gcv.e(c5045bld, ""); C14957gcv.e(str, ""); C14957gcv.c(sts, ""); sts.d(C5045bld.d(c5045bld, str), false); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(C5372brm c5372brm, String str) { super(0); this.a = c5372brm; this.b = str; } } public static /* synthetic */ void e(C5045bld c5045bld, InterfaceC9336dhn.Sts sts) { String str = c5045bld.b; if (str == null) { str = ""; } String str2 = c5045bld.c; if (str2 == null) { str2 = ""; } String str3 = c5045bld.e; String str4 = c5045bld.a; sts.c(str, str2, str3, str4 != null ? str4 : ""); } public static final /* synthetic */ void e(C5372brm c5372brm) { if (c5372brm.f != 0) { c5372brm.f.ar_(); } } public static final /* synthetic */ void e(C5372brm c5372brm, Throwable th, C0690Mh.IeS ieS) { if (c5372brm.b(th)) { c5372brm.d(c5372brm.j.d(th, ieS)); } } public final void d() { C5045bld c5045bld = this.e; if (c5045bld != null) { if (this.f != 0) { this.f.y(); } this.b.d(new RVV(this, c5045bld), new LWm(this), new C15354goF.LWm(c5045bld.e, c5045bld.d, c5045bld.a), c()); } } public final void a() { String str = this.a; if (str != null) { if (this.f != 0) { this.f.y(); } mYS mys = this.d; Sts sts = new Sts(this, str); IeS ieS = new IeS(this); C5045bld c5045bld = this.e; String str2 = c5045bld != null ? c5045bld.d : null; C5045bld c5045bld2 = this.e; mys.d(sts, ieS, new C15354goF.LWm(str, str2, c5045bld2 != null ? c5045bld2.a : null), c()); } } }