package o; import o.C0690Mh; import o.C7874cwa; import o.InterfaceC8975daw; import o.ZI; import o.wRi; /* renamed from: o.cwa, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C7874cwa extends ZI { private final C0199Bd a; public final ihb b; public boolean d; @InterfaceC13391fZD public C7874cwa(ihb ihbVar, C0199Bd c0199Bd, C16903sI c16903sI) { super(c16903sI); this.d = false; this.b = ihbVar; this.a = c0199Bd; } /* renamed from: o.cwa$Sts */ /* loaded from: classes4.dex */ public final class Sts extends wRi.LWm { private C7874cwa e; private Sts(C7874cwa c7874cwa) { this.e = c7874cwa; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C15953jsr c15953jsr = (C15953jsr) obj; if (this.e.f != 0) { final C1082Ve a = this.e.a.a(c15953jsr, this.e.b.c.T()); C7874cwa c7874cwa = this.e; final xit xitVar = c15953jsr.b; ZI.IeS ieS = new ZI.IeS(xitVar, a) { // from class: o.cwf private xit c; private C1082Ve e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8975daw.LWm) obj2).b(this.e); } { this.c = xitVar; this.e = a; } }; if (c7874cwa.f != 0) { ieS.e(c7874cwa.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C7874cwa.a(this.e); this.e.d = false; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C7874cwa.e(this.e); if (!this.e.i(th)) { C7874cwa c7874cwa = this.e; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.cwd private Throwable c; private C7874cwa.Sts e; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC8975daw.LWm lWm = (InterfaceC8975daw.LWm) obj; lWm.e(this.e.e.j.d(this.c, C0690Mh.IeS.NAVIGATE_BACK)); } { this.e = this; this.c = th; } }; if (c7874cwa.f != 0) { ieS.e(c7874cwa.f); } } this.e.d = false; } public /* synthetic */ Sts(C7874cwa c7874cwa, byte b) { this(c7874cwa); } } /* renamed from: o.cwa$LWm */ /* loaded from: classes4.dex */ public class LWm extends wRi.LWm { private C7874cwa a; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { } private LWm(C7874cwa c7874cwa) { this.a = c7874cwa; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { if (((C15953jsr) obj) != null) { C7874cwa c7874cwa = this.a; ZI.IeS ieS = new ZI.IeS() { // from class: o.cwg @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8975daw.LWm) obj2).d(); } }; if (c7874cwa.f != 0) { ieS.e(c7874cwa.f); } C7874cwa.h(this.a); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.a.i(th)) { return; } C7874cwa c7874cwa = this.a; c7874cwa.d(c7874cwa.j.e(th)); C7874cwa c7874cwa2 = this.a; ZI.IeS ieS = new ZI.IeS() { // from class: o.cwh @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC8975daw.LWm) obj).c(); } }; if (c7874cwa2.f != 0) { ieS.e(c7874cwa2.f); } } public /* synthetic */ LWm(C7874cwa c7874cwa, byte b) { this(c7874cwa); } } static /* synthetic */ void a(C7874cwa c7874cwa) { if (c7874cwa.f != 0) { c7874cwa.f.ar_(); } } static /* synthetic */ void e(C7874cwa c7874cwa) { if (c7874cwa.f != 0) { c7874cwa.f.ar_(); } } static /* synthetic */ void h(C7874cwa c7874cwa) { if (c7874cwa.f != 0) { c7874cwa.f.ar_(); } } }