package o; import android.graphics.Color; import android.graphics.PointF; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; 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 net.sf.scuba.smartcards.ISOFileInfo; import o.C16374nnr; import org.threeten.bp.OffsetDateTime; /* loaded from: classes3.dex */ public final class PVj extends ZTC { private static final byte[] $$d = {88, ISOFileInfo.FCI_EXT, 86, 9}; private static final int $$e = 108; private static int $10 = 0; private static int $11 = 1; private static int a = 0; private static int d = 1; private static char[] b = {1949}; private static long c = -6096454833773825455L; /* 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:0x002d). 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(byte r6, byte r7, byte r8, java.lang.Object[] r9) { /* int r7 = r7 * 3 int r7 = r7 + 4 int r8 = r8 * 2 int r0 = r8 + 1 byte[] r1 = o.PVj.$$d int r6 = 106 - r6 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L14 r3 = r7 r4 = r2 goto L2d L14: r3 = r2 r5 = r7 r7 = r6 r6 = r5 L18: byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r8) goto L25 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L25: int r3 = r3 + 1 r4 = r1[r6] r5 = r3 r3 = r6 r6 = r4 r4 = r5 L2d: int r6 = -r6 int r7 = r7 + r6 int r6 = r3 + 1 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.PVj.g(byte, byte, byte, java.lang.Object[]):void"); } @InterfaceC13391fZD public PVj() { } public final Ibr e(gBy gby) { int i = 2 % 2; Ibr ibr = new Ibr(d(gby.a), d(gby.d), C16374nnr.RVV.e(gby.e)); int i2 = d + 73; a = i2 % 128; int i3 = i2 % 2; return ibr; } private static UHc d(C0681Mbx c0681Mbx) { int i = 2 % 2; int i2 = d + 63; int i3 = i2 % 128; a = i3; String str = null; if (i2 % 2 != 0) { throw null; } if (c0681Mbx == null) { int i4 = i3 + 51; d = i4 % 128; int i5 = i4 % 2; return null; } String str2 = c0681Mbx.b; String str3 = c0681Mbx.e; String str4 = c0681Mbx.g; String str5 = c0681Mbx.d; String str6 = c0681Mbx.a; OffsetDateTime b2 = ZTC.b(c0681Mbx.c, (OffsetDateTime) null); if (!"1000".equals(c0681Mbx.getStatus().e)) { int i6 = d + 85; a = i6 % 128; int i7 = i6 % 2; str = c0681Mbx.getStatus().c; int i8 = a + 37; d = i8 % 128; int i9 = i8 % 2; } return new UHc(str2, str3, str4, str5, str6, b2, str); } /* JADX WARN: Code restructure failed: missing block: B:17:0x0106, code lost: if ("1000".equals(r15.getStatus().e) == false) goto L25; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0115, code lost: r2 = o.PVj.a + 3; o.PVj.d = r2 % 128; r2 = r2 % 2; r15 = r15.getStatus(); */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0122, code lost: if (r2 == 0) goto L28; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0124, code lost: r1 = r15.c; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0127, code lost: r15 = r15.c; r1.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:22:0x012c, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x0113, code lost: if ("1000".equals(r15.getStatus().e) == false) goto L25; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static o.szZ d(o.C15214gka r15) { /* Method dump skipped, instructions count: 312 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.PVj.d(o.gka):o.szZ"); } private static void f(char c2, int i, int i2, Object[] objArr) { int i3 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; while (dqy.a < i2) { int i4 = $11 + 119; $10 = i4 % 128; if (i4 % 2 != 0) { int i5 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(b[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 308, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (32796 - TextUtils.indexOf((CharSequence) "", '0'))); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; g((byte) ($$e & 26), b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(c), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 412, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) Color.green(0)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; g((byte) 7, b3, b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i5] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 407, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (29234 - (ViewConfiguration.getMinimumFlingVelocity() >> 16))); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr7 = new Object[1]; g(b4, b5, b5, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { int i6 = dqy.a; Object[] objArr8 = {Integer.valueOf(b[i + dqy.a])}; Object obj4 = xzZ.y.get(1095064095); if (obj4 == null) { Class cls4 = (Class) xzZ.c(309 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 32797)); byte b6 = (byte) 0; Object[] objArr9 = new Object[1]; g((byte) ($$e & 26), b6, b6, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE); xzZ.y.put(1095064095, obj4); } Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(c), Integer.valueOf(c2)}; Object obj5 = xzZ.y.get(-548438098); if (obj5 == null) { Class cls5 = (Class) xzZ.c(TextUtils.indexOf("", "") + 412, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16)); byte b7 = (byte) 0; Object[] objArr11 = new Object[1]; g((byte) 7, b7, b7, objArr11); obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj5); } jArr[i6] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue(); Object[] objArr12 = {dqy, dqy}; Object obj6 = xzZ.y.get(1071125919); if (obj6 == null) { Class cls6 = (Class) xzZ.c(406 - TextUtils.indexOf((CharSequence) "", '0'), (Process.myTid() >> 22) + 5, (char) (29234 - (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 = b8; Object[] objArr13 = new Object[1]; g(b8, b9, b9, objArr13); obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class); xzZ.y.put(1071125919, obj6); } ((Method) obj6).invoke(null, objArr12); } } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { int i7 = $10 + 9; $11 = i7 % 128; int i8 = i7 % 2; cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr14 = {dqy, dqy}; Object obj7 = xzZ.y.get(1071125919); if (obj7 == null) { Class cls7 = (Class) xzZ.c(Color.green(0) + 407, Color.rgb(0, 0, 0) + 16777221, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 29234)); byte b10 = (byte) 0; byte b11 = b10; Object[] objArr15 = new Object[1]; g(b10, b11, b11, objArr15); obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class); xzZ.y.put(1071125919, obj7); } ((Method) obj7).invoke(null, objArr14); } objArr[0] = new String(cArr); } }