package o; import java.util.List; import java.util.Objects; import o.C0668Lu; import o.C2081aWp; import o.InterfaceC9192dfA; import o.ZI; import o.wRi; /* renamed from: o.aWp, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C2081aWp extends aVB { private final RtP a; private final C16807rR b; public final C12616fCa d; public C0657Lo e; @InterfaceC13391fZD public C2081aWp(C16903sI c16903sI, C12616fCa c12616fCa, RtP rtP, C16807rR c16807rR) { super(c16903sI); this.d = c12616fCa; this.a = rtP; this.b = c16807rR; } /* renamed from: o.aWp$IeS */ /* loaded from: classes4.dex */ public class IeS extends wRi.LWm { private C2081aWp e; public IeS(C2081aWp c2081aWp) { this.e = c2081aWp; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C17034tQJ c17034tQJ = (C17034tQJ) obj; super.onNext(c17034tQJ); C2081aWp c2081aWp = this.e; ZI.IeS ieS = new ZI.IeS(this, c17034tQJ) { // from class: o.aWq private C17034tQJ d; private C2081aWp.IeS e; @Override // o.ZI.IeS public final void e(Object obj2) { C2081aWp.IeS.e(this.e, this.d, (InterfaceC9192dfA.Sts) obj2); } { this.e = this; this.d = c17034tQJ; } }; if (c2081aWp.f != 0) { ieS.e(c2081aWp.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { super.onError(th); C2081aWp c2081aWp = this.e; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.aWv private C2081aWp.IeS b; private Throwable d; @Override // o.ZI.IeS public final void e(Object obj) { C2081aWp.IeS.b(this.b, this.d, (InterfaceC9192dfA.Sts) obj); } { this.b = this; this.d = th; } }; if (c2081aWp.f != 0) { ieS.e(c2081aWp.f); } } public static /* synthetic */ void b(IeS ieS, Throwable th, final InterfaceC9192dfA.Sts sts) { sts.ar_(); C16903sI c16903sI = ieS.e.j; Objects.requireNonNull(sts); sts.e(c16903sI.c(th, new Runnable(sts) { // from class: o.aWt private InterfaceC9192dfA.Sts d; @Override // java.lang.Runnable public final void run() { this.d.a(); } { this.d = sts; } })); } public static /* synthetic */ void e(IeS ieS, C17034tQJ c17034tQJ, InterfaceC9192dfA.Sts sts) { String str = ieS.e.e.h; str.hashCode(); if (!str.equals("MHMC")) { if (str.equals("HOME_TOP_UP")) { ieS.e.a.e("HOME_TOP_UP", c17034tQJ.d); RtP rtP = ieS.e.a; rtP.d(rtP.i, new Sts(ieS.e, (byte) 0)); return; } return; } sts.ar_(); if ("NON_REFERRAL_MORTGAGE".equals(ieS.e.e.t)) { sts.e(c17034tQJ); } else if ("MORTGAGE".equals(ieS.e.e.t)) { sts.a(c17034tQJ); } } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aWp$Sts */ /* loaded from: classes4.dex */ public class Sts extends wRi.LWm { private C2081aWp d; private Sts(C2081aWp c2081aWp) { this.d = c2081aWp; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C16106lLU c16106lLU = (C16106lLU) obj; C2081aWp.c(this.d); C2081aWp c2081aWp = this.d; ZI.IeS ieS = new ZI.IeS(this, c16106lLU) { // from class: o.aWu private C2081aWp.Sts c; private C16106lLU e; @Override // o.ZI.IeS public final void e(Object obj2) { C2081aWp.Sts.e(this.c, this.e, (InterfaceC9192dfA.Sts) obj2); } { this.c = this; this.e = c16106lLU; } }; if (c2081aWp.f != 0) { ieS.e(c2081aWp.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C2081aWp.c(this.d, th); } public static /* synthetic */ void e(Sts sts, C16106lLU c16106lLU, InterfaceC9192dfA.Sts sts2) { final C16807rR c16807rR = sts.d.b; boolean T = sts.d.a.c.T(); C0668Lu.HBt e = C0668Lu.e(); e.j = (List) C16157lj.c(new Object[]{c16106lLU.h, new InterfaceC1244Ytw(c16807rR) { // from class: o.rQ private C16807rR d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return C16807rR.b(this.d, (C16520oxs) obj); } { this.d = c16807rR; } }}, -1846295624, 1846295631, (int) System.currentTimeMillis()); e.f = c16106lLU.i; e.d = T; e.b = c16106lLU.a != null ? c16807rR.d(c16106lLU.a) : null; e.g = c16106lLU.g != null ? c16807rR.d(c16106lLU.g) : null; e.c = c16106lLU.b != null ? c16807rR.d(c16106lLU.b) : null; e.a = c16106lLU.c; e.e = c16106lLU.d; sts2.a(new C0668Lu(e, (byte) 0)); } /* synthetic */ Sts(C2081aWp c2081aWp, byte b) { this(c2081aWp); } } static /* synthetic */ void c(C2081aWp c2081aWp) { if (c2081aWp.f != 0) { c2081aWp.f.ar_(); } } static /* synthetic */ void c(C2081aWp c2081aWp, Throwable th) { if (c2081aWp.b(th)) { c2081aWp.d(c2081aWp.j.e(th)); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void c(C0657Lo c0657Lo, InterfaceC9192dfA.Sts sts) { String str = c0657Lo.h; str.hashCode(); if (str.equals("MHMC") || str.equals("HOME_TOP_UP")) { sts.d(); } } }