package o; import android.graphics.Color; import android.graphics.drawable.Drawable; 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 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 java.util.TreeMap; import net.sf.scuba.smartcards.ISOFileInfo; import org.bouncycastle.crypto.signers.PSSSigner; @fZH /* loaded from: classes.dex */ public final class OTe { private static final byte[] $$a = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN}; private static final int $$b = 217; private static int $10 = 0; private static int $11 = 1; private static int g = 0; private static int i = 1; private static int[] j = {83691605, 80205309, 466551549, -913255277, -1482076923, -27108471, -1020913855, 28667358, -393737675, 426960063, -579114844, 911265031, 1537233470, -566809181, 30229449, 809720747, 541378505, -600663688}; private xOM a; private TreeMap b = new TreeMap<>(); private C14603fwN c; private List d; private String e; public static /* synthetic */ Object b(Object[] objArr, int i2, int i3, int i4) { int i5 = ~i3; int i6 = ~i4; if ((i2 * 989) + (i3 * (-987)) + (((~(i5 | i6 | i2)) | (~(i2 | i3 | i4))) * 988) + ((i2 | i5) * (-988)) + (((~(i2 | i6 | i3)) | (~(i4 | i5)) | (~((~i2) | i5))) * 988) == 1) { return c(objArr); } OTe oTe = (OTe) objArr[0]; int i7 = 2 % 2; ArrayList arrayList = new ArrayList(); C14569fvg c14569fvg = oTe.b.get(1); if (c14569fvg == null) { return arrayList; } for (WLx wLx : c14569fvg.e) { int i8 = i + 19; g = i8 % 128; int i9 = i8 % 2; Iterator it = wLx.c.iterator(); Object[] objArr2 = new Object[1]; k(new int[]{-1864071832, 205945368}, 1 - TextUtils.indexOf("", "", 0), objArr2); String intern = ((String) objArr2[0]).intern(); int i10 = g + 115; i = i10 % 128; int i11 = i10 % 2; while (!(!it.hasNext())) { slh next = it.next(); if (next.d) { int i12 = i + 117; g = i12 % 128; int i13 = i12 % 2; intern = next.a; } } arrayList.add(new C3359aw(String.valueOf(wLx.d), intern)); } return arrayList; } /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). 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 f(int r6, int r7, byte r8, java.lang.Object[] r9) { /* int r6 = r6 + 4 int r7 = r7 * 3 int r7 = r7 + 1 int r8 = r8 * 2 int r8 = 104 - r8 byte[] r0 = o.OTe.$$a byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L15 r3 = r8 r5 = r2 r8 = r7 goto L29 L15: r3 = r2 L16: byte r4 = (byte) r8 int r5 = r3 + 1 r1[r3] = r4 int r6 = r6 + 1 if (r5 != r7) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: r3 = r0[r6] L29: int r8 = r8 + r3 r3 = r5 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: o.OTe.f(int, int, byte, java.lang.Object[]):void"); } @InterfaceC13391fZD public OTe() { } private static /* synthetic */ Object c(Object[] objArr) { OTe oTe = (OTe) objArr[0]; List list = (List) objArr[1]; int i2 = 2 % 2; int i3 = g + 45; i = i3 % 128; Object obj = null; if (i3 % 2 == 0) { list.iterator(); throw null; } for (C14569fvg c14569fvg : list) { int i4 = g + 81; i = i4 % 128; int i5 = i4 % 2; oTe.b.put(Integer.valueOf(c14569fvg.a), c14569fvg); } int i6 = i + 9; g = i6 % 128; if (i6 % 2 == 0) { return null; } obj.hashCode(); throw null; } public final List a() { int i2 = 2 % 2; ArrayList arrayList = new ArrayList(this.b.values()); int i3 = i + 65; g = i3 % 128; int i4 = i3 % 2; return arrayList; } private static void k(int[] iArr, int i2, Object[] objArr) { int[] iArr2; char c; int i3 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr3 = j; long j2 = 0; int i4 = 1; int i5 = 0; if (iArr3 != null) { int length = iArr3.length; int[] iArr4 = new int[length]; int i6 = 0; while (i6 < length) { try { Object[] objArr2 = new Object[i4]; objArr2[0] = Integer.valueOf(iArr3[i6]); Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 15, View.getDefaultSize(0, 0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > j2 ? 1 : (SystemClock.elapsedRealtimeNanos() == j2 ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i6++; j2 = 0; i4 = 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } iArr3 = iArr4; } int length2 = iArr3.length; int[] iArr5 = new int[length2]; int[] iArr6 = j; if (iArr6 != null) { int length3 = iArr6.length; int[] iArr7 = new int[length3]; int i7 = $11 + 11; $10 = i7 % 128; int i8 = 2; int i9 = i7 % 2; int i10 = 0; while (i10 < length3) { int i11 = $11 + 83; $10 = i11 % 128; int i12 = i11 % i8; Object[] objArr3 = new Object[1]; objArr3[i5] = Integer.valueOf(iArr6[i10]); Object obj2 = xzZ.y.get(729798706); if (obj2 != null) { iArr2 = iArr6; c = 55346; } else { obj2 = ((Class) xzZ.c(Color.red(0) + 15, TextUtils.getCapsMode("", 0, 0) + 5, (char) (58134 - Drawable.resolveOpacity(0, 0)))).getMethod("i", Integer.TYPE); iArr2 = iArr6; c = 55346; xzZ.y.put(729798706, obj2); } iArr7[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i10++; iArr6 = iArr2; i5 = 0; i8 = 2; } iArr6 = iArr7; } int i13 = i5; System.arraycopy(iArr6, i13, iArr5, i13, length2); c4403bZM.b = i13; int i14 = $11 + 87; $10 = i14 % 128; int i15 = i14 % 2; while (c4403bZM.b < iArr.length) { int i16 = $11 + 119; $10 = i16 % 128; int i17 = i16 % 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(iArr5); int i18 = 0; for (int i19 = 16; i18 < i19; i19 = 16) { c4403bZM.e ^= iArr5[i18]; 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(117 - Process.getGidForName(""), 5 - (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)), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1)); byte b = (byte) (-1); byte b2 = (byte) (b + 1); Object[] objArr5 = new Object[1]; f(b, b2, b2, 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; i18++; } int i20 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i20; c4403bZM.a ^= iArr5[16]; c4403bZM.e ^= iArr5[17]; int i21 = c4403bZM.e; int i22 = 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(iArr5); 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]; try { Object[] objArr6 = {c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(1914371176); if (obj4 == null) { Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 98, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) View.MeasureSpec.getMode(0)); byte b3 = (byte) (-1); byte b4 = (byte) (b3 + 1); Object[] objArr7 = new Object[1]; f(b3, b4, (byte) (b4 + 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1914371176, obj4); } ((Method) obj4).invoke(null, objArr6); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr2, 0, i2); } public final void c(C14603fwN c14603fwN) { int i2 = 2 % 2; int i3 = g; int i4 = i3 + 65; i = i4 % 128; int i5 = i4 % 2; this.c = c14603fwN; int i6 = i3 + 29; i = i6 % 128; if (i6 % 2 == 0) { int i7 = 12 / 0; } } public final OTe b(xOM xom) { int i2 = 2 % 2; int i3 = g; int i4 = i3 + 77; i = i4 % 128; int i5 = i4 % 2; this.a = xom; int i6 = i3 + 41; i = i6 % 128; if (i6 % 2 == 0) { int i7 = 12 / 0; } return this; } public final void d(List list) { int i2 = 2 % 2; int i3 = i + 53; int i4 = i3 % 128; g = i4; int i5 = i3 % 2; this.d = list; int i6 = i4 + 33; i = i6 % 128; if (i6 % 2 == 0) { throw null; } } public final void d(String str) { int i2 = 2 % 2; int i3 = g + 5; int i4 = i3 % 128; i = i4; int i5 = i3 % 2; this.e = str; if (i5 == 0) { Object obj = null; obj.hashCode(); throw null; } int i6 = i4 + 67; g = i6 % 128; int i7 = i6 % 2; } public final void c(List list) { b(new Object[]{this, list}, 210356998, -210356997, System.identityHashCode(this)); } public final C14603fwN h() { int i2 = 2 % 2; int i3 = i + 103; int i4 = i3 % 128; g = i4; int i5 = i3 % 2; C14603fwN c14603fwN = this.c; int i6 = i4 + 109; i = i6 % 128; if (i6 % 2 == 0) { int i7 = 58 / 0; } return c14603fwN; } public final xOM b() { int i2 = 2 % 2; int i3 = g; int i4 = i3 + 39; i = i4 % 128; Object obj = null; if (i4 % 2 == 0) { throw null; } xOM xom = this.a; int i5 = i3 + 53; i = i5 % 128; if (i5 % 2 != 0) { return xom; } obj.hashCode(); throw null; } public final List e() { return (List) b(new Object[]{this}, 1008009129, -1008009129, System.identityHashCode(this)); } public final List c() { int i2 = 2 % 2; int i3 = i + 5; int i4 = i3 % 128; g = i4; Object obj = null; if (i3 % 2 != 0) { obj.hashCode(); throw null; } List list = this.d; int i5 = i4 + 97; i = i5 % 128; if (i5 % 2 != 0) { return list; } obj.hashCode(); throw null; } public final String d() { int i2 = 2 % 2; int i3 = i + 19; int i4 = i3 % 128; g = i4; int i5 = i3 % 2; String str = this.e; int i6 = i4 + 81; i = i6 % 128; if (i6 % 2 == 0) { int i7 = 19 / 0; } return str; } }