package o; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.TypedValue; 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.google.common.base.Ascii; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.eeS, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C11389eeS { private static short[] a; private static final byte[] $$a = {43, 11, 51, -107}; private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384; private static int $10 = 0; private static int $11 = 1; private static int i = 0; private static int j = 1; private static int c = -1969422227; private static int e = 1406017041; private static int b = 843996149; private static byte[] d = {Ascii.NAK}; /* 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: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(int r6, int r7, byte r8, java.lang.Object[] r9) { /* byte[] r0 = o.C11389eeS.$$a int r6 = r6 * 3 int r6 = 3 - r6 int r8 = r8 * 2 int r8 = r8 + 108 int r7 = r7 * 2 int r1 = r7 + 1 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L17 r8 = r6 r3 = r7 r4 = r2 goto L30 L17: r3 = r2 L18: byte r4 = (byte) r8 r1[r3] = r4 if (r3 != r7) goto L25 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L25: int r3 = r3 + 1 int r6 = r6 + 1 r4 = r0[r6] r5 = r8 r8 = r6 r6 = r4 r4 = r3 r3 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r8 r8 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C11389eeS.g(int, int, byte, java.lang.Object[]):void"); } @InterfaceC13391fZD public C11389eeS() { } public static List b(CcA ccA) { int i2 = 2 % 2; List list = ccA.e; ArrayList arrayList = new ArrayList(); Iterator it = list.iterator(); while (it.hasNext()) { int i3 = j + 31; i = i3 % 128; int i4 = i3 % 2; arrayList.add(c(it.next())); int i5 = j + 79; i = i5 % 128; int i6 = i5 % 2; } return arrayList; } private static YFD c(C16760qxN c16760qxN) { int i2 = 2 % 2; int i3 = c16760qxN.a; String str = c16760qxN.b; String str2 = c16760qxN.c; Object[] objArr = new Object[1]; f((short) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-4) - ((byte) KeyEvent.getModifierMetaStateMask()), 648864136 - TextUtils.indexOf("", ""), (ViewConfiguration.getWindowTouchSlop() >> 8) - 1635796399, objArr); YFD yfd = new YFD(i3, str, "", str2, ((String) objArr[0]).intern(), 0); int i4 = i + 43; j = i4 % 128; if (i4 % 2 == 0) { int i5 = 80 / 0; } return yfd; } private static void f(short s, byte b2, int i2, int i3, int i4, Object[] objArr) { int i5; int length; byte[] bArr; int i6 = 2 % 2; DFY dfy = new DFY(); StringBuilder sb = new StringBuilder(); try { Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(e)}; Object obj = xzZ.y.get(-2092856797); if (obj == null) { Class cls = (Class) xzZ.c(337 - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr3 = new Object[1]; g(b3, b4, (byte) (b4 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(-2092856797, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); if (intValue == -1) { int i7 = $11 + 15; $10 = i7 % 128; int i8 = i7 % 2; i5 = 1; } else { i5 = 0; } if (i5 != 0) { byte[] bArr2 = d; if (bArr2 != null) { int i9 = $10 + 19; $11 = i9 % 128; if (i9 % 2 == 0) { length = bArr2.length; bArr = new byte[length]; } else { length = bArr2.length; bArr = new byte[length]; } for (int i10 = 0; i10 < length; i10++) { Object[] objArr4 = {Integer.valueOf(bArr2[i10])}; Object obj2 = xzZ.y.get(-1648115392); if (obj2 == null) { Class cls2 = (Class) xzZ.c(60 - TextUtils.getCapsMode("", 0, 0), 5 - TextUtils.indexOf("", ""), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1)); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr5 = new Object[1]; g(b5, b6, b6, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1648115392, obj2); } bArr[i10] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue(); } bArr2 = bArr; } if (bArr2 != null) { byte[] bArr3 = d; Object[] objArr6 = {Integer.valueOf(i3), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(-2092856797); if (obj3 == null) { Class cls3 = (Class) xzZ.c(337 - (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)), TextUtils.indexOf("", "") + 5, (char) TextUtils.indexOf("", "", 0, 0)); byte b7 = (byte) 0; byte b8 = b7; Object[] objArr7 = new Object[1]; g(b7, b8, (byte) (b8 + 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(-2092856797, obj3); } intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (e ^ (-7303220121662775787L)))); } else { intValue = (short) (((short) (a[i3 + ((int) (c ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (e ^ (-7303220121662775787L)))); } } if (intValue > 0) { int i11 = $11 + 13; $10 = i11 % 128; int i12 = i11 % 2; dfy.c = ((i3 + intValue) - 2) + ((int) (c ^ (-7303220121662775787L))) + i5; Object[] objArr8 = {dfy, Integer.valueOf(i4), Integer.valueOf(b), sb}; Object obj4 = xzZ.y.get(1546973421); if (obj4 == null) { obj4 = ((Class) xzZ.c(748 - View.MeasureSpec.getSize(0), Process.getGidForName("") + 6, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class); xzZ.y.put(1546973421, obj4); } ((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a); dfy.e = dfy.a; byte[] bArr4 = d; if (bArr4 != null) { int length2 = bArr4.length; byte[] bArr5 = new byte[length2]; for (int i13 = 0; i13 < length2; i13++) { bArr5[i13] = (byte) (bArr4[i13] ^ (-7303220121662775787L)); } int i14 = $10 + 115; $11 = i14 % 128; int i15 = i14 % 2; bArr4 = bArr5; } boolean z = bArr4 != null; dfy.d = 1; int i16 = $10 + 105; $11 = i16 % 128; int i17 = i16 % 2; while (dfy.d < intValue) { int i18 = $11 + 85; $10 = i18 % 128; int i19 = i18 % 2; if (z) { byte[] bArr6 = d; dfy.c = dfy.c - 1; dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s)) ^ b2)); } else { short[] sArr = a; dfy.c = dfy.c - 1; dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s)) ^ b2)); } sb.append(dfy.a); dfy.e = dfy.a; dfy.d++; } } objArr[0] = sb.toString(); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } }