package o; import java.util.Properties; /* renamed from: o.ghY, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15110ghY implements InterfaceC11860enM { private static int a = 0; private static int d = 1; private final YWp c; public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = ~i2; int i5 = (i * 319) + (i2 * (-317)) + (((~((~i) | i3)) | i4) * (-318)); int i6 = ~(i4 | i3); int i7 = ~i3; int i8 = i5 + ((i6 | (~(i7 | i | i2))) * 318) + (((~(i | i2 | i3)) | (~(i4 | i7 | i))) * 318); return i8 != 1 ? i8 != 2 ? i8 != 3 ? i8 != 4 ? c(objArr) : e(objArr) : b(objArr) : d(objArr) : a(objArr); } @InterfaceC13391fZD public C15110ghY(YWp yWp) { C14957gcv.e(yWp, ""); this.c = yWp; } private static /* synthetic */ Object b(Object[] objArr) { C15110ghY c15110ghY = (C15110ghY) objArr[0]; byte byteValue = ((Byte) objArr[1]).byteValue(); String str = (String) objArr[2]; String str2 = (String) objArr[3]; String str3 = (String) objArr[4]; String str4 = (String) objArr[5]; int i = 2 % 2; int i2 = a; int i3 = i2 & 67; int i4 = (i2 ^ 67) | i3; int i5 = ((i3 | i4) << 1) - (i4 ^ i3); d = i5 % 128; Object obj = null; if (i5 % 2 == 0) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); obj.hashCode(); throw null; } C14957gcv.e(str, ""); C14957gcv.e(str2, ""); C14957gcv.e(str3, ""); C14957gcv.e(str4, ""); int i6 = a; int i7 = (i6 ^ 91) + ((i6 & 91) << 1); d = i7 % 128; if (i7 % 2 == 0) { c15110ghY.c.d(byteValue, str, str2, str3, str4); throw null; } String d2 = c15110ghY.c.d(byteValue, str, str2, str3, str4); int i8 = a; int i9 = ((i8 & 18) + (i8 | 18)) - 1; d = i9 % 128; if (i9 % 2 == 0) { int i10 = 12 / 0; } return d2; } private static /* synthetic */ Object e(Object[] objArr) { YWp yWp; C15110ghY c15110ghY = (C15110ghY) objArr[0]; byte byteValue = ((Byte) objArr[1]).byteValue(); String str = (String) objArr[2]; String str2 = (String) objArr[3]; String str3 = (String) objArr[4]; String str4 = (String) objArr[5]; int i = 2 % 2; int i2 = a; int i3 = ((i2 ^ 64) + ((i2 & 64) << 1)) - 1; d = i3 % 128; int i4 = i3 % 2; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); int i5 = a; int i6 = (-2) - (((i5 & 108) + (i5 | 108)) ^ (-1)); d = i6 % 128; if (i6 % 2 == 0) { C14957gcv.e(str3, ""); C14957gcv.e(str4, ""); yWp = c15110ghY.c; int i7 = 77 / 0; } else { C14957gcv.e(str3, ""); C14957gcv.e(str4, ""); yWp = c15110ghY.c; } Properties properties = new Properties(); int i8 = d; int i9 = (((i8 | 92) << 1) - (i8 ^ 92)) - 1; a = i9 % 128; Object obj = null; if (i9 % 2 != 0) { properties.setProperty("AlgorithmID", Integer.toHexString(byteValue)); throw null; } properties.setProperty("AlgorithmID", Integer.toHexString(byteValue)); int i10 = a; int i11 = (i10 ^ 17) + ((i10 & 17) << 1); d = i11 % 128; int i12 = i11 % 2; properties.setProperty("param_ISO_FORMAT_0_PAN", str4); int i13 = d; int i14 = (i13 & 125) + (i13 | 125); a = i14 % 128; int i15 = i14 % 2; String c = yWp.c(str3, str4, str2, properties); if (yWp.c == 0) { StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(','); int i16 = d; int i17 = (((i16 | 28) << 1) - (i16 ^ 28)) - 1; a = i17 % 128; if (i17 % 2 == 0) { sb.append(c); return sb.toString(); } sb.append(c); sb.toString(); throw null; } int i18 = a; int i19 = ((((i18 ^ 21) | (i18 & 21)) << 1) - (~(-(((~i18) & 21) | (i18 & (-22)))))) - 1; int i20 = i19 % 128; d = i20; int i21 = i19 % 2; int i22 = i20 & 125; int i23 = (i20 | 125) & (~i22); int i24 = -(-(i22 << 1)); int i25 = ((i23 | i24) << 1) - (i23 ^ i24); a = i25 % 128; if (i25 % 2 == 0) { return null; } obj.hashCode(); throw null; } private static /* synthetic */ Object a(Object[] objArr) { boolean z = false; C15110ghY c15110ghY = (C15110ghY) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int i = 2 % 2; int i2 = a; int i3 = (i2 & (-56)) | ((~i2) & 55); int i4 = -(-((i2 & 55) << 1)); int i5 = (i3 ^ i4) + ((i3 & i4) << 1); int i6 = i5 % 128; d = i6; int i7 = i5 % 2; YWp yWp = c15110ghY.c; if (intValue != 0) { int i8 = ((i2 & (-62)) | ((~i2) & 61)) + ((i2 & 61) << 1); d = i8 % 128; int i9 = i8 % 2; int i10 = i2 ^ 23; int i11 = ((i2 & 23) | i10) << 1; int i12 = -i10; int i13 = ((i11 | i12) << 1) - (i12 ^ i11); d = i13 % 128; int i14 = i13 % 2; z = true; } else { int i15 = (i6 ^ 95) + ((i6 & 95) << 1); a = i15 % 128; int i16 = i15 % 2; } int i17 = d; int i18 = ((i17 | 57) << 1) - (i17 ^ 57); a = i18 % 128; int i19 = i18 % 2; return Boolean.valueOf(z); } private static /* synthetic */ Object d(Object[] objArr) { int i; C15110ghY c15110ghY = (C15110ghY) objArr[0]; int i2 = 2 % 2; int i3 = d; int i4 = i3 & 107; int i5 = (i3 ^ 107) | i4; int i6 = ((i4 | i5) << 1) - (i5 ^ i4); a = i6 % 128; if (i6 % 2 != 0) { i = c15110ghY.c.c; int i7 = 30 / 0; } else { i = c15110ghY.c.c; } return Integer.valueOf(i); } /* JADX WARN: Code restructure failed: missing block: B:100:0x05e2, code lost: r3 = r4.getProperty("PinFormat"); r5 = 82 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:101:0x05ef, code lost: r5 = o.C15110ghY.a; r7 = ((r5 & (-50)) | ((~r5) & 49)) + ((r5 & 49) << 1); o.C15110ghY.d = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:102:0x05eb, code lost: r3 = r4.getProperty("PinFormat"); */ /* JADX WARN: Code restructure failed: missing block: B:103:0x05cd, code lost: if (r4 == null) goto L122; */ /* JADX WARN: Code restructure failed: missing block: B:104:0x044a, code lost: r4.getProperty("HASH_MODE"); r3 = new o.bFB(); r5 = o.C15110ghY.d; r9 = r5 & 95; r9 = (r9 - (~(-(-((r5 ^ 95) | r9))))) - 1; o.C15110ghY.a = r9 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:105:0x0465, code lost: if ((r9 % 2) != 0) goto L79; */ /* JADX WARN: Code restructure failed: missing block: B:106:0x0467, code lost: r0 = r3.d(r2, r7, r0, r4); r2 = r0.d; r6.c = r2; r3 = o.C15110ghY.d; r4 = (((r3 | 64) << 1) - (r3 ^ 64)) - 1; o.C15110ghY.a = r4 % 128; r4 = r4 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:107:0x047f, code lost: if (r2 != 0) goto L77; */ /* JADX WARN: Code restructure failed: missing block: B:108:0x0481, code lost: r2 = r3 & 3; r3 = r3 | 3; r4 = ((r2 | r3) << 1) - (r2 ^ r3); o.C15110ghY.a = r4 % 128; r4 = r4 % 2; r12 = r0.c; r0 = o.C15110ghY.a + 57; o.C15110ghY.d = r0 % 128; r0 = r0 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:109:0x049d, code lost: r0 = (r3 ^ 97) + ((r3 & 97) << 1); o.C15110ghY.a = r0 % 128; r0 = r0 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:110:0x04ae, code lost: r3.d(r2, r7, r0, r4); r0 = null; r0.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:111:0x04b5, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:113:0x0448, code lost: if ((!r4.containsKey("HASH_MODE")) != true) goto L72; */ /* JADX WARN: Code restructure failed: missing block: B:43:0x043f, code lost: if ((!r4.containsKey("HASH_MODE")) != true) goto L72; */ /* JADX WARN: Code restructure failed: missing block: B:45:0x04bb, code lost: if (r4.containsKey("PinFormat") == true) goto L111; */ /* JADX WARN: Code restructure failed: missing block: B:46:0x04bd, code lost: r5 = o.C15110ghY.d; r9 = r5 & 117; r5 = (r5 ^ 117) | r9; r10 = (r9 & r5) + (r5 | r9); o.C15110ghY.a = r10 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:47:0x04ce, code lost: if ((r10 % 2) != 0) goto L109; */ /* JADX WARN: Code restructure failed: missing block: B:48:0x04d0, code lost: r2 = r6.a(r2); */ /* JADX WARN: Code restructure failed: missing block: B:49:0x04d4, code lost: if (r2 == null) goto L97; */ /* JADX WARN: Code restructure failed: missing block: B:50:0x04d6, code lost: r5 = o.C15110ghY.a; r9 = (((r5 | 66) << 1) - (r5 ^ 66)) - 1; o.C15110ghY.d = r9 % 128; r9 = r9 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:51:0x04e8, code lost: if (r2.a == null) goto L96; */ /* JADX WARN: Code restructure failed: missing block: B:52:0x04ea, code lost: r9 = o.C15110ghY.d + 113; o.C15110ghY.a = r9 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:53:0x04f3, code lost: if ((r9 % 2) != 0) goto L94; */ /* JADX WARN: Code restructure failed: missing block: B:55:0x04f7, code lost: if (r2.e != null) goto L97; */ /* JADX WARN: Code restructure failed: missing block: B:56:0x04fa, code lost: r0 = r2.e; */ /* JADX WARN: Code restructure failed: missing block: B:57:0x04fd, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:58:0x04fe, code lost: r0 = o.C15110ghY.a; r2 = r0 ^ 47; r0 = (r0 & 47) << 1; r4 = (r2 ^ r0) + ((r0 & r2) << 1); o.C15110ghY.d = r4 % 128; r4 = r4 % 2; r12 = null; */ /* JADX WARN: Code restructure failed: missing block: B:74:0x0515, code lost: r5 = new o.C15605gzv(r2.e, r2.a); r2 = o.C15110ghY.a; r9 = r2 + 110; r10 = (r9 ^ (-1)) + (r9 << 1); o.C15110ghY.d = r10 % 128; r10 = r10 % 2; r10 = (r2 ^ 97) + ((r2 & 97) << 1); o.C15110ghY.d = r10 % 128; r10 = r10 % 2; r0 = r5.d(r7, r0, r3, r4); r6.c = r0; r2 = o.C15110ghY.a; r3 = r2 & 57; r3 = (r3 - (~(-(-((r2 ^ 57) | r3))))) - 1; o.C15110ghY.d = r3 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:75:0x0551, code lost: if ((r3 % 2) != 0) goto L102; */ /* JADX WARN: Code restructure failed: missing block: B:76:0x0553, code lost: r3 = 76 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:77:0x0557, code lost: if (r0 != 0) goto L108; */ /* JADX WARN: Code restructure failed: missing block: B:78:0x059c, code lost: r2 = r2 + 118; r0 = (r2 ^ (-1)) + (r2 << 1); o.C15110ghY.d = r0 % 128; r0 = r0 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:79:0x04aa, code lost: r12 = r23; */ /* JADX WARN: Code restructure failed: missing block: B:80:0x055c, code lost: r0 = new java.lang.StringBuilder(); r0.append(r5.e); r2 = o.C15110ghY.a; r3 = r2 & 1; r2 = (r2 | 1) & (~r3); r3 = r3 << 1; r4 = (r2 ^ r3) + ((r2 & r3) << 1); o.C15110ghY.d = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:81:0x057c, code lost: if ((r4 % 2) == 0) goto L106; */ /* JADX WARN: Code restructure failed: missing block: B:82:0x057e, code lost: r0.append(":"); r0.append(r5.d); r12 = r0.toString(); */ /* JADX WARN: Code restructure failed: missing block: B:83:0x058c, code lost: r0.append(":"); r0.append(r5.d); r0.toString(); r0 = null; r0.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:84:0x059b, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:85:0x055a, code lost: if (r0 != 0) goto L108; */ /* JADX WARN: Code restructure failed: missing block: B:86:0x05ab, code lost: r6.a(r2); r0 = null; r0.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:87:0x05b2, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:88:0x05b3, code lost: r3 = o.C15110ghY.d; r7 = (((r3 | 88) << 1) - (r3 ^ 88)) - 1; o.C15110ghY.a = r7 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:89:0x05c4, code lost: if ((r7 % 2) == 0) goto L116; */ /* JADX WARN: Code restructure failed: missing block: B:90:0x05c6, code lost: r7 = 30 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:91:0x05ca, code lost: if (r4 == null) goto L122; */ /* JADX WARN: Code restructure failed: missing block: B:92:0x0603, code lost: r3 = r3 + 109; o.C15110ghY.a = r3 % 128; r3 = r3 % 2; r3 = null; */ /* JADX WARN: Code restructure failed: missing block: B:94:0x0612, code lost: if ("SHA256".equals(r3) == false) goto L141; */ /* JADX WARN: Code restructure failed: missing block: B:95:0x0614, code lost: r12 = o.YWp.a(r2, r0, r4); */ /* JADX WARN: Code restructure failed: missing block: B:97:0x07b8, code lost: throw new java.security.NoSuchAlgorithmException("Unsupported PinFormat: ".concat(java.lang.String.valueOf(r3))); */ /* JADX WARN: Code restructure failed: missing block: B:98:0x05cf, code lost: r7 = r3 & 61; r3 = -(-((r3 ^ 61) | r7)); r9 = (r7 & r3) + (r3 | r7); o.C15110ghY.a = r9 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:99:0x05e0, code lost: if ((r9 % 2) == 0) goto L120; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object c(java.lang.Object[] r29) { /* Method dump skipped, instructions count: 1989 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C15110ghY.c(java.lang.Object[]):java.lang.Object"); } @Override // o.InterfaceC11860enM public final boolean b(int i) { return ((Boolean) c(new Object[]{this, Integer.valueOf(i)}, 76897290, -76897289, i)).booleanValue(); } @Override // o.InterfaceC11860enM public final int c() { return ((Integer) c(new Object[]{this}, 967752215, -967752213, System.identityHashCode(this))).intValue(); } @Override // o.InterfaceC11860enM public final String d(byte b, String str, String str2, String str3, String str4) { return (String) c(new Object[]{this, Byte.valueOf(b), str, str2, str3, str4}, 229391447, -229391443, System.identityHashCode(this)); } @Override // o.InterfaceC11860enM public final String b(byte b, String str, String str2, String str3, String str4) { return (String) c(new Object[]{this, Byte.valueOf(b), str, str2, str3, str4}, -633591630, 633591633, System.identityHashCode(this)); } @Override // o.InterfaceC11860enM public final String e(byte b, String str, String str2, String str3, String str4, String str5) { return (String) c(new Object[]{this, Byte.valueOf(b), str, str2, str3, str4, str5}, -2098865576, 2098865576, System.identityHashCode(this)); } }