package o; import o.ZI; import o.cXH; /* renamed from: o.aeK */ /* loaded from: classes3.dex */ public final class C2420aeK extends ZI { public final wUt a; public boolean b; public String c; public String d; public String e; private final C16903sI g; public String h; public String i; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C2420aeK(wUt wut, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(wut, ""); C14957gcv.e(c16903sI, ""); this.a = wut; this.g = c16903sI; } /* renamed from: o.aeK$HBt */ /* loaded from: classes3.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } /* JADX WARN: Code restructure failed: missing block: B:12:0x0027, code lost: if (o.gdZ.a("SALARY", r1, true) == false) goto L40; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void a() { /* r5 = this; boolean r0 = r5.b if (r0 != 0) goto L38 java.lang.String r0 = r5.e r1 = 0 java.lang.String r2 = "" if (r0 != 0) goto Lf o.C14957gcv.a(r2) r0 = r1 Lf: java.lang.String r3 = "HML" r4 = 1 boolean r0 = o.gdZ.a(r0, r3, r4) if (r0 == 0) goto L29 java.lang.String r0 = r5.d if (r0 != 0) goto L20 o.C14957gcv.a(r2) goto L21 L20: r1 = r0 L21: java.lang.String r0 = "SALARY" boolean r0 = o.gdZ.a(r0, r1, r4) if (r0 != 0) goto L38 L29: o.afc r0 = new o.afc r0.(r5) T extends o.cYp r1 = r5.f if (r1 == 0) goto L37 T extends o.cYp r1 = r5.f r0.e(r1) L37: return L38: o.aeU r0 = new o.aeU r0.() T extends o.cYp r1 = r5.f if (r1 == 0) goto L46 T extends o.cYp r1 = r5.f r0.e(r1) L46: return */ throw new UnsupportedOperationException("Method not decompiled: o.C2420aeK.a():void"); } public final void c() { String str = this.e; if (str == null) { C14957gcv.a(""); str = null; } if (gdZ.a(str, "HML", true)) { return; } a(); } public final void h(Throwable th) { C14957gcv.e(th, ""); String message = th.getMessage(); C14866gag c14866gag = null; String str = null; if (message != null) { if (this.f != 0) { this.f.ar_(); } String str2 = this.d; if (str2 == null) { C14957gcv.a(""); } else { str = str2; } if (gdZ.a(str, "SALARY", true)) { cXH.Sts b = cXH.Sts.b(message); int i = b == null ? -1 : LWm.a[b.ordinal()]; if (i == 1) { ZI.IeS ieS = new ZI.IeS() { // from class: o.afe @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9015dbj) obj).e(); } }; if (this.f != 0) { ieS.e(this.f); } } else if (i == 2) { ZI.IeS ieS2 = new ZI.IeS() { // from class: o.afd @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9015dbj) obj).g(); } }; if (this.f != 0) { ieS2.e(this.f); } } else if (i == 3) { ZI.IeS ieS3 = new ZI.IeS() { // from class: o.afb @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9015dbj) obj).d(); } }; if (this.f != 0) { ieS3.e(this.f); } } else if (i == 4) { ZI.IeS ieS4 = new ZI.IeS() { // from class: o.aeR @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9015dbj) obj).i(); } }; if (this.f != 0) { ieS4.e(this.f); } } else { ZI.IeS ieS5 = new ZI.IeS() { // from class: o.aeP @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9015dbj) obj).j(); } }; if (this.f != 0) { ieS5.e(this.f); } } } c14866gag = C14866gag.c; } if (c14866gag == null && b(th)) { d(this.j.e(th)); } } /* renamed from: o.aeK$IeS */ /* loaded from: classes3.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN { private C2420aeK c; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { C2420aeK.c(this.c); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C2420aeK c2420aeK) { super(0); this.c = c2420aeK; } } /* renamed from: o.aeK$RVV */ /* loaded from: classes3.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private C2420aeK a; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { this.a.a(); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C2420aeK c2420aeK) { super(0); this.a = c2420aeK; } } public static /* synthetic */ void b(String str, InterfaceC9015dbj interfaceC9015dbj) { C14957gcv.e(str, ""); interfaceC9015dbj.b(gdZ.a(str, "SALARY", true)); interfaceC9015dbj.b(); } public static /* synthetic */ void e(String str, C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { String str2; String str3; String str4; String str5; C14957gcv.e(str, ""); C14957gcv.e(c2420aeK, ""); String str6 = c2420aeK.c; if (str6 == null) { C14957gcv.a(""); str2 = null; } else { str2 = str6; } String str7 = c2420aeK.d; if (str7 == null) { C14957gcv.a(""); str3 = null; } else { str3 = str7; } String str8 = c2420aeK.h; if (str8 == null) { C14957gcv.a(""); str4 = null; } else { str4 = str8; } String str9 = c2420aeK.e; if (str9 == null) { C14957gcv.a(""); str5 = null; } else { str5 = str9; } interfaceC9015dbj.e(str, str2, str3, str4, str5, c2420aeK.b); } public static /* synthetic */ void e(C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { C14957gcv.e(c2420aeK, ""); String str = c2420aeK.i; String str2 = null; if (str == null) { C14957gcv.a(""); str = null; } String str3 = c2420aeK.d; if (str3 == null) { C14957gcv.a(""); } else { str2 = str3; } interfaceC9015dbj.a(str, str2); } public static /* synthetic */ void e(String str, InterfaceC9015dbj interfaceC9015dbj) { C14957gcv.e(str, ""); interfaceC9015dbj.c(); interfaceC9015dbj.a(str); } public static /* synthetic */ void b(C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { C14957gcv.e(c2420aeK, ""); String str = c2420aeK.c; String str2 = null; if (str == null) { C14957gcv.a(""); str = null; } String str3 = c2420aeK.d; if (str3 == null) { C14957gcv.a(""); str3 = null; } String str4 = c2420aeK.h; if (str4 == null) { C14957gcv.a(""); str4 = null; } String str5 = c2420aeK.e; if (str5 == null) { C14957gcv.a(""); } else { str2 = str5; } interfaceC9015dbj.c(str, str3, str4, str2); } public static /* synthetic */ void a(C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { C14957gcv.e(c2420aeK, ""); String str = c2420aeK.i; if (str == null) { C14957gcv.a(""); str = null; } interfaceC9015dbj.d(str); } public static /* synthetic */ void b(String str, C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { String str2; String str3; String str4; String str5; C14957gcv.e(str, ""); C14957gcv.e(c2420aeK, ""); String str6 = c2420aeK.c; if (str6 == null) { C14957gcv.a(""); str2 = null; } else { str2 = str6; } String str7 = c2420aeK.d; if (str7 == null) { C14957gcv.a(""); str3 = null; } else { str3 = str7; } String str8 = c2420aeK.h; if (str8 == null) { C14957gcv.a(""); str4 = null; } else { str4 = str8; } String str9 = c2420aeK.e; if (str9 == null) { C14957gcv.a(""); str5 = null; } else { str5 = str9; } interfaceC9015dbj.d(str, str2, str3, str4, str5, c2420aeK.b); interfaceC9015dbj.a(); } public static /* synthetic */ void b(boolean z, boolean z2, boolean z3, boolean z4, C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { C14957gcv.e(c2420aeK, ""); interfaceC9015dbj.e(new C0795Or(!z, (z2 || z3) ? false : true, !z4), new RVV(c2420aeK), new IeS(c2420aeK)); interfaceC9015dbj.ar_(); } public static /* synthetic */ void c(C2420aeK c2420aeK, InterfaceC9015dbj interfaceC9015dbj) { String str; String str2; String str3; String str4; String str5; C14957gcv.e(c2420aeK, ""); String str6 = c2420aeK.i; if (str6 == null) { C14957gcv.a(""); str = null; } else { str = str6; } String str7 = c2420aeK.c; if (str7 == null) { C14957gcv.a(""); str2 = null; } else { str2 = str7; } String str8 = c2420aeK.d; if (str8 == null) { C14957gcv.a(""); str3 = null; } else { str3 = str8; } String str9 = c2420aeK.h; if (str9 == null) { C14957gcv.a(""); str4 = null; } else { str4 = str9; } String str10 = c2420aeK.e; if (str10 == null) { C14957gcv.a(""); str5 = null; } else { str5 = str10; } interfaceC9015dbj.b(str, str2, str3, str4, str5, c2420aeK.b); } public static final /* synthetic */ void c(C2420aeK c2420aeK) { C2434aeY c2434aeY = new C2434aeY(c2420aeK); if (c2420aeK.f != 0) { c2434aeY.e(c2420aeK.f); } } public final void b(String str) { C14957gcv.e(str, ""); if (this.f != 0) { this.f.ar_(); } String str2 = this.e; String str3 = null; if (str2 == null) { C14957gcv.a(""); str2 = null; } if (gdZ.a(str2, "HML", true)) { String str4 = this.d; if (str4 == null) { C14957gcv.a(""); } else { str3 = str4; } if (gdZ.a("SALARY", str3, true)) { ZI.IeS ieS = new ZI.IeS(str, this) { // from class: o.aeW private C2420aeK c; private String e; @Override // o.ZI.IeS public final void e(Object obj) { C2420aeK.b(this.e, this.c, (InterfaceC9015dbj) obj); } { this.e = str; this.c = this; } }; if (this.f != 0) { ieS.e(this.f); return; } return; } } ZI.IeS ieS2 = new ZI.IeS(str, this) { // from class: o.aeQ private C2420aeK d; private String e; @Override // o.ZI.IeS public final void e(Object obj) { C2420aeK.e(this.e, this.d, (InterfaceC9015dbj) obj); } { this.e = str; this.d = this; } }; if (this.f != 0) { ieS2.e(this.f); } } /* renamed from: o.aeK$LWm */ /* loaded from: classes3.dex */ public final /* synthetic */ class LWm { public static final int[] a; static { int[] iArr = new int[cXH.Sts.values().length]; try { iArr[cXH.Sts.BLURRY.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[cXH.Sts.MISSING_BORDERS.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { iArr[cXH.Sts.LOW_CONTRAST.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { iArr[cXH.Sts.WRONG_SATURATION.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } a = iArr; } } static { new HBt((byte) 0); } }