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

1218 lines
44 KiB
Java

package o;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.domain.errors.RetrofitException;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.DiG;
import retrofit2.Call;
import retrofit2.CallAdapter;
import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava3.Result;
import retrofit2.adapter.rxjava3.RxJava3CallAdapterFactory;
/* loaded from: classes.dex */
public final class DiG extends CallAdapter.Factory {
public static final Sts a;
private static char[] b;
private static ArrayList<String> c;
private static final C0319ETq d;
private static int h;
private static long j;
private final RxJava3CallAdapterFactory e;
private static final byte[] $$a = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$b = 113;
private static int $10 = 0;
private static int $11 = 1;
private static int f = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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 i(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 1 - r6
byte[] r0 = o.DiG.$$a
int r7 = r7 + 4
int r8 = 106 - r8
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L13
r3 = r6
r8 = r7
r4 = r2
goto L2c
L13:
r3 = r2
L14:
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
int r7 = r7 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2c:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.DiG.i(short, byte, byte, java.lang.Object[]):void");
}
private DiG() {
RxJava3CallAdapterFactory create = RxJava3CallAdapterFactory.create();
C14957gcv.c(create, "");
this.e = create;
ArrayList<String> arrayList = new ArrayList<>();
c = arrayList;
arrayList.add("1000");
Object[] objArr = new Object[1];
g((char) (18677 - Gravity.getAbsoluteGravity(0, 0)), (-1) - TextUtils.indexOf((CharSequence) "", '0'), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1, objArr);
arrayList.add(((String) objArr[0]).intern());
}
@Override // retrofit2.CallAdapter.Factory
public final CallAdapter<?, ?> get(Type type, Annotation[] annotationArr, Retrofit retrofit) {
int i = 2 % 2;
int i2 = h + 55;
f = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(type, "");
C14957gcv.e(annotationArr, "");
C14957gcv.e(retrofit, "");
if (C14957gcv.b(CallAdapter.Factory.getRawType(type), AbstractC13175fSw.class)) {
CallAdapter<?, ?> callAdapter = this.e.get(type, annotationArr, retrofit);
C14957gcv.d(callAdapter, "");
return new LWm(retrofit, callAdapter);
}
CallAdapter<?, ?> callAdapter2 = this.e.get(type, annotationArr, retrofit);
C14957gcv.d(callAdapter2, "");
RVV rvv = new RVV(retrofit, callAdapter2);
int i4 = h + 43;
f = i4 % 128;
int i5 = i4 % 2;
return rvv;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public static final class RVV<R> implements CallAdapter<R, AbstractC13163fSk<?>> {
private final Retrofit d;
private final CallAdapter<R, AbstractC13163fSk<?>> e;
public RVV(Retrofit retrofit, CallAdapter<R, AbstractC13163fSk<?>> callAdapter) {
C14957gcv.e(retrofit, "");
C14957gcv.e(callAdapter, "");
this.d = retrofit;
this.e = callAdapter;
}
@Override // retrofit2.CallAdapter
public final /* synthetic */ AbstractC13163fSk<?> adapt(Call call) {
C14957gcv.e(call, "");
AbstractC13163fSk<?> adapt = this.e.adapt(call);
C14957gcv.d(adapt, "");
AbstractC13163fSk<?> doOnNext = adapt.doOnNext(new fSQ(this) { // from class: o.OTG
private DiG.RVV b;
@Override // o.fSQ
public final void c(Object obj) {
DiG.RVV.b(this.b, obj);
}
{
this.b = this;
}
});
final C0082RVV c0082rvv = new C0082RVV(this);
AbstractC13163fSk<?> onErrorResumeNext = doOnNext.onErrorResumeNext(new fSS(c0082rvv) { // from class: o.OIt
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
return DiG.RVV.a(this.b, obj);
}
{
this.b = c0082rvv;
}
});
C14957gcv.c(onErrorResumeNext, "");
return onErrorResumeNext;
}
@Override // retrofit2.CallAdapter
public final Type responseType() {
Type responseType = this.e.responseType();
C14957gcv.c(responseType, "");
return responseType;
}
/* renamed from: o.DiG$RVV$RVV, reason: collision with other inner class name */
/* loaded from: classes.dex */
static final class C0082RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, InterfaceC13169fSq> {
private RVV<R> d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ InterfaceC13169fSq invoke(Throwable th) {
Sts sts = DiG.a;
return AbstractC13163fSk.error((RetrofitException) Sts.d(new Object[]{((RVV) this.d).d, th}, 678244435, -678244435, (int) System.currentTimeMillis()));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
C0082RVV(RVV<R> rvv) {
super(1);
this.d = rvv;
}
}
public static /* synthetic */ void b(RVV rvv, Object obj) {
C14957gcv.e(rvv, "");
if (obj instanceof C16562pOe) {
Sts sts = DiG.a;
Sts.d((C16562pOe) obj);
} else if (obj instanceof Result) {
Result result = (Result) obj;
if (result.isError()) {
Sts sts2 = DiG.a;
throw ((RetrofitException) Sts.d(new Object[]{rvv.d, result.error()}, 678244435, -678244435, (int) System.currentTimeMillis()));
}
}
}
public static /* synthetic */ InterfaceC13169fSq a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public static final class LWm<R> implements CallAdapter<R, AbstractC13175fSw<?>> {
private final Retrofit d;
private final CallAdapter<R, AbstractC13175fSw<?>> e;
public LWm(Retrofit retrofit, CallAdapter<R, AbstractC13175fSw<?>> callAdapter) {
C14957gcv.e(retrofit, "");
C14957gcv.e(callAdapter, "");
this.d = retrofit;
this.e = callAdapter;
}
@Override // retrofit2.CallAdapter
public final /* synthetic */ AbstractC13175fSw<?> adapt(Call call) {
C14957gcv.e(call, "");
AbstractC13175fSw<?> adapt = this.e.adapt(call);
C14957gcv.d(adapt, "");
C13369fYh c13369fYh = new C13369fYh(adapt, new fSQ(this) { // from class: o.AVS
private DiG.LWm c;
@Override // o.fSQ
public final void c(Object obj) {
DiG.LWm.c(this.c, obj);
}
{
this.c = this;
}
});
final IeS ieS = new IeS(this);
C13374fYm c13374fYm = new C13374fYm(c13369fYh, new fSS(ieS) { // from class: o.VcF
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
return DiG.LWm.a(this.a, obj);
}
{
this.a = ieS;
}
});
C14957gcv.c(c13374fYm, "");
return c13374fYm;
}
@Override // retrofit2.CallAdapter
public final Type responseType() {
Type responseType = this.e.responseType();
C14957gcv.c(responseType, "");
return responseType;
}
/* loaded from: classes.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, fSD> {
private LWm<R> e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD invoke(Throwable th) {
Sts sts = DiG.a;
return AbstractC13175fSw.e((RetrofitException) Sts.d(new Object[]{((LWm) this.e).d, th}, 678244435, -678244435, (int) System.currentTimeMillis()));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(LWm<R> lWm) {
super(1);
this.e = lWm;
}
}
public static /* synthetic */ void c(LWm lWm, Object obj) {
C14957gcv.e(lWm, "");
if (obj instanceof C16562pOe) {
Sts sts = DiG.a;
Sts.d((C16562pOe) obj);
} else if (obj instanceof Result) {
Result result = (Result) obj;
if (result.isError()) {
Sts sts2 = DiG.a;
throw ((RetrofitException) Sts.d(new Object[]{lWm.d, result.error()}, 678244435, -678244435, (int) System.currentTimeMillis()));
}
}
}
public static /* synthetic */ fSD a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
return (fSD) interfaceC14894gbR.invoke(obj);
}
}
/* loaded from: classes.dex */
public static final class Sts {
private static final byte[] $$a = {102, 118, 67, -58};
private static final int $$b = 47;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int e = 1;
private static char[] a = {36834};
private static long d = 6168770994609472006L;
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * (-716)) + (i2 * 1435) + ((i2 | i4) * (-1434));
int i6 = ~i3;
int i7 = ~(i6 | i2);
int i8 = ~(i | i2);
int i9 = i4 | (~i2);
if (i5 + ((i7 | i8 | (~(i9 | i3))) * 717) + ((i8 | (~(i9 | i6)) | (~(i2 | i3))) * 717) != 1) {
return e(objArr);
}
yzb yzbVar = (yzb) objArr[0];
int i10 = 2 % 2;
int i11 = e + 3;
b = i11 % 128;
int i12 = i11 % 2;
C14957gcv.e(yzbVar, "");
throw b(yzbVar);
}
private static void g(short s, int i, byte b2, Object[] objArr) {
int i2 = s * 4;
int i3 = b2 + 98;
byte[] bArr = $$a;
int i4 = 3 - (i * 4);
byte[] bArr2 = new byte[1 - i2];
int i5 = 0 - i2;
int i6 = -1;
if (bArr == null) {
i3 = i5 + i3;
}
while (true) {
i4++;
i6++;
bArr2[i6] = (byte) i3;
if (i6 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i3 += bArr[i4];
}
}
private static void f(char c, int i, int i2, Object[] objArr) {
Object method;
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $11 + 77;
$10 = i4 % 128;
int i5 = i4 % 2;
while (dqy.a < i2) {
int i6 = $10 + 55;
$11 = i6 % 128;
int i7 = i6 % 2;
int i8 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(a[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.blue(0) + 308, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (32797 - View.MeasureSpec.getMode(0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 413, ImageFormat.getBitsPerPixel(0) + 6, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i8] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 408, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (Color.green(0) + 29234));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
g(b6, b7, (byte) (b7 | 8), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 != null) {
method = obj4;
} else {
Class cls4 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 408, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (29234 - ((Process.getThreadPriority(0) + 20) >> 6)));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
g(b8, b9, (byte) (b9 | 8), objArr9);
method = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, method);
}
((Method) method).invoke(null, objArr8);
}
objArr[0] = new String(cArr);
}
private Sts() {
}
private static /* synthetic */ Object e(Object[] objArr) {
Retrofit retrofit = (Retrofit) objArr[0];
Throwable th = (Throwable) objArr[1];
int i = 2 % 2;
int i2 = b + 65;
e = i2 % 128;
if (i2 % 2 == 0) {
c(retrofit, th);
throw null;
}
RetrofitException c = c(retrofit, th);
int i3 = b + 81;
e = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 51 / 0;
}
return c;
}
public static CallAdapter.Factory a() {
int i = 2 % 2;
DiG diG = new DiG((byte) 0);
int i2 = b + 1;
e = i2 % 128;
if (i2 % 2 != 0) {
return diG;
}
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:44:0x00cb A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:45:0x00cc */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static com.scb.phone.domain.errors.RetrofitException c(retrofit2.Retrofit r7, java.lang.Throwable r8) {
/*
Method dump skipped, instructions count: 214
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.DiG.Sts.c(retrofit2.Retrofit, java.lang.Throwable):com.scb.phone.domain.errors.RetrofitException");
}
private static boolean c(Response<?> response) {
int i = 2 % 2;
int i2 = b;
int i3 = i2 + 15;
e = i3 % 128;
int i4 = i3 % 2;
if (response != null) {
int i5 = i2 + 57;
e = i5 % 128;
int i6 = i5 % 2;
int code = response.code();
if (i6 != 0 ? code >= 500 : code >= 19059) {
int i7 = b + 13;
e = i7 % 128;
int i8 = i7 % 2;
return true;
}
}
return false;
}
/* JADX WARN: Code restructure failed: missing block: B:47:0x0027, code lost:
r1 = r9.getStatus();
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x002b, code lost:
if (r1 == null) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x002d, code lost:
r5 = o.DiG.a;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001b, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0035, code lost:
if (e(r1.e) != false) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x0037, code lost:
r1 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0025, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Removed duplicated region for block: B:14:0x0088 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static void d(o.C16562pOe r9) throws java.io.IOException {
/*
Method dump skipped, instructions count: 335
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.DiG.Sts.d(o.pOe):void");
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0041, code lost:
r1 = o.DiG.Sts.b + 27;
o.DiG.Sts.e = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0052, code lost:
if (o.C14957gcv.b((java.lang.Object) "1016", (java.lang.Object) r5.e) == false) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0054, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.h(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:13:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x006d, code lost:
if (o.C14957gcv.b((java.lang.Object) "901", (java.lang.Object) r5.e) == false) goto L17;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x006f, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.g(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:17:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0088, code lost:
if (o.C14957gcv.b((java.lang.Object) "1035", (java.lang.Object) r5.e) == true) goto L42;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0092, code lost:
if (o.C14957gcv.b((java.lang.Object) "1037", (java.lang.Object) r5.e) == false) goto L22;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0094, code lost:
r1 = o.DiG.Sts.e + 33;
o.DiG.Sts.b = r1 % 128;
r1 = r1 % 2;
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.j(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:23:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x00b7, code lost:
if ((!o.C14957gcv.b((java.lang.Object) "1038", (java.lang.Object) r5.e)) == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x00c1, code lost:
if (o.C14957gcv.b((java.lang.Object) "902", (java.lang.Object) r5.e) == false) goto L31;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x00c3, code lost:
r1 = o.DiG.Sts.b + 51;
o.DiG.Sts.e = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x00cc, code lost:
if ((r1 % 2) != 0) goto L29;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x00ce, code lost:
r1 = o.VCl.b();
r1.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.b(r1);
o.C14957gcv.c((java.lang.Object) r5, "");
r5 = r5;
r1 = 66 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x00f1, code lost:
r1 = o.DiG.Sts.b + 77;
o.DiG.Sts.e = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x00e2, code lost:
r1 = o.VCl.b();
r1.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.b(r1);
o.C14957gcv.c((java.lang.Object) r5, "");
r5 = r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0104, code lost:
if (o.C14957gcv.b((java.lang.Object) "111", (java.lang.Object) r5.a) == false) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0106, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.d(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:37:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x011f, code lost:
if (o.C14957gcv.b((java.lang.Object) "426", (java.lang.Object) r5.e) == false) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x0121, code lost:
r1 = o.DiG.Sts.b + 3;
o.DiG.Sts.e = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x012a, code lost:
if ((r1 % 2) != 0) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x012c, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.e(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
r0 = 24 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x0140, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.e(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:45:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0150, code lost:
r1 = o.VCl.b();
r1.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.c(r1);
o.C14957gcv.c((java.lang.Object) r5, "");
r5 = r5;
r1 = o.DiG.Sts.e + 67;
o.DiG.Sts.b = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0169, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.a(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:49:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0025, code lost:
if ((!o.C14957gcv.b((java.lang.Object) "xxxx", (java.lang.Object) r5.e)) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0179, code lost:
r0 = o.VCl.b();
r0.c = r5;
r5 = com.scb.phone.domain.errors.RetrofitException.i(r0);
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:51:?, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0035, code lost:
if (o.C14957gcv.b((java.lang.Object) "xxxx", (java.lang.Object) r5.e) == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003f, code lost:
if (o.C14957gcv.b((java.lang.Object) "1002", (java.lang.Object) r5.e) != false) goto L43;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static java.lang.Throwable b(o.yzb r5) {
/*
Method dump skipped, instructions count: 409
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.DiG.Sts.b(o.yzb):java.lang.Throwable");
}
private static ggV c(yzb yzbVar) {
int i = 2 % 2;
int i2 = b + 11;
e = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(yzbVar, "");
ggV d2 = ggV.d();
d2.e = yzbVar.e;
d2.a = yzbVar.b;
String str = yzbVar.g;
if (str == null) {
int i4 = b + 109;
e = i4 % 128;
if (i4 % 2 == 0) {
String str2 = yzbVar.c;
Object obj = null;
obj.hashCode();
throw null;
}
str = yzbVar.c;
int i5 = e + 31;
b = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 2 / 4;
}
}
d2.c = str;
d2.d = yzbVar.h;
C14957gcv.c(d2, "");
return d2;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x003f, code lost:
if (r2.isEmpty() != false) goto L23;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0049, code lost:
if (r2.isEmpty() != false) goto L23;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static boolean e(java.lang.String r6) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.DiG.Sts.b
int r1 = r1 + 47
int r2 = r1 % 128
o.DiG.Sts.e = r2
int r1 = r1 % r0
r1 = 0
if (r6 == 0) goto L77
java.util.ArrayList r2 = o.DiG.e()
r3 = 1
if (r2 != 0) goto L24
java.lang.String r2 = ""
o.C14957gcv.a(r2)
int r2 = o.DiG.Sts.e
int r2 = r2 + r3
int r4 = r2 % 128
o.DiG.Sts.b = r4
int r2 = r2 % r0
r2 = 0
L24:
java.lang.Iterable r2 = (java.lang.Iterable) r2
boolean r4 = r2 instanceof java.util.Collection
if (r4 == 0) goto L4c
int r4 = o.DiG.Sts.e
int r4 = r4 + 23
int r5 = r4 % 128
o.DiG.Sts.b = r5
int r4 = r4 % r0
if (r4 == 0) goto L42
r4 = r2
java.util.Collection r4 = (java.util.Collection) r4
boolean r4 = r4.isEmpty()
r5 = 13
int r5 = r5 / r1
if (r4 == 0) goto L4c
goto L76
L42:
r4 = r2
java.util.Collection r4 = (java.util.Collection) r4
boolean r4 = r4.isEmpty()
if (r4 == 0) goto L4c
goto L76
L4c:
java.util.Iterator r2 = r2.iterator()
int r4 = o.DiG.Sts.b
int r4 = r4 + 83
int r5 = r4 % 128
o.DiG.Sts.e = r5
int r4 = r4 % r0
L59:
boolean r4 = r2.hasNext()
r4 = r4 ^ r3
if (r4 == r3) goto L76
java.lang.Object r4 = r2.next()
java.lang.String r4 = (java.lang.String) r4
boolean r4 = o.C14957gcv.b(r4, r6)
if (r4 == 0) goto L59
int r6 = o.DiG.Sts.e
int r6 = r6 + 17
int r2 = r6 % 128
o.DiG.Sts.b = r2
int r6 = r6 % r0
goto L77
L76:
r1 = r3
L77:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.DiG.Sts.e(java.lang.String):boolean");
}
public static void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
ArrayList e2 = DiG.e();
Object obj = null;
if (e2 == null) {
int i2 = b + 21;
e = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.a("");
int i3 = 81 / 0;
} else {
C14957gcv.a("");
}
e2 = null;
}
if (!e2.contains(str)) {
ArrayList e3 = DiG.e();
if (e3 == null) {
C14957gcv.a("");
e3 = null;
}
e3.add(str);
}
int i4 = e + 55;
b = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
public static void c() {
int i = 2 % 2;
int i2 = e + 69;
b = i2 % 128;
int i3 = i2 % 2;
ArrayList e2 = DiG.e();
Object obj = null;
if (e2 == null) {
C14957gcv.a("");
e2 = null;
}
e2.clear();
e2.add("1000");
Object[] objArr = new Object[1];
f((char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), ViewConfiguration.getMinimumFlingVelocity() >> 16, KeyEvent.keyCodeFromString("") + 1, objArr);
e2.add(((String) objArr[0]).intern());
int i4 = e + 79;
b = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
public static void d() {
int i = 2 % 2;
int i2 = e + 45;
b = i2 % 128;
ArrayList arrayList = null;
if (i2 % 2 != 0) {
DiG.e();
arrayList.hashCode();
throw null;
}
ArrayList e2 = DiG.e();
if (e2 == null) {
C14957gcv.a("");
int i3 = e + 35;
b = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 2 / 2;
}
} else {
arrayList = e2;
}
arrayList.clear();
int i5 = b + 55;
e = i5 % 128;
int i6 = i5 % 2;
}
public static void d(yzb yzbVar) throws IOException {
d(new Object[]{yzbVar}, -1385659486, 1385659487, (int) System.currentTimeMillis());
}
public static final /* synthetic */ RetrofitException a(Retrofit retrofit, Throwable th) {
return (RetrofitException) d(new Object[]{retrofit, th}, 678244435, -678244435, (int) System.currentTimeMillis());
}
public /* synthetic */ Sts(byte b2) {
this();
}
}
private static void g(char c2, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(b[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 308, (Process.myPid() >> 22) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 32796));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
i(b2, b3, (byte) (b3 & 8), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(j), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 412, Process.getGidForName("") + 6, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
i(b4, b5, (byte) (b5 & 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 407, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (ExpandableListView.getPackedPositionType(0L) + 29234));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
i(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
int i5 = $10 + 47;
$11 = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 2 / 2;
}
while (dqy.a < i2) {
int i7 = $10 + 13;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - (ViewConfiguration.getTouchSlop() >> 8), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 29233));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 - 1);
Object[] objArr9 = new Object[1];
i(b8, b9, (byte) (b9 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr);
}
static {
h = 1;
h();
a = new Sts((byte) 0);
d = new C0319ETq();
int i = f + 93;
h = i % 128;
if (i % 2 == 0) {
throw null;
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
int i = 2 % 2;
int i2 = h;
int i3 = i2 + 123;
f = i3 % 128;
int i4 = i3 % 2;
C0319ETq c0319ETq = d;
int i5 = i2 + 7;
f = i5 % 128;
int i6 = i5 % 2;
return c0319ETq;
}
static void h() {
b = new char[]{50967};
j = 5246011962580534303L;
}
public static final void e(yzb yzbVar) throws IOException {
int i = 2 % 2;
int i2 = f + 31;
h = i2 % 128;
int i3 = i2 % 2;
Sts.d(new Object[]{yzbVar}, -1385659486, 1385659487, (int) System.currentTimeMillis());
int i4 = f + 101;
h = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public static final void a(C16562pOe c16562pOe) throws IOException {
int i = 2 % 2;
int i2 = f + 101;
h = i2 % 128;
int i3 = i2 % 2;
Sts.d(c16562pOe);
if (i3 == 0) {
int i4 = 9 / 0;
}
}
public static final CallAdapter.Factory d() {
int i = 2 % 2;
int i2 = h + 89;
f = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Sts.a();
obj.hashCode();
throw null;
}
CallAdapter.Factory a2 = Sts.a();
int i3 = h + 53;
f = i3 % 128;
if (i3 % 2 == 0) {
return a2;
}
throw null;
}
public static final void b() {
int i = 2 % 2;
int i2 = f + 49;
h = i2 % 128;
int i3 = i2 % 2;
Sts.c();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = h + 69;
f = i4 % 128;
int i5 = i4 % 2;
}
public static final void a() {
int i = 2 % 2;
int i2 = f + 69;
h = i2 % 128;
int i3 = i2 % 2;
Sts.d();
int i4 = h + 49;
f = i4 % 128;
int i5 = i4 % 2;
}
public static final void e(String str) {
int i = 2 % 2;
int i2 = f + 109;
h = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Sts.d(str);
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = f + 43;
h = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public static final /* synthetic */ ArrayList e() {
int i = 2 % 2;
int i2 = h + 117;
int i3 = i2 % 128;
f = i3;
int i4 = i2 % 2;
ArrayList<String> arrayList = c;
int i5 = i3 + 55;
h = i5 % 128;
int i6 = i5 % 2;
return arrayList;
}
public static final /* synthetic */ C0319ETq c() {
return (C0319ETq) e(new Object[0]);
}
public /* synthetic */ DiG(byte b2) {
this();
}
}