72 lines
5.0 KiB
Java
72 lines
5.0 KiB
Java
package o;
|
|
|
|
import com.google.zxing.WriterException;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
import org.jmrtd.cbeff.ISO781611;
|
|
|
|
/* renamed from: o.aqk, reason: case insensitive filesystem */
|
|
/* loaded from: classes2.dex */
|
|
final class C3080aqk {
|
|
private static final int[][] e = {new int[]{1, 1, 1, 1, 1, 1, 1}, new int[]{1, 0, 0, 0, 0, 0, 1}, new int[]{1, 0, 1, 1, 1, 0, 1}, new int[]{1, 0, 1, 1, 1, 0, 1}, new int[]{1, 0, 1, 1, 1, 0, 1}, new int[]{1, 0, 0, 0, 0, 0, 1}, new int[]{1, 1, 1, 1, 1, 1, 1}};
|
|
private static final int[][] b = {new int[]{1, 1, 1, 1, 1}, new int[]{1, 0, 0, 0, 1}, new int[]{1, 0, 1, 0, 1}, new int[]{1, 0, 0, 0, 1}, new int[]{1, 1, 1, 1, 1}};
|
|
private static final int[][] c = {new int[]{-1, -1, -1, -1, -1, -1, -1}, new int[]{6, 18, -1, -1, -1, -1, -1}, new int[]{6, 22, -1, -1, -1, -1, -1}, new int[]{6, 26, -1, -1, -1, -1, -1}, new int[]{6, 30, -1, -1, -1, -1, -1}, new int[]{6, 34, -1, -1, -1, -1, -1}, new int[]{6, 22, 38, -1, -1, -1, -1}, new int[]{6, 24, 42, -1, -1, -1, -1}, new int[]{6, 26, 46, -1, -1, -1, -1}, new int[]{6, 28, 50, -1, -1, -1, -1}, new int[]{6, 30, 54, -1, -1, -1, -1}, new int[]{6, 32, 58, -1, -1, -1, -1}, new int[]{6, 34, 62, -1, -1, -1, -1}, new int[]{6, 26, 46, 66, -1, -1, -1}, new int[]{6, 26, 48, 70, -1, -1, -1}, new int[]{6, 26, 50, 74, -1, -1, -1}, new int[]{6, 30, 54, 78, -1, -1, -1}, new int[]{6, 30, 56, 82, -1, -1, -1}, new int[]{6, 30, 58, 86, -1, -1, -1}, new int[]{6, 34, 62, 90, -1, -1, -1}, new int[]{6, 28, 50, 72, 94, -1, -1}, new int[]{6, 26, 50, 74, 98, -1, -1}, new int[]{6, 30, 54, 78, 102, -1, -1}, new int[]{6, 28, 54, 80, 106, -1, -1}, new int[]{6, 32, 58, 84, 110, -1, -1}, new int[]{6, 30, 58, 86, 114, -1, -1}, new int[]{6, 34, 62, 90, 118, -1, -1}, new int[]{6, 26, 50, 74, 98, 122, -1}, new int[]{6, 30, 54, 78, 102, 126, -1}, new int[]{6, 26, 52, 78, 104, ISO781611.BIOMETRIC_SUBTYPE_TAG, -1}, new int[]{6, 30, 56, 82, 108, 134, -1}, new int[]{6, 34, 60, 86, 112, CipherSuite.TLS_PSK_WITH_RC4_128_SHA, -1}, new int[]{6, 30, 58, 86, 114, 142, -1}, new int[]{6, 34, 62, 90, 118, CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, -1}, new int[]{6, 30, 54, 78, 102, 126, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA}, new int[]{6, 24, 50, 76, 102, 128, CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA}, new int[]{6, 28, 54, 80, 106, CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 158}, new int[]{6, 32, 58, 84, 110, 136, CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256}, new int[]{6, 26, 54, 82, 110, CipherSuite.TLS_PSK_WITH_RC4_128_SHA, CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256}, new int[]{6, 30, 58, 86, 114, 142, CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256}};
|
|
private static final int[][] a = {new int[]{8, 0}, new int[]{8, 1}, new int[]{8, 2}, new int[]{8, 3}, new int[]{8, 4}, new int[]{8, 5}, new int[]{8, 7}, new int[]{8, 8}, new int[]{7, 8}, new int[]{5, 8}, new int[]{4, 8}, new int[]{3, 8}, new int[]{2, 8}, new int[]{1, 8}, new int[]{0, 8}};
|
|
|
|
private static void c(int i, int i2, mUk muk) throws WriterException {
|
|
for (int i3 = 0; i3 < 8; i3++) {
|
|
int i4 = i + i3;
|
|
if (muk.e[i2][i4] != -1) {
|
|
throw new WriterException();
|
|
}
|
|
muk.e[i2][i4] = 0;
|
|
}
|
|
}
|
|
|
|
private static void d(int i, int i2, mUk muk) throws WriterException {
|
|
for (int i3 = 0; i3 < 7; i3++) {
|
|
int i4 = i2 + i3;
|
|
if (muk.e[i4][i] != -1) {
|
|
throw new WriterException();
|
|
}
|
|
muk.e[i4][i] = 0;
|
|
}
|
|
}
|
|
|
|
private static void a(int i, int i2, mUk muk) {
|
|
for (int i3 = 0; i3 < 7; i3++) {
|
|
int[] iArr = e[i3];
|
|
for (int i4 = 0; i4 < 7; i4++) {
|
|
muk.e[i2 + i3][i + i4] = (byte) iArr[i4];
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Failed to find 'out' block for switch in B:116:0x0229. Please report as an issue. */
|
|
/* JADX WARN: Removed duplicated region for block: B:120:0x027b */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static void b(o.C17416wdP r22, o.FVz r23, o.C0480Hnn r24, int r25, o.mUk r26) throws com.google.zxing.WriterException {
|
|
/*
|
|
Method dump skipped, instructions count: 768
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C3080aqk.b(o.wdP, o.FVz, o.Hnn, int, o.mUk):void");
|
|
}
|
|
|
|
private static int d(int i, int i2) {
|
|
if (i2 == 0) {
|
|
throw new IllegalArgumentException("0 polynomial");
|
|
}
|
|
int numberOfLeadingZeros = Integer.numberOfLeadingZeros(i2);
|
|
int i3 = 32 - numberOfLeadingZeros;
|
|
int i4 = i << (31 - numberOfLeadingZeros);
|
|
while (32 - Integer.numberOfLeadingZeros(i4) >= i3) {
|
|
i4 ^= i2 << ((32 - Integer.numberOfLeadingZeros(i4)) - i3);
|
|
}
|
|
return i4;
|
|
}
|
|
}
|