what-the-bank/sources/org/bouncycastle/asn1/teletrust/TeleTrusTNamedCurves.java

2818 lines
147 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.asn1.teletrust;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.airbnb.deeplinkdispatch.base.MatchIndex;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.pingan.ai.p;
import java.lang.reflect.Method;
import java.math.BigInteger;
import java.util.Enumeration;
import java.util.Hashtable;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C3614bBe;
import o.C4403bZM;
import o.GuL;
import o.IRS;
import o.Nhs;
import o.TVH;
import o.xzZ;
import o.zUI;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.x9.X9ECParameters;
import org.bouncycastle.asn1.x9.X9ECParametersHolder;
import org.bouncycastle.asn1.x9.X9ECPoint;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.bouncycastle.math.ec.ECCurve;
import org.bouncycastle.util.Strings;
import org.bouncycastle.util.encoders.Hex;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes6.dex */
public class TeleTrusTNamedCurves {
private static final byte[] $$a = {37, 38, 5, ISO7816.INS_LOAD_KEY_FILE};
private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int b;
static X9ECParametersHolder brainpoolP160r1;
static X9ECParametersHolder brainpoolP160t1;
static X9ECParametersHolder brainpoolP192r1;
static X9ECParametersHolder brainpoolP192t1;
static X9ECParametersHolder brainpoolP224r1;
static X9ECParametersHolder brainpoolP224t1;
static X9ECParametersHolder brainpoolP256r1;
static X9ECParametersHolder brainpoolP256t1;
static X9ECParametersHolder brainpoolP320r1;
static X9ECParametersHolder brainpoolP320t1;
static X9ECParametersHolder brainpoolP384r1;
static X9ECParametersHolder brainpoolP384t1;
static X9ECParametersHolder brainpoolP512r1;
static X9ECParametersHolder brainpoolP512t1;
static final Hashtable curves;
private static int d;
static final Hashtable names;
static final Hashtable objIds;
/* 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: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 f(int r6, short r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.$$a
int r7 = r7 * 2
int r7 = r7 + 1
int r6 = r6 * 4
int r6 = 4 - r6
int r8 = r8 * 7
int r8 = 76 - r8
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L17
r8 = r6
r3 = r7
r4 = r2
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r4 = r0[r6]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = -r6
int r6 = r6 + r3
int r8 = r8 + 1
r3 = r4
r5 = r8
r8 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.f(int, short, short, java.lang.Object[]):void");
}
private static void e(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
int i5 = $10 + 25;
$11 = i5 % 128;
int i6 = i5 % 2;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(b)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getFadingEdgeLength() >> 16), 7 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
f(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((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(342 - (ViewConfiguration.getJumpTapTimeout() >> 16), (-16777211) - Color.rgb(0, 0, 0), (char) TextUtils.getOffsetBefore("", 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
f(b4, b5, b5, 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 (i2 > 0) {
int i8 = $10 + 15;
$11 = i8 % 128;
int i9 = i8 % 2;
zui.a = i2;
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 i10 = $10 + 67;
$11 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i12 = $10 + 67;
$11 = i12 % 128;
int i13 = i12 % 2;
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((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 342, View.MeasureSpec.getSize(0) + 5, (char) KeyEvent.normalizeMetaState(0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
f(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
int i14 = $11 + 11;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
static void b() {
b = 2015661594;
}
public static ASN1ObjectIdentifier getOID(short s, boolean z) {
String str;
int i = 2 % 2;
StringBuilder sb = new StringBuilder("brainpoolP");
sb.append((int) s);
if (!z) {
str = MatchIndex.ROOT_VALUE;
} else {
int i2 = d;
int i3 = i2 + 13;
a = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 107;
a = i5 % 128;
int i6 = i5 % 2;
str = "t";
}
sb.append(str);
Object[] objArr = new Object[1];
e(1 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), Color.alpha(0) + 1, 110 - ((Process.getThreadPriority(0) + 20) >> 6), new char[]{0}, false, objArr);
sb.append(((String) objArr[0]).intern());
return getOID(sb.toString());
}
public static ASN1ObjectIdentifier getOID(String str) {
int i = 2 % 2;
int i2 = a + 53;
d = i2 % 128;
int i3 = i2 % 2;
ASN1ObjectIdentifier aSN1ObjectIdentifier = (ASN1ObjectIdentifier) objIds.get(Strings.toLowerCase(str));
if (i3 == 0) {
int i4 = 8 / 0;
}
return aSN1ObjectIdentifier;
}
public static Enumeration getNames() {
int i = 2 % 2;
int i2 = d + 79;
a = i2 % 128;
int i3 = i2 % 2;
Hashtable hashtable = objIds;
if (i3 == 0) {
return hashtable.keys();
}
hashtable.keys();
Object obj = null;
obj.hashCode();
throw null;
}
public static String getName(ASN1ObjectIdentifier aSN1ObjectIdentifier) {
String str;
int i = 2 % 2;
int i2 = a + 61;
d = i2 % 128;
if (i2 % 2 == 0) {
str = (String) names.get(aSN1ObjectIdentifier);
int i3 = 88 / 0;
} else {
str = (String) names.get(aSN1ObjectIdentifier);
}
int i4 = a + 57;
d = i4 % 128;
if (i4 % 2 != 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static X9ECParameters getByOID(ASN1ObjectIdentifier aSN1ObjectIdentifier) {
X9ECParametersHolder x9ECParametersHolder;
int i = 2 % 2;
int i2 = d + 79;
a = i2 % 128;
if (i2 % 2 != 0) {
x9ECParametersHolder = (X9ECParametersHolder) curves.get(aSN1ObjectIdentifier);
int i3 = 6 / 0;
if (x9ECParametersHolder == null) {
return null;
}
} else {
x9ECParametersHolder = (X9ECParametersHolder) curves.get(aSN1ObjectIdentifier);
if (x9ECParametersHolder == null) {
return null;
}
}
X9ECParameters parameters = x9ECParametersHolder.getParameters();
int i4 = a + 71;
d = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 81 / 0;
}
return parameters;
}
public static X9ECParameters getByName(String str) {
int i = 2 % 2;
int i2 = a + 41;
d = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
ASN1ObjectIdentifier aSN1ObjectIdentifier = (ASN1ObjectIdentifier) objIds.get(Strings.toLowerCase(str));
if (aSN1ObjectIdentifier != null) {
X9ECParameters byOID = getByOID(aSN1ObjectIdentifier);
int i3 = d + 97;
a = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 42 / 0;
}
return byOID;
}
int i5 = d + 25;
a = i5 % 128;
if (i5 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
static void defineCurve(String str, ASN1ObjectIdentifier aSN1ObjectIdentifier, X9ECParametersHolder x9ECParametersHolder) {
int i = 2 % 2;
int i2 = a + 49;
d = i2 % 128;
int i3 = i2 % 2;
objIds.put(str, aSN1ObjectIdentifier);
names.put(aSN1ObjectIdentifier, str);
curves.put(aSN1ObjectIdentifier, x9ECParametersHolder);
int i4 = d + 45;
a = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static ECCurve configureCurve(ECCurve eCCurve) {
int i = 2 % 2;
int i2 = a + 33;
int i3 = i2 % 128;
d = i3;
int i4 = i2 % 2;
int i5 = i3 + 93;
a = i5 % 128;
int i6 = i5 % 2;
return eCCurve;
}
static /* synthetic */ ECCurve access$000(ECCurve eCCurve) {
int i = 2 % 2;
int i2 = d + 25;
a = i2 % 128;
int i3 = i2 % 2;
ECCurve configureCurve = configureCurve(eCCurve);
int i4 = d + 19;
a = i4 % 128;
int i5 = i4 % 2;
return configureCurve;
}
static {
d = 1;
b();
brainpoolP160r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.1
private static final byte[] $$a = {54, 41, ISO7816.INS_GET_RESPONSE, 43};
private static final int $$b = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int e = 1;
private static int[] b = {505691024, -1851891268, 465640965, -1511393896, 1351239381, -1136772899, 463740348, -636513891, -779973584, 1377028741, -303244382, 1848962788, 344754296, 46094511, -279228330, 459126119, 2097054567, -1485042399};
/* 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:0x002d). 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(byte r7, byte r8, byte r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 2
int r9 = 104 - r9
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass1.$$a
int r7 = r7 + 4
int r8 = r8 * 2
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r9
r5 = r2
r9 = r7
goto L2d
L15:
r3 = r2
L16:
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
int r7 = r7 + 1
if (r5 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2d:
int r7 = -r7
int r7 = r7 + r3
r3 = r5
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass1.f(byte, byte, byte, java.lang.Object[]):void");
}
private static void c(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = b;
char c2 = '0';
int i3 = 1;
int i4 = 0;
if (iArr3 != null) {
int i5 = $10 + 77;
$11 = i5 % 128;
int i6 = i5 % 2;
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror(c2) - '!', 5 - TextUtils.getOffsetBefore("", 0), (char) (58133 - TextUtils.lastIndexOf("", c2, 0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
c2 = '0';
i3 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = b;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
Object[] objArr3 = new Object[1];
objArr3[i4] = Integer.valueOf(iArr6[i8]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(15 - (Process.myPid() >> 22), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.getOffsetBefore("", 0) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
int i9 = $10 + 19;
$11 = i9 % 128;
int i10 = i9 % 2;
iArr6 = iArr2;
i4 = 0;
}
iArr6 = iArr7;
}
int i11 = i4;
System.arraycopy(iArr6, i11, iArr5, i11, length2);
c4403bZM.b = i11;
while (c4403bZM.b < iArr.length) {
int i12 = $10 + 21;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> i15) + 118, 5 - TextUtils.getTrimmedLength(""), (char) View.MeasureSpec.getSize(0));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr5 = new Object[1];
f(b2, b3, b3, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i17 = c4403bZM.e;
int i18 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - (ViewConfiguration.getKeyRepeatDelay() >> 16), Color.blue(0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
f(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("E95E4A5F737059DC60DF5991D45029409E60FC09", 16);
Object[] objArr = new Object[1];
c(new int[]{-166401901, 2140043128}, 2 - (KeyEvent.getMaxKeyCode() >> 16), objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("E95E4A5F737059DC60DFC7AD95B3D8139515620F", 16), new BigInteger("340E7BE2A280EB74E2BE61BADA745D97E8F7C300", 16), new BigInteger("1E589A8595423412134FAA2DBDEC95C8D8675E58", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("04BED5AF16EA3F6A4F62938C4631EB5AF7BDBCDBC31667CB477A1A8EC338F94741669C976316DA6321")), bigInteger, bigInteger2);
int i2 = e + 99;
d = i2 % 128;
if (i2 % 2 == 0) {
return x9ECParameters;
}
Object obj = null;
obj.hashCode();
throw null;
}
};
brainpoolP160t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.2
private static final byte[] $$a = {99, -66, 69, -31};
private static final int $$b = 218;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int d = 1;
private static int b = 2015661571;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). 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 c(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass2.$$a
int r6 = r6 * 4
int r6 = 3 - r6
int r7 = r7 * 7
int r7 = r7 + 69
int r5 = r5 * 4
int r5 = 1 - r5
byte[] r1 = new byte[r5]
r2 = 0
if (r0 != 0) goto L16
r4 = r5
r3 = r2
goto L2a
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r1[r3] = r4
int r6 = r6 + 1
int r3 = r3 + 1
if (r3 != r5) goto L28
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L28:
r4 = r0[r6]
L2a:
int r4 = -r4
int r7 = r7 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass2.c(short, byte, short, java.lang.Object[]):void");
}
private static void a(int i, int i2, int i3, char[] cArr, boolean z, 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) (i3 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(b)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(144 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 7 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
c(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(Gravity.getAbsoluteGravity(0, 0) + 342, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
c(b4, b5, (byte) (b5 + 1), 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 (i2 > 0) {
int i6 = $10 + 41;
$11 = i6 % 128;
int i7 = i6 % 2;
zui.a = i2;
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) {
char[] cArr4 = new char[i];
zui.d = 0;
int i8 = $10 + 3;
$11 = i8 % 128;
int i9 = i8 % 2;
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(View.MeasureSpec.makeMeasureSpec(0, 0) + 342, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
c(b6, b7, (byte) (b7 + 1), 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);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("E95E4A5F737059DC60DF5991D45029409E60FC09", 16);
Object[] objArr = new Object[1];
a(Color.rgb(0, 0, 0) + 16777218, 2 - View.combineMeasuredStates(0, 0), TextUtils.indexOf((CharSequence) "", '0', 0) + 85, new char[]{0, 1}, false, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("E95E4A5F737059DC60DFC7AD95B3D8139515620F", 16), new BigInteger("E95E4A5F737059DC60DFC7AD95B3D8139515620C", 16), new BigInteger("7A556B6DAE535B7B51ED2C4D7DAA7A0B5C55F380", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("04B199B13B9B34EFC1397E64BAEB05ACC265FF2378ADD6718B7C7C1961F0991B842443772152C9E0AD")), bigInteger, bigInteger2);
int i2 = e + 65;
d = i2 % 128;
int i3 = i2 % 2;
return x9ECParameters;
}
};
brainpoolP192r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.3
private static final byte[] $$a = {57, -60, 61, 103};
private static final int $$b = 127;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int b = 1;
private static long c = -6805569015214031998L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). 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(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 3 - r7
int r6 = r6 * 2
int r6 = 121 - r6
int r8 = r8 * 2
int r0 = r8 + 1
byte[] r1 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass3.$$a
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L16
r3 = r7
r4 = r2
goto L2d
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r0[r3] = r4
int r7 = r7 + 1
int r4 = r3 + 1
if (r3 != r8) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
r3 = r1[r7]
r5 = r3
r3 = r7
r7 = r5
L2d:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass3.f(short, byte, byte, java.lang.Object[]):void");
}
private static void e(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(c ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 97;
$10 = i3 % 128;
int i4 = i3 % 2;
while (true) {
obj = null;
if (guL.a >= a2.length) {
break;
}
int i5 = $10 + 99;
$11 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(c)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(207 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (1706 - KeyEvent.getDeadChar(0, 0)));
byte b2 = (byte) ($$b & 1);
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
f(b2, b3, b3, objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a2[i7] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
f(b4, b5, b5, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a2, 4, a2.length - 4);
int i8 = $10 + 11;
$11 = i8 % 128;
if (i8 % 2 != 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("C302F41D932A36CDA7A3462F9E9E916B5BE8F1029AC4ACC1", 16);
Object[] objArr = new Object[1];
e(new char[]{59534, 59582, 21513, 58116, 22738, 47077}, View.resolveSize(0, 0) + 1, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86297", 16), new BigInteger("6A91174076B1E0E19C39C031FE8685C1CAE040E5C69A28EF", 16), new BigInteger("469A28EF7C28CCA3DC721D044F4496BCCA7EF4146FBF25C9", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("04C0A0647EAAB6A48753B033C56CB0F0900A2F5C4853375FD614B690866ABD5BB88B5F4828C1490002E6773FA2FA299B8F")), bigInteger, bigInteger2);
int i2 = d + 27;
b = i2 % 128;
int i3 = i2 % 2;
return x9ECParameters;
}
};
brainpoolP192t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.4
private static final byte[] $$a = {53, ISOFileInfo.A5, 77, -13};
private static final int $$b = 246;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int c = 1;
private static long a = -8205863667747361896L;
/* 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:0x002c). 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(short r6, int r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass4.$$a
int r7 = r7 * 4
int r7 = r7 + 1
int r6 = r6 * 2
int r6 = 121 - r6
int r8 = r8 + 4
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r4 = r7
r6 = r8
r3 = r2
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r6
int r8 = r8 + 1
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r4 = r0[r8]
r5 = r8
r8 = r6
r6 = r5
L2c:
int r8 = r8 + r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass4.f(short, int, short, java.lang.Object[]):void");
}
private static void e(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(a ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
int i4 = $10 + 3;
$11 = i4 % 128;
int i5 = i4 % 2;
while (guL.a < a2.length) {
int i6 = $10 + 17;
$11 = i6 % 128;
int i7 = i6 % 2;
guL.c = guL.a - i3;
int i8 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(a)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - TextUtils.indexOf("", ""), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (1705 - MotionEvent.axisFromString("")));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
f(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - View.combineMeasuredStates(0, 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ImageFormat.getBitsPerPixel(0) + 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
f(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);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a2, 4, a2.length - 4);
int i9 = $11 + 17;
$10 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("C302F41D932A36CDA7A3462F9E9E916B5BE8F1029AC4ACC1", 16);
Object[] objArr = new Object[1];
e(new char[]{37777, 11450, 58957, 37793, 40780, 22298}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 1, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86297", 16), new BigInteger("C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86294", 16), new BigInteger("13D56FFAEC78681E68F9DEB43B35BEC2FB68542E27897B79", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("043AE9E58C82F63C30282E1FE7BBF43FA72C446AF6F4618129097E2C5667C2223A902AB5CA449D0084B7E5B3DE7CCC01C9")), bigInteger, bigInteger2);
int i2 = c + 113;
b = i2 % 128;
if (i2 % 2 == 0) {
return x9ECParameters;
}
Object obj = null;
obj.hashCode();
throw null;
}
};
brainpoolP224r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.5
private static final byte[] $$a = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85};
private static final int $$b = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int b = 1;
private static char[] d = {39955, 39995};
/* 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:0x002c). 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, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = r8 + 1
int r7 = r7 * 2
int r7 = r7 + 71
byte[] r1 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass5.$$a
int r6 = r6 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r7
r3 = r2
r7 = r6
goto L2c
L15:
r3 = r2
L16:
int r6 = r6 + 1
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r6]
r5 = r7
r7 = r6
r6 = r5
L2c:
int r4 = -r4
int r6 = r6 + r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass5.f(int, byte, int, java.lang.Object[]):void");
}
private static void e(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = d;
int i8 = -1;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 223, Color.red(i3) + 5, (char) (41977 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) i8;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
f(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i3 = 0;
i8 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
char[] cArr4 = new char[i5];
tvh.c = 0;
int i10 = $10 + 85;
$11 = i10 % 128;
int i11 = i10 % 2;
char c = 0;
while (tvh.c < i5) {
int i12 = $10 + 93;
$11 = i12 % 128;
int i13 = i12 % 2;
if (bArr[tvh.c] == 1) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - Gravity.getAbsoluteGravity(0, 0), (-16777211) - Color.rgb(0, 0, 0), (char) (ImageFormat.getBitsPerPixel(0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i15 = $10 + 17;
$11 = i15 % 128;
if (i15 % 2 == 0) {
int i16 = 2 % 4;
}
} else {
int i17 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getTapTimeout() >> 16), Drawable.resolveOpacity(0, 0) + 5, (char) (58134 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (21608 - View.resolveSizeAndState(0, 0, 0)));
byte b4 = (byte) (-1);
byte b5 = (byte) (-b4);
Object[] objArr7 = new Object[1];
f(b4, b5, (byte) (b5 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
int i18 = $11 + 117;
$10 = i18 % 128;
if (i18 % 2 != 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 1, cArr5, 0, i5);
System.arraycopy(cArr5, 1, cArr3, i5 << i7, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i5 + i7);
} else {
i = 0;
char[] cArr6 = new char[i5];
System.arraycopy(cArr3, 0, cArr6, 0, i5);
int i19 = i5 - i7;
System.arraycopy(cArr6, 0, cArr3, i19, i7);
System.arraycopy(cArr6, i7, cArr3, 0, i19);
}
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr7[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr7;
}
if (i6 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i5) {
break;
}
int i21 = $10 + 65;
$11 = i21 % 128;
int i22 = i21 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F", 16);
Object[] objArr = new Object[1];
e(new byte[]{0, 1}, new int[]{0, 2, 0, 0}, false, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF", 16), new BigInteger("68A5E62CA9CE6C1C299803A6C1530B514E182AD8B0042A59CAD29F43", 16), new BigInteger("2580F63CCFE44138870713B1A92369E33E2135D266DBB372386C400B", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("040D9029AD2C7E5CF4340823B2A87DC68C9E4CE3174C1E6EFDEE12C07D58AA56F772C0726F24C6B89E4ECDAC24354B9E99CAA3F6D3761402CD")), bigInteger, bigInteger2);
int i2 = a + 97;
b = i2 % 128;
if (i2 % 2 != 0) {
return x9ECParameters;
}
throw null;
}
};
brainpoolP224t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.6
private static final byte[] $$a = {CVCAFile.CAR_TAG, 74, -6, Ascii.DEL};
private static final int $$b = 19;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int d = 1;
private static long a = 9051040786702654117L;
private static int b = 452713125;
private static char c = 38216;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 g(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass6.$$a
int r7 = r7 * 3
int r7 = 4 - r7
int r8 = r8 * 2
int r8 = 1 - r8
int r6 = 115 - r6
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L26
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r6
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r7]
L26:
int r3 = -r3
int r6 = r6 + r3
int r7 = r7 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass6.g(short, short, int, java.lang.Object[]):void");
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 1;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 44, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 352, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (52127 - ImageFormat.getBitsPerPixel(0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
g(b2, b3, b3, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - (ViewConfiguration.getFadingEdgeLength() >> 16), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 401, 5 - View.MeasureSpec.getSize(0), (char) (21607 - MotionEvent.axisFromString("")));
byte b4 = (byte) ($$b & 5);
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
g(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (a ^ 9051040786702654117L)) ^ ((int) (b ^ 9051040786702654117L))) ^ ((char) (c ^ 9051040786702654117L)));
nhs.a++;
int i6 = $11 + 43;
$10 = i6 % 128;
int i7 = i6 % 2;
i2 = 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr6);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F", 16);
Object[] objArr = new Object[1];
f((char) (30542 - View.resolveSize(0, 0)), KeyEvent.keyCodeFromString(""), new char[]{35786, 63769, 20070, 36983}, new char[]{25492, 53829}, new char[]{0, 0, 0, 0}, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF", 16), new BigInteger("D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FC", 16), new BigInteger("4B337D934104CD7BEF271BF60CED1ED20DA14C08B3BB64F18A60888D", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("046AB1E344CE25FF3896424E7FFE14762ECB49F8928AC0C76029B4D5800374E9F5143E568CD23F3F4D7C0D4B1E41C8CC0D1C6ABD5F1A46DB4C")), bigInteger, bigInteger2);
int i2 = e + 113;
d = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 21 / 0;
}
return x9ECParameters;
}
};
brainpoolP256r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.7
private static final byte[] $$a = {75, ISO7816.INS_UPDATE_RECORD, 11, 77};
private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int c = 1;
private static char[] d = {39955, 39995};
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). 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(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r5 = 3 - r5
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass7.$$a
int r6 = r6 * 2
int r6 = r6 + 71
int r7 = r7 * 3
int r7 = 1 - r7
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L16
r4 = r7
r3 = r2
goto L2a
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r1[r3] = r4
int r5 = r5 + 1
int r3 = r3 + 1
if (r3 != r7) goto L28
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L28:
r4 = r0[r5]
L2a:
int r4 = -r4
int r6 = r6 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass7.f(short, byte, short, java.lang.Object[]):void");
}
/* JADX WARN: Removed duplicated region for block: B:69:0x026b */
/* JADX WARN: Removed duplicated region for block: B:84:0x02a1 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void b(byte[] r20, int[] r21, boolean r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 707
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass7.b(byte[], int[], boolean, java.lang.Object[]):void");
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7", 16);
Object[] objArr = new Object[1];
b(new byte[]{0, 1}, new int[]{0, 2, 0, 2}, false, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377", 16), new BigInteger("7D5A0975FC2C3057EEF67530417AFFE7FB8055C126DC5C6CE94A4B44F330B5D9", 16), new BigInteger("26DC5C6CE94A4B44F330B5D9BBD77CBF958416295CF7E1CE6BCCDC18FF8C07B6", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("048BD2AEB9CB7E57CB2C4B482FFC81B7AFB9DE27E1E3BD23C23A4453BD9ACE3262547EF835C3DAC4FD97F8461A14611DC9C27745132DED8E545C1D54C72F046997")), bigInteger, bigInteger2);
int i2 = a + 47;
c = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 70 / 0;
}
return x9ECParameters;
}
};
brainpoolP256t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.8
private static final byte[] $$a = {43, 11, 51, -107};
private static final int $$b = 35;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int e = 1;
private static int[] b = {1177919023, 10519547, -1345292147, -802417477, -808195899, 1797571252, 684790881, 241282977, 1326260948, -667915347, -714855521, -300585446, -1648713831, 282790844, -422723440, 802939234, 1603840726, 410135490};
private static void f(int i, short s, int i2, Object[] objArr) {
int i3 = s * 2;
int i4 = 3 - (i * 3);
int i5 = (i2 * 2) + 102;
byte[] bArr = $$a;
byte[] bArr2 = new byte[i3 + 1];
int i6 = -1;
if (bArr == null) {
i5 = (-i5) + i3;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i5;
i4++;
if (i7 == i3) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i5 = (-bArr[i4]) + i5;
i6 = i7;
}
}
}
private static void a(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = b;
int i4 = 58134;
int i5 = 729798706;
int i6 = 16;
int i7 = 1;
char c2 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[c2] = Integer.valueOf(iArr2[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> i6) + 15, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i6 = 16;
c2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = b;
if (iArr5 != null) {
int i9 = $10 + 115;
$11 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i11 = 0;
while (i11 < length3) {
Object[] objArr3 = new Object[i7];
objArr3[0] = Integer.valueOf(iArr5[i11]);
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
i2 = i5;
} else {
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + i4))).getMethod("i", Integer.TYPE);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
i5 = i2;
i4 = 58134;
i7 = 1;
}
iArr5 = iArr6;
}
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i12 = $10 + 29;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
int i16 = $10 + 123;
$11 = i16 % 128;
if (i16 % 2 == 0) {
c4403bZM.e ^= iArr4[i14];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 117, ImageFormat.getBitsPerPixel(0) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
f(b2, b3, (byte) (b3 + 1), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i14 += 77;
} else {
c4403bZM.e ^= iArr4[i14];
try {
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(117 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) TextUtils.getCapsMode("", 0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
f(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i14++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(99 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - (Process.myTid() >> 22), (char) Drawable.resolveOpacity(0, 0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr9 = new Object[1];
f(b6, b7, b7, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7", 16);
Object[] objArr = new Object[1];
a(new int[]{1821396347, 596544849}, 2 - Color.argb(0, 0, 0, 0), objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377", 16), new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5374", 16), new BigInteger("662C61C430D84EA4FE66A7733D0B76B7BF93EBC4AF2F49256AE58101FEE92B04", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("04A3E8EB3CC1CFE7B7732213B23A656149AFA142C47AAFBC2B79A191562E1305F42D996C823439C56D7F7B22E14644417E69BCB6DE39D027001DABE8F35B25C9BE")), bigInteger, bigInteger2);
int i2 = c + 21;
e = i2 % 128;
int i3 = i2 % 2;
return x9ECParameters;
}
};
brainpoolP320r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.9
private static final byte[] $$a = {ISO7816.INS_MANAGE_CHANNEL, -18, 54, -52};
private static final int $$b = 215;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int j = 1;
private static char[] d = {15873, 15874};
private static int e = 1934311153;
private static boolean c = true;
private static boolean a = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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 g(byte r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 57
int r7 = 122 - r7
int r8 = r8 + 4
int r6 = r6 * 2
int r6 = 1 - r6
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass9.$$a
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L14
r3 = r6
r4 = r2
goto L28
L14:
r3 = r2
L15:
int r8 = r8 + 1
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r6) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r3 = r0[r8]
L28:
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass9.g(byte, byte, byte, java.lang.Object[]):void");
}
private static void f(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
int length;
char[] cArr2;
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = d;
char c2 = '0';
long j2 = 0;
if (cArr3 != null) {
int i4 = $10 + 59;
$11 = i4 % 128;
if (i4 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i2])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - Color.alpha(0), 4 - TextUtils.lastIndexOf("", c2, 0), (char) ExpandableListView.getPackedPositionType(j2));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
g(b2, b3, (byte) (-b3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
c2 = '0';
j2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(e)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 282, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (39813 - View.combineMeasuredStates(0, 0)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (a) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 39, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr4);
int i5 = $11 + 119;
$10 = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
objArr[0] = str;
return;
}
if (!c) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - Color.alpha(0), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
int i6 = $11 + 25;
$10 = i6 % 128;
int i7 = i6 % 2;
}
String str2 = new String(cArr6);
int i8 = $11 + 3;
$10 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str2;
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA5B68F12A32D482EC7EE8658E98691555B44C59311", 16);
Object[] objArr = new Object[1];
f(null, new byte[]{-126, ISOFileInfo.DATA_BYTES2}, null, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 126, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F92B9EC7893EC28FCD412B1F1B32E27", 16), new BigInteger("3EE30B568FBAB0F883CCEBD46D3F3BB8A2A73513F5EB79DA66190EB085FFA9F492F375A97D860EB4", 16), new BigInteger("520883949DFDBC42D3AD198640688A6FE13F41349554B49ACC31DCCD884539816F5EB4AC8FB1F1A6", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("0443BD7E9AFB53D8B85289BCC48EE5BFE6F20137D10A087EB6E7871E2A10A599C710AF8D0D39E2061114FDD05545EC1CC8AB4093247F77275E0743FFED117182EAA9C77877AAAC6AC7D35245D1692E8EE1")), bigInteger, bigInteger2);
int i2 = b + 105;
j = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 20 / 0;
}
return x9ECParameters;
}
};
brainpoolP320t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.10
private static final byte[] $$a = {85, -61, 49, 80};
private static final int $$b = 28;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int e = 1;
private static char[] b = {35371, 49026, 49027, 35368};
private static char d = 35371;
private static void f(short s, short s2, int i, Object[] objArr) {
byte[] bArr = $$a;
int i2 = 120 - i;
int i3 = s * 3;
int i4 = 4 - (s2 * 2);
byte[] bArr2 = new byte[1 - i3];
int i5 = 0 - i3;
int i6 = -1;
if (bArr == null) {
i2 += -i5;
i4++;
}
while (true) {
i6++;
bArr2[i6] = (byte) i2;
if (i6 == i5) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i2 += -bArr[i4];
i4++;
}
}
}
private static void c(int i, char[] cArr, byte b2, Object[] objArr) {
int i2;
Object obj;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = b;
Object obj2 = null;
long j = 0;
int i4 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(j) + 298, ExpandableListView.getPackedPositionType(j) + i4, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
f(b3, b4, (byte) (b4 + 3), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i5++;
j = 0;
i4 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(d)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = 4;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 297, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) View.getDefaultSize(0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
f(b5, b6, (byte) (b6 + 3), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i6 = $11 + 123;
$10 = i6 % 128;
int i7 = i6 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
obj = obj2;
c = c2;
} else {
try {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[c2] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(234 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (22024 - TextUtils.indexOf("", "", 0)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
f(b7, b8, b8, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i8 = $10 + 101;
$11 = i8 % 128;
int i9 = i8 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
c = 4;
} else {
Class cls4 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 328, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
f(b9, b10, (byte) (b10 + 2), objArr9);
String str = (String) objArr9[0];
c = 4;
obj6 = cls4.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
obj = null;
c = 4;
if (irs.a == irs.d) {
int i11 = $10 + 77;
$11 = i11 % 128;
int i12 = i11 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
for (int i17 = 0; i17 < i; i17++) {
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA5B68F12A32D482EC7EE8658E98691555B44C59311", 16);
Object[] objArr = new Object[1];
c((Process.myPid() >> 22) + 2, new char[]{3, 0}, (byte) (67 - TextUtils.lastIndexOf("", '0', 0)), objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F92B9EC7893EC28FCD412B1F1B32E27", 16), new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F92B9EC7893EC28FCD412B1F1B32E24", 16), new BigInteger("A7F561E038EB1ED560B3D147DB782013064C19F27ED27C6780AAF77FB8A547CEB5B4FEF422340353", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("04925BE9FB01AFC6FB4D3E7D4990010F813408AB106C4F09CB7EE07868CC136FFF3357F624A21BED5263BA3A7A27483EBF6671DBEF7ABB30EBEE084E58A0B077AD42A5A0989D1EE71B1B9BC0455FB0D2C3")), bigInteger, bigInteger2);
int i2 = a + 25;
e = i2 % 128;
int i3 = i2 % 2;
return x9ECParameters;
}
};
brainpoolP384r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.11
private static final byte[] $$a = {ISO7816.INS_PSO, ISOFileInfo.FCP_BYTE, 99, -29};
private static final int $$b = 219;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int d = 1;
private static int b = 2015661682;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> 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 e(int r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = 3 - r7
int r8 = r8 * 2
int r0 = r8 + 1
byte[] r1 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass11.$$a
int r6 = r6 * 7
int r6 = 76 - r6
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L17
r3 = r7
r7 = r8
r4 = r2
goto L2f
L17:
r3 = r2
L18:
byte r4 = (byte) r6
int r7 = r7 + 1
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
r3 = r1[r7]
r5 = r7
r7 = r6
r6 = r3
r3 = r5
L2f:
int r6 = -r6
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass11.e(int, short, int, java.lang.Object[]):void");
}
private static void c(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $10 + 19;
$11 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(b)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (ViewConfiguration.getPressedStateDuration() >> 16) + 7, (char) (Process.myPid() >> 22));
byte b2 = (byte) ($$b & 5);
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
e(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((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(342 - View.resolveSizeAndState(0, 0, 0), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
e(b4, b5, b5, 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 (i2 > 0) {
zui.a = i2;
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) {
char[] cArr4 = new char[i];
zui.d = 0;
int i8 = $10 + 99;
$11 = i8 % 128;
int i9 = i8 % 2;
while (zui.d < i) {
int i10 = $10 + 49;
$11 = i10 % 128;
if (i10 % 2 == 0) {
int i11 = zui.d;
int i12 = zui.d;
cArr4[i11] = cArr2[0];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(343 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - TextUtils.indexOf("", "", 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
e(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 342, View.combineMeasuredStates(0, 0) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
e(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B31F166E6CAC0425A7CF3AB6AF6B7FC3103B883202E9046565", 16);
Object[] objArr = new Object[1];
c(1 - TextUtils.indexOf((CharSequence) "", '0', 0), ImageFormat.getBitsPerPixel(0) + 3, (ViewConfiguration.getScrollBarSize() >> 8) + 133, new char[]{1, 0}, true, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC53", 16), new BigInteger("7BC382C63D8C150C3C72080ACE05AFA0C2BEA28E4FB22787139165EFBA91F90F8AA5814A503AD4EB04A8C7DD22CE2826", 16), new BigInteger("4A8C7DD22CE28268B39B55416F0447C2FB77DE107DCD2A62E880EA53EEB62D57CB4390295DBC9943AB78696FA504C11", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("041D1C64F068CF45FFA2A63A81B7C13F6B8847A3E77EF14FE3DB7FCAFE0CBD10E8E826E03436D646AAEF87B2E247D4AF1E8ABE1D7520F9C2A45CB1EB8E95CFD55262B70B29FEEC5864E19C054FF99129280E4646217791811142820341263C5315")), bigInteger, bigInteger2);
int i2 = d + 91;
a = i2 % 128;
if (i2 % 2 == 0) {
return x9ECParameters;
}
Object obj = null;
obj.hashCode();
throw null;
}
};
brainpoolP384t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.12
private static final byte[] $$a = {ISO7816.INS_INCREASE, 10, Byte.MIN_VALUE, -124};
private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int b = 1;
private static long a = 7524733901841811440L;
private static int d = 452713125;
private static char c = 55973;
/* 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:0x002c). 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 g(int r7, short r8, byte r9, java.lang.Object[] r10) {
/*
int r8 = 115 - r8
int r9 = r9 * 3
int r9 = 3 - r9
byte[] r0 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass12.$$a
int r7 = r7 * 3
int r7 = r7 + 1
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r8 = r9
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r8
int r9 = r9 + 1
r1[r3] = r5
if (r4 != r7) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r6
L2c:
int r3 = -r3
int r9 = r9 + r3
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass12.g(int, short, byte, java.lang.Object[]):void");
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i3 = $11 + 27;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 4 / 4;
}
while (nhs.a < length3) {
int i5 = $10 + 97;
$11 = i5 % 128;
int i6 = i5 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 45, 5 - KeyEvent.normalizeMetaState(0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(353 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 52128));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
g(b2, b3, b3, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Process.getGidForName("") + 749, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 402, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (21608 - (ViewConfiguration.getEdgeSlop() >> 16)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (a ^ 9051040786702654117L)) ^ ((int) (d ^ 9051040786702654117L))) ^ ((char) (c ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B31F166E6CAC0425A7CF3AB6AF6B7FC3103B883202E9046565", 16);
Object[] objArr = new Object[1];
f((char) ((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 42561), ViewConfiguration.getLongPressTimeout() >> 16, new char[]{46197, 42060, 16732, 23718}, new char[]{28237, 29716}, new char[]{7509, 43621, 63545, 5622}, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC53", 16), new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC50", 16), new BigInteger("7F519EADA7BDA81BD826DBA647910F8C4B9346ED8CCDC64E4B1ABD11756DCE1D2074AA263B88805CED70355A33B471EE", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("0418DE98B02DB9A306F2AFCD7235F72A819B80AB12EBD653172476FECD462AABFFC4FF191B946A5F54D8D0AA2F418808CC25AB056962D30651A114AFD2755AD336747F93475B7A1FCA3B88F2B6A208CCFE469408584DC2B2912675BF5B9E582928")), bigInteger, bigInteger2);
int i2 = e + 1;
b = i2 % 128;
int i3 = i2 % 2;
return x9ECParameters;
}
};
brainpoolP512r1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.13
private static final byte[] $$a = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$b = 109;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int f = 1;
private static char[] b = {15931, 15932};
private static int c = 1934311147;
private static boolean a = true;
private static boolean e = true;
private static void h(short s, short s2, short s3, Object[] objArr) {
byte[] bArr = $$a;
int i = (s3 * 57) + 65;
int i2 = 4 - (s * 3);
int i3 = s2 * 4;
byte[] bArr2 = new byte[i3 + 1];
int i4 = -1;
if (bArr == null) {
i += i3;
i2++;
}
while (true) {
i4++;
bArr2[i4] = (byte) i;
if (i4 == i3) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i += bArr[i2];
i2++;
}
}
}
private static void g(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = b;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
int i5 = $10 + 75;
$11 = i5 % 128;
if (i5 % i2 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 337, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
h(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i4])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSize(0, 0) + 337, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
h(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr3[i4] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i4++;
}
i2 = 2;
j = 0;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(c)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(283 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (39814 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
h(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (!e) {
if (!a) {
c3614bBe.c = iArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i6 = $11 + 85;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr4);
return;
}
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(39 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr5);
return;
}
int i8 = $11 + 117;
$10 = i8 % 128;
int i9 = i8 % 2;
c3614bBe.c = bArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i10 = $10 + 109;
$11 = i10 % 128;
if (i10 % 2 == 0) {
cArr6[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c >> 1) * c3614bBe.a] * i] >>> intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
} else {
cArr6[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr10 = {c3614bBe, c3614bBe};
Object obj6 = xzZ.y.get(1779759091);
if (obj6 == null) {
obj6 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 40, 5 - View.MeasureSpec.getSize(0), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj6);
}
((Method) obj6).invoke(null, objArr10);
}
}
objArr[0] = new String(cArr6);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA70330870553E5C414CA92619418661197FAC10471DB1D381085DDADDB58796829CA90069", 16);
Object[] objArr = new Object[1];
g(null, new byte[]{-126, ISOFileInfo.DATA_BYTES2}, null, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 126, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F3", 16), new BigInteger("7830A3318B603B89E2327145AC234CC594CBDD8D3DF91610A83441CAEA9863BC2DED5D5AA8253AA10A2EF1C98B9AC8B57F1117A72BF2C7B9E7C1AC4D77FC94CA", 16), new BigInteger("3DF91610A83441CAEA9863BC2DED5D5AA8253AA10A2EF1C98B9AC8B57F1117A72BF2C7B9E7C1AC4D77FC94CADC083E67984050B75EBAE5DD2809BD638016F723", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("0481AEE4BDD82ED9645A21322E9C4C6A9385ED9F70B5D916C1B43B62EEF4D0098EFF3B1F78E2D0D48D50D1687B93B97D5F7C6D5047406A5E688B352209BCB9F8227DDE385D566332ECC0EABFA9CF7822FDF209F70024A57B1AA000C55B881F8111B2DCDE494A5F485E5BCA4BD88A2763AED1CA2B2FA8F0540678CD1E0F3AD80892")), bigInteger, bigInteger2);
int i2 = f + 53;
d = i2 % 128;
int i3 = i2 % 2;
return x9ECParameters;
}
};
brainpoolP512t1 = new X9ECParametersHolder() { // from class: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.14
private static final byte[] $$a = {15, Ascii.DC4, ISO7816.INS_MSE, -3};
private static final int $$b = 14;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int c = 1;
private static long b = 9051040786702654117L;
private static int e = 452713125;
private static char d = 23805;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002a). 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 g(short r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r0 = 1 - r5
int r7 = r7 + 114
int r6 = r6 * 3
int r6 = 3 - r6
byte[] r1 = org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass14.$$a
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L16
r4 = r5
r3 = r2
goto L2a
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
int r6 = r6 + 1
r4 = r1[r6]
L2a:
int r4 = -r4
int r7 = r7 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves.AnonymousClass14.g(short, int, int, java.lang.Object[]):void");
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $10 + 125;
$11 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 45, TextUtils.getTrimmedLength("") + 5, (char) TextUtils.indexOf("", ""))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 352, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (52128 - View.getDefaultSize(0, 0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
g(b2, b3, (byte) (b3 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - Color.argb(0, 0, 0, 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - ((byte) KeyEvent.getModifierMetaStateMask()), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (21608 - KeyEvent.keyCodeFromString("")));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
g(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (b ^ 9051040786702654117L)) ^ ((int) (e ^ 9051040786702654117L))) ^ ((char) (d ^ 9051040786702654117L)));
nhs.a++;
int i5 = $11 + 13;
$10 = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 2 % 5;
}
} 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr6);
}
@Override // org.bouncycastle.asn1.x9.X9ECParametersHolder
public final X9ECParameters createParameters() {
int i = 2 % 2;
BigInteger bigInteger = new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA70330870553E5C414CA92619418661197FAC10471DB1D381085DDADDB58796829CA90069", 16);
Object[] objArr = new Object[1];
f((char) (10566 - TextUtils.indexOf((CharSequence) "", '0')), KeyEvent.getDeadChar(0, 0), new char[]{8606, 34517, 18286, 15401}, new char[]{19552, 3543}, new char[]{0, 0, 0, 0}, objArr);
BigInteger bigInteger2 = new BigInteger(((String) objArr[0]).intern(), 16);
ECCurve access$000 = TeleTrusTNamedCurves.access$000(new ECCurve.Fp(new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F3", 16), new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F0", 16), new BigInteger("7CBBBCF9441CFAB76E1890E46884EAE321F70C0BCB4981527897504BEC3E36A62BCDFA2304976540F6450085F2DAE145C22553B465763689180EA2571867423E", 16), bigInteger, bigInteger2));
X9ECParameters x9ECParameters = new X9ECParameters(access$000, new X9ECPoint(access$000, Hex.decode("04640ECE5C12788717B9C1BA06CBC2A6FEBA85842458C56DDE9DB1758D39C0313D82BA51735CDB3EA499AA77A7D6943A64F7A3F25FE26F06B51BAA2696FA9035DA5B534BD595F5AF0FA2C892376C84ACE1BB4E3019B71634C01131159CAE03CEE9D9932184BEEF216BD71DF2DADF86A627306ECFF96DBB8BACE198B61E00F8B332")), bigInteger, bigInteger2);
int i2 = c + 75;
a = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 44 / 0;
}
return x9ECParameters;
}
};
objIds = new Hashtable();
curves = new Hashtable();
names = new Hashtable();
defineCurve("brainpoolp160r1", TeleTrusTObjectIdentifiers.brainpoolP160r1, brainpoolP160r1);
defineCurve("brainpoolp160t1", TeleTrusTObjectIdentifiers.brainpoolP160t1, brainpoolP160t1);
defineCurve("brainpoolp192r1", TeleTrusTObjectIdentifiers.brainpoolP192r1, brainpoolP192r1);
defineCurve("brainpoolp192t1", TeleTrusTObjectIdentifiers.brainpoolP192t1, brainpoolP192t1);
defineCurve("brainpoolp224r1", TeleTrusTObjectIdentifiers.brainpoolP224r1, brainpoolP224r1);
defineCurve("brainpoolp224t1", TeleTrusTObjectIdentifiers.brainpoolP224t1, brainpoolP224t1);
defineCurve("brainpoolp256r1", TeleTrusTObjectIdentifiers.brainpoolP256r1, brainpoolP256r1);
defineCurve("brainpoolp256t1", TeleTrusTObjectIdentifiers.brainpoolP256t1, brainpoolP256t1);
defineCurve("brainpoolp320r1", TeleTrusTObjectIdentifiers.brainpoolP320r1, brainpoolP320r1);
defineCurve("brainpoolp320t1", TeleTrusTObjectIdentifiers.brainpoolP320t1, brainpoolP320t1);
defineCurve("brainpoolp384r1", TeleTrusTObjectIdentifiers.brainpoolP384r1, brainpoolP384r1);
defineCurve("brainpoolp384t1", TeleTrusTObjectIdentifiers.brainpoolP384t1, brainpoolP384t1);
defineCurve("brainpoolp512r1", TeleTrusTObjectIdentifiers.brainpoolP512r1, brainpoolP512r1);
defineCurve("brainpoolp512t1", TeleTrusTObjectIdentifiers.brainpoolP512t1, brainpoolP512t1);
int i = a + 37;
d = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}