package o; import o.ZI; import o.wRi; /* renamed from: o.ard, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3126ard extends ZI { private C6584cXS a; public ZBH d; @InterfaceC13391fZD public C3126ard(ZBH zbh, C16903sI c16903sI, C6584cXS c6584cXS) { super(c16903sI); this.d = zbh; this.a = c6584cXS; } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void d(EnumC16373nni enumC16373nni, int i, String str, String str2, InterfaceC9083dcy interfaceC9083dcy) { if (enumC16373nni == EnumC16373nni.OPR) { interfaceC9083dcy.b(i, enumC16373nni, str); } else { interfaceC9083dcy.a(i, str2, enumC16373nni); } } /* renamed from: o.ard$Sts */ /* loaded from: classes4.dex */ public final class Sts extends wRi.LWm { private C3126ard a; public Sts(C3126ard c3126ard) { this.a = c3126ard; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final OQf oQf = (OQf) obj; if (oQf.d == null || oQf.d.isEmpty()) { C3126ard c3126ard = this.a; C3132arj c3132arj = new C3132arj(); if (c3126ard.f != 0) { c3132arj.e(c3126ard.f); return; } return; } C6584cXS unused = this.a.a; C3126ard c3126ard2 = this.a; ZI.IeS ieS = new ZI.IeS(oQf) { // from class: o.ari private OQf a; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9083dcy) obj2).d(this.a); } { this.a = oQf; } }; if (c3126ard2.f != 0) { ieS.e(c3126ard2.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C3126ard.b(this.a); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.a.i(th)) { return; } C3126ard.d(this.a); C3126ard c3126ard = this.a; C3132arj c3132arj = new C3132arj(); if (c3126ard.f != 0) { c3132arj.e(c3126ard.f); } } } static /* synthetic */ void b(C3126ard c3126ard) { if (c3126ard.f != 0) { c3126ard.f.ar_(); } } static /* synthetic */ void d(C3126ard c3126ard) { if (c3126ard.f != 0) { c3126ard.f.ar_(); } } }