package o; import o.C14930gcM; import o.C15715hv; import o.ZI; /* renamed from: o.bQt, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C4128bQt extends ZI { public String a; public boolean b; public RA c; public final Xky d; public String e; public C0406Fx h; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C4128bQt(C16903sI c16903sI, Xky xky) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(xky, ""); this.d = xky; this.e = ""; this.a = ""; } /* renamed from: o.bQt$HBt */ /* loaded from: classes4.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } private final void j(InterfaceC9445djq interfaceC9445djq) { if (C14957gcv.b((Object) this.a, (Object) "th")) { C0406Fx c0406Fx = this.h; if (c0406Fx != null) { String valueOf = String.valueOf(c0406Fx != null ? c0406Fx.n : null); C0406Fx c0406Fx2 = this.h; String valueOf2 = String.valueOf(c0406Fx2 != null ? c0406Fx2.b : null); C0406Fx c0406Fx3 = this.h; String valueOf3 = String.valueOf(c0406Fx3 != null ? c0406Fx3.f : null); C0406Fx c0406Fx4 = this.h; interfaceC9445djq.d(valueOf, valueOf2, valueOf3, String.valueOf(c0406Fx4 != null ? c0406Fx4.c : null), c0406Fx); return; } return; } C0406Fx c0406Fx5 = this.h; if (c0406Fx5 != null) { String valueOf4 = String.valueOf(c0406Fx5 != null ? c0406Fx5.g : null); C0406Fx c0406Fx6 = this.h; String valueOf5 = String.valueOf(c0406Fx6 != null ? c0406Fx6.a : null); C0406Fx c0406Fx7 = this.h; String valueOf6 = String.valueOf(c0406Fx7 != null ? c0406Fx7.j : null); C0406Fx c0406Fx8 = this.h; interfaceC9445djq.d(valueOf4, valueOf5, valueOf6, String.valueOf(c0406Fx8 != null ? c0406Fx8.c : null), c0406Fx5); } } public static int c(boolean z) { if (z) { return C15715hv.tOB.auto_change_mailing_address_new_address_header_th; } return C15715hv.tOB.auto_change_mailing_address_new_address_header_en; } public static int e(boolean z) { if (z) { return C15715hv.tOB.auto_change_mailing_address_new_address_title_th; } return C15715hv.tOB.auto_change_mailing_address_new_address_title_en; } public final void a(boolean z, boolean z2, boolean z3, boolean z4, boolean z5) { final C14930gcM.Sts sts = new C14930gcM.Sts(); boolean z6 = z | z2; if (z6) { sts.b = z3 | z4 | z5; } if (z6) { ZI.IeS ieS = new ZI.IeS(sts, this) { // from class: o.bQy private C14930gcM.Sts b; private C4128bQt d; @Override // o.ZI.IeS public final void e(Object obj) { C4128bQt.c(this.b, this.d, (InterfaceC9445djq) obj); } { this.b = sts; this.d = this; } }; if (this.f != 0) { ieS.e(this.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS(sts, this) { // from class: o.bQA private C14930gcM.Sts d; private C4128bQt e; @Override // o.ZI.IeS public final void e(Object obj) { C4128bQt.e(this.d, this.e, (InterfaceC9445djq) obj); } { this.d = sts; this.e = this; } }; if (this.f != 0) { ieS2.e(this.f); } } public final void a(String str) { C14957gcv.e(str, ""); final String str2 = C14957gcv.b((Object) str, (Object) "WORK") ? "O" : "H"; ZI.IeS ieS = new ZI.IeS(str2) { // from class: o.bQO private String b; @Override // o.ZI.IeS public final void e(Object obj) { C4128bQt.c(this.b, (InterfaceC9445djq) obj); } { this.b = str2; } }; if (this.f != 0) { ieS.e(this.f); } } public static /* synthetic */ void b(C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(c4128bQt, ""); interfaceC9445djq.o(c4128bQt.b); } public static /* synthetic */ void e(C14930gcM.Sts sts, C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(sts, ""); C14957gcv.e(c4128bQt, ""); boolean z = sts.b; interfaceC9445djq.e(c4128bQt.b); } /* JADX WARN: Removed duplicated region for block: B:25:0x0085 */ /* JADX WARN: Removed duplicated region for block: B:28:0x0093 */ /* JADX WARN: Removed duplicated region for block: B:31:0x00a1 */ /* JADX WARN: Removed duplicated region for block: B:34:0x00b1 */ /* JADX WARN: Removed duplicated region for block: B:37:? A[RETURN, SYNTHETIC] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ void d(final o.C4128bQt r4, o.InterfaceC9445djq r5) { /* java.lang.String r0 = "" o.C14957gcv.e(r4, r0) o.RA r0 = r4.c if (r0 == 0) goto Lb6 java.lang.String r1 = r0.i java.lang.String r2 = r0.g java.lang.String r3 = r0.f r5.c(r1, r2, r3) java.lang.String r1 = r0.n java.lang.String r2 = r0.b java.lang.String r3 = r0.f8335o java.lang.String r0 = r0.h r5.b(r1, r2, r3, r0) java.lang.String r5 = r4.a java.lang.String r0 = "en" boolean r5 = o.C14957gcv.b(r5, r0) if (r5 == 0) goto L29 java.lang.String r0 = "th" L29: r4.a = r0 o.bQT r5 = new o.bQT r5.() T extends o.cYp r0 = r4.f if (r0 == 0) goto L39 T extends o.cYp r0 = r4.f r5.e(r0) L39: o.bQU r5 = new o.bQU r5.(r4) T extends o.cYp r0 = r4.f if (r0 == 0) goto L47 T extends o.cYp r0 = r4.f r5.e(r0) L47: o.bRb r5 = new o.bRb r5.() T extends o.cYp r0 = r4.f if (r0 == 0) goto L55 T extends o.cYp r0 = r4.f r5.e(r0) L55: o.RA r5 = r4.c r0 = 0 if (r5 == 0) goto L5d java.lang.String r5 = r5.n goto L5e L5d: r5 = r0 L5e: java.lang.CharSequence r5 = (java.lang.CharSequence) r5 r1 = 1 if (r5 == 0) goto L69 int r5 = r5.length() if (r5 != 0) goto L79 L69: o.RA r5 = r4.c if (r5 == 0) goto L6f java.lang.String r0 = r5.g L6f: java.lang.CharSequence r0 = (java.lang.CharSequence) r0 if (r0 == 0) goto L7b int r5 = r0.length() if (r5 == 0) goto L7b L79: r5 = r1 goto L7c L7b: r5 = 0 L7c: o.bQZ r0 = new o.bQZ r0.(r5) T extends o.cYp r5 = r4.f if (r5 == 0) goto L8a T extends o.cYp r5 = r4.f r0.e(r5) L8a: o.bQw r5 = new o.bQw r5.() T extends o.cYp r0 = r4.f if (r0 == 0) goto L98 T extends o.cYp r0 = r4.f r5.e(r0) L98: o.bQz r5 = new o.bQz r5.() T extends o.cYp r0 = r4.f if (r0 == 0) goto La6 T extends o.cYp r0 = r4.f r5.e(r0) La6: r4.b = r1 o.bQR r5 = new o.bQR r5.(r4) T extends o.cYp r0 = r4.f if (r0 == 0) goto Lb6 T extends o.cYp r4 = r4.f r5.e(r4) Lb6: return */ throw new UnsupportedOperationException("Method not decompiled: o.C4128bQt.d(o.bQt, o.djq):void"); } public static /* synthetic */ void c(C14930gcM.Sts sts, C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(sts, ""); C14957gcv.e(c4128bQt, ""); interfaceC9445djq.a(sts.b, c4128bQt.b); } public static /* synthetic */ void e(C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(c4128bQt, ""); if (c4128bQt.h != null) { C14957gcv.c(interfaceC9445djq, ""); c4128bQt.j(interfaceC9445djq); } } public static /* synthetic */ void c(C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(c4128bQt, ""); interfaceC9445djq.b(gdZ.d((CharSequence) c4128bQt.a, (CharSequence) "en", false)); } public static /* synthetic */ void c(String str, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(str, ""); interfaceC9445djq.d(str); } public static /* synthetic */ void i(C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(c4128bQt, ""); C14957gcv.e(interfaceC9445djq, ""); interfaceC9445djq.o(c4128bQt.b); } public static /* synthetic */ void a(C4128bQt c4128bQt, InterfaceC9445djq interfaceC9445djq) { C14957gcv.e(c4128bQt, ""); if (c4128bQt.h != null) { C14957gcv.c(interfaceC9445djq, ""); c4128bQt.j(interfaceC9445djq); } } static { new HBt((byte) 0); } }