package o; import com.kofax.kmc.kut.utilities.IpLibUtil; import com.scb.phone.domain.entity.isprint.E2EEEncryptionException; /* loaded from: classes3.dex */ public class Tve extends wRi { private static int c = 0; private static int d = 1; public final YpF a; private C12889fKa b; public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) { int i4 = ~i; int i5 = ~i2; int i6 = (i * (-209)) + (i2 * (-209)) + ((~(i4 | i5)) * 210); int i7 = ~i3; int i8 = i6 + (((~(i5 | i7)) | (~(i4 | i3))) * 210) + (((~(i | i5 | i3)) | (~(i2 | i4 | i7))) * 210); return i8 != 1 ? i8 != 2 ? i8 != 3 ? d(objArr) : b(objArr) : e(objArr) : a(objArr); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public Tve(YpF ypF, yRw yrw, yRw yrw2) { super(yrw, yrw2); C14957gcv.e(ypF, ""); this.a = ypF; this.b = new C12889fKa(new C15110ghY(new YWp()), ypF); } /* loaded from: classes3.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } private static /* synthetic */ Object e(Object[] objArr) { Tve tve = (Tve) objArr[0]; String str = (String) objArr[1]; int i = 2 % 2; int i2 = d; int i3 = (((i2 | 40) << 1) - (i2 ^ 40)) - 1; c = i3 % 128; return (String) (i3 % 2 != 0 ? b(new Object[]{tve, str, false}, 1337328243, -1337328242, System.identityHashCode(tve)) : b(new Object[]{tve, str, false}, 1337328243, -1337328242, System.identityHashCode(tve))); } private static /* synthetic */ Object a(Object[] objArr) { Tve tve = (Tve) objArr[0]; String str = (String) objArr[1]; boolean booleanValue = ((Boolean) objArr[2]).booleanValue(); int i = 2 % 2; int i2 = c; int i3 = (i2 ^ 31) + ((i2 & 31) << 1); d = i3 % 128; if (i3 % 2 == 0) { tve.a.b(); throw null; } xWw b = tve.a.b(); if (b == null) { int i4 = d; int i5 = i4 & 47; int i6 = (i4 | 47) & (~i5); int i7 = -(-(i5 << 1)); int i8 = (i6 ^ i7) + ((i6 & i7) << 1); int i9 = i8 % 128; c = i9; if (i8 % 2 != 0) { int i10 = 88 / 0; } int i11 = ((i9 ^ 7) | (i9 & 7)) << 1; int i12 = -(((~i9) & 7) | (i9 & (-8))); int i13 = ((i11 | i12) << 1) - (i12 ^ i11); d = i13 % 128; int i14 = i13 % 2; return ""; } C12889fKa c12889fKa = tve.b; if (str == null) { int i15 = c; int i16 = (i15 & 59) + (i15 | 59); int i17 = i16 % 128; d = i17; int i18 = i16 % 2; int i19 = i17 & 15; int i20 = -(-((i17 ^ 15) | i19)); int i21 = (i19 & i20) + (i20 | i19); c = i21 % 128; int i22 = i21 % 2; str = ""; } String str2 = (String) C12889fKa.c(new Object[]{c12889fKa, str, b, Boolean.valueOf(booleanValue)}, 1214279282, -1214279276, System.identityHashCode(c12889fKa)); C12889fKa c12889fKa2 = tve.b; if (!((Boolean) C12889fKa.c(new Object[]{c12889fKa2}, 1634108425, -1634108421, System.identityHashCode(c12889fKa2))).booleanValue()) { throw new E2EEEncryptionException(); } int i23 = c; int i24 = i23 & 67; int i25 = -(-(i23 | 67)); int i26 = ((i24 | i25) << 1) - (i25 ^ i24); d = i26 % 128; if (i26 % 2 == 0) { int i27 = 33 / 0; } return str2; } private static /* synthetic */ Object d(Object[] objArr) { Tve tve = (Tve) objArr[0]; String str = (String) objArr[1]; String str2 = (String) objArr[2]; int i = 2 % 2; int i2 = d; int i3 = (((i2 ^ 103) | (i2 & 103)) << 1) - (((~i2) & 103) | (i2 & IpLibUtil.KIPP_BARCODE_DRIVER_FAIL)); c = i3 % 128; int i4 = i3 % 2; xWw b = tve.a.b(); Object obj = null; if (b != null) { C12889fKa c12889fKa = tve.b; if (str == null) { int i5 = d; int i6 = ((i5 & 64) + (i5 | 64)) - 1; c = i6 % 128; if (i6 % 2 != 0) { throw null; } System.identityHashCode(tve); System.identityHashCode(tve); str = ""; } String str3 = (String) C12889fKa.c(new Object[]{c12889fKa, str, b, str2}, 614286795, -614286794, System.identityHashCode(c12889fKa)); C12889fKa c12889fKa2 = tve.b; int i7 = c; int i8 = i7 & 101; int i9 = i8 + ((i7 ^ 101) | i8); d = i9 % 128; int i10 = i9 % 2; if (((Boolean) C12889fKa.c(new Object[]{c12889fKa2}, 1634108425, -1634108421, System.identityHashCode(c12889fKa2))).booleanValue()) { int i11 = d; int i12 = i11 & 41; int i13 = (((i11 | 41) & (~i12)) - (~(-(-(i12 << 1))))) - 1; c = i13 % 128; if (i13 % 2 != 0) { int i14 = 48 / 0; } return str3; } throw new E2EEEncryptionException(); } int i15 = c; int i16 = ((i15 ^ 2) + ((i15 & 2) << 1)) - 1; d = i16 % 128; if (i16 % 2 != 0) { return ""; } obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:18:0x00c7, code lost: if (((java.lang.Boolean) o.C12889fKa.c(new java.lang.Object[]{r1}, 1634108425, -1634108421, java.lang.System.identityHashCode(r1))).booleanValue() != false) goto L51; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x00f7, code lost: throw new com.scb.phone.domain.entity.isprint.E2EEEncryptionException(); */ /* JADX WARN: Code restructure failed: missing block: B:21:0x00de, code lost: r0 = o.Tve.d; r1 = ((r0 | 97) << 1) - (r0 ^ 97); o.Tve.c = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x00eb, code lost: if ((r1 % 2) != 0) goto L54; */ /* JADX WARN: Code restructure failed: missing block: B:23:0x00ed, code lost: return r10; */ /* JADX WARN: Code restructure failed: missing block: B:24:0x00ee, code lost: r7.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:25:0x00f1, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:27:0x00dc, code lost: if (((java.lang.Boolean) o.C12889fKa.c(new java.lang.Object[]{r1}, 1634108425, -1634108421, java.lang.System.identityHashCode(r1))).booleanValue() != false) goto L51; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object b(java.lang.Object[] r10) { /* Method dump skipped, instructions count: 248 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.Tve.b(java.lang.Object[]):java.lang.Object"); } public final String d(String str, String str2) throws Exception { return (String) b(new Object[]{this, str, str2}, -1963338944, 1963338944, System.identityHashCode(this)); } public final String b(String str) throws Exception { return (String) b(new Object[]{this, str}, -1068249846, 1068249849, System.identityHashCode(this)); } public final String a(String str, boolean z) throws Exception { return (String) b(new Object[]{this, str, Boolean.valueOf(z)}, 1337328243, -1337328242, System.identityHashCode(this)); } public static /* synthetic */ String d(Tve tve, String str) throws Exception { return (String) b(new Object[]{tve, str}, 578175914, -578175912, (int) System.currentTimeMillis()); } static { new Sts((byte) 0); int i = d + 75; c = i % 128; if (i % 2 != 0) { int i2 = 4 / 0; } } }