package com.facetec.sdk; import com.google.common.base.Ascii; import java.io.IOException; import net.sf.scuba.smartcards.ISO7816; /* loaded from: classes.dex */ public final class gs implements gv { private static final int a = 0; private static final byte[] b = null; private static final String[] e; /* JADX WARN: Removed duplicated region for block: B:10:0x0022 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001a */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0024). 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 f(int r6, byte r7, short r8, java.lang.Object[] r9) { /* byte[] r0 = com.facetec.sdk.gs.b int r8 = r8 + 100 int r6 = 125 - r6 int r1 = 26 - r7 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L10 r3 = r6 r4 = r2 goto L24 L10: r3 = r2 L11: byte r4 = (byte) r8 r1[r3] = r4 int r4 = r3 + 1 int r5 = 25 - r7 if (r3 != r5) goto L22 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L22: r3 = r0[r6] L24: int r6 = r6 + 1 int r8 = r8 + r3 int r8 = r8 + (-5) r3 = r4 goto L11 */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.gs.f(int, byte, short, java.lang.Object[]):void"); } @Override // com.facetec.sdk.gv public final void d(ga gaVar, int i) throws IOException { gaVar.c(e[i]); } @Override // com.facetec.sdk.gv public final void c(ga gaVar, int i) throws IOException { gaVar.b(e[i]); } static { d(); byte[] bArr = b; Object[] objArr = new Object[1]; f(121, bArr[7], bArr[17], objArr); String str = (String) objArr[0]; Object[] objArr2 = new Object[1]; f(108, bArr[46], bArr[73], objArr2); String str2 = (String) objArr2[0]; int i = a; byte b2 = bArr[17]; Object[] objArr3 = new Object[1]; f((byte) (i - 2), b2, b2, objArr3); String str3 = (String) objArr3[0]; Object[] objArr4 = new Object[1]; f(66, bArr[71], bArr[73], objArr4); String str4 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; f((byte) (i & com.kofax.mobile.sdk._internal.impl.camera.h.Az), (byte) (bArr[46] - 1), bArr[17], objArr5); String str5 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; f((byte) (i >>> 1), bArr[71], bArr[73], objArr6); String str6 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; f(44, bArr[103], bArr[17], objArr7); String str7 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; f((byte) (bArr[33] + 1), bArr[103], bArr[45], objArr8); String str8 = (String) objArr8[0]; byte b3 = (byte) (bArr[71] - 1); Object[] objArr9 = new Object[1]; f(b3, b3, bArr[8], objArr9); String str9 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; f(bArr[72], (byte) (bArr[46] - 1), bArr[45], objArr10); String str10 = (String) objArr10[0]; Object[] objArr11 = new Object[1]; f(bArr[45], bArr[2], bArr[94], objArr11); String str11 = (String) objArr11[0]; byte b4 = bArr[17]; byte b5 = (byte) (b4 | Ascii.SYN); Object[] objArr12 = new Object[1]; f(b4, b5, (byte) (b5 & 120), objArr12); e = new String[]{str5, str2, str10, str11, str6, str4, str8, (String) objArr12[0], str3, str9, str, str7}; } static void d() { b = new byte[]{113, 51, Ascii.CAN, -126, 10, -3, 11, 12, 6, 9, 6, -6, -1, -10, ISO7816.INS_PSO, -4, -6, 0, -12, Ascii.NAK, 3, Ascii.DC2, -37, ISO7816.INS_PSO, -3, 11, 12, 6, 9, 6, -6, -1, -21, 32, 10, -3, 11, 12, 6, 9, 6, -6, -1, -9, 32, 1, 8, -9, 8, -13, Ascii.CAN, Ascii.DC4, 3, 12, -49, 49, 11, -2, 11, 15, -1, 10, -3, 11, 12, 6, 9, 6, -6, -1, -11, Ascii.ETB, 19, 5, -5, 11, 4, ISO7816.INS_CREATE_FILE, 32, 15, 1, 10, -3, 11, 12, 6, 9, 6, -6, -1, -21, 32, Ascii.DC2, 5, 2, 8, ISO7816.INS_CREATE_FILE, 29, 19, 5, -13, 11, 3, 14, 1, 4, 14, 9, 2, 2, 5, 6, -3, 14, 11, ISO7816.INS_DELETE_FILE, Ascii.ETB, 19, 5, -5, 11, 4, ISO7816.INS_CREATE_FILE, 32, Ascii.DC2, -14, 11, 17}; a = 93; } }