461 lines
15 KiB
Java
461 lines
15 KiB
Java
package o;
|
|
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import o.ZI;
|
|
import o.aBF;
|
|
import o.wRi;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class aBF extends ZI<cYK> {
|
|
private final LRu c;
|
|
private final FHl d;
|
|
private static final byte[] $$a = {54, -108, 123, 45};
|
|
private static final int $$b = 44;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int g = 0;
|
|
private static int h = 1;
|
|
private static char[] a = {16079};
|
|
private static int b = 1934311102;
|
|
private static boolean e = true;
|
|
private static boolean i = true;
|
|
|
|
/* 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:0x002b). 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 l(short r5, int r6, byte r7, java.lang.Object[] r8) {
|
|
/*
|
|
byte[] r0 = o.aBF.$$a
|
|
int r6 = r6 * 3
|
|
int r1 = 1 - r6
|
|
int r7 = r7 * 57
|
|
int r7 = r7 + 65
|
|
int r5 = r5 * 3
|
|
int r5 = 4 - r5
|
|
byte[] r1 = new byte[r1]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r0 != 0) goto L19
|
|
r4 = r7
|
|
r3 = r2
|
|
r7 = r6
|
|
goto L2b
|
|
L19:
|
|
r3 = r2
|
|
L1a:
|
|
byte r4 = (byte) r7
|
|
r1[r3] = r4
|
|
if (r3 != r6) goto L27
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r1, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L27:
|
|
r4 = r0[r5]
|
|
int r3 = r3 + 1
|
|
L2b:
|
|
int r7 = r7 + r4
|
|
int r5 = r5 + 1
|
|
goto L1a
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.aBF.l(short, int, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
static /* synthetic */ C16903sI a(aBF abf) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 35;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
C16903sI c16903sI = abf.j;
|
|
if (i4 != 0) {
|
|
return c16903sI;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
static /* synthetic */ void b(aBF abf) {
|
|
int i2 = 2 % 2;
|
|
if (abf.f != 0) {
|
|
int i3 = h;
|
|
int i4 = i3 + 125;
|
|
g = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = i3 + 123;
|
|
g = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
abf.f.ar_();
|
|
throw null;
|
|
}
|
|
abf.f.ar_();
|
|
}
|
|
}
|
|
int i6 = h + 9;
|
|
g = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
}
|
|
|
|
static /* synthetic */ void c(aBF abf) {
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 125;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (abf.f != 0) {
|
|
int i5 = g + 65;
|
|
h = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
abf.f.ar_();
|
|
throw null;
|
|
}
|
|
abf.f.ar_();
|
|
}
|
|
int i6 = h + 41;
|
|
g = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
int i7 = 46 / 0;
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ boolean c(aBF abf, Throwable th) {
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 45;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
boolean i5 = abf.i(th);
|
|
int i6 = h + 121;
|
|
g = i6 % 128;
|
|
if (i6 % 2 == 0) {
|
|
return i5;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public aBF(C16903sI c16903sI, LRu lRu, FHl fHl) {
|
|
super(c16903sI);
|
|
this.c = lRu;
|
|
this.d = fHl;
|
|
}
|
|
|
|
public final boolean d() {
|
|
String str;
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 121;
|
|
g = i3 % 128;
|
|
Object obj = null;
|
|
if (i3 % 2 != 0) {
|
|
this.d.a.K();
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
if (this.d.a.K() != null) {
|
|
str = this.d.a.K().I;
|
|
} else {
|
|
Object[] objArr = new Object[1];
|
|
k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, (Process.myTid() >> 22) + 127, objArr);
|
|
String intern = ((String) objArr[0]).intern();
|
|
int i4 = g + 103;
|
|
h = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 2 / 4;
|
|
}
|
|
str = intern;
|
|
}
|
|
Object[] objArr2 = new Object[1];
|
|
k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 127 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr2);
|
|
return ((String) objArr2[0]).intern().equalsIgnoreCase(str);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ Object b(Object[] objArr) {
|
|
aBF abf = (aBF) objArr[0];
|
|
cYK cyk = (cYK) objArr[1];
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 21;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
cyk.a(!abf.d());
|
|
int i5 = g + 71;
|
|
h = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return null;
|
|
}
|
|
|
|
public final void a() {
|
|
int i2 = 2 % 2;
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aBG
|
|
private aBF c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
aBF.b(this.c, (cYK) obj);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
int i3 = h;
|
|
int i4 = i3 + 7;
|
|
g = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
int i6 = i3 + 105;
|
|
g = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
|
|
public final void b(String str) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 25;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (this.f != 0) {
|
|
int i5 = h + 73;
|
|
int i6 = i5 % 128;
|
|
g = i6;
|
|
int i7 = i5 % 2;
|
|
int i8 = i6 + 57;
|
|
h = i8 % 128;
|
|
if (i8 % 2 == 0) {
|
|
this.f.y();
|
|
throw null;
|
|
}
|
|
this.f.y();
|
|
}
|
|
LRu lRu = this.c;
|
|
C8233dF d = C8233dF.d();
|
|
d.d = str;
|
|
lRu.a(d);
|
|
LRu lRu2 = this.c;
|
|
lRu2.d(lRu2.i, new LWm(this, (byte) 0));
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes4.dex */
|
|
public class LWm extends wRi.LWm<Boolean> {
|
|
private aBF b;
|
|
|
|
private LWm(aBF abf) {
|
|
this.b = abf;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
aBF.c(this.b);
|
|
aBF abf = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aBN
|
|
private aBF.LWm a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((cYK) obj2).e(this.a.b.d());
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
}
|
|
};
|
|
if (abf.f != 0) {
|
|
ieS.e(abf.f);
|
|
}
|
|
aBF abf2 = this.b;
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aBM
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((cYK) obj2).e();
|
|
}
|
|
};
|
|
if (abf2.f != 0) {
|
|
ieS2.e(abf2.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(final Throwable th) {
|
|
aBF.b(this.b);
|
|
if (aBF.c(this.b, th)) {
|
|
return;
|
|
}
|
|
aBF abf = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.aBR
|
|
private aBF.LWm c;
|
|
private Throwable e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
aBF.LWm.e(this.c, this.e, (cYK) obj);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
this.e = th;
|
|
}
|
|
};
|
|
if (abf.f != 0) {
|
|
ieS.e(abf.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(LWm lWm, Throwable th, cYK cyk) {
|
|
cyk.d(aBF.a(lWm.b).e(th));
|
|
cyk.e(lWm.b.d());
|
|
}
|
|
|
|
/* synthetic */ LWm(aBF abf, byte b) {
|
|
this(abf);
|
|
}
|
|
}
|
|
|
|
private static void k(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
|
|
int i3 = 2;
|
|
int i4 = 2 % 2;
|
|
C3614bBe c3614bBe = new C3614bBe();
|
|
char[] cArr2 = a;
|
|
long j = 0;
|
|
if (cArr2 != null) {
|
|
int length = cArr2.length;
|
|
char[] cArr3 = new char[length];
|
|
int i5 = 0;
|
|
while (i5 < length) {
|
|
int i6 = $10 + 35;
|
|
$11 = i6 % 128;
|
|
int i7 = i6 % i3;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
|
|
Object obj = xzZ.y.get(-950481649);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)) + 336, 5 - View.MeasureSpec.getMode(0), (char) (1 - (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1))));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
l(b2, b3, b3, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(-950481649, obj);
|
|
}
|
|
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i5++;
|
|
i3 = 2;
|
|
j = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2 = cArr3;
|
|
}
|
|
try {
|
|
Object[] objArr4 = {Integer.valueOf(b)};
|
|
Object obj2 = xzZ.y.get(-1521625011);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 282, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (39813 - (ViewConfiguration.getTouchSlop() >> 8)));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
l(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 (!(!i)) {
|
|
c3614bBe.c = bArr.length;
|
|
char[] cArr4 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
|
|
Object[] objArr6 = {c3614bBe, c3614bBe};
|
|
Object obj3 = xzZ.y.get(1779759091);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 40, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) View.combineMeasuredStates(0, 0))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
objArr[0] = new String(cArr4);
|
|
return;
|
|
}
|
|
if (!e) {
|
|
c3614bBe.c = iArr.length;
|
|
char[] cArr5 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
int i8 = $11 + 21;
|
|
$10 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
|
|
c3614bBe.a++;
|
|
int i10 = $10 + 1;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
}
|
|
objArr[0] = new String(cArr5);
|
|
return;
|
|
}
|
|
int i12 = $10 + 55;
|
|
$11 = i12 % 128;
|
|
int i13 = i12 % 2;
|
|
c3614bBe.c = cArr.length;
|
|
char[] cArr6 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
int i14 = $11 + 43;
|
|
$10 = i14 % 128;
|
|
int i15 = i14 % 2;
|
|
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
|
|
Object[] objArr7 = {c3614bBe, c3614bBe};
|
|
Object obj4 = xzZ.y.get(1779759091);
|
|
if (obj4 == null) {
|
|
obj4 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 39, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr7);
|
|
}
|
|
objArr[0] = new String(cArr6);
|
|
} catch (Throwable th2) {
|
|
Throwable cause2 = th2.getCause();
|
|
if (cause2 == null) {
|
|
throw th2;
|
|
}
|
|
throw cause2;
|
|
}
|
|
}
|
|
|
|
private /* synthetic */ void b(cYK cyk) {
|
|
System.identityHashCode(this);
|
|
b(new Object[]{this, cyk});
|
|
}
|
|
|
|
public static /* synthetic */ void b(aBF abf, cYK cyk) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 53;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Object[] objArr = {abf, cyk};
|
|
System.identityHashCode(abf);
|
|
b(objArr);
|
|
int i5 = h + 71;
|
|
g = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
int i6 = 57 / 0;
|
|
}
|
|
}
|
|
}
|