403 lines
12 KiB
Java
403 lines
12 KiB
Java
package o;
|
|
|
|
import com.google.common.base.Ascii;
|
|
import o.C15111ghZ;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class giE {
|
|
private static int a;
|
|
private static final C15111ghZ.RVV b;
|
|
private static int c;
|
|
private static int d;
|
|
private static final int e;
|
|
private static byte[] f;
|
|
private static short[] g;
|
|
private static int j;
|
|
private static final byte[] $$a = {13, 13, 103, -97};
|
|
private static final int $$b = 99;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int i = 1;
|
|
|
|
public static /* synthetic */ Object c(Object[] objArr, int i2, int i3, int i4) {
|
|
int i5 = ~i2;
|
|
int i6 = ~i3;
|
|
int i7 = i5 | i6;
|
|
int i8 = ~i7;
|
|
int i9 = ~i4;
|
|
return ((((i2 * (-167)) + (i3 * (-167))) + ((i8 | (~(i6 | i9))) * CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256)) + ((~(i7 | i4)) * CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256)) + (((~((i2 | i6) | i4)) | ((~(i3 | i5)) | (~(i5 | i9)))) * CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256) != 1 ? c(objArr) : b(objArr);
|
|
}
|
|
|
|
private static void k(short s, short s2, short s3, Object[] objArr) {
|
|
int i2 = s3 * 2;
|
|
byte[] bArr = $$a;
|
|
int i3 = (s * 2) + 108;
|
|
int i4 = s2 + 4;
|
|
byte[] bArr2 = new byte[1 - i2];
|
|
int i5 = 0 - i2;
|
|
int i6 = -1;
|
|
if (bArr == null) {
|
|
i3 = (-i3) + i4;
|
|
i4 = i4;
|
|
i6 = -1;
|
|
}
|
|
while (true) {
|
|
int i7 = i6 + 1;
|
|
int i8 = i4 + 1;
|
|
bArr2[i7] = (byte) i3;
|
|
if (i7 == i5) {
|
|
objArr[0] = new String(bArr2, 0);
|
|
return;
|
|
}
|
|
i3 = (-bArr[i8]) + i3;
|
|
i4 = i8;
|
|
i6 = i7;
|
|
}
|
|
}
|
|
|
|
public static final void d(long j2, long j3, long j4) {
|
|
int i2 = 2 % 2;
|
|
int i3 = j;
|
|
int i4 = i3 + 73;
|
|
i = i4 % 128;
|
|
if (i4 % 2 != 0 ? (j3 | j4) >= 0 : (j3 | j4) >= 1) {
|
|
int i5 = i3 + 13;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
if (j3 <= j2 && j2 - j3 >= j4) {
|
|
return;
|
|
}
|
|
}
|
|
StringBuilder sb = new StringBuilder("size=");
|
|
sb.append(j2);
|
|
sb.append(" offset=");
|
|
sb.append(j3);
|
|
sb.append(" byteCount=");
|
|
sb.append(j4);
|
|
throw new ArrayIndexOutOfBoundsException(sb.toString());
|
|
}
|
|
|
|
public static final boolean c(byte[] bArr, int i2, byte[] bArr2, int i3, int i4) {
|
|
int i5 = 2 % 2;
|
|
int i6 = j + 65;
|
|
i = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
C14957gcv.e(bArr, "");
|
|
C14957gcv.e(bArr2, "");
|
|
for (int i8 = 0; i8 < i4; i8++) {
|
|
int i9 = i + 65;
|
|
int i10 = i9 % 128;
|
|
j = i10;
|
|
if (i9 % 2 != 0) {
|
|
if (bArr[i8 / i2] != bArr2[i8 + i3]) {
|
|
int i11 = i10 + 37;
|
|
i = i11 % 128;
|
|
int i12 = i11 % 2;
|
|
return false;
|
|
}
|
|
} else {
|
|
if (bArr[i8 + i2] != bArr2[i8 + i3]) {
|
|
int i112 = i10 + 37;
|
|
i = i112 % 128;
|
|
int i122 = i112 % 2;
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
private static /* synthetic */ Object b(Object[] objArr) {
|
|
byte byteValue = ((Byte) objArr[0]).byteValue();
|
|
int i2 = 2 % 2;
|
|
char[] cArr = {giI.a()[(byteValue >> 4) & 15], giI.a()[byteValue & 15]};
|
|
C14957gcv.e(cArr, "");
|
|
String str = new String(cArr);
|
|
int i3 = j + 47;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return str;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x00d6, code lost:
|
|
|
|
o.C14957gcv.e(r11, "");
|
|
r12 = o.AbstractC14872gam.b;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:12:0x00df, code lost:
|
|
|
|
if (r4 < 0) goto L50;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x00e1, code lost:
|
|
|
|
r1 = o.giE.i + 65;
|
|
o.giE.j = r1 % 128;
|
|
r1 = r1 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x00ea, code lost:
|
|
|
|
if (r4 > 8) goto L48;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x00f3, code lost:
|
|
|
|
return new java.lang.String(r11, r4, 8 - r4);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:18:0x00f4, code lost:
|
|
|
|
r1 = new java.lang.StringBuilder("startIndex: ");
|
|
r1.append(r4);
|
|
r1.append(" > endIndex: 8");
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x010a, code lost:
|
|
|
|
throw new java.lang.IllegalArgumentException(r1.toString());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:20:0x010b, code lost:
|
|
|
|
r1 = new java.lang.StringBuilder("startIndex: ");
|
|
r1.append(r4);
|
|
r1.append(", endIndex: 8, size: 8");
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:21:0x0121, code lost:
|
|
|
|
throw new java.lang.IndexOutOfBoundsException(r1.toString());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:23:0x001a, code lost:
|
|
|
|
r12 = new java.lang.Object[1];
|
|
h((short) android.widget.ExpandableListView.getPackedPositionGroup(0), (byte) (55 - android.view.View.MeasureSpec.makeMeasureSpec(0, 0)), (android.view.ViewConfiguration.getJumpTapTimeout() >> 16) - 47, (-27289880) - (android.util.TypedValue.complexToFloat(0) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFloat(0) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (android.view.ViewConfiguration.getScrollBarSize() >> 8) + 1877247257, r12);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x0054, code lost:
|
|
|
|
return ((java.lang.String) r12[0]).intern();
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:25:0x0018, code lost:
|
|
|
|
if (r12 == 0) goto L35;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
|
|
|
|
if (r12 == 0) goto L35;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:5:0x0055, code lost:
|
|
|
|
r11 = new char[]{o.giI.a()[(r12 >> 28) & 15], o.giI.a()[(r12 >> 24) & 15], o.giI.a()[(r12 >> 20) & 15], o.giI.a()[(r12 >> 16) & 15], o.giI.a()[(r12 >> 12) & 15], o.giI.a()[(r12 >> 8) & 15], o.giI.a()[(r12 >> 4) & 15], o.giI.a()[r12 & 15]};
|
|
r12 = o.giE.i + 1;
|
|
o.giE.j = r12 % 128;
|
|
r12 = r12 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x00c2, code lost:
|
|
|
|
if (r4 >= 8) goto L53;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:7:0x00c4, code lost:
|
|
|
|
r12 = o.giE.j + 93;
|
|
o.giE.i = r12 % 128;
|
|
r12 = r12 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x00d1, code lost:
|
|
|
|
if (r11[r4] != '0') goto L52;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x00d3, code lost:
|
|
|
|
r4 = r4 + 1;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static final java.lang.String a(int r12) {
|
|
/*
|
|
Method dump skipped, instructions count: 290
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.giE.a(int):java.lang.String");
|
|
}
|
|
|
|
static {
|
|
j = 0;
|
|
c();
|
|
b = new C15111ghZ.RVV();
|
|
e = -1234567890;
|
|
int i2 = i + 67;
|
|
j = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
int i3 = 36 / 0;
|
|
}
|
|
}
|
|
|
|
public static final C15111ghZ.RVV c(C15111ghZ.RVV rvv) {
|
|
int i2 = 2 % 2;
|
|
int i3 = j + 87;
|
|
i = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
C14957gcv.e(rvv, "");
|
|
throw null;
|
|
}
|
|
C14957gcv.e(rvv, "");
|
|
if (rvv == b) {
|
|
rvv = new C15111ghZ.RVV();
|
|
}
|
|
int i4 = i + 39;
|
|
j = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return rvv;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
public static final int c(C15155gij c15155gij) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 49;
|
|
j = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
C14957gcv.e(c15155gij, "");
|
|
if (64 != e) {
|
|
return 64;
|
|
}
|
|
int i5 = i + 49;
|
|
j = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
int a2 = c15155gij.a();
|
|
int i7 = j + 23;
|
|
i = i7 % 128;
|
|
if (i7 % 2 == 0) {
|
|
int i8 = 14 / 0;
|
|
}
|
|
return a2;
|
|
}
|
|
|
|
public static final int d(byte[] bArr, int i2) {
|
|
int i3 = 2 % 2;
|
|
int i4 = j + 7;
|
|
i = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
C14957gcv.e(bArr, "");
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
C14957gcv.e(bArr, "");
|
|
if (i2 == e) {
|
|
return bArr.length;
|
|
}
|
|
int i5 = i + 21;
|
|
j = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return i2;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:48:0x01e7, code lost:
|
|
|
|
if (r4 != false) goto L151;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:49:0x0204, code lost:
|
|
|
|
r4 = 0;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:86:0x01fa, code lost:
|
|
|
|
r7 = r7 + 43;
|
|
o.giE.$10 = r7 % 128;
|
|
r7 = r7 % 2;
|
|
r4 = 1;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:88:0x01f8, code lost:
|
|
|
|
if (r4 != false) goto L151;
|
|
*/
|
|
/* JADX WARN: Removed duplicated region for block: B:14:0x0093 */
|
|
/* JADX WARN: Removed duplicated region for block: B:45:0x01cd */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void h(short r21, byte r22, int r23, int r24, int r25, java.lang.Object[] r26) {
|
|
/*
|
|
Method dump skipped, instructions count: 826
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.giE.h(short, byte, int, int, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
private static /* synthetic */ Object c(Object[] objArr) {
|
|
int intValue = ((Number) objArr[0]).intValue();
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 73;
|
|
int i4 = i3 % 128;
|
|
j = i4;
|
|
int i5 = i3 % 2;
|
|
int i6 = ((intValue & CipherSuite.DRAFT_TLS_DHE_RSA_WITH_AES_128_OCB) << 8) | (((-16777216) & intValue) >>> 24) | ((16711680 & intValue) >>> 8) | ((intValue & 255) << 24);
|
|
int i7 = i4 + 23;
|
|
i = i7 % 128;
|
|
if (i7 % 2 != 0) {
|
|
return Integer.valueOf(i6);
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
static void c() {
|
|
c = 1382971149;
|
|
d = 1406017061;
|
|
a = -1009425150;
|
|
f = new byte[]{Ascii.NAK};
|
|
}
|
|
|
|
public static final String b(byte b2) {
|
|
return (String) c(new Object[]{Byte.valueOf(b2)}, 194407667, -194407666, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
public static final short e(short s) {
|
|
int i2;
|
|
int i3;
|
|
int i4 = 2 % 2;
|
|
int i5 = j + 55;
|
|
i = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
i2 = (s & 5294) << 80;
|
|
i3 = (s & 65280) + 114;
|
|
} else {
|
|
i2 = (s & 255) << 8;
|
|
i3 = (s & 65280) >>> 8;
|
|
}
|
|
return (short) (i3 | i2);
|
|
}
|
|
|
|
public static final int e(int i2) {
|
|
return ((Integer) c(new Object[]{Integer.valueOf(i2)}, 1193193334, -1193193334, i2)).intValue();
|
|
}
|
|
|
|
public static final C15111ghZ.RVV a() {
|
|
int i2 = 2 % 2;
|
|
int i3 = j + 119;
|
|
int i4 = i3 % 128;
|
|
i = i4;
|
|
int i5 = i3 % 2;
|
|
C15111ghZ.RVV rvv = b;
|
|
int i6 = i4 + 29;
|
|
j = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
int i7 = 54 / 0;
|
|
}
|
|
return rvv;
|
|
}
|
|
|
|
public static final int d() {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 61;
|
|
int i4 = i3 % 128;
|
|
j = i4;
|
|
int i5 = i3 % 2;
|
|
int i6 = e;
|
|
int i7 = i4 + 47;
|
|
i = i7 % 128;
|
|
if (i7 % 2 != 0) {
|
|
return i6;
|
|
}
|
|
throw null;
|
|
}
|
|
}
|