package o; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Process; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.MotionEvent; import android.view.View; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import java.lang.reflect.Method; /* renamed from: o.ioo, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15818ioo extends ZTC { private static final byte[] $$d = {Ascii.CAN, -103, 8, 6}; private static final int $$e = 95; private static int $10 = 0; private static int $11 = 1; private static int a = 0; private static int b = 1; private static long c = 8110543553185070915L; /* 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:0x002e). 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(short r6, int r7, byte r8, java.lang.Object[] r9) { /* int r6 = r6 * 2 int r6 = r6 + 119 int r7 = r7 * 4 int r0 = r7 + 1 byte[] r1 = o.C15818ioo.$$d int r8 = r8 * 4 int r8 = 4 - r8 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L17 r3 = r8 r4 = r2 r8 = r7 goto L2e L17: r3 = r2 L18: byte r4 = (byte) r6 r0[r3] = r4 if (r3 != r7) goto L25 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L25: int r3 = r3 + 1 r4 = r1[r8] r5 = r8 r8 = r6 r6 = r4 r4 = r3 r3 = r5 L2e: int r3 = r3 + 1 int r6 = -r6 int r6 = r6 + r8 r8 = r3 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C15818ioo.g(short, int, byte, java.lang.Object[]):void"); } @InterfaceC13391fZD public C15818ioo() { } public static Gdg b(C9779dqN c9779dqN) { int i = 2 % 2; C14957gcv.e(c9779dqN, ""); Object[] objArr = new Object[1]; f(new char[]{12012, 16177, 11997, 12906, 3350}, Process.myPid() >> 22, objArr); Gdg gdg = new Gdg(C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) c9779dqN.b), C14957gcv.b((Object) "Y", (Object) c9779dqN.e)); int i2 = a + 75; b = i2 % 128; if (i2 % 2 != 0) { return gdg; } throw null; } private static void f(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a2 = GuL.a(c ^ (-7538262848231253921L), cArr, i); guL.a = 4; int i3 = $11 + 35; $10 = i3 % 128; int i4 = i3 % 2; while (guL.a < a2.length) { int i5 = $11 + 15; $10 = i5 % 128; int i6 = i5 % 2; guL.c = guL.a - 4; int i7 = guL.a; try { Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(c)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 208, 5 - Drawable.resolveOpacity(0, 0), (char) (1706 - TextUtils.getOffsetBefore("", 0))); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; g(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c(440 - AndroidCharacter.getMirror('0'), View.getDefaultSize(0, 0) + 5, (char) ((-1) - MotionEvent.axisFromString(""))); byte b4 = (byte) ($$e & 1); byte b5 = (byte) (b4 - 1); Object[] objArr5 = new Object[1]; g(b4, b5, b5, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a2, 4, a2.length - 4); } }