447 lines
15 KiB
Java
447 lines
15 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.google.common.base.Ascii;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Comparator;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
||
|
|
||
|
/* renamed from: o.rE, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C16777rE extends C16157lj {
|
||
|
private static char[] a;
|
||
|
private static char d;
|
||
|
private static int i;
|
||
|
private static final byte[] $$d = {Ascii.SYN, 77, -47, -12};
|
||
|
private static final int $$e = CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int b = 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:0x002a). 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 n(byte r7, int r8, int r9, java.lang.Object[] r10) {
|
||
|
/*
|
||
|
int r9 = r9 + 4
|
||
|
int r8 = r8 * 4
|
||
|
int r8 = 1 - r8
|
||
|
int r7 = 120 - r7
|
||
|
byte[] r0 = o.C16777rE.$$d
|
||
|
byte[] r1 = new byte[r8]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L13
|
||
|
r7 = r8
|
||
|
r3 = r9
|
||
|
r4 = r2
|
||
|
goto L2a
|
||
|
L13:
|
||
|
r3 = r2
|
||
|
L14:
|
||
|
int r4 = r3 + 1
|
||
|
byte r5 = (byte) r7
|
||
|
r1[r3] = r5
|
||
|
int r9 = r9 + 1
|
||
|
if (r4 != r8) goto L25
|
||
|
java.lang.String r7 = new java.lang.String
|
||
|
r7.<init>(r1, r2)
|
||
|
r10[r2] = r7
|
||
|
return
|
||
|
L25:
|
||
|
r3 = r0[r9]
|
||
|
r6 = r3
|
||
|
r3 = r9
|
||
|
r9 = r6
|
||
|
L2a:
|
||
|
int r7 = r7 + r9
|
||
|
r9 = r3
|
||
|
r3 = r4
|
||
|
goto L14
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C16777rE.n(byte, int, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C16777rE(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
}
|
||
|
|
||
|
public static LK e(GRw gRw) {
|
||
|
List<obE> a2;
|
||
|
List a3;
|
||
|
int i2 = 2 % 2;
|
||
|
C14957gcv.e(gRw, "");
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
arrayList.add(d(gRw));
|
||
|
List<obE> list = gRw.d;
|
||
|
if (list != null && (a2 = C14881gav.a((Iterable) list, (Comparator) new LWm())) != null) {
|
||
|
for (obE obe : a2) {
|
||
|
arrayList.add(a(obe));
|
||
|
List<C15834ivf> list2 = obe.b;
|
||
|
if (list2 != null && (a3 = C14881gav.a((Iterable) list2, (Comparator) new HBt())) != null) {
|
||
|
int i3 = i + 25;
|
||
|
b = i3 % 128;
|
||
|
Object obj = null;
|
||
|
if (i3 % 2 != 0) {
|
||
|
a3.iterator();
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
Iterator it = a3.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
int i4 = b + 91;
|
||
|
i = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
Object[] objArr = {(C15834ivf) it.next()};
|
||
|
arrayList.add((LL) e(objArr));
|
||
|
throw null;
|
||
|
}
|
||
|
Object[] objArr2 = {(C15834ivf) it.next()};
|
||
|
arrayList.add((LL) e(objArr2));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return new LK(arrayList);
|
||
|
}
|
||
|
|
||
|
private static LI d(GRw gRw) {
|
||
|
int i2 = 2 % 2;
|
||
|
LI li = new LI(gRw.c, gRw.e);
|
||
|
int i3 = i + 113;
|
||
|
b = i3 % 128;
|
||
|
if (i3 % 2 == 0) {
|
||
|
return li;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
private static LQ a(obE obe) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = b + 77;
|
||
|
i = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
String str = obe.c;
|
||
|
String str2 = "";
|
||
|
if (str == null) {
|
||
|
str = "";
|
||
|
}
|
||
|
String str3 = obe.d;
|
||
|
if (str3 == null) {
|
||
|
int i5 = i + 89;
|
||
|
b = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
} else {
|
||
|
str2 = str3;
|
||
|
}
|
||
|
return new LQ(str, str2);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public static /* synthetic */ Object e(Object[] objArr) {
|
||
|
String str;
|
||
|
C15834ivf c15834ivf = (C15834ivf) objArr[0];
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = i + 17;
|
||
|
b = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
String str2 = c15834ivf.f;
|
||
|
if (str2 == null) {
|
||
|
int i5 = b + 91;
|
||
|
i = i5 % 128;
|
||
|
if (i5 % 2 == 0) {
|
||
|
int i6 = 87 / 0;
|
||
|
}
|
||
|
str = "";
|
||
|
} else {
|
||
|
str = str2;
|
||
|
}
|
||
|
String str3 = c15834ivf.b;
|
||
|
String str4 = c15834ivf.a;
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
q((ViewConfiguration.getDoubleTapTimeout() >> 16) + 1, new char[]{13795}, (byte) (TextUtils.getCapsMode("", 0, 0) + 56), objArr2);
|
||
|
return new LL(str, str3, gdZ.a(str4, ((String) objArr2[0]).intern(), false), c15834ivf.e, e(c15834ivf.c));
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x003c, code lost:
|
||
|
|
||
|
if (r3 == null) goto L21;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static o.LR e(java.lang.Integer r3) {
|
||
|
/*
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
if (r3 == 0) goto L3e
|
||
|
int r1 = o.C16777rE.i
|
||
|
int r1 = r1 + 73
|
||
|
int r2 = r1 % 128
|
||
|
o.C16777rE.b = r2
|
||
|
int r1 = r1 % r0
|
||
|
r1 = r3
|
||
|
java.lang.Number r1 = (java.lang.Number) r1
|
||
|
int r3 = r3.intValue()
|
||
|
r1 = 1
|
||
|
if (r3 == r1) goto L3a
|
||
|
if (r3 == r0) goto L37
|
||
|
int r1 = o.C16777rE.i
|
||
|
int r1 = r1 + 45
|
||
|
int r2 = r1 % 128
|
||
|
o.C16777rE.b = r2
|
||
|
int r1 = r1 % r0
|
||
|
if (r1 == 0) goto L28
|
||
|
if (r3 == r0) goto L34
|
||
|
goto L2b
|
||
|
L28:
|
||
|
r1 = 3
|
||
|
if (r3 == r1) goto L34
|
||
|
L2b:
|
||
|
r1 = 4
|
||
|
if (r3 == r1) goto L31
|
||
|
o.LR r3 = o.LR.NONE
|
||
|
goto L3c
|
||
|
L31:
|
||
|
o.LR r3 = o.LR.CLOCK
|
||
|
goto L3c
|
||
|
L34:
|
||
|
o.LR r3 = o.LR.ALERT
|
||
|
goto L3c
|
||
|
L37:
|
||
|
o.LR r3 = o.LR.ERROR
|
||
|
goto L3c
|
||
|
L3a:
|
||
|
o.LR r3 = o.LR.CHECK
|
||
|
L3c:
|
||
|
if (r3 != 0) goto L40
|
||
|
L3e:
|
||
|
o.LR r3 = o.LR.NONE
|
||
|
L40:
|
||
|
int r1 = o.C16777rE.i
|
||
|
int r1 = r1 + 87
|
||
|
int r2 = r1 % 128
|
||
|
o.C16777rE.b = r2
|
||
|
int r1 = r1 % r0
|
||
|
return r3
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C16777rE.e(java.lang.Integer):o.LR");
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.rE$RVV */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class RVV {
|
||
|
private RVV() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ RVV(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.rE$HBt */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class HBt<T> implements Comparator {
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // java.util.Comparator
|
||
|
public final int compare(T t, T t2) {
|
||
|
Integer num = ((C15834ivf) t).d;
|
||
|
Integer num2 = ((C15834ivf) t2).d;
|
||
|
if (num == num2) {
|
||
|
return 0;
|
||
|
}
|
||
|
if (num == null) {
|
||
|
return -1;
|
||
|
}
|
||
|
if (num2 == null) {
|
||
|
return 1;
|
||
|
}
|
||
|
return num.compareTo(num2);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.rE$LWm */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class LWm<T> implements Comparator {
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // java.util.Comparator
|
||
|
public final int compare(T t, T t2) {
|
||
|
Integer num = ((obE) t).e;
|
||
|
Integer num2 = ((obE) t2).e;
|
||
|
if (num == num2) {
|
||
|
return 0;
|
||
|
}
|
||
|
if (num == null) {
|
||
|
return -1;
|
||
|
}
|
||
|
if (num2 == null) {
|
||
|
return 1;
|
||
|
}
|
||
|
return num.compareTo(num2);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:37:0x0125, code lost:
|
||
|
|
||
|
if (r2.b == r2.c) goto L37;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:39:0x0159, code lost:
|
||
|
|
||
|
r9 = new java.lang.Object[13];
|
||
|
r9[12] = r2;
|
||
|
r9[11] = java.lang.Integer.valueOf(r1);
|
||
|
r9[10] = r2;
|
||
|
r9[9] = r2;
|
||
|
r9[8] = java.lang.Integer.valueOf(r1);
|
||
|
r9[7] = r2;
|
||
|
r9[6] = r2;
|
||
|
r9[r5] = java.lang.Integer.valueOf(r1);
|
||
|
r9[4] = r2;
|
||
|
r9[3] = r2;
|
||
|
r9[2] = java.lang.Integer.valueOf(r1);
|
||
|
r9[1] = r2;
|
||
|
r9[0] = r2;
|
||
|
r10 = o.xzZ.y.get(822107368);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:40:0x01a8, code lost:
|
||
|
|
||
|
if (r10 == null) goto L42;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:44:0x0235, code lost:
|
||
|
|
||
|
if (((java.lang.Integer) ((java.lang.reflect.Method) r10).invoke(null, r9)).intValue() != r2.j) goto L53;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:46:0x0239, code lost:
|
||
|
|
||
|
r8 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
|
||
|
r5 = o.xzZ.y.get(-1152873385);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:47:0x027a, code lost:
|
||
|
|
||
|
if (r5 == null) goto L50;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:48:0x027c, code lost:
|
||
|
|
||
|
r18 = 5;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:49:0x02fd, code lost:
|
||
|
|
||
|
r5 = ((java.lang.Integer) ((java.lang.reflect.Method) r5).invoke(null, r8)).intValue();
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:50:0x030a, code lost:
|
||
|
|
||
|
r8 = (r2.d * r1) + r2.j;
|
||
|
r4[r2.e] = r3[r5];
|
||
|
r4[r2.e + 1] = r3[r8];
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:52:0x0376, code lost:
|
||
|
|
||
|
r2.e += 2;
|
||
|
r5 = r18;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:53:0x0283, code lost:
|
||
|
|
||
|
r5 = (java.lang.Class) o.xzZ.c(327 - android.widget.ExpandableListView.getPackedPositionGroup(0), android.widget.ExpandableListView.getPackedPositionType(0) + 5, (char) (1 - (android.media.AudioTrack.getMaxVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMaxVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
|
||
|
r9 = (byte) (o.C16777rE.$$e & 15);
|
||
|
r10 = (byte) (r9 - 2);
|
||
|
r15 = new java.lang.Object[1];
|
||
|
n(r9, r10, (byte) (r10 - 1), r15);
|
||
|
r18 = 5;
|
||
|
r5 = r5.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
|
||
|
o.xzZ.y.put(-1152873385, r5);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:54:0x031e, code lost:
|
||
|
|
||
|
r18 = 5;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:55:0x0329, code lost:
|
||
|
|
||
|
if (r2.a != r2.d) goto L56;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:56:0x032b, code lost:
|
||
|
|
||
|
r5 = o.C16777rE.$10 + 69;
|
||
|
o.C16777rE.$11 = r5 % 128;
|
||
|
r5 = r5 % 2;
|
||
|
r2.f = ((r2.f + r1) - 1) % r1;
|
||
|
r2.j = ((r2.j + r1) - 1) % r1;
|
||
|
r5 = (r2.a * r1) + r2.f;
|
||
|
r8 = (r2.d * r1) + r2.j;
|
||
|
r4[r2.e] = r3[r5];
|
||
|
r4[r2.e + 1] = r3[r8];
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:58:0x035d, code lost:
|
||
|
|
||
|
r5 = (r2.a * r1) + r2.j;
|
||
|
r8 = (r2.d * r1) + r2.f;
|
||
|
r4[r2.e] = r3[r5];
|
||
|
r4[r2.e + 1] = r3[r8];
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:60:0x01ab, code lost:
|
||
|
|
||
|
r10 = (java.lang.Class) o.xzZ.c(232 - android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0, 0), 4 - android.text.TextUtils.lastIndexOf("", '0', 0, 0), (char) (22023 - android.widget.ExpandableListView.getPackedPositionChild(0)));
|
||
|
r13 = (byte) 0;
|
||
|
r14 = r13;
|
||
|
r5 = new java.lang.Object[1];
|
||
|
n(r13, r14, (byte) (r14 - 1), r5);
|
||
|
r10 = r10.getMethod((java.lang.String) r5[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
|
||
|
o.xzZ.y.put(822107368, r10);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:62:0x013b, code lost:
|
||
|
|
||
|
r4[r2.e] = (char) (r2.b - r31);
|
||
|
r4[r2.e + 1] = (char) (r2.c - r31);
|
||
|
r18 = r5;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:65:0x0139, code lost:
|
||
|
|
||
|
if (r2.b == r2.c) goto L37;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static void q(int r29, char[] r30, byte r31, java.lang.Object[] r32) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 953
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C16777rE.q(int, char[], byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
static void f() {
|
||
|
a = new char[]{49026};
|
||
|
d = (char) 35368;
|
||
|
}
|
||
|
|
||
|
private static LL d(C15834ivf c15834ivf) {
|
||
|
return (LL) e(new Object[]{c15834ivf});
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
i = 1;
|
||
|
f();
|
||
|
new RVV((byte) 0);
|
||
|
int i2 = b + 71;
|
||
|
i = i2 % 128;
|
||
|
if (i2 % 2 == 0) {
|
||
|
int i3 = 10 / 0;
|
||
|
}
|
||
|
}
|
||
|
}
|