package o; import android.content.SharedPreferences; import o.C1533aGx; import o.InterfaceC9172deh; import o.ZI; import o.yRG; /* renamed from: o.aGx, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C1533aGx extends ZI implements InterfaceC9172deh.LWm { public final SharedPreferences b; private final C15795ig c; public String e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C1533aGx(C15795ig c15795ig, C16903sI c16903sI, SharedPreferences sharedPreferences) { super(c16903sI); C14957gcv.e(c15795ig, ""); C14957gcv.e(c16903sI, ""); C14957gcv.e(sharedPreferences, ""); this.c = c15795ig; this.b = sharedPreferences; } /* renamed from: o.aGx$IeS */ /* loaded from: classes4.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aGx$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C1533aGx c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C1533aGx.a(this.c, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C1533aGx c1533aGx) { super(1); this.c = c1533aGx; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aGx$Sts */ /* loaded from: classes4.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR { private C1533aGx a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(EoY eoY) { final EoY eoY2 = eoY; C14957gcv.e(eoY2, ""); C1533aGx.e(this.a); C1533aGx c1533aGx = this.a; ZI.IeS ieS = new ZI.IeS(eoY2) { // from class: o.aGG private EoY a; @Override // o.ZI.IeS public final void e(Object obj) { C1533aGx.Sts.c(this.a, (InterfaceC9172deh.RVV) obj); } { this.a = eoY2; } }; if (c1533aGx.f != 0) { ieS.e(c1533aGx.f); } return C14866gag.c; } public static /* synthetic */ void c(EoY eoY, InterfaceC9172deh.RVV rvv) { C14957gcv.e(eoY, ""); rvv.b(eoY.d); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(C1533aGx c1533aGx) { super(1); this.a = c1533aGx; } } @Override // o.ZI public final void w_() { this.c.a(); super.w_(); } public static /* synthetic */ void c(C1533aGx c1533aGx) { C14957gcv.e(c1533aGx, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.aGw @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9172deh.RVV) obj).c(); } }; if (c1533aGx.f != 0) { ieS.e(c1533aGx.f); } } public static /* synthetic */ void d(C0562Jl c0562Jl, C1533aGx c1533aGx, InterfaceC9172deh.RVV rvv) { C14957gcv.e(c0562Jl, ""); C14957gcv.e(c1533aGx, ""); rvv.c(c0562Jl.e, c0562Jl.b); final String str = c0562Jl.i; C14957gcv.e(str, ""); ZI.IeS ieS = new ZI.IeS(str) { // from class: o.aGA private String e; @Override // o.ZI.IeS public final void e(Object obj) { C1533aGx.d(this.e, (InterfaceC9172deh.RVV) obj); } { this.e = str; } }; if (c1533aGx.f != 0) { ieS.e(c1533aGx.f); } String str2 = c0562Jl.i; if (C14957gcv.b((Object) str2, (Object) "CVP") || !C14957gcv.b((Object) str2, (Object) "TVI")) { rvv.d(); } else { rvv.e(); } } public static /* synthetic */ void d(String str, InterfaceC9172deh.RVV rvv) { C14957gcv.e(str, ""); if (C14957gcv.b((Object) str, (Object) "CVP")) { rvv.b(); } else { rvv.a(); } } public static final /* synthetic */ void e(C1533aGx c1533aGx) { if (c1533aGx.f != 0) { c1533aGx.f.ar_(); } } public static final /* synthetic */ void a(C1533aGx c1533aGx, Throwable th) { if (c1533aGx.b(th)) { c1533aGx.d(c1533aGx.j.e(th)); } } @Override // o.InterfaceC9172deh.LWm public final void b(String str) { C13113fR c13113fR; YIo yIo; if (this.f != 0) { this.f.y(); } C15795ig c15795ig = this.c; Sts sts = new Sts(this); LWm lWm = new LWm(this); String str2 = this.e; if (str2 == null) { C14957gcv.a(""); str2 = null; } UjQ ujQ = new UjQ(str2, str); C14957gcv.e(sts, ""); C14957gcv.e(lWm, ""); C14957gcv.e(ujQ, ""); C8064dAG a = c15795ig.e.d.a(); boolean z = (a == null || (yIo = a.r) == null) ? false : yIo.ag; C13283fW c13283fW = c15795ig.h; if (z) { c13113fR = new C14848ga(c13283fW.a); } else { c13113fR = new C13113fR(); } c15795ig.d.e(sts, lWm, new yRG.Sts(ujQ, c13113fR), new fSC()); } static { new IeS((byte) 0); } }