package o; import android.graphics.Color; import android.os.Process; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import com.google.common.base.Ascii; import com.google.gson.annotations.SerializedName; import io.beid.beidk.definitions.BeIDParams; import io.swagger.annotations.ApiModel; import java.lang.reflect.Method; import java.util.Objects; import net.sf.scuba.smartcards.ISOFileInfo; import org.bouncycastle.crypto.signers.PSSSigner; @ApiModel(description = "Face picture for identity matching") /* renamed from: o.fQl, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public class C13098fQl { private static final byte[] $$a = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN}; private static final int $$b = 97; private static int $10 = 0; private static int $11 = 1; private static int g = 0; private static int f = 1; private static char e = 24992; private static char b = 16516; private static char c = 40918; private static char i = 63061; @SerializedName(BeIDParams.BEID_TRANSACTION_ID) private String d = null; @SerializedName("faceSelfie") private String a = 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:0x002c). 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 j(short r7, byte r8, byte r9, java.lang.Object[] r10) { /* int r9 = r9 * 3 int r9 = 3 - r9 int r8 = 67 - r8 int r7 = r7 * 2 int r7 = 1 - r7 byte[] r0 = o.C13098fQl.$$a byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L15 r3 = r7 r8 = r9 r4 = r2 goto L2c L15: r3 = r2 L16: int r9 = r9 + 1 int r4 = r3 + 1 byte r5 = (byte) r8 r1[r3] = r5 if (r4 != r7) goto L27 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L27: r3 = r0[r9] r6 = r9 r9 = r8 r8 = r6 L2c: int r3 = -r3 int r9 = r9 + r3 r3 = r4 r6 = r9 r9 = r8 r8 = r6 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: o.C13098fQl.j(short, byte, byte, java.lang.Object[]):void"); } private static void h(char[] cArr, int i2, Object[] objArr) { int i3 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i4 = 0; jtb.b = 0; char[] cArr3 = new char[2]; int i5 = $11 + 125; $10 = i5 % 128; int i6 = i5 % 2; while (jtb.b < cArr.length) { cArr3[i4] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i7 = 58224; int i8 = i4; while (i8 < 16) { int i9 = $11 + 47; $10 = i9 % 128; int i10 = i9 % 2; char c2 = cArr3[1]; char c3 = cArr3[i4]; char[] cArr4 = cArr3; try { Object[] objArr2 = {Integer.valueOf(c2), Integer.valueOf((c3 + i7) ^ ((c3 << 4) + ((char) (c ^ 41718355337583039L)))), Integer.valueOf(c3 >>> 5), Integer.valueOf(i)}; Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(412 - View.getDefaultSize(0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) Color.green(0)); byte b2 = (byte) 0; byte b3 = (byte) (b2 + 1); Object[] objArr3 = new Object[1]; j(b2, b3, (byte) (b3 - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr4[1] = charValue; Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (e ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(b)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c(Color.alpha(0) + 412, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 1); Object[] objArr5 = new Object[1]; j(b4, b5, (byte) (b5 - 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(); i7 -= 40503; i8++; cArr3 = cArr4; i4 = 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(98 - TextUtils.getOffsetBefore("", 0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) View.combineMeasuredStates(0, 0)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; j(b6, b7, b7, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); cArr3 = cArr5; i4 = 0; } objArr[0] = new String(cArr2, 0, i2); } public String toString() { int i2 = 2 % 2; StringBuilder sb = new StringBuilder("class FaceMatchingForm {\n transactionId: "); sb.append(d((Object) this.d)); sb.append("\n faceSelfie: "); sb.append(d((Object) this.a)); sb.append("\n}"); String obj = sb.toString(); int i3 = f + 31; g = i3 % 128; if (i3 % 2 == 0) { return obj; } throw null; } public int hashCode() { int i2 = 2 % 2; int i3 = g + 9; f = i3 % 128; int i4 = i3 % 2; String str = this.d; if (i4 != 0) { return Objects.hash(str, this.a); } String str2 = this.a; Object[] objArr = new Object[3]; objArr[0] = str; objArr[1] = str2; return Objects.hash(objArr); } public boolean equals(Object obj) { int i2 = 2 % 2; if (this == obj) { int i3 = f + 33; g = i3 % 128; return i3 % 2 == 0; } if (obj != null) { int i4 = g + 87; f = i4 % 128; if (i4 % 2 == 0) { obj.getClass(); throw null; } if (getClass() == obj.getClass()) { C13098fQl c13098fQl = (C13098fQl) obj; boolean z = Objects.equals(this.d, c13098fQl.d) && Objects.equals(this.a, c13098fQl.a); int i5 = g + 33; f = i5 % 128; int i6 = i5 % 2; return z; } } return false; } public final C13098fQl d(String str) { int i2 = 2 % 2; int i3 = f + 105; int i4 = i3 % 128; g = i4; int i5 = i3 % 2; this.a = str; if (i5 != 0) { int i6 = 46 / 0; } int i7 = i4 + 21; f = i7 % 128; int i8 = i7 % 2; return this; } public final C13098fQl b(String str) { int i2 = 2 % 2; int i3 = g; int i4 = i3 + 85; f = i4 % 128; int i5 = i4 % 2; this.d = str; int i6 = i3 + 27; f = i6 % 128; int i7 = i6 % 2; return this; } private static String d(Object obj) { Object obj2; int i2 = 2 % 2; int i3 = f + 103; int i4 = i3 % 128; g = i4; int i5 = i3 % 2; if (obj != null) { return obj.toString().replace("\n", "\n "); } int i6 = i4 + 15; f = i6 % 128; if (i6 % 2 == 0) { Object[] objArr = new Object[1]; h(new char[]{32996, 62170, 41970, 23831}, 5 - Process.getGidForName(""), objArr); obj2 = objArr[0]; } else { Object[] objArr2 = new Object[1]; h(new char[]{32996, 62170, 41970, 23831}, 3 - Process.getGidForName(""), objArr2); obj2 = objArr2[0]; } return ((String) obj2).intern(); } }