what-the-bank/sources/o/C5655bxE.java

290 lines
9.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import o.ZI;
import o.wRi;
/* renamed from: o.bxE, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5655bxE extends ZI<InterfaceC9315dhS> {
public String a;
public final C0571Jsh b;
public IeS c;
public String d;
public String e;
/* renamed from: o.bxE$IeS */
/* loaded from: classes4.dex */
public enum IeS {
FIRST,
SECOND,
THIRD
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5655bxE(C0571Jsh c0571Jsh, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c0571Jsh, "");
C14957gcv.e(c16903sI, "");
this.b = c0571Jsh;
this.c = IeS.FIRST;
}
public final void b() {
String str;
String str2;
String str3 = this.a;
if (str3 != null && str3.length() == 2 && (str = this.e) != null && str.length() == 2 && (str2 = this.d) != null && str2.length() == 2) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bxO
@Override // o.ZI.IeS
public final void e(Object obj) {
C5655bxE.d((InterfaceC9315dhS) obj);
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.bxL
private C5655bxE e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5655bxE.c(this.e, (InterfaceC9315dhS) obj);
}
{
this.e = this;
}
};
if (this.f != 0) {
ieS2.e(this.f);
}
if (this.a == null || this.e == null || this.d == null) {
return;
}
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bxK
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9315dhS) obj).e(true);
}
};
if (this.f != 0) {
ieS3.e(this.f);
}
}
/* renamed from: o.bxE$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends wRi.LWm<Void> {
private C5655bxE e;
public LWm(C5655bxE c5655bxE) {
this.e = c5655bxE;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
super.onComplete();
C5655bxE.c(this.e);
C5655bxE c5655bxE = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bxT
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9315dhS) obj).d();
}
};
if (c5655bxE.f != 0) {
ieS.e(c5655bxE.f);
}
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:14:0x002d, code lost:
if (r1.equals("3031") == false) goto L29;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0051, code lost:
r3 = r2.e;
r0 = new o.C5666bxP(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x005a, code lost:
if (r3.f == 0) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x005c, code lost:
r0.e(r3.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x004f, code lost:
if (r1.equals("3029") != false) goto L26;
*/
@Override // o.wRi.LWm, o.InterfaceC13174fSv
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onError(java.lang.Throwable r3) {
/*
r2 = this;
java.lang.String r0 = ""
o.C14957gcv.e(r3, r0)
super.onError(r3)
boolean r0 = r3 instanceof com.scb.phone.domain.errors.RetrofitException
r1 = 0
if (r0 == 0) goto L10
com.scb.phone.domain.errors.RetrofitException r3 = (com.scb.phone.domain.errors.RetrofitException) r3
goto L11
L10:
r3 = r1
L11:
if (r3 == 0) goto L1d
o.VCl r3 = r3.e
if (r3 == 0) goto L1d
o.ggV r3 = r3.c
if (r3 == 0) goto L1d
java.lang.String r1 = r3.e
L1d:
if (r1 == 0) goto L62
int r3 = r1.hashCode()
switch(r3) {
case 1567076: goto L49;
case 1567098: goto L30;
case 1567099: goto L27;
default: goto L26;
}
L26:
goto L62
L27:
java.lang.String r3 = "3031"
boolean r3 = r1.equals(r3)
if (r3 != 0) goto L51
goto L62
L30:
java.lang.String r3 = "3030"
boolean r3 = r1.equals(r3)
if (r3 == 0) goto L62
o.bxE r3 = r2.e
o.bxQ r0 = new o.bxQ
r0.<init>()
T extends o.cYp r1 = r3.f
if (r1 == 0) goto L72
T extends o.cYp r3 = r3.f
r0.e(r3)
goto L72
L49:
java.lang.String r3 = "3029"
boolean r3 = r1.equals(r3)
if (r3 == 0) goto L62
L51:
o.bxE r3 = r2.e
o.bxP r0 = new o.bxP
r0.<init>(r1)
T extends o.cYp r1 = r3.f
if (r1 == 0) goto L72
T extends o.cYp r3 = r3.f
r0.e(r3)
goto L72
L62:
o.bxE r3 = r2.e
o.bxS r0 = new o.bxS
r0.<init>()
T extends o.cYp r1 = r3.f
if (r1 == 0) goto L72
T extends o.cYp r3 = r3.f
r0.e(r3)
L72:
o.bxE r3 = r2.e
o.C5655bxE.c(r3)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C5655bxE.LWm.onError(java.lang.Throwable):void");
}
public static /* synthetic */ void d(InterfaceC9315dhS interfaceC9315dhS) {
interfaceC9315dhS.e();
interfaceC9315dhS.e(true);
}
public static /* synthetic */ void a(InterfaceC9315dhS interfaceC9315dhS) {
interfaceC9315dhS.e(true);
interfaceC9315dhS.e(true, IeS.FIRST);
interfaceC9315dhS.e(true, IeS.SECOND);
interfaceC9315dhS.e(true, IeS.THIRD);
interfaceC9315dhS.c(true);
interfaceC9315dhS.e();
}
public static /* synthetic */ void d(String str, InterfaceC9315dhS interfaceC9315dhS) {
interfaceC9315dhS.e(true);
interfaceC9315dhS.e(true, IeS.FIRST);
interfaceC9315dhS.e(true, IeS.SECOND);
interfaceC9315dhS.e(true, IeS.THIRD);
interfaceC9315dhS.c(false);
if (str.equals("3029")) {
interfaceC9315dhS.c();
} else {
interfaceC9315dhS.f();
}
}
}
@Override // o.ZI
public final void w_() {
C0571Jsh c0571Jsh = this.b;
if (!c0571Jsh.h.isDisposed()) {
c0571Jsh.h.dispose();
}
super.w_();
}
public static /* synthetic */ void d(InterfaceC9315dhS interfaceC9315dhS) {
interfaceC9315dhS.c(true);
interfaceC9315dhS.e(false);
}
public static /* synthetic */ void c(C5655bxE c5655bxE, InterfaceC9315dhS interfaceC9315dhS) {
C14957gcv.e(c5655bxE, "");
String str = c5655bxE.a;
interfaceC9315dhS.e(str != null && (str == null || str.length() != 2) && c5655bxE.c != IeS.FIRST, IeS.FIRST);
String str2 = c5655bxE.e;
interfaceC9315dhS.e(str2 != null && (str2 == null || str2.length() != 2) && c5655bxE.c != IeS.SECOND, IeS.SECOND);
String str3 = c5655bxE.d;
interfaceC9315dhS.e(str3 != null && (str3 == null || str3.length() != 2) && c5655bxE.c != IeS.THIRD, IeS.THIRD);
interfaceC9315dhS.c(false);
}
public static final /* synthetic */ void c(C5655bxE c5655bxE) {
if (c5655bxE.f != 0) {
c5655bxE.f.ar_();
}
}
/* renamed from: o.bxE$Sts */
/* loaded from: classes4.dex */
public final /* synthetic */ class Sts {
public static final int[] d;
static {
int[] iArr = new int[IeS.values().length];
try {
iArr[IeS.FIRST.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[IeS.SECOND.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
iArr[IeS.THIRD.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
d = iArr;
}
}
}