package o; import o.InterfaceC6636cYn; import o.ZI; import o.cEU; import o.wRi; /* loaded from: classes4.dex */ public class cEU extends ZI { public final C17079tjn a; @InterfaceC13391fZD public cEU(C16903sI c16903sI, C17079tjn c17079tjn) { super(c16903sI); this.a = c17079tjn; } @Override // o.ZI public final void w_() { super.w_(); C17079tjn c17079tjn = this.a; if (c17079tjn.h.isDisposed()) { return; } c17079tjn.h.dispose(); } /* loaded from: classes4.dex */ public class LWm extends wRi.LWm { private cEU a; private LWm(cEU ceu) { this.a = ceu; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { cEU.a(this.a); cEU ceu = this.a; ZI.IeS ieS = new ZI.IeS() { // from class: o.cEX @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6636cYn.jNh) obj2).e(); } }; if (ceu.f != 0) { ieS.e(ceu.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.a.i(th)) { return; } cEU.b(this.a, th, new Runnable(this) { // from class: o.cEW private cEU.LWm c; @Override // java.lang.Runnable public final void run() { cEU.LWm.c(this.c); } { this.c = this; } }); } public static /* synthetic */ void c(LWm lWm) { cEU ceu = lWm.a; ZI.IeS ieS = new ZI.IeS() { // from class: o.cFb @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6636cYn.jNh) obj).e(); } }; if (ceu.f != 0) { ieS.e(ceu.f); } } public /* synthetic */ LWm(cEU ceu, byte b) { this(ceu); } } static /* synthetic */ void b(cEU ceu, Throwable th, Runnable runnable) { if (ceu.b(th)) { ceu.d(ceu.j.c(th, runnable)); } } static /* synthetic */ void a(cEU ceu) { if (ceu.f != 0) { ceu.f.ar_(); } } }