package o; import com.scb.phone.domain.errors.RetrofitException; import o.InterfaceC9106ddU; import o.ZI; import o.aFE; import o.wRi; /* loaded from: classes4.dex */ public final class aFE extends ZI { public String a; public final KQe b; public boolean c; public boolean e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public aFE(KQe kQe, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(kQe, ""); C14957gcv.e(c16903sI, ""); this.b = kQe; } /* loaded from: classes4.dex */ public final class Sts extends wRi.LWm { private aFE d; public Sts(aFE afe) { this.d = afe; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C14957gcv.e((Qgf) obj, ""); aFE.a(this.d); aFE afe = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.aFG @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9106ddU.HBt) obj2).I_(); } }; if (afe.f != 0) { ieS.e(afe.f); } this.d.c = false; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C14957gcv.e(th, ""); aFE.a(this.d); final aFE afe = this.d; ZI.IeS ieS = new ZI.IeS(th, afe) { // from class: o.aFJ private Throwable b; private aFE e; @Override // o.ZI.IeS public final void e(Object obj) { aFE.Sts.b(this.b, this.e, (InterfaceC9106ddU.HBt) obj); } { this.b = th; this.e = afe; } }; if (afe.f != 0) { ieS.e(afe.f); } this.d.c = false; } public static /* synthetic */ void b(final Throwable th, final aFE afe, InterfaceC9106ddU.HBt hBt) { C14957gcv.e(th, ""); C14957gcv.e(afe, ""); if (!C15602gz.e(th, RetrofitException.RVV.OTP_FAILED, RetrofitException.RVV.OTP_REACH_MAX_LIMIT, RetrofitException.RVV.OTP_EXPIRED)) { if (afe.i(th)) { return; } C14957gcv.e(th, ""); ZI.IeS ieS = new ZI.IeS(th, afe) { // from class: o.aFC private aFE a; private Throwable b; @Override // o.ZI.IeS public final void e(Object obj) { aFE.a(this.b, this.a, (InterfaceC9106ddU.HBt) obj); } { this.b = th; this.a = afe; } }; if (afe.f != 0) { ieS.e(afe.f); return; } return; } hBt.k_(afe.j.e(th).c); } } /* loaded from: classes4.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } /* JADX WARN: Code restructure failed: missing block: B:13:0x0049, code lost: if (r1.equals("3023") == false) goto L37; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0066, code lost: r3 = r4.j.e(r3); o.C14957gcv.c(r3, ""); r5.d(r3); */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0072, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0052, code lost: if (r1.equals("3022") == false) goto L37; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x005b, code lost: if (r1.equals("3021") == false) goto L37; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0064, code lost: if (r1.equals("3020") != false) goto L35; */ /* JADX WARN: Code restructure failed: missing block: B:24:0x002e, code lost: if (r1.equals("3019") == false) goto L37; */ /* JADX WARN: Code restructure failed: missing block: B:26:0x0037, code lost: if (r1.equals("3018") == false) goto L37; */ /* JADX WARN: Code restructure failed: missing block: B:28:0x0040, code lost: if (r1.equals("3017") != false) goto L35; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ void a(java.lang.Throwable r3, o.aFE r4, o.InterfaceC9106ddU.HBt r5) { /* java.lang.String r0 = "" o.C14957gcv.e(r3, r0) o.C14957gcv.e(r4, r0) boolean r1 = r3 instanceof com.scb.phone.domain.errors.RetrofitException if (r1 == 0) goto L7c r1 = r3 com.scb.phone.domain.errors.RetrofitException r1 = (com.scb.phone.domain.errors.RetrofitException) r1 o.VCl r1 = r1.e if (r1 == 0) goto L1a o.ggV r1 = r1.c if (r1 == 0) goto L1a java.lang.String r1 = r1.e goto L1b L1a: r1 = 0 L1b: if (r1 == 0) goto L73 int r2 = r1.hashCode() switch(r2) { case 1567043: goto L3a; case 1567044: goto L31; case 1567045: goto L28; default: goto L24; } L24: switch(r2) { case 1567067: goto L5e; case 1567068: goto L55; case 1567069: goto L4c; case 1567070: goto L43; default: goto L27; } L27: goto L73 L28: java.lang.String r2 = "3019" boolean r1 = r1.equals(r2) if (r1 != 0) goto L66 goto L73 L31: java.lang.String r2 = "3018" boolean r1 = r1.equals(r2) if (r1 != 0) goto L66 goto L73 L3a: java.lang.String r2 = "3017" boolean r1 = r1.equals(r2) if (r1 == 0) goto L73 goto L66 L43: java.lang.String r2 = "3023" boolean r1 = r1.equals(r2) if (r1 != 0) goto L66 goto L73 L4c: java.lang.String r2 = "3022" boolean r1 = r1.equals(r2) if (r1 != 0) goto L66 goto L73 L55: java.lang.String r2 = "3021" boolean r1 = r1.equals(r2) if (r1 != 0) goto L66 goto L73 L5e: java.lang.String r2 = "3020" boolean r1 = r1.equals(r2) if (r1 == 0) goto L73 L66: o.sI r4 = r4.j o.Mj r3 = r4.e(r3) o.C14957gcv.c(r3, r0) r5.d(r3) return L73: o.sI r4 = r4.j o.Mj r3 = r4.e(r3) r5.a(r3) L7c: return */ throw new UnsupportedOperationException("Method not decompiled: o.aFE.a(java.lang.Throwable, o.aFE, o.ddU$HBt):void"); } public static final /* synthetic */ void a(aFE afe) { if (afe.f != 0) { afe.f.ar_(); } } @Override // o.ZI public final void w_() { KQe kQe = this.b; if (!kQe.h.isDisposed()) { kQe.h.dispose(); } super.w_(); } static { new IeS((byte) 0); } }