package o; import com.google.common.base.Ascii; import com.google.gson.annotations.SerializedName; import com.kofax.kmc.kut.utilities.IpLibUtil; import java.util.List; import net.sf.scuba.smartcards.ISO7816; import org.bouncycastle.crypto.tls.AlertDescription; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes3.dex */ public final class qHb { @SerializedName("documentValidation") public final LWm a; @SerializedName("applicationExpiryDate") public final String b; @SerializedName("applicationUuid") public final String c; @SerializedName("requireIssuerFlag") public final int d; @SerializedName("documents") public final List e; /* loaded from: classes3.dex */ public static final class HBt { private static final byte[] k = {45, 6, -13, -19, 2, -7, -1, 3, -8, 4, -8, 5, -9, -1, 4, -9, -1, 5, -10, 8, -12, 8, -12, 9, -13, -1, 6, -11, 10, -14, -1, 7, -12, -1, 8, -13, 3, -3, -6, 3, -2, -7, -1, 9, -14, 3, -1, -8, -1, 10, -15, -1, 2, -3, -6, -1, 2, -2, -7, -1, 2, -1, -8, 10, -14, 3, 2, -11, 3, 3, -12, -1, 7, -12, -1, 8, -13, 3, 4, -13, 3, 5, -14, 3, -2, -7, -1, 9, -14, 8, -12, 3, 6, -15, -1, 2, 0, -9, -1, 2, 1, -10, -1, 2, 2, -11, -1, 3, -8, 4, -8, 5, -9, -1, 4, -9, -1, 5, -10, -1, 2, 3, -12, 5, -9, -1, 2, 4, -13, 4, -3, -7, -1, 2, 4, -13, -1, 2, 5, -14, 4, -2, -8, -1, 2, 6, -15, 4, -1, -9, -1, 2, 6, -15, -1, 2, -1, -8, -1, 2, -1, -11, 19, -23, -53, 60, -13, 11, -9, -59, 35, Ascii.US, -4, -11, 3, -9, -5, -6, -5, 9, -11, 19, -23, -53, 60, -13, 11, -9, -59, Ascii.EM, 35, 4, -17, 0, -4, 11, -23, 9, 7, -18, -24, Ascii.NAK, 3, 4, ISO7816.INS_CREATE_FILE, 9, 9, 7, -18, -11, 19, -23, -53, 60, -13, 11, -9, -59, Ascii.NAK, 49, -23, 0, 9, 2, -13, 4, -3}; private static final int l = 38; private static int n = 0; /* renamed from: o, reason: collision with root package name */ private static int f9244o = 1; @SerializedName("documentDesc") public final String a; @SerializedName("documentCode") public final String b; @SerializedName("documentDetail") public final String c; @SerializedName("iconPath") public final String d; @SerializedName("documentStatus") public final String e; @SerializedName("minQuantity") public final Integer f; @SerializedName("resubmitReasonDesc") public final String g; @SerializedName("uploadedQuantity") public final int h; @SerializedName("sortSequence") public final int i; @SerializedName("maxQuantity") public final Integer j; /* JADX WARN: Failed to find 'out' block for switch in B:16:0x0152. Please report as an issue. */ public static void b(long j, long j2) { Object[] objArr; Object[] objArr2; C16123lSd c16123lSd = new C16123lSd(j, j2); Object[] objArr3 = new Object[1]; m((short) 205, (short) CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, (byte) 73, objArr3); char c = 0; String str = (String) objArr3[0]; byte[] bArr = k; char c2 = 219; short s = (short) (bArr[219] - 1); char c3 = '`'; short s2 = bArr[96]; Object[] objArr4 = new Object[1]; m(s, s2, (byte) (s2 | 74), objArr4); try { Object[] objArr5 = {(String) objArr4[0]}; char c4 = 20; Object[] objArr6 = new Object[1]; m((short) (bArr[219] - 1), (short) (-bArr[50]), (byte) (-bArr[20]), objArr6); Class cls = Class.forName((String) objArr6[0]); Object[] objArr7 = new Object[1]; m((short) (l - 5), bArr[9], bArr[7], objArr7); String str2 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; m((short) (bArr[219] - 1), (short) (-bArr[50]), (byte) (-bArr[20]), objArr8); Object[] objArr9 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr8[0])).invoke(str, objArr5); int[] iArr = new int[objArr9.length]; int i = 0; while (i < objArr9.length) { Object[] objArr10 = {objArr9[i]}; short s3 = (short) 29; short s4 = (short) (s3 & AlertDescription.unrecognized_name); byte[] bArr2 = k; Object[] objArr11 = new Object[1]; m(s3, s4, (byte) (-bArr2[c4]), objArr11); Class cls2 = Class.forName((String) objArr11[c]); short s5 = (short) (-bArr2[2]); short s6 = bArr2[1]; byte b = bArr2[c3]; Object[] objArr12 = new Object[1]; m(s5, s6, b, objArr12); String str3 = (String) objArr12[c]; Object[] objArr13 = new Object[1]; m((short) (bArr2[c2] - 1), (short) (-bArr2[50]), (byte) (-bArr2[20]), objArr13); Object invoke = cls2.getMethod(str3, Class.forName((String) objArr13[0])).invoke(null, objArr10); Object[] objArr14 = new Object[1]; m(s3, s4, (byte) (-bArr2[20]), objArr14); Class cls3 = Class.forName((String) objArr14[0]); short s7 = bArr2[31]; Object[] objArr15 = new Object[1]; m(s7, s7, (byte) (-bArr2[2]), objArr15); iArr[i] = ((Integer) cls3.getMethod((String) objArr15[0], null).invoke(invoke, null)).intValue(); i++; c = 0; c2 = 219; c3 = '`'; c4 = 20; } int i2 = 0; while (true) { int i3 = i2 + 1; try { } catch (Throwable th) { th = th; } switch (c16123lSd.c(iArr[i2])) { case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */: i2 = 45; case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */: c16123lSd.c(20); int i4 = c16123lSd.d; i3 = 10; if (i4 != 38 && i4 == 85) { i2 = 21; } break; case IpLibUtil.KIPP_BAD_PDF /* -17 */: i2 = 40; case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */: c16123lSd.c(20); int i5 = c16123lSd.d; if (i5 != 0 && i5 == 1) { i2 = 1; } i2 = 35; break; case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */: i2 = 41; case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */: i2 = 43; case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */: c16123lSd.c(13); i2 = c16123lSd.d == 0 ? 34 : i3; case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */: c16123lSd.c(14); throw ((Throwable) c16123lSd.g); break; case -11: i2 = 46; case -10: i2 = 48; case -9: c16123lSd.c(13); if (c16123lSd.d == 0) { i2 = 19; } case -8: c16123lSd.c = 1; c16123lSd.c(4); try { c16123lSd.c(5); n = c16123lSd.d; } catch (Throwable th2) { th = th2; if (i3 >= 22 || i3 > 25) { byte[] bArr3 = k; objArr = new Object[1]; m(bArr3[96], (short) (-bArr3[199]), (byte) (-bArr3[20]), objArr); if (Class.forName((String) objArr[0]).isInstance(th) || i3 < 35 || i3 > 36) { objArr2 = new Object[1]; m(bArr3[96], (short) (-bArr3[199]), (byte) (-bArr3[20]), objArr2); if (Class.forName((String) objArr2[0]).isInstance(th) || i3 < 38 || i3 > 39) { throw th; } i3 = 50; c16123lSd.i = th; c16123lSd.c(24); } else { i3 = 51; } } else { i3 = 20; } c16123lSd.i = th; c16123lSd.c(24); } break; case -7: try { c16123lSd.c = f9244o; } catch (Throwable th3) { th = th3; } try { c16123lSd.c(9); } catch (Throwable th4) { th = th4; if (i3 >= 22) { } byte[] bArr32 = k; objArr = new Object[1]; m(bArr32[96], (short) (-bArr32[199]), (byte) (-bArr32[20]), objArr); if (Class.forName((String) objArr[0]).isInstance(th)) { } objArr2 = new Object[1]; m(bArr32[96], (short) (-bArr32[199]), (byte) (-bArr32[20]), objArr2); if (Class.forName((String) objArr2[0]).isInstance(th)) { } throw th; } break; case -6: return; case -5: i2 = 25; case -4: i2 = 12; case -3: c16123lSd.c = 1; c16123lSd.c(4); c16123lSd.c(5); C12910fKv.c(c16123lSd.d != 0); case -2: c16123lSd.i = C12910fKv.e; c16123lSd.c(1); case -1: i2 = 6; default: } } } catch (Throwable th5) { Throwable cause = th5.getCause(); if (cause == null) { throw th5; } throw cause; } } /* JADX WARN: Removed duplicated region for block: B:10:0x0021 */ /* JADX WARN: Removed duplicated region for block: B:7:0x0019 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0021 -> B:4:0x0026). 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 m(int r6, int r7, short r8, java.lang.Object[] r9) { /* int r8 = 118 - r8 byte[] r0 = o.qHb.HBt.k int r7 = r7 + 1 int r6 = 209 - r6 byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L11 r8 = r6 r4 = r7 r3 = r2 goto L26 L11: r3 = r2 L12: byte r4 = (byte) r8 r1[r3] = r4 int r3 = r3 + 1 if (r3 != r7) goto L21 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L21: r4 = r0[r6] r5 = r8 r8 = r6 r6 = r5 L26: int r6 = r6 + r4 int r8 = r8 + 1 int r6 = r6 + 2 r5 = r8 r8 = r6 r6 = r5 goto L12 */ throw new UnsupportedOperationException("Method not decompiled: o.qHb.HBt.m(int, int, short, java.lang.Object[]):void"); } public final String toString() { int i = this.i; String str = this.b; String str2 = this.a; String str3 = this.c; String str4 = this.e; String str5 = this.g; String str6 = this.d; Integer num = this.f; Integer num2 = this.j; int i2 = this.h; StringBuilder sb = new StringBuilder("HMLDocumentTypesEntity(sortSequence="); sb.append(i); sb.append(", documentCode="); sb.append(str); sb.append(", documentDesc="); sb.append(str2); sb.append(", documentDetail="); sb.append(str3); sb.append(", documentStatus="); sb.append(str4); sb.append(", resubmitReasonDesc="); sb.append(str5); sb.append(", iconPath="); sb.append(str6); sb.append(", minQuantity="); sb.append(num); sb.append(", maxQuantity="); sb.append(num2); sb.append(", uploadedQuantity="); sb.append(i2); sb.append(")"); return sb.toString(); } public final int hashCode() { int hashCode = Integer.hashCode(this.i); int hashCode2 = this.b.hashCode(); int hashCode3 = this.a.hashCode(); String str = this.c; int hashCode4 = str == null ? 0 : str.hashCode(); int hashCode5 = this.e.hashCode(); String str2 = this.g; int hashCode6 = str2 == null ? 0 : str2.hashCode(); int hashCode7 = this.d.hashCode(); Integer num = this.f; int hashCode8 = num == null ? 0 : num.hashCode(); Integer num2 = this.j; return (((((((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + hashCode8) * 31) + (num2 != null ? num2.hashCode() : 0)) * 31) + Integer.hashCode(this.h); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof HBt)) { return false; } HBt hBt = (HBt) obj; return this.i == hBt.i && C14957gcv.b((Object) this.b, (Object) hBt.b) && C14957gcv.b((Object) this.a, (Object) hBt.a) && C14957gcv.b((Object) this.c, (Object) hBt.c) && C14957gcv.b((Object) this.e, (Object) hBt.e) && C14957gcv.b((Object) this.g, (Object) hBt.g) && C14957gcv.b((Object) this.d, (Object) hBt.d) && C14957gcv.b(this.f, hBt.f) && C14957gcv.b(this.j, hBt.j) && this.h == hBt.h; } } /* loaded from: classes3.dex */ public static final class LWm { @SerializedName("maxSize") public final int a; @SerializedName("maxAmount") public final int e; public final String toString() { int i = this.a; int i2 = this.e; StringBuilder sb = new StringBuilder("HMLDocumentValidationEntity(maxSize="); sb.append(i); sb.append(", maxAmount="); sb.append(i2); sb.append(")"); return sb.toString(); } public final int hashCode() { return (Integer.hashCode(this.a) * 31) + Integer.hashCode(this.e); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof LWm)) { return false; } LWm lWm = (LWm) obj; return this.a == lWm.a && this.e == lWm.e; } } /* loaded from: classes3.dex */ public static final class RVV { @SerializedName("types") public final List a; @SerializedName("groupConditionDesc") public final String b; @SerializedName("groupConditionCode") public final String c; public final String toString() { String str = this.c; String str2 = this.b; List list = this.a; StringBuilder sb = new StringBuilder("HMLDocumentEntity(groupConditionCode="); sb.append(str); sb.append(", groupConditionDesc="); sb.append(str2); sb.append(", types="); sb.append(list); sb.append(")"); return sb.toString(); } public final int hashCode() { return (((this.c.hashCode() * 31) + this.b.hashCode()) * 31) + this.a.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof RVV)) { return false; } RVV rvv = (RVV) obj; return C14957gcv.b((Object) this.c, (Object) rvv.c) && C14957gcv.b((Object) this.b, (Object) rvv.b) && C14957gcv.b(this.a, rvv.a); } } public final String toString() { String str = this.c; List list = this.e; String str2 = this.b; LWm lWm = this.a; int i = this.d; StringBuilder sb = new StringBuilder("HMLDocumentUploadsEntity(applicationUuid="); sb.append(str); sb.append(", documents="); sb.append(list); sb.append(", applicationExpiryDate="); sb.append(str2); sb.append(", documentValidation="); sb.append(lWm); sb.append(", requireIssuerFlag="); sb.append(i); sb.append(")"); return sb.toString(); } public final int hashCode() { return (((((((this.c.hashCode() * 31) + this.e.hashCode()) * 31) + this.b.hashCode()) * 31) + this.a.hashCode()) * 31) + Integer.hashCode(this.d); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof qHb)) { return false; } qHb qhb = (qHb) obj; return C14957gcv.b((Object) this.c, (Object) qhb.c) && C14957gcv.b(this.e, qhb.e) && C14957gcv.b((Object) this.b, (Object) qhb.b) && C14957gcv.b(this.a, qhb.a) && this.d == qhb.d; } }