package o; import android.text.TextUtils; import o.InterfaceC6669cZl; import o.ZI; import o.wRi; /* renamed from: o.bDu, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3693bDu extends ZI { public boolean a; public final UOm b; public String d; public boolean e; @InterfaceC13391fZD public C3693bDu(C16903sI c16903sI, UOm uOm) { super(c16903sI); this.b = uOm; } public final void d() { if (!TextUtils.isEmpty(this.d) && this.a) { ZI.IeS ieS = new ZI.IeS() { // from class: o.bDv @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6669cZl.IeS) obj).b(true); } }; if (this.f != 0) { ieS.e(this.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bDB @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6669cZl.IeS) obj).b(false); } }; if (this.f != 0) { ieS2.e(this.f); } } /* renamed from: o.bDu$IeS */ /* loaded from: classes4.dex */ public class IeS extends wRi.LWm { private C3693bDu e; public IeS(C3693bDu c3693bDu) { this.e = c3693bDu; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { Pag pag = (Pag) obj; C3693bDu.e(this.e); if (pag != null) { C3693bDu c3693bDu = this.e; ZI.IeS ieS = new ZI.IeS() { // from class: o.bDx @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6669cZl.IeS) obj2).c(); } }; if (c3693bDu.f != 0) { ieS.e(c3693bDu.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C3693bDu.b(this.e); C3693bDu.c(this.e, th); } } static /* synthetic */ void b(C3693bDu c3693bDu) { if (c3693bDu.f != 0) { c3693bDu.f.ar_(); } } static /* synthetic */ void c(C3693bDu c3693bDu, Throwable th) { if (c3693bDu.b(th)) { c3693bDu.d(c3693bDu.j.e(th)); } } static /* synthetic */ void e(C3693bDu c3693bDu) { if (c3693bDu.f != 0) { c3693bDu.f.ar_(); } } @Override // o.ZI public final void w_() { UOm uOm = this.b; if (!uOm.h.isDisposed()) { uOm.h.dispose(); } super.w_(); } }