package o; import java.util.List; import o.C3625bBp; import o.InterfaceC9389din; import o.ZI; import o.tJR; import o.wRi; /* renamed from: o.bBp, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C3625bBp extends ZI { public YV a; public String b; public boolean c; private final C17166uT d; public final C17809ztu e; private final C17147uM g; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C3625bBp(C17809ztu c17809ztu, C17147uM c17147uM, C17166uT c17166uT, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c17809ztu, ""); C14957gcv.e(c17147uM, ""); C14957gcv.e(c17166uT, ""); C14957gcv.e(c16903sI, ""); this.e = c17809ztu; this.g = c17147uM; this.d = c17166uT; } /* renamed from: o.bBp$LWm */ /* loaded from: classes4.dex */ public final class LWm extends wRi.LWm> { private C3625bBp b; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final List list = (List) obj; C14957gcv.e(list, ""); C3625bBp.e(this.b); final C3625bBp c3625bBp = this.b; ZI.IeS ieS = new ZI.IeS(c3625bBp, list) { // from class: o.bBn private List b; private C3625bBp d; @Override // o.ZI.IeS public final void e(Object obj2) { C3625bBp.LWm.b(this.d, this.b, (InterfaceC9389din.LWm) obj2); } { this.d = c3625bBp; this.b = list; } }; if (c3625bBp.f != 0) { ieS.e(c3625bBp.f); } } public LWm(C3625bBp c3625bBp) { this.b = c3625bBp; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C14957gcv.e(th, ""); C3625bBp.e(this.b); if (this.b.i(th)) { return; } final C3625bBp c3625bBp = this.b; ZI.IeS ieS = new ZI.IeS(c3625bBp, th) { // from class: o.bBx private Throwable b; private C3625bBp e; @Override // o.ZI.IeS public final void e(Object obj) { C3625bBp.LWm.a(this.e, this.b, (InterfaceC9389din.LWm) obj); } { this.e = c3625bBp; this.b = th; } }; if (c3625bBp.f != 0) { ieS.e(c3625bBp.f); } } public static /* synthetic */ void a(C3625bBp c3625bBp, Throwable th, final InterfaceC9389din.LWm lWm) { C14957gcv.e(c3625bBp, ""); C14957gcv.e(th, ""); if (c3625bBp.c) { C3625bBp.e(c3625bBp, th, new Runnable(lWm) { // from class: o.bBu private InterfaceC9389din.LWm b; @Override // java.lang.Runnable public final void run() { this.b.c(); } { this.b = lWm; } }); } else { C3625bBp.e(c3625bBp, th, new Runnable(lWm) { // from class: o.bBv private InterfaceC9389din.LWm e; @Override // java.lang.Runnable public final void run() { this.e.d(); } { this.e = lWm; } }); } } public static /* synthetic */ void b(C3625bBp c3625bBp, List list, InterfaceC9389din.LWm lWm) { C14957gcv.e(c3625bBp, ""); C14957gcv.e(list, ""); List c = c3625bBp.g.c((List) list); YV yv = c3625bBp.a; if (yv == null) { C14957gcv.a(""); yv = null; } int i = HBt.d[yv.ordinal()]; if (i == 1) { lWm.b(c); } else if (i == 2) { lWm.c(c); tJR.LWm lWm2 = tJR.a; lWm.d(tJR.LWm.d("mfport_suit_risklevel")); } } /* renamed from: o.bBp$LWm$HBt */ /* loaded from: classes4.dex */ public final /* synthetic */ class HBt { public static final int[] d; static { int[] iArr = new int[YV.values().length]; try { iArr[YV.OLD_SUITABILITY.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[YV.NEW_SUITABILITY.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } d = iArr; } } } /* renamed from: o.bBp$RVV */ /* loaded from: classes4.dex */ public final class RVV extends wRi.LWm { private C3625bBp b; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final zZj zzj = (zZj) obj; C14957gcv.e(zzj, ""); C3625bBp.e(this.b); final C3625bBp c3625bBp = this.b; ZI.IeS ieS = new ZI.IeS(c3625bBp, zzj) { // from class: o.bBs private zZj a; private C3625bBp c; @Override // o.ZI.IeS public final void e(Object obj2) { C3625bBp.RVV.e(this.c, this.a, (InterfaceC9389din.LWm) obj2); } { this.c = c3625bBp; this.a = zzj; } }; if (c3625bBp.f != 0) { ieS.e(c3625bBp.f); } } public RVV(C3625bBp c3625bBp) { this.b = c3625bBp; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); C3625bBp.e(this.b); if (this.b.i(th)) { return; } C3625bBp.d(this.b, th); } public static /* synthetic */ void e(C3625bBp c3625bBp, zZj zzj, InterfaceC9389din.LWm lWm) { C14957gcv.e(c3625bBp, ""); C14957gcv.e(zzj, ""); lWm.d(c3625bBp.d.c(zzj)); } } public static /* synthetic */ void b(C3625bBp c3625bBp, InterfaceC9389din.LWm lWm) { C14957gcv.e(c3625bBp, ""); String str = c3625bBp.b; lWm.e(!(str == null || gdZ.d((CharSequence) str))); } public static final /* synthetic */ void e(C3625bBp c3625bBp) { if (c3625bBp.f != 0) { c3625bBp.f.ar_(); } } public static final /* synthetic */ void d(C3625bBp c3625bBp, Throwable th) { if (c3625bBp.b(th)) { c3625bBp.d(c3625bBp.j.e(th)); } } public static final /* synthetic */ void e(C3625bBp c3625bBp, Throwable th, Runnable runnable) { if (c3625bBp.b(th)) { c3625bBp.d(c3625bBp.j.c(th, runnable)); } } /* renamed from: o.bBp$IeS */ /* loaded from: classes4.dex */ public final /* synthetic */ class IeS { public static final int[] b; static { int[] iArr = new int[YV.values().length]; try { iArr[YV.NEW_SUITABILITY.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[YV.OLD_SUITABILITY.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } b = iArr; } } }