package o; import android.graphics.Color; import android.graphics.ImageFormat; import android.text.TextUtils; import android.view.Gravity; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.gson.annotations.SerializedName; import io.beid.beidk.definitions.BeIDParams; import io.swagger.annotations.ApiModelProperty; import java.lang.reflect.Method; import java.math.BigDecimal; import java.util.List; import java.util.Objects; import org.threeten.bp.OffsetDateTime; /* renamed from: o.fQo, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public class C13101fQo { private static final byte[] $$a = {82, -108, -39, 86}; private static final int $$b = 43; private static int $10 = 0; private static int $11 = 1; private static int j = 0; private static int n = 1; private static char h = 44387; private static char i = 30435; private static char f = 34813; private static char g = 55995; @SerializedName(BeIDParams.BEID_TRANSACTION_ID) private String c = null; @SerializedName("livenessActivity") private List a = null; @SerializedName("livenessAcceptance") private Integer e = null; @SerializedName("serverTimestamp") private OffsetDateTime b = null; @SerializedName("timeout") private OffsetDateTime d = null; /* 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:0x0030). 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 l(short r6, byte r7, byte r8, java.lang.Object[] r9) { /* int r6 = r6 * 4 int r0 = 1 - r6 int r7 = r7 * 2 int r7 = 3 - r7 byte[] r1 = o.C13101fQo.$$a int r8 = 67 - r8 byte[] r0 = new byte[r0] r2 = 0 int r6 = 0 - r6 if (r1 != 0) goto L17 r3 = r6 r8 = r7 r4 = r2 goto L30 L17: r3 = r2 L18: int r7 = r7 + 1 byte r4 = (byte) r8 r0[r3] = r4 if (r3 != r6) goto L27 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L27: int r3 = r3 + 1 r4 = r1[r7] r5 = r8 r8 = r7 r7 = r4 r4 = r3 r3 = r5 L30: int r7 = -r7 int r7 = r7 + r3 r3 = r4 r5 = r8 r8 = r7 r7 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C13101fQo.l(short, byte, byte, java.lang.Object[]):void"); } private static void k(char[] cArr, int i2, Object[] objArr) { int i3 = 2; int i4 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i5 = 0; jtb.b = 0; char[] cArr3 = new char[2]; while (jtb.b < cArr.length) { cArr3[i5] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i6 = $10 + 67; $11 = i6 % 128; int i7 = i6 % i3; int i8 = 58224; int i9 = i5; while (i9 < 16) { char c = cArr3[1]; char c2 = cArr3[i5]; int i10 = (c2 + i8) ^ ((c2 << 4) + ((char) (f ^ 41718355337583039L))); int i11 = c2 >>> 5; try { Object[] objArr2 = new Object[4]; objArr2[3] = Integer.valueOf(g); objArr2[i3] = Integer.valueOf(i11); objArr2[1] = Integer.valueOf(i10); objArr2[i5] = Integer.valueOf(c); Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(Color.rgb(i5, i5, i5) + 16777628, 5 - TextUtils.indexOf("", "", i5), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L))); byte b = (byte) i5; byte b2 = b; Object[] objArr3 = new Object[1]; l(b, b2, (byte) (b2 + 1), objArr3); String str = (String) objArr3[i5]; Class[] clsArr = new Class[4]; clsArr[i5] = Integer.TYPE; clsArr[1] = Integer.TYPE; clsArr[2] = Integer.TYPE; clsArr[3] = Integer.TYPE; obj = cls.getMethod(str, clsArr); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr3[1] = charValue; char[] cArr4 = cArr3; Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (h ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(i)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 412, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; l(b3, b4, (byte) (b4 + 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i8 -= 40503; i9++; int i12 = $11 + 91; $10 = i12 % 128; if (i12 % 2 != 0) { int i13 = 3 / 5; } cArr3 = cArr4; i3 = 2; i5 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr5 = cArr3; cArr2[jtb.b] = cArr5[0]; cArr2[jtb.b + 1] = cArr5[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 98, ImageFormat.getBitsPerPixel(0) + 6, (char) Gravity.getAbsoluteGravity(0, 0)); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr7 = new Object[1]; l(b5, b6, b6, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); cArr3 = cArr5; i3 = 2; i5 = 0; } String str2 = new String(cArr2, 0, i2); int i14 = $11 + 13; $10 = i14 % 128; if (i14 % 2 == 0) { objArr[0] = str2; } else { int i15 = 16 / 0; objArr[0] = str2; } } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object b(Object[] objArr) { C13101fQo c13101fQo = (C13101fQo) objArr[0]; int i2 = 2 % 2; int i3 = n; int i4 = i3 + 23; j = i4 % 128; int i5 = i4 % 2; String str = c13101fQo.c; if (i5 != 0) { int i6 = 87 / 0; } int i7 = i3 + 79; j = i7 % 128; int i8 = i7 % 2; return str; } public String toString() { int i2 = 2 % 2; StringBuilder sb = new StringBuilder("class TransactionBeginResult {\n transactionId: "); sb.append(d(this.c)); sb.append("\n livenessActivity: "); sb.append(d(this.a)); sb.append("\n livenessAcceptance: "); sb.append(d(this.e)); sb.append("\n serverTimestamp: "); sb.append(d(this.b)); sb.append("\n timeout: "); sb.append(d(this.d)); sb.append("\n}"); String obj = sb.toString(); int i3 = j + 37; n = i3 % 128; int i4 = i3 % 2; return obj; } public int hashCode() { int i2 = 2 % 2; int i3 = j + 71; n = i3 % 128; int i4 = i3 % 2; int hash = Objects.hash(this.c, this.a, this.e, this.b, this.d); int i5 = n + 59; j = i5 % 128; if (i5 % 2 == 0) { return hash; } Object obj = null; obj.hashCode(); throw null; } public boolean equals(Object obj) { int i2 = 2 % 2; int i3 = j + 99; n = i3 % 128; int i4 = i3 % 2; if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } C13101fQo c13101fQo = (C13101fQo) obj; if (Objects.equals(this.c, c13101fQo.c)) { int i5 = j + 69; n = i5 % 128; int i6 = i5 % 2; if (Objects.equals(this.a, c13101fQo.a) && Objects.equals(this.e, c13101fQo.e) && Objects.equals(this.b, c13101fQo.b) && Objects.equals(this.d, c13101fQo.d)) { return true; } } return false; } @ApiModelProperty("timeout") public final OffsetDateTime e() { int i2 = 2 % 2; int i3 = n + 109; j = i3 % 128; if (i3 % 2 == 0) { return this.d; } Object obj = null; obj.hashCode(); throw null; } @ApiModelProperty("serverTimestamp") public final OffsetDateTime b() { OffsetDateTime offsetDateTime; int i2 = 2 % 2; int i3 = j + 61; int i4 = i3 % 128; n = i4; if (i3 % 2 == 0) { offsetDateTime = this.b; int i5 = 39 / 0; } else { offsetDateTime = this.b; } int i6 = i4 + 77; j = i6 % 128; int i7 = i6 % 2; return offsetDateTime; } @ApiModelProperty("Liveness Acceptance") public final Integer d() { int i2 = 2 % 2; int i3 = n + 99; int i4 = i3 % 128; j = i4; if (i3 % 2 != 0) { throw null; } Integer num = this.e; int i5 = i4 + 99; n = i5 % 128; int i6 = i5 % 2; return num; } @ApiModelProperty("Liveness Activity") public final List c() { int i2 = 2 % 2; int i3 = n + 7; j = i3 % 128; int i4 = i3 % 2; List list = this.a; if (i4 != 0) { int i5 = 40 / 0; } return list; } @ApiModelProperty("Transaction Id") public final String a() { System.identityHashCode(this); return (String) b(new Object[]{this}); } private static String d(Object obj) { int i2 = 2 % 2; int i3 = n + 79; j = i3 % 128; if (i3 % 2 != 0) { throw null; } if (obj != null) { return obj.toString().replace("\n", "\n "); } Object[] objArr = new Object[1]; k(new char[]{51070, 62528, 2938, 22038}, View.MeasureSpec.makeMeasureSpec(0, 0) + 4, objArr); String intern = ((String) objArr[0]).intern(); int i4 = n + 91; j = i4 % 128; int i5 = i4 % 2; return intern; } }