package o; import android.graphics.Color; import android.graphics.PointF; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import org.bouncycastle.crypto.tls.CipherSuite; import org.threeten.bp.OffsetDateTime; /* renamed from: o.Lfj, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C0643Lfj extends ZTC { private static long a; private static int b; private static char c; private static int e; private static final byte[] $$d = {105, 77, -86, 73}; private static final int $$e = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256; private static int $10 = 0; private static int $11 = 1; private static int d = 1; public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { ArrayList arrayList; Ixa ixa = (Ixa) objArr[0]; int i4 = 2 % 2; String str = ixa.e; List list = ixa.b; if (list != null) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); Iterator it = list2.iterator(); while (it.hasNext()) { int i5 = b + 103; d = i5 % 128; int i6 = i5 % 2; arrayList2.add(a((UOS) it.next())); int i7 = d + 45; b = i7 % 128; if (i7 % 2 != 0) { int i8 = 3 / 4; } } arrayList = arrayList2; } else { arrayList = null; } return new EPO(str, arrayList); } /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0030). 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 g(byte r6, int r7, short r8, java.lang.Object[] r9) { /* int r7 = 115 - r7 int r8 = r8 * 2 int r0 = 1 - r8 int r6 = r6 * 3 int r6 = 3 - r6 byte[] r1 = o.C0643Lfj.$$d byte[] r0 = new byte[r0] r2 = 0 int r8 = 0 - r8 if (r1 != 0) goto L17 r3 = r7 r4 = r2 r7 = r6 goto L30 L17: r3 = r2 L18: int r6 = r6 + 1 byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r8) goto L27 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L27: r4 = r1[r6] int r3 = r3 + 1 r5 = r7 r7 = r6 r6 = r4 r4 = r3 r3 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r7 r7 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C0643Lfj.g(byte, int, short, java.lang.Object[]):void"); } @InterfaceC13391fZD public C0643Lfj() { } /* renamed from: o.Lfj$HBt */ /* loaded from: classes.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } public final NxD c(pJE pje) { JbM jbM; JbM jbM2; JbM jbM3; JbM jbM4; JbM jbM5; JbM jbM6; JbM jbM7; JbM jbM8; JbM jbM9; int i = 2 % 2; int i2 = d + 37; b = i2 % 128; int i3 = i2 % 2; C14957gcv.e(pje, ""); String str = pje.n; String str2 = pje.f; C16888sAY b2 = b(pje.l); wOc e2 = e(pje.p); Wko wko = pje.x; Object obj = null; if (wko != null) { int i4 = b + 89; d = i4 % 128; if (i4 % 2 == 0) { d(wko); throw null; } jbM = d(wko); } else { jbM = null; } C8379dJe c8379dJe = pje.b; C16607pfX b3 = c8379dJe != null ? b(c8379dJe) : null; Wko wko2 = pje.c; if (wko2 != null) { int i5 = b + 49; d = i5 % 128; if (i5 % 2 == 0) { d(wko2); obj.hashCode(); throw null; } jbM2 = d(wko2); } else { jbM2 = null; } Wko wko3 = pje.e; JbM d2 = wko3 != null ? d(wko3) : null; Wko wko4 = pje.v; JbM d3 = wko4 != null ? d(wko4) : null; C8379dJe c8379dJe2 = pje.u; C16607pfX b4 = c8379dJe2 != null ? b(c8379dJe2) : null; Wko wko5 = pje.h; if (wko5 != null) { int i6 = d + 3; b = i6 % 128; int i7 = i6 % 2; jbM3 = d(wko5); } else { jbM3 = null; } Wko wko6 = pje.f9238o; JbM d4 = wko6 != null ? d(wko6) : null; Wko wko7 = pje.q; if (wko7 != null) { int i8 = d + 75; jbM4 = d4; b = i8 % 128; if (i8 % 2 != 0) { jbM5 = d(wko7); int i9 = 58 / 0; } else { jbM5 = d(wko7); } } else { jbM4 = d4; jbM5 = null; } C8379dJe c8379dJe3 = pje.k; C16607pfX b5 = c8379dJe3 != null ? b(c8379dJe3) : null; Wko wko8 = pje.m; JbM d5 = wko8 != null ? d(wko8) : null; Wko wko9 = pje.d; JbM d6 = wko9 != null ? d(wko9) : null; Wko wko10 = pje.i; JbM d7 = wko10 != null ? d(wko10) : null; Wko wko11 = pje.y; JbM d8 = wko11 != null ? d(wko11) : null; Wko wko12 = pje.t; JbM d9 = wko12 != null ? d(wko12) : null; Wko wko13 = pje.s; if (wko13 != null) { int i10 = b + 5; jbM6 = jbM5; d = i10 % 128; int i11 = i10 % 2; jbM7 = d(wko13); } else { jbM6 = jbM5; jbM7 = null; } Wko wko14 = pje.j; if (wko14 != null) { int i12 = d + 51; jbM8 = jbM7; b = i12 % 128; int i13 = i12 % 2; jbM9 = d(wko14); } else { jbM8 = jbM7; jbM9 = null; } C8379dJe c8379dJe4 = pje.r; C16607pfX b6 = c8379dJe4 != null ? b(c8379dJe4) : null; Wko wko15 = pje.g; return new NxD(str, str2, b2, e2, jbM, b3, jbM2, d2, d3, b4, jbM3, jbM4, jbM6, b5, d5, d6, d7, d8, d9, jbM8, jbM9, b6, wko15 != null ? d(wko15) : null, (EPO) d(new Object[]{pje.a}, -567156841, 567156841, (int) System.currentTimeMillis()), pje.w); } private static C16888sAY b(RWD rwd) { int i = 2 % 2; C16888sAY c16888sAY = new C16888sAY(rwd.c, rwd.b, ZTC.b(rwd.d, (OffsetDateTime) null)); int i2 = b + 5; d = i2 % 128; int i3 = i2 % 2; return c16888sAY; } /* JADX WARN: Code restructure failed: missing block: B:21:0x001d, code lost: r1 = o.C0643Lfj.b + 53; o.C0643Lfj.d = r1 % 128; r1 = r1 % 2; r1 = ""; */ /* JADX WARN: Code restructure failed: missing block: B:23:0x001b, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (r1 == null) goto L9; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static o.wOc e(o.VPg r7) { /* r0 = 2 int r1 = r0 % r0 int r1 = o.C0643Lfj.b int r1 = r1 + 49 int r2 = r1 % 128 o.C0643Lfj.d = r2 int r1 = r1 % r0 java.lang.String r2 = "" if (r1 != 0) goto L19 java.lang.String r1 = r7.e r3 = 84 int r3 = r3 / 0 if (r1 != 0) goto L27 goto L1d L19: java.lang.String r1 = r7.e if (r1 != 0) goto L27 L1d: int r1 = o.C0643Lfj.b int r1 = r1 + 53 int r3 = r1 % 128 o.C0643Lfj.d = r3 int r1 = r1 % r0 r1 = r2 L27: int r3 = r7.b java.util.List r7 = r7.d if (r7 == 0) goto L75 java.lang.Iterable r7 = (java.lang.Iterable) r7 java.util.ArrayList r4 = new java.util.ArrayList o.C14957gcv.e(r7, r2) boolean r2 = r7 instanceof java.util.Collection if (r2 == 0) goto L49 r2 = r7 java.util.Collection r2 = (java.util.Collection) r2 int r2 = r2.size() int r5 = o.C0643Lfj.b int r5 = r5 + 85 int r6 = r5 % 128 o.C0643Lfj.d = r6 int r5 = r5 % r0 goto L4b L49: r2 = 10 L4b: r4.(r2) java.util.Collection r4 = (java.util.Collection) r4 java.util.Iterator r7 = r7.iterator() L54: boolean r2 = r7.hasNext() r5 = 1 if (r2 == r5) goto L67 java.util.List r4 = (java.util.List) r4 int r7 = o.C0643Lfj.b int r7 = r7 + 93 int r2 = r7 % 128 o.C0643Lfj.d = r2 int r7 = r7 % r0 goto L76 L67: java.lang.Object r2 = r7.next() o.cxT r2 = (o.C7920cxT) r2 o.kRG r2 = d(r2) r4.add(r2) goto L54 L75: r4 = 0 L76: o.wOc r7 = new o.wOc r7.(r1, r3, r4) return r7 */ throw new UnsupportedOperationException("Method not decompiled: o.C0643Lfj.e(o.VPg):o.wOc"); } private static JbM d(Wko wko) { int i = 2 % 2; int i2 = d + 11; b = i2 % 128; int i3 = i2 % 2; String str = wko.d; if (str == null) { Object[] objArr = new Object[1]; f((char) (TextUtils.lastIndexOf("", '0', 0) + 8319), (ViewConfiguration.getWindowTouchSlop() >> 8) - 730113104, new char[]{45250, 31579, 32468, 8736}, new char[]{19737}, new char[]{26139, 32666, 52216, 7686}, objArr); str = ((String) objArr[0]).intern(); int i4 = b + 121; d = i4 % 128; int i5 = i4 % 2; } String str2 = str; String str3 = wko.b; List list = wko.a; String str4 = wko.h; String str5 = wko.c; if (str5 == null) { int i6 = d + 51; b = i6 % 128; int i7 = i6 % 2; Object[] objArr2 = new Object[1]; f((char) (AndroidCharacter.getMirror('0') + 8270), TextUtils.getOffsetAfter("", 0) - 730113104, new char[]{45250, 31579, 32468, 8736}, new char[]{19737}, new char[]{26139, 32666, 52216, 7686}, objArr2); str5 = ((String) objArr2[0]).intern(); } JbM jbM = new JbM(str2, str3, list, str4, str5, wko.e); int i8 = b + 15; d = i8 % 128; int i9 = i8 % 2; return jbM; } private static C16607pfX b(C8379dJe c8379dJe) { int i = 2 % 2; int i2 = b + 75; d = i2 % 128; if (i2 % 2 == 0) { String str = c8379dJe.d; throw null; } String str2 = c8379dJe.d; if (str2 == null) { int i3 = b + 47; d = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; f((char) (8317 - TextUtils.indexOf((CharSequence) "", '0')), TextUtils.getOffsetAfter("", 0) - 730113104, new char[]{45250, 31579, 32468, 8736}, new char[]{19737}, new char[]{26139, 32666, 52216, 7686}, objArr); str2 = ((String) objArr[0]).intern(); int i5 = b + 59; d = i5 % 128; int i6 = i5 % 2; } return new C16607pfX(str2, c8379dJe.e); } private static kRG d(C7920cxT c7920cxT) { int i = 2 % 2; kRG krg = new kRG(c7920cxT.e, c7920cxT.d, c7920cxT.c, c7920cxT.b); int i2 = d + 115; b = i2 % 128; if (i2 % 2 == 0) { return krg; } Object obj = null; obj.hashCode(); throw null; } private static xMD a(UOS uos) { int i = 2 % 2; xMD xmd = new xMD(uos.c, uos.d, uos.b, uos.a); int i2 = d + 13; b = i2 % 128; if (i2 % 2 == 0) { return xmd; } throw null; } private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) { char c3; int i2 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c2); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr2.length; char[] cArr6 = new char[length3]; nhs.a = 0; int i3 = $11 + 7; $10 = i3 % 128; int i4 = i3 % 2; while (nhs.a < length3) { int i5 = $10 + 53; $11 = i5 % 128; int i6 = i5 % 2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(45 - KeyEvent.keyCodeFromString(""), 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) TextUtils.getOffsetAfter("", 0))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 352, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (52128 - TextUtils.getOffsetBefore("", 0))); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr4 = new Object[1]; g(b2, b3, b3, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 747, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 != null) { c3 = 2; } else { Class cls2 = (Class) xzZ.c(402 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - Color.argb(0, 0, 0, 0), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 21608)); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 1); Object[] objArr7 = new Object[1]; g(b4, b5, (byte) (b5 - 1), objArr7); c3 = 2; obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (a ^ 9051040786702654117L)) ^ ((int) (e ^ 9051040786702654117L))) ^ ((char) (c ^ 9051040786702654117L))); nhs.a++; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(cArr6); } static void a() { a = 7177904773052611774L; e = 452713125; c = (char) 55973; } private static EPO d(Ixa ixa) { return (EPO) d(new Object[]{ixa}, -567156841, 567156841, (int) System.currentTimeMillis()); } static { b = 0; a(); new HBt((byte) 0); int i = d + 33; b = i % 128; int i2 = i % 2; } }