package o; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import com.google.gson.annotations.SerializedName; import java.lang.reflect.Method; /* loaded from: classes3.dex */ public final class lFZ { @SerializedName("code") private final String a; @SerializedName("description") private final String c; @SerializedName("sortSequence") private final int e; private static final byte[] $$a = {118, -18, 54, 121}; private static final int $$b = 1; private static int $10 = 0; private static int $11 = 1; private static int b = 0; private static int i = 1; private static int[] d = {-1289068716, 416029876, -61551505, -559598642, -1166289288, 1197325317, -672925896, -1257164129, -1118997950, 1741222967, 377930829, 1826280325, -808158785, -23063971, 1644590583, 1773085040, -1867382306, -1841068496}; /* 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:0x002b). 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 r5, byte r6, int r7, java.lang.Object[] r8) { /* int r5 = r5 * 3 int r0 = r5 + 1 byte[] r1 = o.lFZ.$$a int r7 = r7 * 2 int r7 = 104 - r7 int r6 = r6 * 2 int r6 = 3 - r6 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L17 r4 = r7 r3 = r2 r7 = r5 goto L2b L17: r3 = r2 L18: byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r5) goto L25 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L25: int r6 = r6 + 1 int r3 = r3 + 1 r4 = r1[r6] L2b: int r7 = r7 + r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.lFZ.g(int, byte, int, java.lang.Object[]):void"); } public final YFD a() { int i2 = 2 % 2; int i3 = this.e; String str = this.a; String str2 = this.c; Object[] objArr = new Object[1]; f(new int[]{-2041496514, -1175811923}, (ViewConfiguration.getLongPressTimeout() >> 16) + 1, objArr); YFD yfd = new YFD(i3, str, "", str2, ((String) objArr[0]).intern(), 0); int i4 = i + 89; b = i4 % 128; int i5 = i4 % 2; return yfd; } private static void f(int[] iArr, int i2, Object[] objArr) { int length; int[] iArr2; int[] iArr3; int i3 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr4 = d; int i4 = 58134; int i5 = 729798706; int i6 = 1; int i7 = 0; if (iArr4 != null) { int length2 = iArr4.length; int[] iArr5 = new int[length2]; int i8 = 0; while (i8 < length2) { try { Object[] objArr2 = new Object[i6]; objArr2[0] = Integer.valueOf(iArr4[i8]); Object obj = xzZ.y.get(Integer.valueOf(i5)); if (obj == null) { obj = ((Class) xzZ.c(15 - KeyEvent.keyCodeFromString(""), View.MeasureSpec.getSize(0) + 5, (char) (i4 - TextUtils.indexOf("", "", 0, 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr5[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i8++; i4 = 58134; i5 = 729798706; i6 = 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } iArr4 = iArr5; } int length3 = iArr4.length; int[] iArr6 = new int[length3]; int[] iArr7 = d; if (iArr7 != null) { int i9 = $11 + 103; $10 = i9 % 128; if (i9 % 2 != 0) { length = iArr7.length; iArr2 = new int[length]; } else { length = iArr7.length; iArr2 = new int[length]; } int i10 = 0; while (i10 < length) { try { Object[] objArr3 = new Object[1]; objArr3[i7] = Integer.valueOf(iArr7[i10]); Object obj2 = xzZ.y.get(729798706); if (obj2 != null) { iArr3 = iArr7; } else { iArr3 = iArr7; obj2 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 14, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (58134 - View.resolveSize(0, 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj2); } iArr2[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i10++; iArr7 = iArr3; i7 = 0; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } iArr7 = iArr2; } int i11 = i7; System.arraycopy(iArr7, i11, iArr6, i11, length3); c4403bZM.b = i11; while (c4403bZM.b < iArr.length) { int i12 = $11 + 117; $10 = i12 % 128; int i13 = i12 % 2; cArr[0] = (char) (iArr[c4403bZM.b] >> 16); cArr[1] = (char) iArr[c4403bZM.b]; cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16); cArr[3] = (char) iArr[c4403bZM.b + 1]; c4403bZM.e = (cArr[0] << 16) + cArr[1]; c4403bZM.a = (cArr[2] << 16) + cArr[3]; C4403bZM.d(iArr6); int i14 = 0; for (int i15 = 16; i14 < i15; i15 = 16) { c4403bZM.e ^= iArr6[i14]; Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj3 = xzZ.y.get(-1196964548); if (obj3 == null) { Class cls = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 117, (ViewConfiguration.getPressedStateDuration() >> i15) + 5, (char) View.MeasureSpec.getMode(0)); byte b2 = (byte) ($$b - 1); byte b3 = b2; Object[] objArr5 = new Object[1]; g(b2, b3, b3, objArr5); obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; i14++; } int i16 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i16; c4403bZM.a ^= iArr6[16]; c4403bZM.e ^= iArr6[17]; int i17 = c4403bZM.e; int i18 = c4403bZM.a; cArr[0] = (char) (c4403bZM.e >>> 16); cArr[1] = (char) c4403bZM.e; cArr[2] = (char) (c4403bZM.a >>> 16); cArr[3] = (char) c4403bZM.a; C4403bZM.d(iArr6); cArr2[c4403bZM.b * 2] = cArr[0]; cArr2[(c4403bZM.b * 2) + 1] = cArr[1]; cArr2[(c4403bZM.b * 2) + 2] = cArr[2]; cArr2[(c4403bZM.b * 2) + 3] = cArr[3]; Object[] objArr6 = {c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(1914371176); if (obj4 == null) { Class cls2 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 98, KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0))); int i19 = $$b; byte b4 = (byte) (i19 - 1); Object[] objArr7 = new Object[1]; g(b4, b4, (byte) i19, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1914371176, obj4); } ((Method) obj4).invoke(null, objArr6); } String str = new String(cArr2, 0, i2); int i20 = $10 + 63; $11 = i20 % 128; if (i20 % 2 == 0) { throw null; } objArr[0] = str; } }