package o; import java.util.List; import o.C15715hv; import o.InterfaceC9387dil; /* renamed from: o.bBh */ /* loaded from: classes4.dex */ public final class C3617bBh extends ZI { public boolean a; public final C16163lm b; public YV c; public List d; public C0816Pb e; public String g; public Sts h; public C0819Pd i; public String n; /* renamed from: o */ private final C17809ztu f8531o; /* renamed from: o.bBh$Sts */ /* loaded from: classes4.dex */ public enum Sts { RISK_SELECTION, ASSESSMENT_QUESTIONNAIRE, ASSESSMENT_SUMMARY, ASSESSMENT_REVIEW, RESULT_SUCCESS } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C3617bBh(C17809ztu c17809ztu, C16163lm c16163lm, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c17809ztu, ""); C14957gcv.e(c16163lm, ""); C14957gcv.e(c16903sI, ""); this.f8531o = c17809ztu; this.b = c16163lm; this.h = Sts.RISK_SELECTION; } public final void c() { int i = RVV.c[this.h.ordinal()]; if (i == 1) { this.h = Sts.ASSESSMENT_QUESTIONNAIRE; C3615bBf c3615bBf = new C3615bBf(this); if (this.f != 0) { c3615bBf.e(this.f); return; } return; } if (i == 2) { this.h = Sts.ASSESSMENT_SUMMARY; C3615bBf c3615bBf2 = new C3615bBf(this); if (this.f != 0) { c3615bBf2.e(this.f); return; } return; } if (i == 3) { this.h = Sts.ASSESSMENT_REVIEW; C3615bBf c3615bBf3 = new C3615bBf(this); if (this.f != 0) { c3615bBf3.e(this.f); return; } return; } if (i == 4) { this.h = Sts.RESULT_SUCCESS; C3615bBf c3615bBf4 = new C3615bBf(this); if (this.f != 0) { c3615bBf4.e(this.f); } } } private final int b() { int i = RVV.c[this.h.ordinal()]; YV yv = null; if (i == 3) { YV yv2 = this.c; if (yv2 == null) { C14957gcv.a(""); } else { yv = yv2; } if (yv == YV.OLD_SUITABILITY) { return C15715hv.tOB.auto_mf_onboarding_suitability_summary_title; } return C15715hv.tOB.auto_single_form_suitability_test_title; } if (i != 4) { YV yv3 = this.c; if (yv3 == null) { C14957gcv.a(""); } else { yv = yv3; } if (yv == YV.OLD_SUITABILITY) { return C15715hv.tOB.assessment_dialog_title; } return C15715hv.tOB.auto_single_form_suitability_test_title; } YV yv4 = this.c; if (yv4 == null) { C14957gcv.a(""); } else { yv = yv4; } if (yv == YV.OLD_SUITABILITY) { return C15715hv.tOB.auto_mf_onboarding_suitability_summary_title; } return C15715hv.tOB.auto_single_form_suitability_assessment_result_title; } @Override // o.ZI public final void w_() { this.f8531o.c.c(); super.w_(); } public static /* synthetic */ void d(C3617bBh c3617bBh, InterfaceC9387dil.LWm lWm) { String str; C0819Pd c0819Pd; List list; YV yv; C14957gcv.e(c3617bBh, ""); int i = RVV.c[c3617bBh.h.ordinal()]; YV yv2 = null; if (i == 1) { YV yv3 = c3617bBh.c; if (yv3 == null) { C14957gcv.a(""); } else { yv2 = yv3; } lWm.b(yv2, c3617bBh.b(), c3617bBh.a); return; } if (i == 2) { String str2 = c3617bBh.n; if (str2 == null) { C14957gcv.a(""); str2 = null; } C0819Pd c0819Pd2 = c3617bBh.i; if (c0819Pd2 == null) { C14957gcv.a(""); c0819Pd2 = null; } YV yv4 = c3617bBh.c; if (yv4 == null) { C14957gcv.a(""); } else { yv2 = yv4; } lWm.d(str2, c0819Pd2, yv2, c3617bBh.b()); return; } if (i == 3) { String str3 = c3617bBh.n; if (str3 == null) { C14957gcv.a(""); str = null; } else { str = str3; } C0819Pd c0819Pd3 = c3617bBh.i; if (c0819Pd3 == null) { C14957gcv.a(""); c0819Pd = null; } else { c0819Pd = c0819Pd3; } List list2 = c3617bBh.d; if (list2 == null) { C14957gcv.a(""); list = null; } else { list = list2; } YV yv5 = c3617bBh.c; if (yv5 == null) { C14957gcv.a(""); yv = null; } else { yv = yv5; } lWm.c(str, c0819Pd, list, yv, c3617bBh.b()); return; } if (i != 4) { if (i == 5) { C0816Pb c0816Pb = c3617bBh.e; if (c0816Pb == null) { C14957gcv.a(""); c0816Pb = null; } YV yv6 = c3617bBh.c; if (yv6 == null) { C14957gcv.a(""); } else { yv2 = yv6; } lWm.e(c0816Pb, yv2); c3617bBh.f8531o.c.c(); return; } return; } String str4 = c3617bBh.g; if (str4 == null) { C14957gcv.a(""); str4 = null; } C0816Pb c0816Pb2 = c3617bBh.e; if (c0816Pb2 == null) { C14957gcv.a(""); c0816Pb2 = null; } YV yv7 = c3617bBh.c; if (yv7 == null) { C14957gcv.a(""); } else { yv2 = yv7; } lWm.d(str4, c0816Pb2, yv2, c3617bBh.b()); } /* renamed from: o.bBh$RVV */ /* loaded from: classes4.dex */ public final /* synthetic */ class RVV { public static final int[] c; static { int[] iArr = new int[Sts.values().length]; try { iArr[Sts.RISK_SELECTION.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[Sts.ASSESSMENT_QUESTIONNAIRE.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { iArr[Sts.ASSESSMENT_SUMMARY.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { iArr[Sts.ASSESSMENT_REVIEW.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { iArr[Sts.RESULT_SUCCESS.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } c = iArr; } } }