package com.kofax.kmc.kut.utilities; import android.graphics.Color; import android.graphics.ImageFormat; import android.media.AudioTrack; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import com.kofax.kmc.kut.utilities.error.ErrorInfo; import com.kofax.kmc.kut.utilities.error.NullPointerException; import com.kofax.mobile.sdk.aa.d; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C4593bdB; import o.dQY; import o.xzZ; import o.zUI; /* loaded from: classes3.dex */ public class Licensing { /* loaded from: classes3.dex */ public enum LicenseServerType { RTTI, TotalAgility } /* loaded from: classes3.dex */ public enum LicenseType { IMAGE_CAPTURE, IMAGE_PROCESSING, BARCODE_CAPTURE, LOGISTICS, ID_EXTRACTION } /* loaded from: classes3.dex */ public interface VolumeLicenseEventListener { void licenseOperationFailed(VolumeLicenseFailureData volumeLicenseFailureData); void licenseOperationSucceeded(VolumeLicenseResultData volumeLicenseResultData); } public static int getDaysRemaining() { return d.getDaysRemaining(); } public static ErrorInfo setMobileSDKLicense(String str) { ErrorInfo aC; ErrorInfo errorInfo = ErrorInfo.KMC_SUCCESS; if (str == null) { d.qM(); throw new NullPointerException("'licenseStr' parameter is null"); } int init = IpLibUtil.init(str); if (init < 0) { aC = IpLibUtil.ipErrHashMap.get(Integer.valueOf(init)); } else if (init == 0) { aC = ErrorInfo.KMC_EV_LICENSE_EXPIRED; } else { d.p(init); aC = d.aC(IpLibUtil.aG()); } if (aC != ErrorInfo.KMC_SUCCESS) { d.qM(); } return aC; } /* loaded from: classes3.dex */ public static class VolumeLicenseFailureData { private static long a; private static char[] b; private static int d; private static long e; private static int g; public LicenseType licenseType; public ErrorInfo resultCode; private static final byte[] $$d = {105, ISOFileInfo.A5, 80, 53}; private static final int $$e = 113; private static int $10 = 0; private static int $11 = 1; private static final byte[] $$a = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17}; private static final int $$b = 85; private static int c = 0; private static void f(byte b2, byte b3, byte b4, Object[] objArr) { int i = 3 - (b3 * 3); int i2 = b4 + 97; byte[] bArr = $$a; int i3 = b2 * 3; byte[] bArr2 = new byte[i3 + 1]; int i4 = -1; if (bArr == null) { i2 = i3 + i2; } while (true) { i4++; bArr2[i4] = (byte) i2; i++; if (i4 == i3) { objArr[0] = new String(bArr2, 0); return; } i2 += bArr[i]; } } /* 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:0x002f). 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 k(byte r6, short r7, short r8, java.lang.Object[] r9) { /* int r6 = r6 * 3 int r6 = 3 - r6 int r8 = r8 + 69 byte[] r0 = com.kofax.kmc.kut.utilities.Licensing.VolumeLicenseFailureData.$$d int r7 = r7 * 4 int r1 = 1 - r7 byte[] r1 = new byte[r1] r2 = 0 int r7 = 0 - r7 if (r0 != 0) goto L17 r3 = r8 r4 = r2 r8 = r6 goto L2f L17: r3 = r2 L18: byte r4 = (byte) r8 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r7) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: int r6 = r6 + 1 r3 = r0[r6] r5 = r8 r8 = r6 r6 = r3 r3 = r5 L2f: int r6 = -r6 int r6 = r6 + r3 r3 = r4 r5 = r8 r8 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: com.kofax.kmc.kut.utilities.Licensing.VolumeLicenseFailureData.k(byte, short, short, java.lang.Object[]):void"); } private static void j(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; C4593bdB c4593bdB = new C4593bdB(); c4593bdB.a = i; int length = cArr.length; long[] jArr = new long[length]; c4593bdB.e = 0; int i3 = $10 + 67; $11 = i3 % 128; int i4 = i3 % 2; while (c4593bdB.e < cArr.length) { int i5 = c4593bdB.e; try { Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj = xzZ.y.get(-1229953068); if (obj == null) { Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 402, 4 - ImageFormat.getBitsPerPixel(0), (char) (KeyEvent.normalizeMetaState(0) + 21608)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; k(b2, b3, (byte) (b3 | 8), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (e ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(237 - TextUtils.indexOf((CharSequence) "", '0', 0), View.MeasureSpec.getSize(0) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; k(b4, b5, (byte) (b5 | 9), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $11 + 69; $10 = i6 % 128; if (i6 % 2 != 0) { int i7 = 5 % 4; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr2 = new char[length]; c4593bdB.e = 0; int i8 = $10 + 57; $11 = i8 % 128; int i9 = i8 % 2; while (c4593bdB.e < cArr.length) { int i10 = $11 + 51; $10 = i10 % 128; int i11 = i10 % 2; cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; try { Object[] objArr6 = {c4593bdB, c4593bdB}; Object obj3 = xzZ.y.get(-1143917229); if (obj3 == null) { Class cls3 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 238, ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; k(b6, b7, (byte) (b7 | 9), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr2); } private static void h(int i, int i2, char c2, Object[] objArr) { int i3 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; int i4 = $11 + 59; $10 = i4 % 128; int i5 = i4 % 2; while (dqy.a < i2) { int i6 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(b[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(Color.alpha(0) + 308, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 32796)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; k(b2, b3, (byte) (b3 | 29), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(a), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; k(b4, b5, (byte) (b5 | 30), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(407 - View.MeasureSpec.getMode(0), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 29234)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; k(b6, b7, (byte) (b7 | 37), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr = new char[i2]; dqy.a = 0; int i7 = $10 + 31; $11 = i7 % 128; int i8 = i7 % 2; while (dqy.a < i2) { int i9 = $10 + 83; $11 = i9 % 128; int i10 = i9 % 2; cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 == null) { Class cls4 = (Class) xzZ.c(407 - View.MeasureSpec.getSize(0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 29234)); byte b8 = (byte) 0; byte b9 = b8; Object[] objArr9 = new Object[1]; k(b8, b9, (byte) (b9 | 37), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } ((Method) obj4).invoke(null, objArr8); } objArr[0] = new String(cArr); } private static void i(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) { int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr2 = new char[i]; zui.d = 0; while (zui.d < i) { zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i2 + zui.c); int i5 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(d)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777359, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 7, (char) TextUtils.getOffsetBefore("", 0)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; k(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(341 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; k(b4, b5, (byte) (b5 | 7), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } if (i3 > 0) { int i6 = $11 + 49; $10 = i6 % 128; int i7 = i6 % 2; zui.a = i3; char[] cArr3 = new char[i]; System.arraycopy(cArr2, 0, cArr3, 0, i); System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a); System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a); } if (z) { int i8 = $11 + 93; $10 = i8 % 128; int i9 = i8 % 2; char[] cArr4 = new char[i]; zui.d = 0; while (zui.d < i) { cArr4[zui.d] = cArr2[(i - zui.d) - 1]; Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(342 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.MeasureSpec.makeMeasureSpec(0, 0)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; k(b6, b7, (byte) (b7 | 7), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } cArr2 = cArr4; } objArr[0] = new String(cArr2); } public VolumeLicenseFailureData(ErrorInfo errorInfo, LicenseType licenseType) { this.resultCode = errorInfo; this.licenseType = licenseType; } static void b() { b = new char[]{36768, 14637, 58076, 44042, 22003, 8048, 51414, 29269, 15155, 58544, 44567, 36768, 14627, 58012, 44033, 22010, 8055, 13244, 34097, 24256, 4110, 59900, 41841, 29898, 52811, 34605, 22698, 4672, 60301, 48503, 30445, 51290, 33243, 23203, 11376, 58755, 48927, 28896, 51819, 33736, 21855, 11821, 59306, 47387, 29324, 50283, 40428, 36861, 14631, 57990, 44033, 21949, 8043, 51420, 29259, 15142, 58605, 44574, 22414, 377, 51942, 29727, 15814, 59063, 36896, 22919, 773, 52469, 30307, 16336, 59726, 37431, 23532, 1280, 52865, 18819, 65280, 9394, 27195, 37836, 55637, 1785, 45156, 27612, 9539, 56508, 38441, 36798, 14637, 58005, 44054, 22003, 8037, 51414, 29196, 15136, 58529, 41085, 5871, 52546, 33758, 31295, 12476, 59139, 23958, 36768, 14631, 58015, 44045, 21991, 8044, 51398, 36769, 14634, 58013, 44053, 22015, 8035, 51394, 12546, 34706, 36769, 14646, 58003, 44048, 21990, 8029, 51397, 29259, 15142, 58538, 44589, 22414, 381, 51937, 29785, 15811, 59061, 36903, 22940, 790, 36769, 14627, 58012, 44043, 21990, 8043, 51400, 29255, 15136, 58607, 44545, 22422, 371, 51958, 29767, 15825, 50257, 29383, 43364, 59382, 7680, 21637, 33572, 14753, 28877, 36774, 14640, 58003, 44033, 22007, 8050, 51411, 29270, 15162, 58612, 36775, 14636, 57989, 44043, 22012, 8038, 51437, 29259, 15164, 58532, 44573, 37316, 10063, 64742, 45672, 19359, 261, 54926, 27699, 9556, 64198, 45134, 18920, 7967, 54407, 27198, 36775, 14636, 57989, 44043, 22012, 8038, 51437, 29265, 15147, 58543, 44560, 22413, 382, 51953, 36861, 14641, 57995, 44049, 21990, 8039, 51423, 29197, 15152, 58539, 44572, 22477, 48272, 2655, 53741, 40800, 26268, 11328, 64428, 16682, 2131, 55241, 40240, 25852, 12811, 63886, 18219, 3770, 54732, 36861, 14630, 58007, 44052, 36861, 14641, 57995, 44049, 21990, 8039, 51423, 29197, 15152, 58539, 44572, 9683, 37658, 18617, 1570, 65496, 46403, 25326, 55331, 37150, 20101, 1074, 36795, 14636, 58011, 44054, 21948, 8049, 51396, 29249, 15228, 58545, 44551, 22461, 374, 51939, 29783, 15823, 59069, 36908, 50377, 29202, 43431, 59170, 7879, 21529, 33770, 14713, 28677, 44951, 58666, 7417, 19012, 33247, 16232, 30393, 36861, 14641, 57995, 44049, 21990, 8039, 51423, 29197, 15152, 58539, 44572, 22477, 316, 51943, 29770, 15830, 59133, 38624, 8236, 64406, 46348, 19707, 1658, 53698, 27408, 8764, 64955, 46912, 20103, 6253, 54262, 27969, 9360, 36861, 14641, 57995, 44049, 21990, 8039, 51423, 29197, 15143, 58545, 44544, 22477, 357, 51943, 29727, 15820, 59063, 36903, 22934, 847, 52448, 30317, 16349, 59734, 37501, 63169, 16397, 39863, 54573, 11482, 26203, 45539, 2865, 16918, 40348, 55079, 11952, 30721, 36861, 14641, 57995, 44049, 21949, 8036, 51393, 29197, 15137, 58535, 44574, 22411, 380, 51959, 29770, 15757, 59042, 36909, 22942, 779, 52465, 30331}; a = 1455068230750714178L; d = 2015661654; } static { g = 1; b(); e = -3270846872027499550L; int i = c + 21; g = i % 128; int i2 = i % 2; } /* JADX WARN: Can't wrap try/catch for region: R(2:(3:380|381|(4:383|(4:386|387|(3:389|390|(2:392|393)(1:394))(1:398)|384)|399|400)(0))|401) */ /* JADX WARN: Code restructure failed: missing block: B:171:0x1f7c, code lost: if (((((int) (r13 >> 32)) & ((((-2090837814) + (((~(1335317401 | r3)) | 101909009) * 220)) + (((~(101909017 | r3)) | 1335317393) * (-440))) + ((1335317401 | r1) * 220))) | (((int) r13) & (((1019428157 + (((~((-1242890273) | r3)) | (~(r3 | (-4486)))) * (-184))) + ((((~(97170311 | r3)) | (-1340060584)) | (~(1340056098 | r3))) * org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256)) - 698642984))) == 0) goto L300; */ /* JADX WARN: Code restructure failed: missing block: B:432:0x26fb, code lost: r14.close(); */ /* JADX WARN: Code restructure failed: missing block: B:437:0x270d, code lost: if (r14 == null) goto L364; */ /* JADX WARN: Code restructure failed: missing block: B:552:0x0b8d, code lost: if (r2.equals(((java.lang.String) r6[0]).intern()) != false) goto L107; */ /* JADX WARN: Code restructure failed: missing block: B:568:0x0894, code lost: if (((((int) r2) & (((1467621527 + (((~((-269517065) | r7)) | (~((-34363985) | r1))) * (-302))) + ((~((-269517065) | r1)) * (-604))) + (((~((-303881049) | r1)) | 1098981377) * 302))) | (((int) (r2 >> 32)) & ((r8 + ((r6 | r9) * (-880))) + (r9 * 880)))) != (-1032769152)) goto L80; */ /* JADX WARN: Code restructure failed: missing block: B:576:0x099f, code lost: if (((((int) (r7 >> 32)) & ((1999938250 + (((~(r3 | 534796524)) | (-1072299263)) * (-160))) + ((534796524 | (~((-902429887) | r3))) * 160))) | (((int) r7) & ((((-501357939) + (((~(185708260 | r3)) | (-1268362982)) * org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256)) + ((~(1268362981 | r1)) * org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256)) + ((((~(r3 | 1251518149)) | 16844832) | (~((-1082654722) | r1))) * org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256)))) == 542074309) goto L88; */ /* JADX WARN: Code restructure failed: missing block: B:600:0x01ef, code lost: if ((r3 | (((int) r11) & ((((-1249278257) + (((~(1474227194 | r1)) | r6) * 590)) + (r6 * (-1180))) + (((~(r5 | 31345448)) | (~(1468571858 | r5))) * 590)))) != 0) goto L18; */ /* JADX WARN: Code restructure failed: missing block: B:95:0x14b9, code lost: if ((r2 | (((int) r10) & (((1063505451 + ((r4 | (~((-1611301381) | r6))) * (-406))) + ((~((-268763266) | r6)) * (-406))) + (((~(1880064645 | r1)) | (~(r6 | 442838235))) * 406)))) == 477111747) goto L156; */ /* JADX WARN: Removed duplicated region for block: B:101:0x1699 */ /* JADX WARN: Removed duplicated region for block: B:106:0x17ae */ /* JADX WARN: Removed duplicated region for block: B:110:0x1885 */ /* JADX WARN: Removed duplicated region for block: B:119:0x190f */ /* JADX WARN: Removed duplicated region for block: B:124:0x1a04 */ /* JADX WARN: Removed duplicated region for block: B:128:0x1aea */ /* JADX WARN: Removed duplicated region for block: B:141:0x1c86 */ /* JADX WARN: Removed duplicated region for block: B:152:0x1d82 */ /* JADX WARN: Removed duplicated region for block: B:154:0x1db5 */ /* JADX WARN: Removed duplicated region for block: B:174:0x2111 */ /* JADX WARN: Removed duplicated region for block: B:176:0x2144 */ /* JADX WARN: Removed duplicated region for block: B:46:0x09a7 */ /* JADX WARN: Removed duplicated region for block: B:510:0x1d7f A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:512:0x1a05 A[Catch: all -> 0x3835, TryCatch #15 {all -> 0x3835, blocks: (B:4:0x001c, B:7:0x0066, B:14:0x0244, B:17:0x029f, B:27:0x0348, B:30:0x03a7, B:32:0x03d5, B:35:0x042f, B:37:0x0438, B:40:0x04a4, B:47:0x09c7, B:50:0x0a1c, B:60:0x10b0, B:63:0x110b, B:73:0x11a3, B:76:0x1200, B:78:0x122a, B:81:0x1288, B:83:0x1291, B:86:0x12fc, B:90:0x13aa, B:93:0x1417, B:96:0x13c9, B:99:0x1686, B:102:0x16e9, B:104:0x179b, B:107:0x17fb, B:117:0x18fc, B:120:0x1950, B:122:0x19f1, B:125:0x1a4c, B:142:0x1c88, B:145:0x1cdc, B:177:0x217b, B:180:0x21d7, B:183:0x2216, B:186:0x227a, B:193:0x2552, B:196:0x25a5, B:229:0x28a7, B:232:0x2924, B:238:0x2a0c, B:241:0x2a5a, B:247:0x2b2f, B:250:0x2b8f, B:255:0x2c73, B:258:0x2cc6, B:264:0x2d92, B:267:0x2de7, B:272:0x2eb9, B:275:0x2f08, B:281:0x3017, B:284:0x3092, B:290:0x3193, B:293:0x31eb, B:300:0x32ab, B:303:0x32f9, B:308:0x32bb, B:309:0x33be, B:312:0x340f, B:317:0x34f6, B:320:0x3540, B:326:0x35ed, B:329:0x363b, B:335:0x370c, B:338:0x3766, B:340:0x3720, B:341:0x376e, B:344:0x37fb, B:347:0x379c, B:349:0x35fd, B:350:0x3506, B:351:0x33ce, B:352:0x31a7, B:353:0x3042, B:354:0x2ec9, B:355:0x2da2, B:356:0x2c83, B:357:0x2b47, B:358:0x2a1c, B:359:0x28d1, B:452:0x2566, B:454:0x222a, B:456:0x218f, B:509:0x1c9c, B:512:0x1a05, B:513:0x1910, B:514:0x17b1, B:515:0x169c, B:520:0x14ed, B:523:0x1546, B:531:0x1503, B:537:0x12b0, B:539:0x123e, B:540:0x11b7, B:543:0x10c4, B:545:0x09db, B:547:0x0b08, B:550:0x0b63, B:553:0x0b1c, B:557:0x055a, B:560:0x05cb, B:564:0x077c, B:567:0x07e9, B:569:0x079b, B:571:0x0898, B:574:0x08ff, B:577:0x08b7, B:578:0x057a, B:579:0x0670, B:582:0x06de, B:585:0x0691, B:587:0x0457, B:589:0x03e9, B:590:0x035c, B:593:0x025a, B:594:0x002c, B:595:0x00ec, B:598:0x013e, B:601:0x00fc), top: B:2:0x001a }] */ /* JADX WARN: Removed duplicated region for block: B:513:0x1910 A[Catch: all -> 0x3835, TryCatch #15 {all -> 0x3835, blocks: (B:4:0x001c, B:7:0x0066, B:14:0x0244, B:17:0x029f, B:27:0x0348, B:30:0x03a7, B:32:0x03d5, B:35:0x042f, B:37:0x0438, B:40:0x04a4, B:47:0x09c7, B:50:0x0a1c, B:60:0x10b0, B:63:0x110b, B:73:0x11a3, B:76:0x1200, B:78:0x122a, B:81:0x1288, B:83:0x1291, B:86:0x12fc, B:90:0x13aa, B:93:0x1417, B:96:0x13c9, B:99:0x1686, B:102:0x16e9, B:104:0x179b, B:107:0x17fb, B:117:0x18fc, B:120:0x1950, B:122:0x19f1, B:125:0x1a4c, B:142:0x1c88, B:145:0x1cdc, B:177:0x217b, B:180:0x21d7, B:183:0x2216, B:186:0x227a, B:193:0x2552, B:196:0x25a5, B:229:0x28a7, B:232:0x2924, B:238:0x2a0c, B:241:0x2a5a, B:247:0x2b2f, B:250:0x2b8f, B:255:0x2c73, B:258:0x2cc6, B:264:0x2d92, B:267:0x2de7, B:272:0x2eb9, B:275:0x2f08, B:281:0x3017, B:284:0x3092, B:290:0x3193, B:293:0x31eb, B:300:0x32ab, B:303:0x32f9, B:308:0x32bb, B:309:0x33be, B:312:0x340f, B:317:0x34f6, B:320:0x3540, B:326:0x35ed, B:329:0x363b, B:335:0x370c, B:338:0x3766, B:340:0x3720, B:341:0x376e, B:344:0x37fb, B:347:0x379c, B:349:0x35fd, B:350:0x3506, B:351:0x33ce, B:352:0x31a7, B:353:0x3042, B:354:0x2ec9, B:355:0x2da2, B:356:0x2c83, B:357:0x2b47, B:358:0x2a1c, B:359:0x28d1, B:452:0x2566, B:454:0x222a, B:456:0x218f, B:509:0x1c9c, B:512:0x1a05, B:513:0x1910, B:514:0x17b1, B:515:0x169c, B:520:0x14ed, B:523:0x1546, B:531:0x1503, B:537:0x12b0, B:539:0x123e, B:540:0x11b7, B:543:0x10c4, B:545:0x09db, B:547:0x0b08, B:550:0x0b63, B:553:0x0b1c, B:557:0x055a, B:560:0x05cb, B:564:0x077c, B:567:0x07e9, B:569:0x079b, B:571:0x0898, B:574:0x08ff, B:577:0x08b7, B:578:0x057a, B:579:0x0670, B:582:0x06de, B:585:0x0691, B:587:0x0457, B:589:0x03e9, B:590:0x035c, B:593:0x025a, B:594:0x002c, B:595:0x00ec, B:598:0x013e, B:601:0x00fc), top: B:2:0x001a }] */ /* JADX WARN: Removed duplicated region for block: B:514:0x17b1 A[Catch: all -> 0x3835, TryCatch #15 {all -> 0x3835, blocks: (B:4:0x001c, B:7:0x0066, B:14:0x0244, B:17:0x029f, B:27:0x0348, B:30:0x03a7, B:32:0x03d5, B:35:0x042f, B:37:0x0438, B:40:0x04a4, B:47:0x09c7, B:50:0x0a1c, B:60:0x10b0, B:63:0x110b, B:73:0x11a3, B:76:0x1200, B:78:0x122a, B:81:0x1288, B:83:0x1291, B:86:0x12fc, B:90:0x13aa, B:93:0x1417, B:96:0x13c9, B:99:0x1686, B:102:0x16e9, B:104:0x179b, B:107:0x17fb, B:117:0x18fc, B:120:0x1950, B:122:0x19f1, B:125:0x1a4c, B:142:0x1c88, B:145:0x1cdc, B:177:0x217b, B:180:0x21d7, B:183:0x2216, B:186:0x227a, B:193:0x2552, B:196:0x25a5, B:229:0x28a7, B:232:0x2924, B:238:0x2a0c, B:241:0x2a5a, B:247:0x2b2f, B:250:0x2b8f, B:255:0x2c73, B:258:0x2cc6, B:264:0x2d92, B:267:0x2de7, B:272:0x2eb9, B:275:0x2f08, B:281:0x3017, B:284:0x3092, B:290:0x3193, B:293:0x31eb, B:300:0x32ab, B:303:0x32f9, B:308:0x32bb, B:309:0x33be, B:312:0x340f, B:317:0x34f6, B:320:0x3540, B:326:0x35ed, B:329:0x363b, B:335:0x370c, B:338:0x3766, B:340:0x3720, B:341:0x376e, B:344:0x37fb, B:347:0x379c, B:349:0x35fd, B:350:0x3506, B:351:0x33ce, B:352:0x31a7, B:353:0x3042, B:354:0x2ec9, B:355:0x2da2, B:356:0x2c83, B:357:0x2b47, B:358:0x2a1c, B:359:0x28d1, B:452:0x2566, B:454:0x222a, B:456:0x218f, B:509:0x1c9c, B:512:0x1a05, B:513:0x1910, B:514:0x17b1, B:515:0x169c, B:520:0x14ed, B:523:0x1546, B:531:0x1503, B:537:0x12b0, B:539:0x123e, B:540:0x11b7, B:543:0x10c4, B:545:0x09db, B:547:0x0b08, B:550:0x0b63, B:553:0x0b1c, B:557:0x055a, B:560:0x05cb, B:564:0x077c, B:567:0x07e9, B:569:0x079b, B:571:0x0898, B:574:0x08ff, B:577:0x08b7, B:578:0x057a, B:579:0x0670, B:582:0x06de, B:585:0x0691, B:587:0x0457, B:589:0x03e9, B:590:0x035c, B:593:0x025a, B:594:0x002c, B:595:0x00ec, B:598:0x013e, B:601:0x00fc), top: B:2:0x001a }] */ /* JADX WARN: Removed duplicated region for block: B:515:0x169c A[Catch: all -> 0x3835, TryCatch #15 {all -> 0x3835, blocks: (B:4:0x001c, B:7:0x0066, B:14:0x0244, B:17:0x029f, B:27:0x0348, B:30:0x03a7, B:32:0x03d5, B:35:0x042f, B:37:0x0438, B:40:0x04a4, B:47:0x09c7, B:50:0x0a1c, B:60:0x10b0, B:63:0x110b, B:73:0x11a3, B:76:0x1200, B:78:0x122a, B:81:0x1288, B:83:0x1291, B:86:0x12fc, B:90:0x13aa, B:93:0x1417, B:96:0x13c9, B:99:0x1686, B:102:0x16e9, B:104:0x179b, B:107:0x17fb, B:117:0x18fc, B:120:0x1950, B:122:0x19f1, B:125:0x1a4c, B:142:0x1c88, B:145:0x1cdc, B:177:0x217b, B:180:0x21d7, B:183:0x2216, B:186:0x227a, B:193:0x2552, B:196:0x25a5, B:229:0x28a7, B:232:0x2924, B:238:0x2a0c, B:241:0x2a5a, B:247:0x2b2f, B:250:0x2b8f, B:255:0x2c73, B:258:0x2cc6, B:264:0x2d92, B:267:0x2de7, B:272:0x2eb9, B:275:0x2f08, B:281:0x3017, B:284:0x3092, B:290:0x3193, B:293:0x31eb, B:300:0x32ab, B:303:0x32f9, B:308:0x32bb, B:309:0x33be, B:312:0x340f, B:317:0x34f6, B:320:0x3540, B:326:0x35ed, B:329:0x363b, B:335:0x370c, B:338:0x3766, B:340:0x3720, B:341:0x376e, B:344:0x37fb, B:347:0x379c, B:349:0x35fd, B:350:0x3506, B:351:0x33ce, B:352:0x31a7, B:353:0x3042, B:354:0x2ec9, B:355:0x2da2, B:356:0x2c83, B:357:0x2b47, B:358:0x2a1c, B:359:0x28d1, B:452:0x2566, B:454:0x222a, B:456:0x218f, B:509:0x1c9c, B:512:0x1a05, B:513:0x1910, B:514:0x17b1, B:515:0x169c, B:520:0x14ed, B:523:0x1546, B:531:0x1503, B:537:0x12b0, B:539:0x123e, B:540:0x11b7, B:543:0x10c4, B:545:0x09db, B:547:0x0b08, B:550:0x0b63, B:553:0x0b1c, B:557:0x055a, B:560:0x05cb, B:564:0x077c, B:567:0x07e9, B:569:0x079b, B:571:0x0898, B:574:0x08ff, B:577:0x08b7, B:578:0x057a, B:579:0x0670, B:582:0x06de, B:585:0x0691, B:587:0x0457, B:589:0x03e9, B:590:0x035c, B:593:0x025a, B:594:0x002c, B:595:0x00ec, B:598:0x013e, B:601:0x00fc), top: B:2:0x001a }] */ /* JADX WARN: Removed duplicated region for block: B:546:0x0adc */ /* JADX WARN: Removed duplicated region for block: B:57:0x0ba9 */ /* JADX WARN: Removed duplicated region for block: B:59:0x0bdc */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static java.lang.Object[] d$351da427(int r65, java.lang.Object r66, int r67) { /* Method dump skipped, instructions count: 15101 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.kofax.kmc.kut.utilities.Licensing.VolumeLicenseFailureData.d$351da427(int, java.lang.Object, int):java.lang.Object[]"); } } public static ErrorInfo setMobileSDKLicenseServer(String str, LicenseServerType licenseServerType) { return LicensingVolume.setMobileSDKLicenseServer(str, licenseServerType); } public static boolean isSdkLicensed(LicenseType licenseType) { return d.aB(licenseType.name()); } public static void acquireVolumeLicenses(LicenseType licenseType, int i) { LicensingVolume.acquireVolumeLicenses(licenseType, i); } public static int getRemainingLicenseCount(LicenseType licenseType) { return LicensingVolume.getRemainingLicenseCount(licenseType); } public static void decrementRemainingLicenseCount(LicenseType licenseType) { LicensingVolume.decrementRemainingLicenseCount(licenseType); } /* loaded from: classes3.dex */ public static class VolumeLicenseResultData { public int acquiredCount; public LicenseType licenseType; public ErrorInfo resultCode; public VolumeLicenseResultData(ErrorInfo errorInfo, int i, LicenseType licenseType) { this.resultCode = errorInfo; this.acquiredCount = i; this.licenseType = licenseType; } } public static void addVolumeLicenseEventListener(VolumeLicenseEventListener volumeLicenseEventListener) { LicensingVolume.addVolumeLicenseEventListener(volumeLicenseEventListener); } public static void removeVolumeLicenseEventListener(VolumeLicenseEventListener volumeLicenseEventListener) { LicensingVolume.removeVolumeLicenseEventListener(volumeLicenseEventListener); } public static void setCertificateValidatorListener(CertificateValidatorListener certificateValidatorListener) { LicensingVolume.setCertificateValidatorListener(certificateValidatorListener); } }