package o; import o.C1517aGh; import o.ZI; import o.wRi; /* renamed from: o.aGh, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C1517aGh extends AbstractC1278Zm { private final C16640pt a; public final UdY d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C1517aGh(C16903sI c16903sI, olI oli, C17767zc c17767zc, UdY udY, C16640pt c16640pt) { super(oli, c16903sI, c17767zc); C14957gcv.e(c16903sI, ""); C14957gcv.e(udY, ""); C14957gcv.e(c16640pt, ""); this.d = udY; this.a = c16640pt; } /* renamed from: o.aGh$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends wRi.LWm { private String b; private C1517aGh d; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final uCB ucb = (uCB) obj; C14957gcv.e(ucb, ""); super.onNext(ucb); C1517aGh.c(this.d); final C1517aGh c1517aGh = this.d; final String str = this.b; ZI.IeS ieS = new ZI.IeS(c1517aGh, str, ucb) { // from class: o.aGg private uCB a; private String b; private C1517aGh e; @Override // o.ZI.IeS public final void e(Object obj2) { C1517aGh.LWm.e(this.e, this.b, this.a, (InterfaceC9110ddY) obj2); } { this.e = c1517aGh; this.b = str; this.a = ucb; } }; if (c1517aGh.f != 0) { ieS.e(c1517aGh.f); } } public LWm(C1517aGh c1517aGh, String str) { this.d = c1517aGh; this.b = str; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); C1517aGh.c(this.d); this.d.d(); C1517aGh.d(this.d, th); } public static /* synthetic */ void e(C1517aGh c1517aGh, String str, uCB ucb, InterfaceC9110ddY interfaceC9110ddY) { C14957gcv.e(c1517aGh, ""); C14957gcv.e(str, ""); C14957gcv.e(ucb, ""); C16640pt unused = c1517aGh.a; interfaceC9110ddY.e(C16640pt.b(str, ucb)); } } @Override // o.ZI public final void w_() { UdY udY = this.d; if (!udY.h.isDisposed()) { udY.h.dispose(); } super.w_(); } public static final /* synthetic */ void c(C1517aGh c1517aGh) { if (c1517aGh.f != 0) { c1517aGh.f.ar_(); } } public static final /* synthetic */ void d(C1517aGh c1517aGh, Throwable th) { if (c1517aGh.b(th)) { c1517aGh.d(c1517aGh.j.e(th)); } } @Override // o.AbstractC1278Zm public final void c(final String str) { if (this.f != 0) { this.f.y(); } ZI.IeS ieS = new ZI.IeS(str) { // from class: o.aGi private String c; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9110ddY) obj).c(this.c); } { this.c = str; } }; if (this.f != 0) { ieS.e(this.f); } } }