package o; import android.graphics.PointF; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes3.dex */ public final class jOh { private static final byte[] $$a = {101, 120, 60, 69}; private static final int $$b = 205; private static int $10 = 0; private static int $11 = 1; private static int d = 0; private static int c = 1; private static int b = 2015661596; /* JADX WARN: Removed duplicated region for block: B:10:0x002b */ /* JADX WARN: Removed duplicated region for block: B:7:0x0023 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002b -> 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 e(short r6, short r7, int r8, java.lang.Object[] r9) { /* int r6 = r6 * 2 int r6 = 3 - r6 int r8 = r8 * 3 int r0 = 1 - r8 byte[] r1 = o.jOh.$$a int r7 = r7 * 7 int r7 = r7 + 69 byte[] r0 = new byte[r0] r2 = 0 int r8 = 0 - r8 if (r1 != 0) goto L19 r7 = r6 r3 = r8 r4 = r2 goto L30 L19: r3 = r2 L1a: int r6 = r6 + 1 byte r4 = (byte) r7 r0[r3] = r4 int r4 = r3 + 1 if (r3 != r8) goto L2b java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L2b: r3 = r1[r6] r5 = r7 r7 = r6 r6 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r7 r7 = r6 r6 = r5 goto L1a */ throw new UnsupportedOperationException("Method not decompiled: o.jOh.e(short, short, int, java.lang.Object[]):void"); } @InterfaceC13391fZD public jOh() { } /* JADX WARN: Removed duplicated region for block: B:11:0x0035 */ /* JADX WARN: Removed duplicated region for block: B:14:0x003c */ /* JADX WARN: Removed duplicated region for block: B:19:0x0050 */ /* JADX WARN: Removed duplicated region for block: B:29:0x006b */ /* JADX WARN: Removed duplicated region for block: B:32:0x004b */ /* JADX WARN: Removed duplicated region for block: B:33:0x0037 */ /* JADX WARN: Removed duplicated region for block: B:34:0x0030 */ /* JADX WARN: Removed duplicated region for block: B:8:0x002e */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static o.ZQZ b(o.BmF r20) { /* r0 = r20 r1 = 2 int r2 = r1 % r1 java.lang.String r2 = "" o.C14957gcv.e(r0, r2) java.lang.String r4 = r0.a java.lang.String r3 = r0.j r5 = 0 if (r3 == 0) goto L29 o.C14957gcv.e(r3, r2) java.lang.Integer r3 = o.gdZ.b(r3) if (r3 == 0) goto L29 int r3 = r3.intValue() int r6 = o.jOh.c int r6 = r6 + 41 int r7 = r6 % 128 o.jOh.d = r7 int r6 = r6 % r1 r6 = r3 goto L2a L29: r6 = r5 L2a: java.lang.String r3 = r0.i if (r3 != 0) goto L30 r7 = r2 goto L31 L30: r7 = r3 L31: java.lang.String r3 = r0.d if (r3 != 0) goto L37 r8 = r2 goto L38 L37: r8 = r3 L38: java.lang.String r3 = r0.c if (r3 != 0) goto L4b int r3 = o.jOh.c int r3 = r3 + 125 int r9 = r3 % 128 o.jOh.d = r9 int r3 = r3 % r1 if (r3 != 0) goto L49 r9 = r2 goto L4c L49: r0 = 0 throw r0 L4b: r9 = r3 L4c: java.lang.String r3 = r0.e if (r3 != 0) goto L6b int r3 = o.jOh.c int r10 = r3 + 73 int r11 = r10 % 128 o.jOh.d = r11 int r10 = r10 % r1 if (r10 == 0) goto L5d r10 = 5 int r10 = r10 / r5 L5d: int r3 = r3 + 25 int r10 = r3 % 128 o.jOh.d = r10 int r3 = r3 % r1 if (r3 == 0) goto L69 r1 = 4 int r1 = r1 % 3 L69: r1 = r2 goto L6c L6b: r1 = r3 L6c: java.lang.String r0 = r0.b long r10 = android.view.ViewConfiguration.getGlobalActionKeyTimeout() r12 = 0 int r14 = (r10 > r12 ? 1 : (r10 == r12 ? 0 : -1)) long r10 = android.view.ViewConfiguration.getZoomControlsTimeout() int r15 = (r10 > r12 ? 1 : (r10 == r12 ? 0 : -1)) int r2 = android.text.TextUtils.indexOf(r2, r2, r5, r5) int r16 = r2 + 108 r2 = 1 char[] r3 = new char[r2] r3[r5] = r5 r18 = 0 java.lang.Object[] r2 = new java.lang.Object[r2] r17 = r3 r19 = r2 a(r14, r15, r16, r17, r18, r19) r2 = r2[r5] java.lang.String r2 = (java.lang.String) r2 java.lang.String r2 = r2.intern() boolean r10 = o.C14957gcv.b(r0, r2) o.ZQZ r0 = new o.ZQZ r3 = r0 r5 = r6 r6 = r7 r7 = r8 r8 = r9 r9 = r1 r3.(r4, r5, r6, r7, r8, r9, r10) return r0 */ throw new UnsupportedOperationException("Method not decompiled: o.jOh.b(o.BmF):o.ZQZ"); } private static void a(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) { char[] cArr2; int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr3 = new char[i]; zui.d = 0; while (zui.d < i) { int i5 = $11 + 51; $10 = i5 % 128; int i6 = i5 % 2; zui.c = cArr[zui.d]; cArr3[zui.d] = (char) (i3 + zui.c); int i7 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr3[i7]), Integer.valueOf(b)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - (KeyEvent.getMaxKeyCode() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; e(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); try { Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(342 - TextUtils.getCapsMode("", 0, 0), 4 - MotionEvent.axisFromString(""), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)))); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 1); Object[] objArr5 = new Object[1]; e(b4, b5, (byte) (b5 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } if (i2 > 0) { zui.a = i2; char[] cArr4 = new char[i]; System.arraycopy(cArr3, 0, cArr4, 0, i); System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a); System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a); int i8 = $10 + 61; $11 = i8 % 128; int i9 = i8 % 2; } if (z) { int i10 = $10 + 71; $11 = i10 % 128; if (i10 % 2 == 0) { cArr2 = new char[i]; zui.d = 1; } else { cArr2 = new char[i]; zui.d = 0; } while (zui.d < i) { int i11 = $10 + 85; $11 = i11 % 128; if (i11 % 2 == 0) { cArr2[zui.d] = cArr3[(i / zui.d) + 1]; try { Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(343 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) View.MeasureSpec.getSize(0)); byte b6 = (byte) 0; byte b7 = (byte) (b6 + 1); Object[] objArr7 = new Object[1]; e(b6, b7, (byte) (b7 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } else { cArr2[zui.d] = cArr3[(i - zui.d) - 1]; Object[] objArr8 = {zui, zui}; Object obj4 = xzZ.y.get(1294990079); if (obj4 == null) { Class cls4 = (Class) xzZ.c(MotionEvent.axisFromString("") + 343, (Process.myPid() >> 22) + 5, (char) (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))); byte b8 = (byte) 0; byte b9 = (byte) (b8 + 1); Object[] objArr9 = new Object[1]; e(b8, b9, (byte) (b9 - 1), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1294990079, obj4); } ((Method) obj4).invoke(null, objArr8); } } int i12 = $11 + 111; $10 = i12 % 128; int i13 = i12 % 2; cArr3 = cArr2; } objArr[0] = new String(cArr3); } }