package o; import o.C5523buf; import o.ZI; import o.wRi; /* renamed from: o.buf */ /* loaded from: classes4.dex */ public final class C5523buf extends ZI { private final C16861rsX b; public final C1312aAe c; final C17012tG e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C5523buf(C16903sI c16903sI, C1312aAe c1312aAe, C17012tG c17012tG, C16861rsX c16861rsX) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c1312aAe, ""); C14957gcv.e(c17012tG, ""); C14957gcv.e(c16861rsX, ""); this.c = c1312aAe; this.e = c17012tG; this.b = c16861rsX; } /* renamed from: o.buf$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends wRi.LWm { private C5523buf d; public LWm(C5523buf c5523buf) { this.d = c5523buf; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C16517owV c16517owV = (C16517owV) obj; C14957gcv.e(c16517owV, ""); super.onNext(c16517owV); C5523buf c5523buf = this.d; ZI.IeS ieS = new ZI.IeS(c5523buf, c16517owV) { // from class: o.bul private C5523buf a; private C16517owV e; @Override // o.ZI.IeS public final void e(Object obj2) { C5523buf.LWm.d(this.a, this.e, (InterfaceC9333dhk) obj2); } { this.a = c5523buf; this.e = c16517owV; } }; if (c5523buf.f != 0) { ieS.e(c5523buf.f); } C5523buf.d(this.d); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); super.onError(th); C5523buf c5523buf = this.d; C5523buf.c(c5523buf, th, new Runnable(c5523buf) { // from class: o.bui private C5523buf b; @Override // java.lang.Runnable public final void run() { C5523buf.LWm.c(this.b); } { this.b = c5523buf; } }); } public static /* synthetic */ void c(C5523buf c5523buf) { C14957gcv.e(c5523buf, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.bum @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9333dhk) obj).e(); } }; if (c5523buf.f != 0) { ieS.e(c5523buf.f); } } public static /* synthetic */ void d(C5523buf c5523buf, C16517owV c16517owV, InterfaceC9333dhk interfaceC9333dhk) { C14957gcv.e(c5523buf, ""); C14957gcv.e(c16517owV, ""); C17012tG c17012tG = c5523buf.e; C14957gcv.e(c16517owV, ""); String str = (String) C16157lj.c(new Object[]{c17012tG, c16517owV.c}, 838289628, -838289623, System.identityHashCode(c17012tG)); C14957gcv.c((Object) str, ""); interfaceC9333dhk.e(new C0756Nx(str)); } } @Override // o.ZI public final void w_() { C1312aAe c1312aAe = this.c; if (!c1312aAe.h.isDisposed()) { c1312aAe.h.dispose(); } super.w_(); } public static /* synthetic */ void a(C5523buf c5523buf, InterfaceC9333dhk interfaceC9333dhk) { C14957gcv.e(c5523buf, ""); c5523buf.b.e.b(true); interfaceC9333dhk.a(); } public static /* synthetic */ void e(InterfaceC9333dhk interfaceC9333dhk) { interfaceC9333dhk.e(); } public static final /* synthetic */ void d(C5523buf c5523buf) { if (c5523buf.f != 0) { c5523buf.f.ar_(); } } public static final /* synthetic */ void c(C5523buf c5523buf, Throwable th, Runnable runnable) { if (c5523buf.b(th)) { c5523buf.d(c5523buf.j.c(th, runnable)); } } }