package o; import android.graphics.Color; import android.graphics.ImageFormat; import android.media.AudioTrack; import android.text.TextUtils; 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 com.google.common.base.Ascii; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import net.sf.scuba.smartcards.ISOFileInfo; import o.PRA; /* loaded from: classes3.dex */ public final class SHI extends ZTC { private static final byte[] $$d = {Ascii.DC2, 10, ISOFileInfo.FCI_BYTE, -108}; private static final int $$e = 94; private static int $10 = 0; private static int $11 = 1; private static int d = 0; private static int e = 1; private static long b = 8706889020152240357L; /* JADX WARN: Removed duplicated region for block: B:10:0x0022 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001a */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> 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 g(short r7, byte r8, short r9, java.lang.Object[] r10) { /* int r7 = r7 * 2 int r7 = r7 + 1 int r8 = r8 + 77 int r9 = r9 + 4 byte[] r0 = o.SHI.$$d byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L12 r3 = r9 r5 = r2 goto L29 L12: r3 = r2 L13: byte r4 = (byte) r8 int r5 = r3 + 1 r1[r3] = r4 if (r5 != r7) goto L22 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L22: int r9 = r9 + 1 r3 = r0[r9] r6 = r3 r3 = r9 r9 = r6 L29: int r9 = -r9 int r8 = r8 + r9 r9 = r3 r3 = r5 goto L13 */ throw new UnsupportedOperationException("Method not decompiled: o.SHI.g(short, byte, short, java.lang.Object[]):void"); } @InterfaceC13391fZD public SHI() { } public final wzu b(C14835gUN c14835gUN) { List arrayList; List list; int i = 2 % 2; int i2 = d + 93; e = i2 % 128; if (i2 % 2 == 0) { throw null; } if (c14835gUN == null) { return null; } String str = c14835gUN.c; String str2 = c14835gUN.a; Integer num = c14835gUN.e; Object[] objArr = new Object[1]; f(new char[]{19218}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 16963, objArr); boolean equals = ((String) objArr[0]).intern().equals(c14835gUN.b); int intValue = c14835gUN.h.intValue(); double doubleValue = c14835gUN.g.doubleValue(); String str3 = c14835gUN.d; if (c14835gUN.i.d != null) { int i3 = e + 101; d = i3 % 128; int i4 = i3 % 2; arrayList = b(c14835gUN.i.d); int i5 = e + 21; d = i5 % 128; if (i5 % 2 != 0) { int i6 = 2 % 3; } } else { arrayList = new ArrayList<>(); } List list2 = arrayList; if (c14835gUN.i.c != null) { list = b(c14835gUN.i.c); } else { ArrayList arrayList2 = new ArrayList(); int i7 = d + 43; e = i7 % 128; int i8 = i7 % 2; list = arrayList2; } return new wzu(str, str2, num, equals, intValue, doubleValue, str3, list2, list, c14835gUN.i.e != null ? b(c14835gUN.i.e) : new ArrayList<>()); } private List b(List list) { int i = 2 % 2; YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.uty private SHI d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return SHI.b((kQg) obj); } { this.d = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i2 = d + 79; e = i2 % 128; if (i2 % 2 == 0) { int i3 = 54 / 0; } return list2; } private static C17728zKJ a(kQg kqg) { int i = 2 % 2; C17728zKJ c17728zKJ = new C17728zKJ(kqg.g, kqg.e, kqg.b, kqg.d, kqg.c, kqg.a, kqg.h); int i2 = e + 115; d = i2 % 128; if (i2 % 2 == 0) { return c17728zKJ; } Object obj = null; obj.hashCode(); throw null; } private static void f(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; C4593bdB c4593bdB = new C4593bdB(); c4593bdB.a = i; int length = cArr.length; long[] jArr = new long[length]; c4593bdB.e = 0; int i3 = $11 + 15; $10 = i3 % 128; int i4 = i3 % 2; while (c4593bdB.e < cArr.length) { int i5 = $11 + 101; $10 = i5 % 128; if (i5 % 2 == 0) { int i6 = c4593bdB.e; try { Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj = xzZ.y.get(-1229953068); if (obj == null) { Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 403, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (TextUtils.getOffsetAfter("", 0) + 21608)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; g(b2, b3, (byte) (b3 - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i6] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (b ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 239, 5 - ExpandableListView.getPackedPositionType(0L), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 1); Object[] objArr5 = new Object[1]; g(b4, b5, (byte) (-b5), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { int i7 = c4593bdB.e; try { Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj3 = xzZ.y.get(-1229953068); if (obj3 == null) { Class cls3 = (Class) xzZ.c(401 - MotionEvent.axisFromString(""), 5 - View.MeasureSpec.getMode(0), (char) (21608 - TextUtils.getOffsetBefore("", 0))); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; g(b6, b7, (byte) (b7 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj3); } jArr[i7] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() % (b % (-6958928035870403642L)); try { Object[] objArr8 = {c4593bdB, c4593bdB}; Object obj4 = xzZ.y.get(-1143917229); if (obj4 == null) { Class cls4 = (Class) xzZ.c(237 - TextUtils.lastIndexOf("", '0'), 5 - View.MeasureSpec.getSize(0), (char) ((-1) - ImageFormat.getBitsPerPixel(0))); byte b8 = (byte) 0; byte b9 = (byte) (b8 + 1); Object[] objArr9 = new Object[1]; g(b8, b9, (byte) (-b9), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj4); } ((Method) obj4).invoke(null, objArr8); } 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[] cArr2 = new char[length]; c4593bdB.e = 0; while (c4593bdB.e < cArr.length) { cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr10 = {c4593bdB, c4593bdB}; Object obj5 = xzZ.y.get(-1143917229); if (obj5 == null) { Class cls5 = (Class) xzZ.c(238 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - Color.blue(0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16)); byte b10 = (byte) 0; byte b11 = (byte) (b10 + 1); Object[] objArr11 = new Object[1]; g(b10, b11, (byte) (-b11), objArr11); obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj5); } ((Method) obj5).invoke(null, objArr10); } objArr[0] = new String(cArr2); } public static /* synthetic */ C17728zKJ b(kQg kqg) { int i = 2 % 2; int i2 = e + 13; d = i2 % 128; int i3 = i2 % 2; C17728zKJ a = a(kqg); int i4 = d + 51; e = i4 % 128; int i5 = i4 % 2; return a; } }