package o; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.Gravity; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import java.lang.reflect.Method; import java.util.Comparator; import java.util.List; import net.sf.scuba.smartcards.ISOFileInfo; import o.C6844cdA; import o.InterfaceC8954dab; import o.PRA; import o.ZI; import o.wRi; /* renamed from: o.cdA, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C6844cdA extends ZI { private final C17687ys a; private SU b; private final C17685yr c; private C0985Ta d; private final zMZ e; private final fAZ g; private final C17695yw h; private List i; private boolean m; private static final byte[] $$a = {Ascii.DC2, 10, ISOFileInfo.FCI_BYTE, -108}; private static final int $$b = 50; private static int $10 = 0; private static int $11 = 1; private static int n = 0; /* renamed from: o, reason: collision with root package name */ private static int f8635o = 1; private static char[] l = {17174, 36835}; private static long k = 7722702820989587984L; public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-515)) + (i2 * 517); int i5 = ~i2; int i6 = ~(i5 | i3); int i7 = ~i3; int i8 = i6 | (~(i7 | i)); int i9 = ~(i7 | i2); int i10 = ~i; int i11 = i4 + ((i8 | i9) * (-516)) + (((~(i3 | i5 | i10)) | (~(i10 | i7 | i2))) * 516) + (((~(i10 | i2)) | i9) * 516); return i11 != 1 ? i11 != 2 ? i11 != 3 ? i11 != 4 ? c(objArr) : b(objArr) : d(objArr) : a(objArr) : e(objArr); } private static void p(byte b, byte b2, int i, Object[] objArr) { byte[] bArr = $$a; int i2 = b * 3; int i3 = i + 4; int i4 = b2 + 98; byte[] bArr2 = new byte[i2 + 1]; int i5 = -1; if (bArr == null) { i4 = (-i4) + i3; i5 = -1; } while (true) { int i6 = i3; int i7 = i4; int i8 = i5 + 1; bArr2[i8] = (byte) i7; int i9 = i6 + 1; if (i8 == i2) { objArr[0] = new String(bArr2, 0); return; } else { i3 = i9; i4 = (-bArr[i9]) + i7; i5 = i8; } } } static /* synthetic */ void e(C6844cdA c6844cdA, Throwable th) { int i = 2 % 2; if (c6844cdA.b(th)) { int i2 = f8635o + 25; n = i2 % 128; if (i2 % 2 != 0) { c6844cdA.d(c6844cdA.j.e(th)); throw null; } c6844cdA.d(c6844cdA.j.e(th)); } int i3 = f8635o + 9; n = i3 % 128; int i4 = i3 % 2; } static /* synthetic */ C16903sI f(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = n + 57; f8635o = i2 % 128; int i3 = i2 % 2; C16903sI c16903sI = c6844cdA.j; if (i3 != 0) { return c16903sI; } throw null; } static /* synthetic */ void g(C6844cdA c6844cdA) { int i = 2 % 2; boolean z = false; if (c6844cdA.f != 0) { int i2 = n + 7; f8635o = i2 % 128; if (i2 % 2 != 0) { z = true; } } else { int i3 = n + 19; f8635o = i3 % 128; int i4 = i3 % 2; } if (z) { c6844cdA.f.ar_(); } } static /* synthetic */ void h(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = f8635o + 39; n = i2 % 128; int i3 = i2 % 2; if (c6844cdA.f != 0) { int i4 = f8635o + 45; n = i4 % 128; int i5 = i4 % 2; c6844cdA.f.ar_(); return; } int i6 = f8635o + 7; n = i6 % 128; int i7 = i6 % 2; } static /* synthetic */ void i(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = n + 99; f8635o = i2 % 128; if (i2 % 2 != 0) { boolean z = false; if (c6844cdA.f != 0) { int i3 = n + 27; f8635o = i3 % 128; if (i3 % 2 != 0) { z = true; } } else { int i4 = n + 35; f8635o = i4 % 128; if (i4 % 2 == 0) { int i5 = 5 % 2; } } if (z) { c6844cdA.f.ar_(); int i6 = f8635o + 67; n = i6 % 128; if (i6 % 2 != 0) { int i7 = 3 / 3; return; } return; } return; } T t = c6844cdA.f; Object obj = null; obj.hashCode(); throw null; } static /* synthetic */ void j(C6844cdA c6844cdA) { int i = 2 % 2; if (c6844cdA.f != 0) { int i2 = n + 27; f8635o = i2 % 128; int i3 = i2 % 2; c6844cdA.f.ar_(); return; } int i4 = n + 57; f8635o = i4 % 128; int i5 = i4 % 2; } @InterfaceC13391fZD public C6844cdA(C16903sI c16903sI, fAZ faz, C17695yw c17695yw, C17687ys c17687ys, C17685yr c17685yr, zMZ zmz) { super(c16903sI); this.m = false; this.g = faz; this.h = c17695yw; this.a = c17687ys; this.c = c17685yr; this.e = zmz; } private static /* synthetic */ Object b(Object[] objArr) { C6844cdA c6844cdA = (C6844cdA) objArr[0]; guD gud = (guD) objArr[1]; InterfaceC8954dab.IeS ieS = (InterfaceC8954dab.IeS) objArr[2]; int i = 2 % 2; int i2 = n + 41; f8635o = i2 % 128; Object obj = null; if (i2 % 2 != 0) { ieS.a(c6844cdA.a.c(gud.s)); return null; } ieS.a(c6844cdA.a.c(gud.s)); obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:16:0x0041, code lost: if (r12.equals("TOUCHPOINT_COMPLETE") == false) goto L35; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object a(java.lang.Object[] r12) { /* Method dump skipped, instructions count: 385 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C6844cdA.a(java.lang.Object[]):java.lang.Object"); } private /* synthetic */ void c(InterfaceC8954dab.IeS ieS) { int i = 2 % 2; int i2 = n + 29; f8635o = i2 % 128; if (i2 % 2 == 0) { ieS.b(this.d, this.m); Object obj = null; obj.hashCode(); throw null; } ieS.b(this.d, this.m); int i3 = n + 117; f8635o = i3 % 128; if (i3 % 2 == 0) { int i4 = 40 / 0; } } private static /* synthetic */ Object c(Object[] objArr) { ST st = (ST) objArr[0]; InterfaceC8954dab.IeS ieS = (InterfaceC8954dab.IeS) objArr[1]; int i = 2 % 2; int i2 = n + 113; f8635o = i2 % 128; int i3 = i2 % 2; ieS.c(st); if (i3 == 0) { throw null; } int i4 = n + 111; f8635o = i4 % 128; int i5 = i4 % 2; return null; } public final String b() { int i = 2 % 2; int i2 = f8635o + 21; n = i2 % 128; int i3 = i2 % 2; String e = this.e.d.e(); int i4 = n + 105; f8635o = i4 % 128; if (i4 % 2 == 0) { int i5 = 18 / 0; } return e; } private static void q(char c, int i, int i2, Object[] objArr) { Object method; int i3 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; while (dqy.a < i2) { int i4 = $10 + 93; $11 = i4 % 128; int i5 = i4 % 2; int i6 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(l[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(308 - Color.argb(0, 0, 0, 0), '5' - AndroidCharacter.getMirror('0'), (char) (TextUtils.getOffsetAfter("", 0) + 32797)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; p(b, b2, (byte) (b2 - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(k), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - ExpandableListView.getPackedPositionGroup(0L), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 1); Object[] objArr5 = new Object[1]; p(b3, b4, (byte) (-b4), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(406 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (TextUtils.getTrimmedLength("") + 29234)); byte b5 = (byte) 0; Object[] objArr7 = new Object[1]; p(b5, (byte) (b5 | 8), (byte) (-1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); int i7 = $11 + 75; $10 = i7 % 128; int i8 = i7 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { cArr[dqy.a] = (char) jArr[dqy.a]; try { Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 != null) { method = obj4; } else { Class cls4 = (Class) xzZ.c((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)) + 407, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (Gravity.getAbsoluteGravity(0, 0) + 29234)); byte b6 = (byte) 0; Object[] objArr9 = new Object[1]; p(b6, (byte) (b6 | 8), (byte) (-1), objArr9); method = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, method); } ((Method) method).invoke(null, objArr8); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr); } public final void e(int i) { String str; int i2 = 2 % 2; if (this.m) { str = this.g.e.a().w.f; int i3 = n + 21; f8635o = i3 % 128; int i4 = i3 % 2; } else { int i5 = i - 1; List list = this.i; if (list != null) { if (i5 >= 0) { int i6 = n + 117; f8635o = i6 % 128; int i7 = i6 % 2; if (i5 < list.size()) { str = this.i.get(i5).j; } } str = ""; } else { C0985Ta c0985Ta = this.d; if (c0985Ta != null) { int i8 = n + 25; f8635o = i8 % 128; if (i8 % 2 == 0) { str = c0985Ta.j; int i9 = 26 / 0; } else { str = c0985Ta.j; } } str = ""; } } C7953cy b = C7953cy.b(); b.d = str; C7426co e = C7426co.e(); e.f8657o = b; if (this.f != 0) { int i10 = n; int i11 = i10 + 15; f8635o = i11 % 128; boolean z = i11 % 2 != 0; int i12 = i10 + 9; int i13 = i12 % 128; f8635o = i13; int i14 = i12 % 2; if (z) { int i15 = i13 + 97; n = i15 % 128; if (i15 % 2 != 0) { this.f.y(); Object obj = null; obj.hashCode(); throw null; } this.f.y(); } } this.g.b(e); fAZ faz = this.g; faz.d(faz.i, new IeS(this)); } private static /* synthetic */ Object d(Object[] objArr) { C6844cdA c6844cdA = (C6844cdA) objArr[0]; int i = 2 % 2; int i2 = n + 75; f8635o = i2 % 128; if (i2 % 2 == 0) { c6844cdA.g.h.isDisposed(); throw null; } fAZ faz = c6844cdA.g; if (!faz.h.isDisposed()) { int i3 = f8635o + 63; n = i3 % 128; if (i3 % 2 != 0) { faz.h.dispose(); int i4 = 92 / 0; } else { faz.h.dispose(); } } super.w_(); return null; } public final void a() { int i = 2 % 2; int i2 = f8635o + 21; n = i2 % 128; Object obj = null; if (i2 % 2 != 0) { T t = this.f; throw null; } if (this.f != 0) { int i3 = n + 115; int i4 = i3 % 128; f8635o = i4; int i5 = i3 % 2; int i6 = i4 + 45; n = i6 % 128; if (i6 % 2 != 0) { this.f.y(); obj.hashCode(); throw null; } this.f.y(); } this.g.e(); fAZ faz = this.g; faz.d(faz.i, new RVV(this)); int i7 = n + 49; f8635o = i7 % 128; if (i7 % 2 == 0) { throw null; } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void b(InterfaceC8954dab.IeS ieS) { int i = 2 % 2; int i2 = f8635o + 53; n = i2 % 128; ieS.b(i2 % 2 == 0); int i3 = f8635o + 121; n = i3 % 128; if (i3 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void a(InterfaceC8954dab.IeS ieS) { int i = 2 % 2; int i2 = f8635o + 35; n = i2 % 128; int i3 = i2 % 2; ieS.b(false); int i4 = n + 125; f8635o = i4 % 128; int i5 = i4 % 2; } public final void d(int i) { int i2 = 2 % 2; if (i <= 0) { ZI.IeS ieS = new ZI.IeS() { // from class: o.cdG @Override // o.ZI.IeS public final void e(Object obj) { C6844cdA.a((InterfaceC8954dab.IeS) obj); } }; if (!(this.f != 0)) { return; } ieS.e(this.f); return; } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cdI @Override // o.ZI.IeS public final void e(Object obj) { C6844cdA.b((InterfaceC8954dab.IeS) obj); } }; if (this.f != 0) { int i3 = n; int i4 = i3 + 103; f8635o = i4 % 128; if (i4 % 2 != 0) { int i5 = i3 + 39; f8635o = i5 % 128; if (i5 % 2 == 0) { ieS2.e(this.f); Object obj = null; obj.hashCode(); throw null; } ieS2.e(this.f); } } int i6 = f8635o + 71; n = i6 % 128; int i7 = i6 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.cdA$RVV */ /* loaded from: classes4.dex */ public class RVV extends wRi.LWm> { private C6844cdA b; RVV(C6844cdA c6844cdA) { this.b = c6844cdA; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { List list = (List) obj; C6844cdA.h(this.b); if (list == null || list.isEmpty()) { return; } C6844cdA c6844cdA = this.b; C6844cdA.c(c6844cdA, (List) C16157lj.c(new Object[]{list, new InterfaceC1244Ytw(this) { // from class: o.cdE private C6844cdA.RVV d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return C6844cdA.RVV.b(this.d, (Xfo) obj2); } { this.d = this; } }}, -1846295624, 1846295631, (int) System.currentTimeMillis())); if (C6844cdA.c(this.b) != null) { final String str = C6844cdA.c(this.b).g; C6844cdA c6844cdA2 = this.b; YKU yku = new YKU(C6844cdA.e(c6844cdA2)); C6844cdA.c(c6844cdA2, (List) new YKU(yku.a, new GEP(yku.b, new Jel(str) { // from class: o.cdN private String a; @Override // o.Jel public final boolean e(Object obj2) { boolean equalsIgnoreCase; equalsIgnoreCase = this.a.equalsIgnoreCase(((C0985Ta) obj2).d); return equalsIgnoreCase; } { this.a = str; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()))); } C6844cdA c6844cdA3 = this.b; YKU yku2 = new YKU(C6844cdA.e(c6844cdA3)); C6844cdA.c(c6844cdA3, (List) new YKU(yku2.a, new C17745zRk(yku2.b, new Comparator(this) { // from class: o.cdL private C6844cdA.RVV d; @Override // java.util.Comparator public final int compare(Object obj2, Object obj3) { return C6844cdA.RVV.b((C0985Ta) obj2, (C0985Ta) obj3); } { this.d = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()))); C6844cdA c6844cdA4 = this.b; ZI.IeS ieS = new ZI.IeS(this) { // from class: o.cdK private C6844cdA.RVV e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8954dab.IeS) obj2).a(C6844cdA.e(r0.b), C6844cdA.b(this.e.b)); } { this.e = this; } }; if (c6844cdA4.f != 0) { ieS.e(c6844cdA4.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C6844cdA.i(this.b); C6844cdA.e(this.b, th); } public static /* synthetic */ int b(C0985Ta c0985Ta, C0985Ta c0985Ta2) { if (c0985Ta.h > c0985Ta2.h) { return 1; } return c0985Ta2.h > c0985Ta.h ? -1 : 0; } public static /* synthetic */ C0985Ta b(RVV rvv, Xfo xfo) { return C17695yw.c(xfo, C6844cdA.a(rvv.b).b.M()); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.cdA$IeS */ /* loaded from: classes4.dex */ public class IeS extends wRi.LWm { private C6844cdA e; IeS(C6844cdA c6844cdA) { this.e = c6844cdA; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C6844cdA.j(this.e); C6844cdA c6844cdA = this.e; ZI.IeS ieS = new ZI.IeS() { // from class: o.cdD @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8954dab.IeS) obj2).c(); } }; if (c6844cdA.f != 0) { ieS.e(c6844cdA.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C6844cdA.g(this.e); C6844cdA c6844cdA = this.e; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.cdF private C6844cdA.IeS a; private Throwable c; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC8954dab.IeS ieS2 = (InterfaceC8954dab.IeS) obj; ieS2.e(C6844cdA.f(this.a.e).e(this.c)); } { this.a = this; this.c = th; } }; if (c6844cdA.f != 0) { ieS.e(c6844cdA.f); } } } private static /* synthetic */ Object e(Object[] objArr) { C6844cdA c6844cdA = (C6844cdA) objArr[0]; int i = 2 % 2; int i2 = f8635o + 101; n = i2 % 128; int i3 = i2 % 2; C17695yw c17695yw = c6844cdA.h; if (i3 == 0) { return c17695yw; } Object obj = null; obj.hashCode(); throw null; } public final void d(String str) { c(new Object[]{this, str}, 968468518, -968468516, System.identityHashCode(this)); } @Override // o.ZI public final void w_() { c(new Object[]{this}, -611153286, 611153289, System.identityHashCode(this)); } private /* synthetic */ void b(guD gud, InterfaceC8954dab.IeS ieS) { c(new Object[]{this, gud, ieS}, -1873129879, 1873129883, System.identityHashCode(this)); } static /* bridge */ /* synthetic */ void c(C6844cdA c6844cdA, List list) { int i = 2 % 2; int i2 = f8635o; int i3 = i2 + 69; n = i3 % 128; int i4 = i3 % 2; c6844cdA.i = list; int i5 = i2 + 9; n = i5 % 128; if (i5 % 2 != 0) { throw null; } } static /* bridge */ /* synthetic */ fAZ a(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = f8635o + 49; n = i2 % 128; int i3 = i2 % 2; fAZ faz = c6844cdA.g; if (i3 != 0) { int i4 = 96 / 0; } return faz; } static /* synthetic */ C17695yw d(C6844cdA c6844cdA) { return (C17695yw) c(new Object[]{c6844cdA}, -660707811, 660707812, (int) System.currentTimeMillis()); } static /* bridge */ /* synthetic */ List e(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = n + 29; int i3 = i2 % 128; f8635o = i3; int i4 = i2 % 2; List list = c6844cdA.i; int i5 = i3 + 61; n = i5 % 128; if (i5 % 2 != 0) { int i6 = 66 / 0; } return list; } static /* synthetic */ C0985Ta b(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = f8635o + 49; n = i2 % 128; int i3 = i2 % 2; C0985Ta c0985Ta = c6844cdA.d; if (i3 == 0) { return c0985Ta; } Object obj = null; obj.hashCode(); throw null; } static /* synthetic */ SU c(C6844cdA c6844cdA) { int i = 2 % 2; int i2 = f8635o + 63; int i3 = i2 % 128; n = i3; int i4 = i2 % 2; SU su = c6844cdA.b; if (i4 != 0) { Object obj = null; obj.hashCode(); throw null; } int i5 = i3 + 45; f8635o = i5 % 128; int i6 = i5 % 2; return su; } public static /* synthetic */ void a(C6844cdA c6844cdA, guD gud, InterfaceC8954dab.IeS ieS) { int i = 2 % 2; int i2 = n + 67; f8635o = i2 % 128; int i3 = i2 % 2; Object[] objArr = {c6844cdA, gud, ieS}; int identityHashCode = System.identityHashCode(c6844cdA); if (i3 != 0) { c(objArr, -1873129879, 1873129883, identityHashCode); } else { c(objArr, -1873129879, 1873129883, identityHashCode); throw null; } } public static /* synthetic */ void d(C6844cdA c6844cdA, InterfaceC8954dab.IeS ieS) { int i = 2 % 2; int i2 = n + 99; f8635o = i2 % 128; int i3 = i2 % 2; c6844cdA.c(ieS); if (i3 == 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = f8635o + 59; n = i4 % 128; int i5 = i4 % 2; } }