package o; import android.graphics.Color; import android.graphics.ImageFormat; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes3.dex */ public final class ILf extends ZTC { private static final byte[] $$d = {78, ISO7816.INS_DELETE_FILE, 113, -27}; private static final int $$e = CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA; private static int $10 = 0; private static int $11 = 1; private static int b = 0; private static int e = 1; private static char[] c = {55274}; private static long a = -3562618103913611805L; /* JADX WARN: Removed duplicated region for block: B:10:0x0023 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001b */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> 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, short r7, short r8, java.lang.Object[] r9) { /* byte[] r0 = o.ILf.$$d int r8 = r8 + 4 int r7 = r7 * 4 int r1 = r7 + 1 int r6 = 106 - r6 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L12 r3 = r8 r4 = r2 goto L2e L12: r3 = r2 L13: r5 = r8 r8 = r6 r6 = r5 byte r4 = (byte) r8 r1[r3] = r4 if (r3 != r7) goto L23 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L23: int r6 = r6 + 1 int r3 = r3 + 1 r4 = r0[r6] r5 = r8 r8 = r6 r6 = r4 r4 = r3 r3 = r5 L2e: int r6 = -r6 int r6 = r6 + r3 r3 = r4 goto L13 */ throw new UnsupportedOperationException("Method not decompiled: o.ILf.g(short, short, short, java.lang.Object[]):void"); } @InterfaceC13391fZD public ILf() { } public static aGC c(C11071eXi c11071eXi) { int i = 2 % 2; aGC agc = new aGC(); Object[] objArr = new Object[1]; f((char) (22536 - TextUtils.indexOf((CharSequence) "", '0')), (-1) - TextUtils.lastIndexOf("", '0'), -ImageFormat.getBitsPerPixel(0), objArr); agc.b = ((String) objArr[0]).intern().equals(c11071eXi.e); Object[] objArr2 = new Object[1]; f((char) (22537 - Color.alpha(0)), View.MeasureSpec.makeMeasureSpec(0, 0), 1 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr2); agc.h = ((String) objArr2[0]).intern().equals(c11071eXi.a); Object[] objArr3 = new Object[1]; f((char) (Color.blue(0) + 22537), (-1) - ExpandableListView.getPackedPositionChild(0L), -(ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr3); agc.e = ((String) objArr3[0]).intern().equals(c11071eXi.b); ZHe zHe = c11071eXi.g; if (zHe != null) { wCl wcl = new wCl(); wcl.f9296o = zHe.l; wcl.s = zHe.p; wcl.i = zHe.i; wcl.n = zHe.k; wcl.b = zHe.b; wcl.k = zHe.m; wcl.f = zHe.h; wcl.h = zHe.g; wcl.d = zHe.c; wcl.c = zHe.e; wcl.g = zHe.j; wcl.a = zHe.a; wcl.l = zHe.f8479o; wcl.e = zHe.d; wcl.j = zHe.f; agc.c = wcl; } ZHe zHe2 = c11071eXi.c; if (zHe2 != null) { wCl wcl2 = new wCl(); wcl2.f9296o = zHe2.l; wcl2.s = zHe2.p; wcl2.i = zHe2.i; wcl2.n = zHe2.k; wcl2.b = zHe2.b; wcl2.k = zHe2.m; wcl2.f = zHe2.h; wcl2.h = zHe2.g; wcl2.d = zHe2.c; wcl2.c = zHe2.e; wcl2.g = zHe2.j; wcl2.a = zHe2.a; wcl2.l = zHe2.f8479o; wcl2.e = zHe2.d; wcl2.j = zHe2.f; agc.a = wcl2; } ZHe zHe3 = c11071eXi.d; if (zHe3 != null) { wCl wcl3 = new wCl(); wcl3.f9296o = zHe3.l; wcl3.s = zHe3.p; wcl3.i = zHe3.i; wcl3.n = zHe3.k; wcl3.b = zHe3.b; wcl3.k = zHe3.m; wcl3.f = zHe3.h; wcl3.h = zHe3.g; wcl3.d = zHe3.c; wcl3.c = zHe3.e; wcl3.g = zHe3.j; wcl3.a = zHe3.a; wcl3.l = zHe3.f8479o; wcl3.e = zHe3.d; wcl3.j = zHe3.f; agc.d = wcl3; int i2 = e + 67; b = i2 % 128; int i3 = i2 % 2; } int i4 = b + 83; e = i4 % 128; if (i4 % 2 != 0) { return agc; } Object obj = null; obj.hashCode(); throw null; } private static void f(char c2, int i, int i2, Object[] objArr) { int i3; int i4 = 2; int i5 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; int i6 = $11 + 23; $10 = i6 % 128; int i7 = i6 % 2; while (true) { i3 = 8; if (dqy.a >= i2) { break; } int i8 = $11 + 31; $10 = i8 % 128; int i9 = i8 % i4; int i10 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(c[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(307 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - Color.alpha(0), (char) (ImageFormat.getBitsPerPixel(0) + 32798)); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; g((byte) 8, b2, (byte) (b2 - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } try { Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(a), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(MotionEvent.axisFromString("") + 413, '5' - AndroidCharacter.getMirror('0'), (char) View.MeasureSpec.makeMeasureSpec(0, 0)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; g((byte) 7, b3, (byte) (b3 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i10] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); try { Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(407 - Color.red(0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 29234)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr7 = new Object[1]; g(b4, b5, (byte) (b5 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); i4 = 2; } 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; } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { cArr[dqy.a] = (char) jArr[dqy.a]; try { Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 == null) { Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> i3) + 407, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (TextUtils.indexOf("", "", 0) + 29234)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr9 = new Object[1]; g(b6, b7, (byte) (b7 - 1), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } ((Method) obj4).invoke(null, objArr8); i3 = 8; } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } objArr[0] = new String(cArr); } }