package o; import java.util.List; import o.C0659Lp; import o.C0663Lq; import o.C0690Mh; import o.C2112aXk; import o.InterfaceC6621cYR; import o.PRA; import o.ZI; import o.wRi; /* renamed from: o.aXk, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C2112aXk extends ZI { private final uzH a; private final C16863ru c; private final hKK d; private final C16875rx e; @InterfaceC13391fZD public C2112aXk(uzH uzh, C16875rx c16875rx, C16863ru c16863ru, C16903sI c16903sI, hKK hkk) { super(c16903sI); this.a = uzh; this.e = c16875rx; this.c = c16863ru; this.d = hkk; } public final void e(boolean z, boolean z2) { if (this.d.b.b() == null && (!z || z2)) { ZI.IeS ieS = new ZI.IeS() { // from class: o.aXi @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6621cYR.zJl) obj).b(); } }; if (this.f != 0) { ieS.e(this.f); return; } return; } a(); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aXk$LWm */ /* loaded from: classes4.dex */ public class LWm extends wRi.LWm { private final boolean b; private C2112aXk e; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C0392FnR c0392FnR = (C0392FnR) obj; C2112aXk.a(this.e); if (c0392FnR.a) { C2112aXk c2112aXk = this.e; ZI.IeS ieS = new ZI.IeS(this, c0392FnR) { // from class: o.aXo private C0392FnR b; private C2112aXk.LWm e; @Override // o.ZI.IeS public final void e(Object obj2) { C2112aXk.LWm.e(this.e, this.b, (InterfaceC6621cYR.zJl) obj2); } { this.e = this; this.b = c0392FnR; } }; if (c2112aXk.f != 0) { ieS.e(c2112aXk.f); return; } return; } C2112aXk c2112aXk2 = this.e; ZI.IeS ieS2 = new ZI.IeS(this, c0392FnR) { // from class: o.aXp private C2112aXk.LWm c; private C0392FnR d; @Override // o.ZI.IeS public final void e(Object obj2) { C2112aXk.LWm.a(this.c, this.d, (InterfaceC6621cYR.zJl) obj2); } { this.c = this; this.d = c0392FnR; } }; if (c2112aXk2.f != 0) { ieS2.e(c2112aXk2.f); } } LWm(C2112aXk c2112aXk, boolean z) { this.e = c2112aXk; this.b = z; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C2112aXk.e(this.e, th, C0690Mh.IeS.NAVIGATE_BACK); } public static /* synthetic */ void a(LWm lWm, C0392FnR c0392FnR, InterfaceC6621cYR.zJl zjl) { final C16875rx c16875rx = lWm.e.e; C0659Lp.Sts sts = new C0659Lp.Sts(); List list = null; sts.d = c0392FnR.f != null ? c16875rx.e(c0392FnR.f, 3) : null; sts.a = c0392FnR.d != null ? c16875rx.e(c0392FnR.d, 2) : null; sts.b = c0392FnR.c != null ? c16875rx.e(c0392FnR.c, 0) : null; if (c0392FnR.b != null) { YKU yku = new YKU(c0392FnR.b); list = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c16875rx) { // from class: o.rt private C16875rx c; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return C16875rx.c((IhY) obj); } { this.c = c16875rx; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); } sts.c = list; zjl.d(new C0659Lp(sts, (byte) 0), lWm.b); } public static /* synthetic */ void e(LWm lWm, C0392FnR c0392FnR, InterfaceC6621cYR.zJl zjl) { final C16863ru c16863ru = lWm.e.c; C0663Lq.HBt hBt = new C0663Lq.HBt(); hBt.c = c0392FnR.e.d; hBt.e = c0392FnR.e.c; YKU yku = new YKU(c0392FnR.b); hBt.a = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c16863ru) { // from class: o.rw private C16863ru c; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return C16863ru.e((IhY) obj); } { this.c = c16863ru; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); zjl.d(new C0663Lq(hBt, (byte) 0), lWm.b); } } static /* synthetic */ void a(C2112aXk c2112aXk) { if (c2112aXk.f != 0) { c2112aXk.f.ar_(); } } static /* synthetic */ void e(C2112aXk c2112aXk, Throwable th, C0690Mh.IeS ieS) { if (c2112aXk.b(th)) { c2112aXk.d(c2112aXk.j.d(th, ieS)); } } public final void a() { if (this.f != 0) { this.f.y(); } this.a.a(this.d.b.b() == null); uzH uzh = this.a; uzh.d(uzh.i, new LWm(this, this.d.b.b() == null)); } }