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

1365 lines
45 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.common.base.Ascii;
import com.scb.phone.domain.errors.RetrofitException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.C0690Mh;
import o.C15726iA;
import o.C4601bdJ;
import o.ZI;
import o.iou;
import o.nGH;
import o.wRi;
/* renamed from: o.bdJ, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C4601bdJ extends ZI<InterfaceC9212dfU> {
private static final List<String> c;
private static char[] i;
private static int m;
private final C16677qL a;
private final Wqj b;
private final C15726iA d;
private final C15829iu e;
private final String g;
private List<? extends C1003Tl> h;
private static final byte[] $$a = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$b = 88;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8566o = 0;
public static /* synthetic */ Object d(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i3;
int i6 = (i2 * 367) + (i3 * 367) + ((i2 | i3) * (-366)) + (((~(i5 | i4)) | i2) * (-366)) + (((~(i2 | i5 | i4)) | (~(i3 | (~i2)))) * 366);
return i6 != 1 ? i6 != 2 ? i6 != 3 ? i6 != 4 ? b(objArr) : e(objArr) : a(objArr) : c(objArr) : d(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x002b */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002b -> B:4:0x002d). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void l(byte r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 4
int r0 = r5 + 1
int r6 = r6 * 3
int r6 = 3 - r6
int r7 = r7 * 2
int r7 = 73 - r7
byte[] r1 = o.C4601bdJ.$$a
byte[] r0 = new byte[r0]
r2 = -1
if (r1 != 0) goto L16
r3 = r5
r7 = r6
goto L2d
L16:
r4 = r7
r7 = r6
r6 = r4
L19:
int r2 = r2 + 1
byte r3 = (byte) r6
r0[r2] = r3
int r7 = r7 + 1
if (r2 != r5) goto L2b
java.lang.String r5 = new java.lang.String
r6 = 0
r5.<init>(r0, r6)
r8[r6] = r5
return
L2b:
r3 = r1[r7]
L2d:
int r6 = r6 + r3
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4601bdJ.l(byte, short, short, java.lang.Object[]):void");
}
public static final /* synthetic */ C16677qL a(C4601bdJ c4601bdJ) {
int i2 = 2 % 2;
int i3 = m + 17;
int i4 = i3 % 128;
f8566o = i4;
int i5 = i3 % 2;
C16677qL c16677qL = c4601bdJ.a;
int i6 = i4 + 95;
m = i6 % 128;
if (i6 % 2 != 0) {
return c16677qL;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static final /* synthetic */ void a(C4601bdJ c4601bdJ, Throwable th, Runnable runnable) {
int i2 = 2 % 2;
int i3 = m + 63;
f8566o = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 45 / 0;
if (!c4601bdJ.b(th)) {
return;
}
} else if (!c4601bdJ.b(th)) {
return;
}
c4601bdJ.d(c4601bdJ.j.c(th, runnable));
int i5 = f8566o + 67;
m = i5 % 128;
int i6 = i5 % 2;
}
public static final /* synthetic */ void b(C4601bdJ c4601bdJ) {
int i2 = 2 % 2;
if (c4601bdJ.f != 0) {
int i3 = m + 49;
f8566o = i3 % 128;
int i4 = i3 % 2;
c4601bdJ.f.ar_();
int i5 = m + 21;
f8566o = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 2 % 4;
}
}
int i7 = m + 7;
f8566o = i7 % 128;
int i8 = i7 % 2;
}
public static final /* synthetic */ void c(C4601bdJ c4601bdJ, Throwable th) {
int i2 = 2 % 2;
if (c4601bdJ.b(th)) {
int i3 = f8566o + 31;
m = i3 % 128;
if (i3 % 2 == 0) {
c4601bdJ.d(c4601bdJ.j.e(th));
Object obj = null;
obj.hashCode();
throw null;
}
c4601bdJ.d(c4601bdJ.j.e(th));
}
int i4 = m + 45;
f8566o = i4 % 128;
int i5 = i4 % 2;
}
public static final /* synthetic */ void d(C4601bdJ c4601bdJ, Throwable th, C0690Mh.IeS ieS) {
int i2 = 2 % 2;
if (c4601bdJ.b(th)) {
int i3 = m + 113;
f8566o = i3 % 128;
int i4 = i3 % 2;
c4601bdJ.d(c4601bdJ.j.d(th, ieS));
}
int i5 = f8566o + 7;
m = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 90 / 0;
}
}
private static /* synthetic */ Object e(Object[] objArr) {
C4601bdJ c4601bdJ = (C4601bdJ) objArr[0];
List<? extends C1003Tl> list = (List) objArr[1];
int i2 = 2 % 2;
int i3 = f8566o + 109;
int i4 = i3 % 128;
m = i4;
int i5 = i3 % 2;
c4601bdJ.h = list;
if (i5 == 0) {
throw null;
}
int i6 = i4 + 19;
f8566o = i6 % 128;
if (i6 % 2 == 0) {
return null;
}
throw null;
}
public static final /* synthetic */ JV e(C6482cUZ c6482cUZ) {
int i2 = 2 % 2;
int i3 = f8566o + 95;
m = i3 % 128;
if (i3 % 2 == 0) {
d(c6482cUZ);
throw null;
}
JV d = d(c6482cUZ);
int i4 = m + 121;
f8566o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 81 / 0;
}
return d;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C4601bdJ(C15726iA c15726iA, Wqj wqj, C15829iu c15829iu, C16677qL c16677qL, String str, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c15726iA, "");
C14957gcv.e(wqj, "");
C14957gcv.e(c15829iu, "");
C14957gcv.e(c16677qL, "");
C14957gcv.e(str, "");
C14957gcv.e(c16903sI, "");
this.d = c15726iA;
this.b = wqj;
this.e = c15829iu;
this.a = c16677qL;
this.g = str;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4601bdJ d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C4601bdJ.d(this.d, th2, C0690Mh.IeS.NAVIGATE_BACK);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C4601bdJ c4601bdJ) {
super(1);
this.d = c4601bdJ;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<List<? extends C1003Tl>, C14866gag> {
private C4601bdJ d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(List<? extends C1003Tl> list) {
List<? extends C1003Tl> list2 = list;
C14957gcv.e(list2, "");
C4601bdJ.b(this.d);
C4601bdJ.d(new Object[]{this.d, list2}, 2085413447, -2085413443, (int) System.currentTimeMillis());
C4601bdJ c4601bdJ = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bdO
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9212dfU) obj).e();
}
};
if (c4601bdJ.f != 0) {
ieS.e(c4601bdJ.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C4601bdJ c4601bdJ) {
super(1);
this.d = c4601bdJ;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
C4601bdJ c4601bdJ = (C4601bdJ) objArr[0];
int i2 = 2 % 2;
if (c4601bdJ.f != 0) {
int i3 = m + 5;
int i4 = i3 % 128;
f8566o = i4;
int i5 = i3 % 2;
int i6 = i4 + 43;
m = i6 % 128;
int i7 = i6 % 2;
c4601bdJ.f.y();
}
C15726iA c15726iA = c4601bdJ.d;
IeS ieS = new IeS(c4601bdJ);
HBt hBt = new HBt(c4601bdJ);
C3358avz c3358avz = new C3358avz();
C14957gcv.e(ieS, "");
C14957gcv.e(hBt, "");
C14957gcv.e(c3358avz, "");
c15726iA.b(c15726iA.c, ieS, hBt, new nGH.IeS(c3358avz), new C15726iA.LWm(c15726iA));
return null;
}
public final ArrayList<C1003Tl> c() {
int i2 = 2 % 2;
int i3 = m + 9;
int i4 = i3 % 128;
f8566o = i4;
int i5 = i3 % 2;
List<? extends C1003Tl> list = this.h;
if (list == null) {
int i6 = i4 + 43;
m = i6 % 128;
int i7 = i6 % 2;
C14957gcv.a("");
int i8 = f8566o + 113;
m = i8 % 128;
int i9 = i8 % 2;
list = null;
}
List<? extends C1003Tl> list2 = list;
C14957gcv.e(list2, "");
return new ArrayList<>(list2);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$jbe */
/* loaded from: classes4.dex */
public static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private InterfaceC9212dfU b;
private C4601bdJ e;
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:12:0x002e, code lost:
if (r1.equals("9000") != false) goto L25;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x004b, code lost:
r1 = r3.b;
r4 = r4.e.c.c;
o.C14957gcv.c((java.lang.Object) r4, "");
r1.e(r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0037, code lost:
if (r1.equals("1038") == false) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0040, code lost:
if (r1.equals("1037") == false) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0049, code lost:
if (r1.equals("1035") != false) goto L25;
*/
@Override // o.InterfaceC14894gbR
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final /* synthetic */ o.C14866gag invoke(java.lang.Throwable r4) {
/*
r3 = this;
java.lang.Throwable r4 = (java.lang.Throwable) r4
java.lang.String r0 = ""
o.C14957gcv.e(r4, r0)
o.bdJ r1 = r3.e
o.C4601bdJ.b(r1)
boolean r1 = r4 instanceof com.scb.phone.domain.errors.RetrofitException
if (r1 == 0) goto L60
com.scb.phone.domain.errors.RetrofitException r4 = (com.scb.phone.domain.errors.RetrofitException) r4
o.VCl r1 = r4.e
if (r1 == 0) goto L1d
o.ggV r1 = r1.c
if (r1 == 0) goto L1d
java.lang.String r1 = r1.e
goto L1e
L1d:
r1 = 0
L1e:
if (r1 == 0) goto L5a
int r2 = r1.hashCode()
switch(r2) {
case 1507521: goto L43;
case 1507523: goto L3a;
case 1507524: goto L31;
case 1745751: goto L28;
default: goto L27;
}
L27:
goto L5a
L28:
java.lang.String r2 = "9000"
boolean r1 = r1.equals(r2)
if (r1 == 0) goto L5a
goto L4b
L31:
java.lang.String r2 = "1038"
boolean r1 = r1.equals(r2)
if (r1 != 0) goto L4b
goto L5a
L3a:
java.lang.String r2 = "1037"
boolean r1 = r1.equals(r2)
if (r1 != 0) goto L4b
goto L5a
L43:
java.lang.String r2 = "1035"
boolean r1 = r1.equals(r2)
if (r1 == 0) goto L5a
L4b:
o.dfU r1 = r3.b
o.VCl r4 = r4.e
o.ggV r4 = r4.c
java.lang.String r4 = r4.c
o.C14957gcv.c(r4, r0)
r1.e(r4)
goto L65
L5a:
o.dfU r4 = r3.b
r4.c()
goto L65
L60:
o.bdJ r0 = r3.e
o.C4601bdJ.c(r0, r4)
L65:
o.gag r4 = o.C14866gag.c
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4601bdJ.jbe.invoke(java.lang.Object):java.lang.Object");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jbe(C4601bdJ c4601bdJ, InterfaceC9212dfU interfaceC9212dfU) {
super(1);
this.e = c4601bdJ;
this.b = interfaceC9212dfU;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$tOB */
/* loaded from: classes4.dex */
public static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private InterfaceC9212dfU c;
private C4601bdJ d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
C4601bdJ.b(this.d);
this.c.h();
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
tOB(C4601bdJ c4601bdJ, InterfaceC9212dfU interfaceC9212dfU) {
super(1);
this.d = c4601bdJ;
this.c = interfaceC9212dfU;
}
}
public final void d(final String str, final String str2, final String str3, final String str4) {
boolean z;
int i2 = 2 % 2;
if (this.f != 0) {
int i3 = f8566o + 121;
m = i3 % 128;
int i4 = i3 % 2;
z = true;
} else {
z = false;
}
if (z) {
int i5 = f8566o + 37;
m = i5 % 128;
if (i5 % 2 == 0) {
this.f.y();
int i6 = 43 / 0;
} else {
this.f.y();
}
int i7 = m + 109;
f8566o = i7 % 128;
int i8 = i7 % 2;
}
ZI.IeS ieS = new ZI.IeS(this, str, str2, str3, str4) { // from class: o.bdG
private String a;
private String b;
private String c;
private String d;
private C4601bdJ e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4601bdJ.e(this.e, this.d, this.b, this.c, this.a, (InterfaceC9212dfU) obj);
}
{
this.e = this;
this.d = str;
this.b = str2;
this.c = str3;
this.a = str4;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
private static final void b(C4601bdJ c4601bdJ, String str, String str2, String str3, String str4, InterfaceC9212dfU interfaceC9212dfU) {
String str5;
int i2 = 2 % 2;
String str6 = "";
C14957gcv.e(c4601bdJ, "");
C15726iA c15726iA = c4601bdJ.d;
tOB tob = new tOB(c4601bdJ, interfaceC9212dfU);
jbe jbeVar = new jbe(c4601bdJ, interfaceC9212dfU);
if (str == null) {
int i3 = f8566o + 15;
m = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
str5 = "";
} else {
str5 = str;
}
if (str2 == null) {
int i4 = m + 29;
f8566o = i4 % 128;
int i5 = i4 % 2;
} else {
str6 = str2;
}
c15726iA.c(tob, jbeVar, str5, str6, new C1273Zjc(str3, c4601bdJ.g, str4));
}
private static final void d(InterfaceC9212dfU interfaceC9212dfU) {
int i2 = 2 % 2;
int i3 = m + 37;
f8566o = i3 % 128;
int i4 = i3 % 2;
interfaceC9212dfU.b();
int i5 = m + 53;
f8566o = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:25:0x00c2, code lost:
if (o.C14957gcv.b((java.lang.Object) "NON_REFERRAL", (java.lang.Object) r17) != false) goto L29;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x00c9, code lost:
if (o.C14957gcv.b((java.lang.Object) "NON_REFERRAL", (java.lang.Object) r17) != false) goto L29;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void b(java.lang.String r17, java.lang.String r18, java.lang.String r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.String r23) {
/*
Method dump skipped, instructions count: 242
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4601bdJ.b(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String):void");
}
private static /* synthetic */ Object a(Object[] objArr) {
C4601bdJ c4601bdJ = (C4601bdJ) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
String str3 = (String) objArr[3];
String str4 = (String) objArr[4];
int i2 = 2 % 2;
if (c4601bdJ.f != 0) {
int i3 = m;
int i4 = i3 + 51;
f8566o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 % 3;
}
int i6 = i3 + 87;
f8566o = i6 % 128;
int i7 = i6 % 2;
c4601bdJ.f.y();
int i8 = f8566o + 21;
m = i8 % 128;
int i9 = i8 % 2;
}
c4601bdJ.b.a(new C6087cIa(str, str4, c4601bdJ.g, str2, str3));
Wqj wqj = c4601bdJ.b;
wqj.d(wqj.i, new LWm(c4601bdJ));
return null;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$ojQ */
/* loaded from: classes4.dex */
public static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4601bdJ b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
ggV ggv;
Throwable th2 = th;
C14957gcv.e(th2, "");
C4601bdJ.b(this.b);
if (th2 instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th2).e;
if (C14957gcv.b((Object) ((vCl == null || (ggv = vCl.c) == null) ? null : ggv.e), (Object) "3005")) {
final C4601bdJ c4601bdJ = this.b;
C4601bdJ.a(c4601bdJ, th2, new Runnable(c4601bdJ) { // from class: o.bdR
private C4601bdJ c;
@Override // java.lang.Runnable
public final void run() {
C4601bdJ.ojQ.e(this.c);
}
{
this.c = c4601bdJ;
}
});
return C14866gag.c;
}
}
C4601bdJ.d(this.b, th2, C0690Mh.IeS.NAVIGATE_BACK);
return C14866gag.c;
}
public static /* synthetic */ void e(C4601bdJ c4601bdJ) {
C14957gcv.e(c4601bdJ, "");
C4601bdJ.d(new Object[]{c4601bdJ}, -1024702221, 1024702223, System.identityHashCode(c4601bdJ));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ojQ(C4601bdJ c4601bdJ) {
super(1);
this.b = c4601bdJ;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$saX */
/* loaded from: classes4.dex */
public static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR<C6482cUZ, C14866gag> {
private C4601bdJ d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C6482cUZ c6482cUZ) {
final C6482cUZ c6482cUZ2 = c6482cUZ;
C14957gcv.e(c6482cUZ2, "");
C4601bdJ.b(this.d);
final JV e = C4601bdJ.e(c6482cUZ2);
C4601bdJ c4601bdJ = this.d;
ZI.IeS ieS = new ZI.IeS(c6482cUZ2, e) { // from class: o.bdP
private C6482cUZ c;
private JV e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4601bdJ.saX.c(this.c, this.e, (InterfaceC9212dfU) obj);
}
{
this.c = c6482cUZ2;
this.e = e;
}
};
if (c4601bdJ.f != 0) {
ieS.e(c4601bdJ.f);
}
return C14866gag.c;
}
public static /* synthetic */ void c(C6482cUZ c6482cUZ, JV jv, InterfaceC9212dfU interfaceC9212dfU) {
C14957gcv.e(c6482cUZ, "");
C14957gcv.e(jv, "");
if (C14957gcv.b((Object) "3006", (Object) c6482cUZ.e)) {
interfaceC9212dfU.c(jv);
} else {
interfaceC9212dfU.e(jv);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
saX(C4601bdJ c4601bdJ) {
super(1);
this.d = c4601bdJ;
}
}
private final void e(String str, String str2, String str3) {
int i2 = 2 % 2;
int i3 = f8566o + 101;
m = i3 % 128;
if (i3 % 2 == 0) {
T t = this.f;
Object obj = null;
obj.hashCode();
throw null;
}
if (this.f != 0) {
this.f.y();
}
C15726iA c15726iA = this.d;
saX sax = new saX(this);
ojQ ojq = new ojQ(this);
C8006cz c8006cz = new C8006cz(str, str3, str2);
C14957gcv.e(sax, "");
C14957gcv.e(ojq, "");
C14957gcv.e(c8006cz, "");
c15726iA.b(c15726iA.e, sax, ojq, new iou.Sts(c8006cz));
int i4 = f8566o + 85;
m = i4 % 128;
int i5 = i4 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<C13928fja, C14866gag> {
private C4601bdJ b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C13928fja c13928fja) {
C13928fja c13928fja2 = c13928fja;
C14957gcv.e(c13928fja2, "");
C4601bdJ.b(this.b);
final String str = c13928fja2.g.a;
final JX b = C4601bdJ.a(this.b).b(c13928fja2);
C4601bdJ c4601bdJ = this.b;
ZI.IeS ieS = new ZI.IeS(str, b) { // from class: o.bdN
private String b;
private JX c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4601bdJ.Sts.d(this.b, this.c, (InterfaceC9212dfU) obj);
}
{
this.b = str;
this.c = b;
}
};
if (c4601bdJ.f != 0) {
ieS.e(c4601bdJ.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(String str, JX jx, InterfaceC9212dfU interfaceC9212dfU) {
C14957gcv.e(jx, "");
if (C4601bdJ.b().contains(str)) {
interfaceC9212dfU.a(jx);
} else if (C14957gcv.b((Object) "3006", (Object) str)) {
interfaceC9212dfU.e(jx);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C4601bdJ c4601bdJ) {
super(1);
this.b = c4601bdJ;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$ZqN */
/* loaded from: classes4.dex */
public static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4601bdJ e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
final C4601bdJ c4601bdJ = this.e;
C4601bdJ.a(c4601bdJ, th2, new Runnable(c4601bdJ) { // from class: o.bdS
private C4601bdJ a;
@Override // java.lang.Runnable
public final void run() {
C4601bdJ.ZqN.b(this.a);
}
{
this.a = c4601bdJ;
}
});
return C14866gag.c;
}
public static /* synthetic */ void b(C4601bdJ c4601bdJ) {
C14957gcv.e(c4601bdJ, "");
C4601bdJ.d(new Object[]{c4601bdJ}, -1024702221, 1024702223, System.identityHashCode(c4601bdJ));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ZqN(C4601bdJ c4601bdJ) {
super(1);
this.e = c4601bdJ;
}
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0018, code lost:
if (r12.f != 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost:
if (r12.f != 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0029, code lost:
r1 = o.C4601bdJ.m + 107;
o.C4601bdJ.f8566o = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x001a, code lost:
r1 = o.C4601bdJ.m + 119;
o.C4601bdJ.f8566o = r1 % 128;
r1 = r1 % 2;
r12.f.y();
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final void b(java.lang.String r13, java.lang.String r14, java.lang.String r15) {
/*
r12 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.C4601bdJ.f8566o
int r1 = r1 + 111
int r2 = r1 % 128
o.C4601bdJ.m = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L16
T extends o.cYp r1 = r12.f
r3 = 1
int r3 = r3 / r2
if (r1 == 0) goto L29
goto L1a
L16:
T extends o.cYp r1 = r12.f
if (r1 == 0) goto L29
L1a:
int r1 = o.C4601bdJ.m
int r1 = r1 + 119
int r3 = r1 % 128
o.C4601bdJ.f8566o = r3
int r1 = r1 % r0
T extends o.cYp r0 = r12.f
r0.y()
goto L32
L29:
int r1 = o.C4601bdJ.m
int r1 = r1 + 107
int r3 = r1 % 128
o.C4601bdJ.f8566o = r3
int r1 = r1 % r0
L32:
o.iA r0 = r12.d
o.bdJ$Sts r1 = new o.bdJ$Sts
r1.<init>(r12)
o.gbR r1 = (o.InterfaceC14894gbR) r1
o.bdJ$ZqN r3 = new o.bdJ$ZqN
r3.<init>(r12)
o.gbR r3 = (o.InterfaceC14894gbR) r3
o.DeI$HBt r4 = new o.DeI$HBt
r4.<init>()
r4.e = r15
o.DeI r8 = new o.DeI
r8.<init>(r4, r2)
o.Ujn r15 = new o.Ujn
r9 = 0
r10 = 0
r11 = 56
r5 = r15
r6 = r13
r7 = r14
r5.<init>(r6, r7, r8, r9, r10, r11)
java.lang.String r13 = ""
o.C14957gcv.e(r1, r13)
o.C14957gcv.e(r3, r13)
o.C14957gcv.e(r15, r13)
o.KTv r13 = r0.d
o.gf r13 = (o.C15032gf) r13
o.KTv$HBt r14 = new o.KTv$HBt
r14.<init>(r15)
o.go$HBt r14 = (o.AbstractC15351go.HBt) r14
r0.b(r13, r1, r3, r14)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4601bdJ.b(java.lang.String, java.lang.String, java.lang.String):void");
}
private static void k(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
int i2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = i;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - View.resolveSize(i4, i4), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (41977 - (ViewConfiguration.getScrollDefaultDelay() >> 16)));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
l(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
int i10 = $11 + 111;
$10 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i6];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = $11 + 79;
$10 = i12 % 128;
int i13 = i12 % 2;
int i14 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 502, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (54 - (ViewConfiguration.getJumpTapTimeout() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(14 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - Gravity.getAbsoluteGravity(0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
l(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i2 = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i16 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i16, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i16);
} else {
i2 = 0;
}
if (z) {
char[] cArr6 = new char[i6];
while (true) {
tvh.c = i2;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i2 = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i17 = $11 + 51;
$10 = i17 % 128;
int i18 = i17 % 2;
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i6) {
break;
}
int i20 = $10 + 87;
$11 = i20 % 128;
int i21 = i20 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i19 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
/* JADX WARN: Code restructure failed: missing block: B:55:0x00b9, code lost:
if (r14 == null) goto L57;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static o.JV d(o.C6482cUZ r14) {
/*
Method dump skipped, instructions count: 204
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4601bdJ.d(o.cUZ):o.JV");
}
private static /* synthetic */ Object c(Object[] objArr) {
final C4601bdJ c4601bdJ = (C4601bdJ) objArr[0];
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS(c4601bdJ) { // from class: o.bdI
private C4601bdJ c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4601bdJ.c(this.c, (InterfaceC9212dfU) obj);
}
{
this.c = c4601bdJ;
}
};
if (c4601bdJ.f != 0) {
int i3 = m + 65;
int i4 = i3 % 128;
f8566o = i4;
int i5 = i3 % 2;
int i6 = i4 + 45;
m = i6 % 128;
if (i6 % 2 == 0) {
ieS.e(c4601bdJ.f);
throw null;
}
ieS.e(c4601bdJ.f);
}
return null;
}
private static final void e(C4601bdJ c4601bdJ, InterfaceC9212dfU interfaceC9212dfU) {
int i2 = 2 % 2;
int i3 = m + 117;
f8566o = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(c4601bdJ, "");
String t = c4601bdJ.e.e.a.t();
C14957gcv.c((Object) t, "");
interfaceC9212dfU.b(t);
int i5 = m + 111;
f8566o = i5 % 128;
int i6 = i5 % 2;
}
public static String b(String str) {
int i2;
int i3;
int i4 = 2 % 2;
int i5 = m + 37;
f8566o = i5 % 128;
if (i5 % 2 != 0) {
C14957gcv.e(str, "");
i2 = 88;
i3 = 112;
} else {
C14957gcv.e(str, "");
i2 = 6;
i3 = 10;
}
String substring = str.substring(i2, i3);
C14957gcv.c((Object) substring, "");
String concat = "x".concat(String.valueOf(substring));
int i6 = m + 99;
f8566o = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 25 / 0;
}
return concat;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bdJ$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<C14866gag> {
private C4601bdJ b;
public LWm(C4601bdJ c4601bdJ) {
this.b = c4601bdJ;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C4601bdJ.b(this.b);
C4601bdJ c4601bdJ = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bdM
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9212dfU) obj).a();
}
};
if (c4601bdJ.f != 0) {
ieS.e(c4601bdJ.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
final C4601bdJ c4601bdJ = this.b;
C4601bdJ.a(c4601bdJ, th, new Runnable(c4601bdJ) { // from class: o.bdL
private C4601bdJ a;
@Override // java.lang.Runnable
public final void run() {
C4601bdJ.LWm.e(this.a);
}
{
this.a = c4601bdJ;
}
});
}
public static /* synthetic */ void e(C4601bdJ c4601bdJ) {
C14957gcv.e(c4601bdJ, "");
C4601bdJ.d(new Object[]{c4601bdJ}, -1024702221, 1024702223, System.identityHashCode(c4601bdJ));
}
}
private static /* synthetic */ Object d(Object[] objArr) {
InterfaceC9212dfU interfaceC9212dfU = (InterfaceC9212dfU) objArr[0];
int i2 = 2 % 2;
int i3 = f8566o + 15;
m = i3 % 128;
int i4 = i3 % 2;
interfaceC9212dfU.b();
int i5 = f8566o + 37;
m = i5 % 128;
Object obj = null;
if (i5 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
public final void e(String str, String str2, String str3, String str4, String str5) {
int i2 = 2 % 2;
int i3 = f8566o + 29;
m = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
if (C14957gcv.b((Object) "COMMERCIAL", (Object) str2)) {
int i5 = m + 47;
f8566o = i5 % 128;
if (i5 % 2 != 0) {
C14957gcv.b((Object) "NON_REFERRAL", (Object) str);
Object obj = null;
obj.hashCode();
throw null;
}
if (C14957gcv.b((Object) "NON_REFERRAL", (Object) str)) {
b(str3, str5, str4);
return;
}
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.bdF
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4601bdJ.b((InterfaceC9212dfU) obj2);
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
int i6 = f8566o + 95;
m = i6 % 128;
int i7 = i6 % 2;
}
/* renamed from: o.bdJ$RVV */
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
static {
m = 1;
g();
new RVV((byte) 0);
String[] strArr = {"1000", "9200", "9204"};
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
List<String> asList = Arrays.asList(strArr);
C14957gcv.c(asList, "");
c = asList;
int i2 = f8566o + 19;
m = i2 % 128;
int i3 = i2 % 2;
}
static void g() {
i = new char[]{40003};
}
public final void a() {
d(new Object[]{this}, -1024702221, 1024702223, System.identityHashCode(this));
}
public final void d() {
d(new Object[]{this}, -321461020, 321461020, System.identityHashCode(this));
}
private final void a(String str, String str2, String str3, String str4) {
d(new Object[]{this, str, str2, str3, str4}, -1144690355, 1144690358, System.identityHashCode(this));
}
private static final void a(InterfaceC9212dfU interfaceC9212dfU) {
d(new Object[]{interfaceC9212dfU}, -1753939906, 1753939907, (int) System.currentTimeMillis());
}
public static final /* synthetic */ List b() {
int i2 = 2 % 2;
int i3 = f8566o + 85;
m = i3 % 128;
if (i3 % 2 != 0) {
return c;
}
throw null;
}
public static /* synthetic */ void e(C4601bdJ c4601bdJ, String str, String str2, String str3, String str4, InterfaceC9212dfU interfaceC9212dfU) {
int i2 = 2 % 2;
int i3 = f8566o + 101;
m = i3 % 128;
int i4 = i3 % 2;
b(c4601bdJ, str, str2, str3, str4, interfaceC9212dfU);
int i5 = f8566o + 53;
m = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 39 / 0;
}
}
public static /* synthetic */ void b(InterfaceC9212dfU interfaceC9212dfU) {
int i2 = 2 % 2;
int i3 = f8566o + 37;
m = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = {interfaceC9212dfU};
long currentTimeMillis = System.currentTimeMillis();
if (i4 == 0) {
d(objArr, -1753939906, 1753939907, (int) currentTimeMillis);
int i5 = 82 / 0;
} else {
d(objArr, -1753939906, 1753939907, (int) currentTimeMillis);
}
int i6 = f8566o + 103;
m = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 38 / 0;
}
}
public static /* synthetic */ void c(C4601bdJ c4601bdJ, InterfaceC9212dfU interfaceC9212dfU) {
int i2 = 2 % 2;
int i3 = m + 77;
f8566o = i3 % 128;
int i4 = i3 % 2;
e(c4601bdJ, interfaceC9212dfU);
int i5 = m + 31;
f8566o = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void e(InterfaceC9212dfU interfaceC9212dfU) {
int i2 = 2 % 2;
int i3 = m + 5;
f8566o = i3 % 128;
int i4 = i3 % 2;
d(interfaceC9212dfU);
int i5 = f8566o + 95;
m = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}