43 lines
1.6 KiB
Java
43 lines
1.6 KiB
Java
|
package o;
|
||
|
|
||
|
import java.lang.reflect.Array;
|
||
|
import org.jmrtd.PassportService;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class Qws {
|
||
|
public static int b(int i, int i2, int i3) {
|
||
|
int[][] iArr = (int[][]) Array.newInstance((Class<?>) Integer.TYPE, 14, 6);
|
||
|
char c = 0;
|
||
|
iArr[0] = new int[]{32, 32, 32, 32, 32, 8};
|
||
|
iArr[1] = new int[]{64, 48, 40, 64, 48, 16};
|
||
|
iArr[2] = new int[]{96, 56, 48, 96, 56, 24};
|
||
|
iArr[3] = new int[]{128, 64, 56, 128, 64, 32};
|
||
|
iArr[4] = new int[]{160, 80, 64, 160, 80, 64};
|
||
|
iArr[5] = new int[]{192, 96, 80, 192, 96, 80};
|
||
|
iArr[6] = new int[]{PassportService.DEFAULT_MAX_BLOCKSIZE, 112, 96, PassportService.DEFAULT_MAX_BLOCKSIZE, 112, 56};
|
||
|
iArr[7] = new int[]{256, 128, 112, 256, 128, 64};
|
||
|
iArr[8] = new int[]{288, 160, 128, 28, 160, 128};
|
||
|
iArr[9] = new int[]{320, 192, 160, 320, 192, 160};
|
||
|
iArr[10] = new int[]{352, PassportService.DEFAULT_MAX_BLOCKSIZE, 192, 352, PassportService.DEFAULT_MAX_BLOCKSIZE, 112};
|
||
|
iArr[11] = new int[]{384, 256, PassportService.DEFAULT_MAX_BLOCKSIZE, 384, 256, 128};
|
||
|
iArr[12] = new int[]{416, 320, 256, 416, 320, 256};
|
||
|
iArr[13] = new int[]{448, 384, 320, 448, 384, 320};
|
||
|
if (i3 == 2) {
|
||
|
if (i2 == 1) {
|
||
|
c = 5;
|
||
|
} else if (i2 == 2) {
|
||
|
c = 4;
|
||
|
} else if (i2 == 3) {
|
||
|
c = 3;
|
||
|
}
|
||
|
} else if (i3 == 1) {
|
||
|
if (i2 == 1) {
|
||
|
c = 2;
|
||
|
} else if (i2 == 2) {
|
||
|
c = 1;
|
||
|
}
|
||
|
}
|
||
|
return iArr[i - 1][c];
|
||
|
}
|
||
|
}
|