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

1025 lines
32 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import o.C0690Mh;
import o.C15715hv;
import o.C5798bzp;
import o.ZI;
import o.cZG;
import o.tJR;
import o.wRi;
/* renamed from: o.bzp */
/* loaded from: classes4.dex */
public class C5798bzp extends ZI<cZG.RVV> {
public boolean a;
public boolean b;
public final C17809ztu c;
private final mSw d;
public boolean e;
private final C17227ux g;
private OH h;
private ON i;
private final HGL k;
private final SMl l;
private final C17231uz m;
private final C17817zyK n;
/* renamed from: o */
private int f8594o;
private final C16121lS r;
/* renamed from: o.bzp$Sts */
/* loaded from: classes4.dex */
public final class Sts extends wRi.LWm<C11805emK> {
private C5798bzp d;
private static final byte[] $$a = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
private static final int $$b = 228;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int e = 1;
private static long b = 3793368698090928991L;
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-55)) + (i2 * (-55)) + (((~(i | i3)) | i2) * 56) + ((~(i | i2)) * (-56)) + ((i | (~(i2 | (~i3)))) * 56);
return i4 != 1 ? i4 != 2 ? a(objArr) : d(objArr) : e(objArr);
}
/* 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 g(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = o.C5798bzp.Sts.$$a
int r5 = r5 * 2
int r5 = r5 + 119
int r7 = r7 * 3
int r7 = 4 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L18
r3 = r6
r4 = r2
goto L2a
L18:
r3 = r2
L19:
byte r4 = (byte) r5
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L28
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L28:
r3 = r1[r7]
L2a:
int r7 = r7 + 1
int r5 = r5 + r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.C5798bzp.Sts.g(short, byte, short, java.lang.Object[]):void");
}
private static void f(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(b ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (true) {
obj = null;
if (guL.a >= a.length) {
break;
}
int i4 = $10 + 109;
$11 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(b)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 209, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (View.resolveSizeAndState(0, 0, 0) + 1706));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a[i6] = ((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(391 - TextUtils.indexOf((CharSequence) "", '0'), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) View.getDefaultSize(0, 0));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
g(b4, b5, b5, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $11 + 55;
$10 = i7 % 128;
if (i7 % 2 == 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
private Sts(C5798bzp c5798bzp) {
this.d = c5798bzp;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
int i = 2 % 2;
int i2 = e + 121;
c = i2 % 128;
int i3 = i2 % 2;
d(new Object[]{this, (C11805emK) obj}, 131622366, -131622365, System.identityHashCode(this));
int i4 = c + 47;
e = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
int i = 2 % 2;
int i2 = e + 9;
c = i2 % 128;
int i3 = i2 % 2;
C5798bzp.k(this.d);
C5798bzp.l(this.d);
int i4 = c + 73;
e = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object d(Object[] objArr) {
Sts sts = (Sts) objArr[0];
cZG.RVV rvv = (cZG.RVV) objArr[1];
int i = 2 % 2;
int i2 = e + 61;
c = i2 % 128;
if (i2 % 2 == 0) {
rvv.a(sts.d.e, sts.d.a);
int i3 = c + 103;
e = i3 % 128;
int i4 = i3 % 2;
return null;
}
rvv.a(sts.d.e, sts.d.a);
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x004d, code lost:
if (r1.e.c.e == null) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x005b, code lost:
if ("3023".equals(r1.e.c.e) == false) goto L57;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x005d, code lost:
o.C5798bzp.q(r4.d);
r5 = r4.d;
r1 = new o.C5806bzx(r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x006b, code lost:
if (r5.f == 0) goto L56;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x006d, code lost:
r2 = o.C5798bzp.Sts.c + 51;
r3 = r2 % 128;
o.C5798bzp.Sts.e = r3;
r2 = r2 % 2;
r3 = r3 + 65;
o.C5798bzp.Sts.c = r3 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x007d, code lost:
if ((r3 % 2) != 0) goto L54;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x007f, code lost:
r1.e(r5.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0085, code lost:
r1.e(r5.f);
r5 = null;
r5.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x008e, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x008f, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0090, code lost:
o.C5798bzp.d(r4.d, r5, o.C0690Mh.IeS.NAVIGATE_BACK);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0097, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x003c, code lost:
if (r1.e.c != null) goto L45;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0035, code lost:
if (r1.e.c != null) goto L45;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003e, code lost:
r2 = o.C5798bzp.Sts.e + 117;
o.C5798bzp.Sts.c = r2 % 128;
r2 = r2 % 2;
*/
@Override // o.wRi.LWm, o.InterfaceC13174fSv
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onError(java.lang.Throwable r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.C5798bzp.Sts.e
int r2 = r1 + 73
int r3 = r2 % 128
o.C5798bzp.Sts.c = r3
int r2 = r2 % r0
boolean r2 = r5 instanceof com.scb.phone.domain.errors.RetrofitException
r2 = r2 ^ 1
if (r2 == 0) goto L14
goto L98
L14:
int r1 = r1 + 49
int r2 = r1 % 128
o.C5798bzp.Sts.c = r2
int r1 = r1 % r0
r1 = r5
com.scb.phone.domain.errors.RetrofitException r1 = (com.scb.phone.domain.errors.RetrofitException) r1
o.VCl r2 = r1.e
if (r2 == 0) goto L98
int r2 = o.C5798bzp.Sts.e
int r2 = r2 + 103
int r3 = r2 % 128
o.C5798bzp.Sts.c = r3
int r2 = r2 % r0
if (r2 == 0) goto L38
o.VCl r2 = r1.e
o.ggV r2 = r2.c
r3 = 72
int r3 = r3 / 0
if (r2 == 0) goto L98
goto L3e
L38:
o.VCl r2 = r1.e
o.ggV r2 = r2.c
if (r2 == 0) goto L98
L3e:
int r2 = o.C5798bzp.Sts.e
int r2 = r2 + 117
int r3 = r2 % 128
o.C5798bzp.Sts.c = r3
int r2 = r2 % r0
o.VCl r2 = r1.e
o.ggV r2 = r2.c
java.lang.String r2 = r2.e
if (r2 == 0) goto L98
o.VCl r1 = r1.e
o.ggV r1 = r1.c
java.lang.String r1 = r1.e
java.lang.String r2 = "3023"
boolean r1 = r2.equals(r1)
if (r1 == 0) goto L90
o.bzp r5 = r4.d
o.C5798bzp.q(r5)
o.bzp r5 = r4.d
o.bzx r1 = new o.bzx
r1.<init>(r4)
T extends o.cYp r2 = r5.f
if (r2 == 0) goto L8f
int r2 = o.C5798bzp.Sts.c
int r2 = r2 + 51
int r3 = r2 % 128
o.C5798bzp.Sts.e = r3
int r2 = r2 % r0
int r3 = r3 + 65
int r2 = r3 % 128
o.C5798bzp.Sts.c = r2
int r3 = r3 % r0
if (r3 != 0) goto L85
T extends o.cYp r5 = r5.f
r1.e(r5)
goto L8f
L85:
T extends o.cYp r5 = r5.f
r1.e(r5)
r5 = 0
r5.hashCode()
throw r5
L8f:
return
L90:
o.bzp r0 = r4.d
o.Mh$IeS r1 = o.C0690Mh.IeS.NAVIGATE_BACK
o.C5798bzp.d(r0, r5, r1)
return
L98:
o.bzp r0 = r4.d
o.Mh$IeS r1 = o.C0690Mh.IeS.NAVIGATE_BACK
o.C5798bzp.a(r0, r5, r1)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C5798bzp.Sts.onError(java.lang.Throwable):void");
}
private /* synthetic */ void e(cZG.RVV rvv) {
int i = 2 % 2;
int i2 = c + 71;
e = i2 % 128;
if (i2 % 2 == 0) {
rvv.a(this.d.h, this.d.k.d());
int i3 = 76 / 0;
} else {
rvv.a(this.d.h, this.d.k.d());
}
int i4 = e + 89;
c = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 0;
}
}
private static /* synthetic */ Object e(Object[] objArr) {
YIo yIo;
boolean z = false;
Sts sts = (Sts) objArr[0];
C11805emK c11805emK = (C11805emK) objArr[1];
int i = 2 % 2;
if (sts.d.f == 0) {
return null;
}
int i2 = e + 87;
c = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
C5798bzp c5798bzp = sts.d;
c5798bzp.h = c5798bzp.g.b(c11805emK, sts.d.c.a.T());
C5798bzp c5798bzp2 = sts.d;
ZI.IeS ieS = new ZI.IeS(sts) { // from class: o.bzu
private C5798bzp.Sts d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5798bzp.Sts.d(this.d, (cZG.RVV) obj);
}
{
this.d = sts;
}
};
if (c5798bzp2.f != 0) {
int i3 = c + 125;
int i4 = i3 % 128;
e = i4;
if (i3 % 2 != 0) {
int i5 = i4 + 109;
c = i5 % 128;
if (i5 % 2 != 0) {
ieS.e(c5798bzp2.f);
int i6 = 7 / 0;
} else {
ieS.e(c5798bzp2.f);
}
}
}
C5798bzp.t(sts.d);
sts.d.f8594o = c11805emK.e.h;
sts.d.a();
C8064dAG a = sts.d.n.b.a();
if (a != null && (yIo = a.r) != null) {
int i7 = c + 59;
e = i7 % 128;
int i8 = i7 % 2;
z = yIo.I;
}
sts.e(z);
sts.b((ArrayList<QU>) sts.d.h.a);
return null;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
private void e(boolean z) {
char c2;
int i = 2 % 2;
int i2 = c + 1;
e = i2 % 128;
int i3 = i2 % 2;
String valueOf = String.valueOf(this.d.f8594o);
valueOf.hashCode();
switch (valueOf.hashCode()) {
case 48:
Object[] objArr = new Object[1];
f(new char[]{19661, 22582, 47980, 43125, 19709}, ViewConfiguration.getLongPressTimeout() >> 16, objArr);
if (valueOf.equals(((String) objArr[0]).intern())) {
int i4 = c + 123;
int i5 = i4 % 128;
e = i5;
c2 = i4 % 2 == 0 ? (char) 1 : (char) 0;
int i6 = i5 + 89;
c = i6 % 128;
int i7 = i6 % 2;
break;
}
c2 = 65535;
break;
case 49:
Object[] objArr2 = new Object[1];
f(new char[]{62860, 17962, 24066, 30017, 62909}, Color.red(0), objArr2);
if (valueOf.equals(((String) objArr2[0]).intern())) {
c2 = 1;
break;
}
c2 = 65535;
break;
case 50:
Object[] objArr3 = new Object[1];
f(new char[]{19506, 6090, 35556, 2629, 19456}, View.MeasureSpec.getSize(0), objArr3);
if (valueOf.equals(((String) objArr3[0]).intern())) {
c2 = 2;
break;
}
c2 = 65535;
break;
default:
c2 = 65535;
break;
}
if (c2 == 0 || c2 == 1) {
a(z);
} else {
if (c2 != 2) {
return;
}
d(z);
}
}
private void a(boolean z) {
int i = 2 % 2;
C5798bzp c5798bzp = this.d;
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.bzA
private boolean a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5798bzp.Sts.e(this.a, (cZG.RVV) obj);
}
{
this.a = z;
}
};
if (c5798bzp.f != 0) {
int i2 = e;
int i3 = i2 + 33;
c = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 37;
c = i5 % 128;
int i6 = i5 % 2;
ieS.e(c5798bzp.f);
int i7 = c + 121;
e = i7 % 128;
int i8 = i7 % 2;
}
}
public static /* synthetic */ void e(boolean z, cZG.RVV rvv) {
int i = 2 % 2;
int i2 = e + 119;
c = i2 % 128;
int i3 = i2 % 2;
rvv.d();
if (z) {
rvv.g();
return;
}
rvv.i();
int i4 = e + 61;
c = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private void d(boolean z) {
int i = 2 % 2;
C5798bzp c5798bzp = this.d;
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.bzw
private boolean d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5798bzp.Sts.c(this.d, (cZG.RVV) obj);
}
{
this.d = z;
}
};
Object obj = null;
if (c5798bzp.f != 0) {
int i2 = c + 51;
int i3 = i2 % 128;
e = i3;
int i4 = i2 % 2;
int i5 = i3 + 59;
c = i5 % 128;
if (i5 % 2 != 0) {
ieS.e(c5798bzp.f);
obj.hashCode();
throw null;
}
ieS.e(c5798bzp.f);
}
int i6 = e + 21;
c = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void c(boolean z, cZG.RVV rvv) {
int i = 2 % 2;
int i2 = e + 25;
c = i2 % 128;
int i3 = i2 % 2;
rvv.c();
if (z) {
int i4 = c + 45;
e = i4 % 128;
if (i4 % 2 != 0) {
rvv.o();
return;
} else {
rvv.o();
int i5 = 61 / 0;
return;
}
}
rvv.d();
}
private static /* synthetic */ Object a(Object[] objArr) {
int size;
ArrayList<QU> arrayList = (ArrayList) objArr[0];
cZG.RVV rvv = (cZG.RVV) objArr[1];
int i = 2 % 2;
int i2 = c + 45;
e = i2 % 128;
if (i2 % 2 == 0) {
rvv.a(1);
rvv.d(arrayList);
size = arrayList.size();
if (size < 3) {
return null;
}
} else {
rvv.a(0);
rvv.d(arrayList);
size = arrayList.size();
if (size < 2) {
return null;
}
}
rvv.b(size);
int i3 = e + 93;
c = i3 % 128;
int i4 = i3 % 2;
return null;
}
public static /* synthetic */ void a(cZG.RVV rvv) {
int i = 2 % 2;
int i2 = c + 1;
e = i2 % 128;
rvv.a(i2 % 2 == 0 ? 109 : 8);
}
private void b(ArrayList<QU> arrayList) {
int i = 2 % 2;
if (arrayList != null) {
int i2 = c + 23;
e = i2 % 128;
int i3 = i2 % 2;
if (!arrayList.isEmpty()) {
C5798bzp c5798bzp = this.d;
ZI.IeS ieS = new ZI.IeS(arrayList) { // from class: o.bzt
private ArrayList e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5798bzp.Sts.d(new Object[]{this.e, (cZG.RVV) obj}, 987729993, -987729993, (int) System.currentTimeMillis());
}
{
this.e = arrayList;
}
};
if (c5798bzp.f != 0) {
ieS.e(c5798bzp.f);
}
int i4 = c + 69;
e = i4 % 128;
int i5 = i4 % 2;
return;
}
}
C5798bzp c5798bzp2 = this.d;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bzz
@Override // o.ZI.IeS
public final void e(Object obj) {
C5798bzp.Sts.a((cZG.RVV) obj);
}
};
if (c5798bzp2.f != 0) {
int i6 = c + 107;
int i7 = i6 % 128;
e = i7;
int i8 = i6 % 2;
int i9 = i7 + 109;
c = i9 % 128;
int i10 = i9 % 2;
ieS2.e(c5798bzp2.f);
}
}
private void e(C11805emK c11805emK) {
d(new Object[]{this, c11805emK}, 131622366, -131622365, System.identityHashCode(this));
}
private /* synthetic */ void b(cZG.RVV rvv) {
d(new Object[]{this, rvv}, 325349145, -325349143, System.identityHashCode(this));
}
public /* synthetic */ Sts(C5798bzp c5798bzp, byte b2) {
this(c5798bzp);
}
public static /* synthetic */ void d(Sts sts, cZG.RVV rvv) {
int i = 2 % 2;
int i2 = c + 93;
e = i2 % 128;
int i3 = i2 % 2;
sts.e(rvv);
int i4 = c + 21;
e = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void e(Sts sts, cZG.RVV rvv) {
int i = 2 % 2;
int i2 = c + 101;
e = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = {sts, rvv};
int identityHashCode = System.identityHashCode(sts);
if (i3 == 0) {
d(objArr, 325349145, -325349143, identityHashCode);
throw null;
}
d(objArr, 325349145, -325349143, identityHashCode);
int i4 = c + 47;
e = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 26 / 0;
}
}
}
@InterfaceC13391fZD
public C5798bzp(C17809ztu c17809ztu, C17227ux c17227ux, C17231uz c17231uz, mSw msw, HGL hgl, C17817zyK c17817zyK, C16121lS c16121lS, C16903sI c16903sI, SMl sMl) {
super(c16903sI);
this.f8594o = -1;
this.b = false;
this.e = false;
this.a = false;
this.c = c17809ztu;
this.g = c17227ux;
this.m = c17231uz;
this.d = msw;
this.k = hgl;
this.n = c17817zyK;
this.r = c16121lS;
this.l = sMl;
}
public final void e(boolean z) {
this.c.e();
C17809ztu c17809ztu = this.c;
c17809ztu.d(c17809ztu.i, new Sts(this, (byte) 0));
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.bzs
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5798bzp.d(this.e, (cZG.RVV) obj);
}
{
this.e = z;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public static /* synthetic */ void d(boolean z, cZG.RVV rvv) {
int i;
if (z) {
i = C15715hv.tOB.auto_single_form_suitability_test_renew_snackbar;
} else {
i = C15715hv.tOB.investment_risk_assessment_renew_success;
}
rvv.c(i);
}
public final void a() {
if (this.b || this.e) {
return;
}
int i = this.f8594o;
if (i == 0 || i == 1) {
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bzq
private C5798bzp b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZG.RVV) obj).e(this.b.h.i);
}
{
this.b = this;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
}
@Override // o.ZI
public final void w_() {
super.w_();
C17809ztu c17809ztu = this.c;
if (!c17809ztu.h.isDisposed()) {
c17809ztu.h.dispose();
}
c17809ztu.c.a();
}
public final void d() {
if (this.f8594o != -1) {
tJR.LWm lWm = tJR.a;
C14957gcv.e("mf_suit_menu", "");
tJR.d = "mf_suit_menu";
ZI.IeS ieS = new ZI.IeS() { // from class: o.bzl
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZG.RVV) obj).k();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C5797bzo c5797bzo = new C5797bzo(this, this.k.d(), true);
if (this.f != 0) {
c5797bzo.e(this.f);
}
}
}
/* renamed from: o.bzp$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<KJx> {
private C5798bzp b;
private IeS(C5798bzp c5798bzp) {
this.b = c5798bzp;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
KJx kJx = (KJx) obj;
if (this.b.f != 0) {
C5798bzp c5798bzp = this.b;
c5798bzp.i = c5798bzp.m.d(kJx);
C5798bzp c5798bzp2 = this.b;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bzE
private C5798bzp.IeS b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5798bzp.IeS.d(this.b, (cZG.RVV) obj2);
}
{
this.b = this;
}
};
if (c5798bzp2.f != 0) {
ieS.e(c5798bzp2.f);
}
C5798bzp.n(this.b);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C5798bzp.r(this.b);
C5798bzp.s(this.b);
}
public static /* synthetic */ void d(IeS ieS, cZG.RVV rvv) {
ON unused = ieS.b.i;
rvv.a();
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (this.b.f == 0 || this.b.i(th)) {
return;
}
C5798bzp.p(this.b);
C5798bzp c5798bzp = this.b;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bzv
private C5798bzp.IeS a;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
cZG.RVV rvv = (cZG.RVV) obj;
rvv.c(this.a.b.j.e(this.d).c);
}
{
this.a = this;
this.d = th;
}
};
if (c5798bzp.f != 0) {
ieS.e(c5798bzp.f);
}
}
public /* synthetic */ IeS(C5798bzp c5798bzp, byte b) {
this(c5798bzp);
}
}
public static /* synthetic */ void c(C5798bzp c5798bzp, boolean z, boolean z2, cZG.RVV rvv) {
String str = c5798bzp.h.i.c;
if (str == null || str.isEmpty()) {
str = c5798bzp.r.d(c5798bzp.d.b.L()).a.replace("\n", " ");
}
rvv.d(str, z ? YV.NEW_SUITABILITY : YV.OLD_SUITABILITY, z2);
}
public static /* synthetic */ void d(C5798bzp c5798bzp, cZG.RVV rvv) {
Boolean w = c5798bzp.l.d.w();
C14957gcv.c(w, "");
if (w.booleanValue()) {
rvv.e();
} else {
rvv.f();
}
}
public static /* synthetic */ void c(C5798bzp c5798bzp, cZG.RVV rvv) {
Boolean w = c5798bzp.l.d.w();
C14957gcv.c(w, "");
if (w.booleanValue()) {
rvv.j();
} else {
rvv.h();
}
}
static /* synthetic */ void k(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.aq_();
}
}
static /* synthetic */ void l(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.u();
}
}
static /* synthetic */ void n(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.ar_();
}
}
static /* synthetic */ void q(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.ar_();
}
}
static /* synthetic */ void d(C5798bzp c5798bzp, Throwable th, C0690Mh.IeS ieS) {
if (c5798bzp.b(th)) {
c5798bzp.d(c5798bzp.j.d(th, ieS));
}
}
static /* synthetic */ void a(C5798bzp c5798bzp, Throwable th, C0690Mh.IeS ieS) {
if (c5798bzp.b(th)) {
c5798bzp.d(c5798bzp.j.d(th, ieS));
}
}
static /* synthetic */ void t(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.ar_();
}
}
static /* synthetic */ void r(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.ar_();
}
}
static /* synthetic */ void s(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.u();
}
}
static /* synthetic */ void p(C5798bzp c5798bzp) {
if (c5798bzp.f != 0) {
c5798bzp.f.ar_();
}
}
}