what-the-bank/sources/o/ypC.java

1017 lines
32 KiB
Java

package o;
import android.graphics.Color;
import android.os.Process;
import android.text.TextUtils;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.common.primitives.SignedBytes;
import com.google.common.primitives.UnsignedBytes;
import com.google.zxing.WriterException;
import java.lang.reflect.Method;
import java.math.BigInteger;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes2.dex */
public final class ypC {
private static final byte[] $$a = {43, 11, 51, -107};
private static final int $$b = 245;
private static int $10 = 0;
private static int $11 = 1;
private static final Charset a;
private static final byte[] b;
private static final byte[] c;
private static final byte[] d;
private static final byte[] e;
private static int f;
private static int h;
private static long i;
public static /* synthetic */ Object a(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i2;
int i6 = ~i4;
int i7 = i5 | i6;
int i8 = ~(i7 | i3);
int i9 = ~i3;
int i10 = i6 | i9;
int i11 = (i2 * (-183)) + (i3 * (-183)) + ((i8 | (~(i10 | i2))) * (-184)) + (((~i10) | (~(i5 | i9)) | (~i7)) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256) + ((i2 | i3) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256);
return i11 != 1 ? i11 != 2 ? d(objArr) : a(objArr) : c(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002e). 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 j(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = r8 + 1
int r6 = r6 + 4
byte[] r1 = o.ypC.$$a
int r7 = r7 * 2
int r7 = r7 + 119
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r4 = r2
r7 = r6
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
int r6 = r6 + 1
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
r4 = r1[r6]
int r3 = r3 + 1
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = -r6
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.j(short, short, short, java.lang.Object[]):void");
}
private static void g(char[] cArr, int i2, Object[] objArr) {
int i3 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(i ^ (-7538262848231253921L), cArr, i2);
guL.a = 4;
while (guL.a < a2.length) {
guL.c = guL.a - 4;
int i4 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(i)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 208, Color.rgb(0, 0, 0) + 16777221, (char) (1705 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
j(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a2[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 392, (Process.myTid() >> 22) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b4 = (byte) (-1);
byte b5 = (byte) (-b4);
Object[] objArr5 = new Object[1];
j(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i5 = $11 + 57;
$10 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(a2, 4, a2.length - 4);
int i7 = $11 + 123;
$10 = i7 % 128;
if (i7 % 2 == 0) {
objArr[0] = str;
} else {
int i8 = 75 / 0;
objArr[0] = str;
}
}
static {
byte b2;
f = 0;
h = 1;
e();
d = new byte[]{ISO7816.INS_DECREASE, 49, ISO7816.INS_INCREASE, 51, ISO7816.INS_DECREASE_STAMPED, 53, 54, 55, 56, 57, 38, 13, 9, ISO7816.INS_UNBLOCK_CHV, 58, 35, 45, 46, ISO7816.INS_CHANGE_CHV, 47, 43, 37, ISO7816.INS_PSO, 61, 94, 0, 32, 0, 0, 0};
c = new byte[]{59, 60, 62, SignedBytes.MAX_POWER_OF_TWO, 91, 92, 93, 95, 96, 126, 33, 13, 9, ISO7816.INS_UNBLOCK_CHV, 58, 10, 45, 46, ISO7816.INS_CHANGE_CHV, 47, ISO7816.INS_MSE, 124, ISO7816.INS_PSO, 40, 41, 63, 123, 125, 39, 0};
byte[] bArr = new byte[128];
e = bArr;
b = new byte[128];
a = StandardCharsets.ISO_8859_1;
Arrays.fill(bArr, (byte) -1);
int i2 = 0;
while (true) {
byte[] bArr2 = d;
if (i2 >= bArr2.length) {
break;
}
byte b3 = bArr2[i2];
if (b3 > 0) {
int i3 = h + 5;
f = i3 % 128;
int i4 = i3 % 2;
e[b3] = (byte) i2;
}
i2++;
}
Arrays.fill(b, (byte) -1);
int i5 = 0;
while (true) {
byte[] bArr3 = c;
if (i5 >= bArr3.length) {
return;
}
int i6 = f + 33;
h = i6 % 128;
if (i6 % 2 == 0) {
b2 = bArr3[i5];
int i7 = 97 / 0;
if (b2 <= 0) {
i5++;
int i8 = 2 % 2;
}
b[b2] = (byte) i5;
int i9 = 2 % 2;
i5++;
int i82 = 2 % 2;
} else {
b2 = bArr3[i5];
if (b2 <= 0) {
i5++;
int i822 = 2 % 2;
}
b[b2] = (byte) i5;
int i92 = 2 % 2;
i5++;
int i8222 = 2 % 2;
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002b, code lost:
if ((r6 % 2) == 0) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x002d, code lost:
r5 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0034, code lost:
if (r5 >= r16.length()) goto L102;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x003c, code lost:
if (r16.charAt(r5) > 255) goto L103;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x003e, code lost:
r5 = r5 + 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0041, code lost:
r1 = new java.lang.StringBuilder("Non-encodable character detected: ");
r1.append(r16.charAt(r5));
r1.append(" (Unicode: ");
r1.append((int) r16.charAt(r5));
r1.append("). Consider specifying EncodeHintType.PDF417_AUTO_ECI and/or EncodeTypeHint.CHARACTER_SET.");
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0069, code lost:
throw new com.google.zxing.WriterException(r1.toString());
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x002f, code lost:
r5 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0022, code lost:
if (r19 == false) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x018e, code lost:
if (r6 != 1) goto L73;
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x0195, code lost:
if (r13 != 0) goto L80;
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x0197, code lost:
if (r19 == false) goto L79;
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x0199, code lost:
a(r9, r10, 1, 0, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x019d, code lost:
d(r8, 1, 0, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:77:0x0193, code lost:
if (r8.length == 1) goto L76;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost:
if (r19 == false) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0024, code lost:
r6 = r6 + 87;
o.ypC.f = r6 % 128;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.lang.String c(java.lang.String r16, o.pvP r17, java.nio.charset.Charset r18, boolean r19) throws com.google.zxing.WriterException {
/*
Method dump skipped, instructions count: 524
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.c(java.lang.String, o.pvP, java.nio.charset.Charset, boolean):java.lang.String");
}
/* renamed from: o.ypC$4, reason: invalid class name */
/* loaded from: classes2.dex */
static /* synthetic */ class AnonymousClass4 {
static final int[] c;
static {
int[] iArr = new int[pvP.values().length];
c = iArr;
try {
iArr[pvP.TEXT.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
c[pvP.BYTE.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
c[pvP.NUMERIC.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
}
}
/* JADX WARN: Removed duplicated region for block: B:24:0x014b A[EDGE_INSN: B:24:0x014b->B:25:0x014b BREAK A[LOOP:0: B:2:0x0012->B:19:0x0012], SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:40:0x0012 A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static int e(o.InterfaceC2154aYo r16, int r17, int r18, java.lang.StringBuilder r19, int r20) throws com.google.zxing.WriterException {
/*
Method dump skipped, instructions count: 390
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.e(o.aYo, int, int, java.lang.StringBuilder, int):int");
}
private static void a(InterfaceC2154aYo interfaceC2154aYo, int i2, int i3, int i4, StringBuilder sb) throws WriterException {
int i5 = 2 % 2;
int i6 = h + 21;
f = i6 % 128;
int i7 = i6 % 2;
int min = Math.min(i3 + i2, interfaceC2154aYo.b());
int i8 = i2;
while (true) {
if (i8 >= min || !interfaceC2154aYo.d(i8)) {
int i9 = i8;
while (i9 < min && !interfaceC2154aYo.d(i9)) {
i9++;
}
int i10 = i9 - i8;
if (i10 <= 0) {
return;
}
d(d(interfaceC2154aYo, i8, i9), i10, i8 == i2 ? i4 : 1, sb);
i8 = i9;
} else {
int i11 = h + 3;
f = i11 % 128;
int i12 = i11 % 2;
int a2 = interfaceC2154aYo.a(i8);
a(new Object[]{Integer.valueOf(a2), sb}, 722678197, -722678197, a2);
i8++;
}
}
}
private static byte[] d(InterfaceC2154aYo interfaceC2154aYo, int i2, int i3) {
int i4 = 2 % 2;
int i5 = f + 9;
h = i5 % 128;
byte[] bArr = new byte[i5 % 2 == 0 ? i3 << i2 : i3 - i2];
for (int i6 = i2; i6 < i3; i6++) {
bArr[i6 - i2] = (byte) interfaceC2154aYo.c(i6);
}
int i7 = h + 93;
f = i7 % 128;
int i8 = i7 % 2;
return bArr;
}
private static void d(byte[] bArr, int i2, int i3, StringBuilder sb) {
int i4;
int i5 = 2 % 2;
int i6 = 5;
if (i2 == 1 && i3 == 0) {
int i7 = h + 61;
f = i7 % 128;
sb.append(i7 % 2 != 0 ? (char) 28441 : (char) 913);
} else if (i2 % 6 == 0) {
int i8 = f + 59;
h = i8 % 128;
sb.append(i8 % 2 == 0 ? (char) 23062 : (char) 924);
int i9 = f + 65;
h = i9 % 128;
int i10 = i9 % 2;
} else {
sb.append((char) 901);
int i11 = f + 5;
h = i11 % 128;
int i12 = i11 % 2;
}
if (i2 >= 6) {
char[] cArr = new char[5];
int i13 = 0;
while (i2 - i13 >= 6) {
long j = 0;
for (int i14 = 0; i14 < 6; i14++) {
int i15 = h + 33;
f = i15 % 128;
int i16 = i15 % 2;
j = (j << 8) + (bArr[i13 + i14] & UnsignedBytes.MAX_VALUE);
}
int i17 = 0;
while (i17 < i6) {
int i18 = h + 101;
int i19 = i18 % 128;
f = i19;
int i20 = i18 % 2;
cArr[i17] = (char) (j % 900);
j /= 900;
i17++;
int i21 = i19 + 115;
h = i21 % 128;
int i22 = i21 % 2;
i6 = 5;
}
for (int i23 = 4; i23 >= 0; i23--) {
sb.append(cArr[i23]);
}
i13 += 6;
i6 = 5;
}
i4 = i13;
} else {
i4 = 0;
}
while (i4 < i2) {
sb.append((char) (bArr[i4] & UnsignedBytes.MAX_VALUE));
i4++;
}
}
private static void a(InterfaceC2154aYo interfaceC2154aYo, int i2, int i3, StringBuilder sb) {
int i4 = 2 % 2;
StringBuilder sb2 = new StringBuilder((i3 / 3) + 1);
BigInteger valueOf = BigInteger.valueOf(900L);
BigInteger valueOf2 = BigInteger.valueOf(0L);
int i5 = 0;
while (i5 < i3) {
sb2.setLength(0);
int min = Math.min(44, i3 - i5);
Object[] objArr = new Object[1];
g(new char[]{35864, 23924, 58870, 35881, 58754}, 1 - (ViewConfiguration.getScrollBarSize() >> 8), objArr);
StringBuilder sb3 = new StringBuilder(((String) objArr[0]).intern());
int i6 = i2 + i5;
sb3.append((Object) interfaceC2154aYo.c(i6, i6 + min));
BigInteger bigInteger = new BigInteger(sb3.toString());
do {
sb2.append((char) bigInteger.mod(valueOf).intValue());
bigInteger = bigInteger.divide(valueOf);
} while (!bigInteger.equals(valueOf2));
int i7 = f + 63;
h = i7 % 128;
int i8 = i7 % 2;
int length = sb2.length() - 1;
while (length >= 0) {
sb.append(sb2.charAt(length));
length--;
int i9 = h + 33;
f = i9 % 128;
int i10 = i9 % 2;
}
i5 += min;
}
}
private static boolean e(char c2) {
boolean z;
int i2 = 2 % 2;
if (e[c2] != -1) {
int i3 = f;
int i4 = i3 + 59;
h = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 33;
h = i6 % 128;
int i7 = i6 % 2;
z = true;
} else {
z = false;
}
int i8 = f + 33;
h = i8 % 128;
int i9 = i8 % 2;
return z;
}
private static boolean a(char c2) {
int i2 = 2 % 2;
int i3 = h;
int i4 = i3 + 63;
f = i4 % 128;
int i5 = i4 % 2;
if (b[c2] == -1) {
return false;
}
int i6 = i3 + 51;
f = i6 % 128;
int i7 = i6 % 2;
return true;
}
private static /* synthetic */ Object a(Object[] objArr) {
int i2 = 0;
InterfaceC2154aYo interfaceC2154aYo = (InterfaceC2154aYo) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i3 = 2 % 2;
int b2 = interfaceC2154aYo.b();
if (intValue < b2) {
int i4 = f + 111;
h = i4 % 128;
int i5 = i4 % 2;
int i6 = 0;
while (intValue < b2) {
int i7 = f + 57;
h = i7 % 128;
int i8 = i7 % 2;
if (!interfaceC2154aYo.d(intValue)) {
int i9 = h + 5;
f = i9 % 128;
if (i9 % 2 == 0) {
if (!c(interfaceC2154aYo.c(intValue))) {
break;
}
i6++;
intValue++;
} else {
int i10 = 11 / 0;
if (!c(interfaceC2154aYo.c(intValue))) {
break;
}
i6++;
intValue++;
}
} else {
break;
}
}
i2 = i6;
}
return Integer.valueOf(i2);
}
/* JADX WARN: Code restructure failed: missing block: B:43:0x0044, code lost:
return (r2 - r10) - r4;
*/
/* JADX WARN: Removed duplicated region for block: B:24:0x006d */
/* JADX WARN: Removed duplicated region for block: B:33:0x007b A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static int c(o.InterfaceC2154aYo r9, int r10) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = r9.b()
r2 = r10
L8:
if (r2 >= r1) goto L83
r3 = 0
r4 = r3
Lc:
r5 = 13
r6 = 0
if (r4 >= r5) goto L40
int r7 = o.ypC.h
int r7 = r7 + 85
int r8 = r7 % 128
o.ypC.f = r8
int r7 = r7 % r0
if (r7 != 0) goto L3c
if (r2 >= r1) goto L40
boolean r7 = r9.d(r2)
if (r7 != 0) goto L40
char r7 = r9.c(r2)
boolean r7 = c(r7)
if (r7 == 0) goto L40
int r4 = r4 + 1
int r2 = r2 + 1
int r5 = o.ypC.h
int r5 = r5 + 103
int r6 = r5 % 128
o.ypC.f = r6
int r5 = r5 % r0
goto Lc
L3c:
r6.hashCode()
throw r6
L40:
if (r4 < r5) goto L45
int r2 = r2 - r10
int r2 = r2 - r4
return r2
L45:
if (r4 > 0) goto L8
int r4 = o.ypC.h
int r4 = r4 + 61
int r5 = r4 % 128
o.ypC.f = r5
int r4 = r4 % r0
if (r4 == 0) goto L5c
boolean r4 = r9.d(r2)
r5 = 66
int r5 = r5 / r3
if (r4 != 0) goto L83
goto L62
L5c:
boolean r3 = r9.d(r2)
if (r3 != 0) goto L83
L62:
int r3 = o.ypC.f
int r3 = r3 + 97
int r4 = r3 % 128
o.ypC.h = r4
int r3 = r3 % r0
if (r3 == 0) goto L7b
char r3 = r9.c(r2)
boolean r3 = i(r3)
if (r3 != 0) goto L78
goto L83
L78:
int r2 = r2 + 1
goto L8
L7b:
char r9 = r9.c(r2)
i(r9)
throw r6
L83:
int r2 = r2 - r10
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.c(o.aYo, int):int");
}
/* JADX WARN: Code restructure failed: missing block: B:34:0x004c, code lost:
r11 = o.ypC.h + 77;
o.ypC.f = r11 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0055, code lost:
if ((r11 % 2) == 0) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0057, code lost:
r6 = r6 * r3;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x005e, code lost:
return java.lang.Integer.valueOf(r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x0059, code lost:
r6 = r6 - r3;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object c(java.lang.Object[] r11) {
/*
r0 = 0
r1 = r11[r0]
o.aYo r1 = (o.InterfaceC2154aYo) r1
r2 = 1
r3 = r11[r2]
java.lang.Number r3 = (java.lang.Number) r3
int r3 = r3.intValue()
r4 = 2
r11 = r11[r4]
java.nio.charset.Charset r11 = (java.nio.charset.Charset) r11
int r5 = r4 % r4
if (r11 != 0) goto L19
r11 = 0
goto L1d
L19:
java.nio.charset.CharsetEncoder r11 = r11.newEncoder()
L1d:
int r5 = r1.b()
r6 = r3
L22:
if (r6 >= r5) goto Lae
int r7 = o.ypC.h
int r7 = r7 + 37
int r8 = r7 % 128
o.ypC.f = r8
int r7 = r7 % 2
r7 = r0
r8 = r6
L30:
r9 = 13
if (r7 >= r9) goto L4a
boolean r10 = r1.d(r8)
if (r10 == r2) goto L4a
char r8 = r1.c(r8)
boolean r8 = c(r8)
if (r8 == 0) goto L4a
int r7 = r7 + 1
int r8 = r6 + r7
if (r8 < r5) goto L30
L4a:
if (r7 < r9) goto L5f
int r11 = o.ypC.h
int r11 = r11 + 77
int r0 = r11 % 128
o.ypC.f = r0
int r11 = r11 % r4
if (r11 == 0) goto L59
int r6 = r6 * r3
goto L5a
L59:
int r6 = r6 - r3
L5a:
java.lang.Integer r11 = java.lang.Integer.valueOf(r6)
return r11
L5f:
if (r11 == 0) goto Laa
int r7 = o.ypC.h
int r7 = r7 + 25
int r8 = r7 % 128
o.ypC.f = r8
int r7 = r7 % r4
if (r7 == 0) goto L7a
char r7 = r1.c(r6)
boolean r7 = r11.canEncode(r7)
r8 = 50
int r8 = r8 / r0
if (r7 == 0) goto L85
goto Laa
L7a:
char r7 = r1.c(r6)
boolean r7 = r11.canEncode(r7)
if (r7 == 0) goto L85
goto Laa
L85:
char r11 = r1.c(r6)
com.google.zxing.WriterException r0 = new com.google.zxing.WriterException
java.lang.StringBuilder r1 = new java.lang.StringBuilder
java.lang.String r2 = "Non-encodable character detected: "
r1.<init>(r2)
r1.append(r11)
java.lang.String r2 = " (Unicode: "
r1.append(r2)
r1.append(r11)
r11 = 41
r1.append(r11)
java.lang.String r11 = r1.toString()
r0.<init>(r11)
throw r0
Laa:
int r6 = r6 + 1
goto L22
Lae:
int r6 = r6 - r3
java.lang.Integer r11 = java.lang.Integer.valueOf(r6)
return r11
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.c(java.lang.Object[]):java.lang.Object");
}
private static /* synthetic */ Object d(Object[] objArr) {
int intValue = ((Number) objArr[0]).intValue();
StringBuilder sb = (StringBuilder) objArr[1];
int i2 = 2 % 2;
int i3 = f;
int i4 = i3 + 91;
h = i4 % 128;
int i5 = i4 % 2;
if (intValue >= 0 && intValue < 900) {
sb.append((char) 927);
sb.append((char) intValue);
return null;
}
if (intValue >= 810900) {
if (intValue >= 811800) {
throw new WriterException("ECI number not in valid range from 0..811799, but was ".concat(String.valueOf(intValue)));
}
sb.append((char) 925);
sb.append((char) (810900 - intValue));
return null;
}
int i6 = i3 + 99;
h = i6 % 128;
int i7 = i6 % 2;
sb.append((char) 926);
sb.append((char) ((intValue / 900) - 1));
sb.append((char) (intValue % 900));
int i8 = f + 111;
h = i8 % 128;
if (i8 % 2 != 0) {
return null;
}
throw null;
}
/* loaded from: classes2.dex */
static final class LWm implements InterfaceC2154aYo {
private String b;
@Override // o.InterfaceC2154aYo
public final int a(int i) {
return -1;
}
@Override // o.InterfaceC2154aYo
public final boolean d(int i) {
return false;
}
/* synthetic */ LWm(String str, byte b) {
this(str);
}
private LWm(String str) {
this.b = str;
}
@Override // o.InterfaceC2154aYo
public final int b() {
return this.b.length();
}
@Override // o.InterfaceC2154aYo
public final char c(int i) {
return this.b.charAt(i);
}
@Override // o.InterfaceC2154aYo
public final CharSequence c(int i, int i2) {
return this.b.subSequence(i, i2);
}
public final String toString() {
return this.b;
}
}
static void e() {
i = -6127757718536521768L;
}
private static boolean i(char c2) {
int i2 = 2 % 2;
int i3 = f + 73;
int i4 = i3 % 128;
h = i4;
if (i3 % 2 != 0 ? c2 != '\t' : c2 != 'r') {
if (c2 != '\n') {
int i5 = i4 + 39;
f = i5 % 128;
if (i5 % 2 == 0 ? c2 != '\r' : c2 != 'r') {
if (c2 < ' ' || c2 > '~') {
int i6 = i4 + 115;
f = i6 % 128;
int i7 = i6 % 2;
return false;
}
}
}
}
return true;
}
private static boolean c(char c2) {
int i2 = 2 % 2;
int i3 = h;
int i4 = i3 + 59;
f = i4 % 128;
int i5 = i4 % 2;
if (c2 >= '0') {
int i6 = i3 + 47;
f = i6 % 128;
if (i6 % 2 == 0 ? c2 <= '9' : c2 <= '%') {
return true;
}
}
return false;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x001d, code lost:
if (r4 > 'Z') goto L13;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static boolean b(char r4) {
/*
r0 = 2
int r1 = r0 % r0
r1 = 32
if (r4 == r1) goto L28
int r1 = o.ypC.f
int r2 = r1 + 91
int r3 = r2 % 128
o.ypC.h = r3
int r2 = r2 % r0
if (r2 != 0) goto L17
r2 = 111(0x6f, float:1.56E-43)
if (r4 < r2) goto L1f
goto L1b
L17:
r2 = 65
if (r4 < r2) goto L1f
L1b:
r2 = 90
if (r4 <= r2) goto L28
L1f:
int r1 = r1 + 27
int r4 = r1 % 128
o.ypC.h = r4
int r1 = r1 % r0
r4 = 0
goto L32
L28:
int r4 = o.ypC.f
int r4 = r4 + 61
int r1 = r4 % 128
o.ypC.h = r1
int r4 = r4 % r0
r4 = 1
L32:
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.b(char):boolean");
}
/* JADX WARN: Code restructure failed: missing block: B:15:0x001d, code lost:
if (r3 > 'z') goto L13;
*/
/* JADX WARN: Removed duplicated region for block: B:10:0x0036 A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:12:0x0037 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static boolean d(char r3) {
/*
r0 = 2
int r1 = r0 % r0
r1 = 32
if (r3 == r1) goto L21
int r1 = o.ypC.f
int r1 = r1 + 85
int r2 = r1 % 128
o.ypC.h = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
r1 = 57
if (r3 < r1) goto L1f
goto L1b
L17:
r1 = 97
if (r3 < r1) goto L1f
L1b:
r1 = 122(0x7a, float:1.71E-43)
if (r3 <= r1) goto L21
L1f:
r3 = 0
goto L2b
L21:
int r3 = o.ypC.f
int r3 = r3 + 27
int r1 = r3 % 128
o.ypC.h = r1
int r3 = r3 % r0
r3 = 1
L2b:
int r1 = o.ypC.h
int r1 = r1 + 9
int r2 = r1 % 128
o.ypC.f = r2
int r1 = r1 % r0
if (r1 != 0) goto L37
return r3
L37:
r3 = 0
r3.hashCode()
throw r3
*/
throw new UnsupportedOperationException("Method not decompiled: o.ypC.d(char):boolean");
}
private static void a(int i2, StringBuilder sb) throws WriterException {
a(new Object[]{Integer.valueOf(i2), sb}, 722678197, -722678197, i2);
}
private static int a(InterfaceC2154aYo interfaceC2154aYo, int i2) {
return ((Integer) a(new Object[]{interfaceC2154aYo, Integer.valueOf(i2)}, 284645979, -284645977, i2)).intValue();
}
private static int e(InterfaceC2154aYo interfaceC2154aYo, int i2, Charset charset) throws WriterException {
return ((Integer) a(new Object[]{interfaceC2154aYo, Integer.valueOf(i2), charset}, -1311528931, 1311528932, i2)).intValue();
}
}