package o; import android.graphics.Color; import android.media.AudioTrack; import android.text.TextUtils; import android.util.TypedValue; 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 okhttp3.internal.http2.Http2Connection; /* loaded from: classes3.dex */ public class vZz extends ZTC { private static final byte[] $$g = {114, 119, 93, Ascii.EM}; private static final int $$h = 208; private static int $10 = 0; private static int $11 = 1; private static int d = 0; private static int a = 1; private static long e = 2850597235143581181L; /* 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 i(int r6, byte r7, short r8, java.lang.Object[] r9) { /* byte[] r0 = o.vZz.$$g int r7 = r7 * 2 int r7 = r7 + 119 int r8 = r8 * 4 int r1 = r8 + 1 int r6 = r6 * 2 int r6 = 3 - r6 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L17 r4 = r7 r3 = r2 r7 = r6 goto L2e L17: r3 = r2 L18: byte r4 = (byte) r7 r1[r3] = r4 if (r3 != r8) goto L25 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L25: int r6 = r6 + 1 int r3 = r3 + 1 r4 = r0[r6] r5 = r7 r7 = r6 r6 = r5 L2e: int r4 = -r4 int r6 = r6 + r4 r5 = r7 r7 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.vZz.i(int, byte, short, java.lang.Object[]):void"); } @InterfaceC13391fZD public vZz() { } public static LEE a(NYM nym) { int i = 2 % 2; LEE lee = new LEE(); lee.c = nym.e; lee.d = nym.b; lee.a = nym.c; lee.e = nym.d; Object[] objArr = new Object[1]; h(new char[]{63132, 63149, 6385, 38990, 30803}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1, objArr); lee.b = ((String) objArr[0]).intern().equalsIgnoreCase(nym.a); lee.i = nym.i; lee.g = nym.f; int i2 = a + 43; d = i2 % 128; int i3 = i2 % 2; return lee; } private static void h(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a2 = GuL.a(e ^ (-7538262848231253921L), cArr, i); int i3 = 4; guL.a = 4; int i4 = $10 + 79; $11 = i4 % 128; if (i4 % 2 == 0) { int i5 = 2 % 5; } while (guL.a < a2.length) { int i6 = $11 + 15; $10 = i6 % 128; int i7 = i6 % 2; guL.c = guL.a - i3; int i8 = guL.a; try { Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(e)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(208 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1706)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; i(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a2[i8] = ((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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 392, 5 - TextUtils.indexOf("", "", 0), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE)); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 1); Object[] objArr5 = new Object[1]; i(b3, b4, (byte) (b4 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i9 = $11 + 63; $10 = i9 % 128; int i10 = i9 % 2; i3 = 4; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a2, 4, a2.length - 4); } }