package o; import o.C3300aut; import o.ZI; import o.wRi; /* renamed from: o.aut, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3300aut extends ZI { public final ZBH a; private final C16319nT c; private final C16318nS e; @InterfaceC13391fZD public C3300aut(C16903sI c16903sI, ZBH zbh, C16319nT c16319nT, C16318nS c16318nS) { super(c16903sI); this.a = zbh; this.c = c16319nT; this.e = c16318nS; } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void b(boolean z, boolean z2, boolean z3, boolean z4, boolean z5, InterfaceC9051dcS interfaceC9051dcS) { if (z) { interfaceC9051dcS.a(); return; } if (z2) { interfaceC9051dcS.d(); interfaceC9051dcS.b(); } if (z3) { interfaceC9051dcS.e(); } if (z4) { interfaceC9051dcS.g(); } if (z5) { interfaceC9051dcS.c(); } } static Integer c(String str) { return Integer.valueOf((int) Double.parseDouble(str.replace(",", ""))); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aut$LWm */ /* loaded from: classes4.dex */ public class LWm extends wRi.LWm { private final C0498Hz b; private C3300aut c; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { rYB ryb = (rYB) obj; C3300aut.e(this.c); if (ryb.d.isEmpty()) { C3300aut c3300aut = this.c; C3262auG c3262auG = new C3262auG(); if (c3300aut.f != 0) { c3262auG.e(c3300aut.f); return; } return; } final C0470Hg d = this.c.c.d(ryb); C3300aut c3300aut2 = this.c; ZI.IeS ieS = new ZI.IeS(this, d) { // from class: o.auD private C0470Hg b; private C3300aut.LWm e; @Override // o.ZI.IeS public final void e(Object obj2) { C3300aut.LWm.b(this.e, this.b, (InterfaceC9051dcS) obj2); } { this.e = this; this.b = d; } }; if (c3300aut2.f != 0) { ieS.e(c3300aut2.f); } } public LWm(C3300aut c3300aut, C0498Hz c0498Hz) { this.c = c3300aut; this.b = c0498Hz; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C3300aut c3300aut = this.c; C3305auz c3305auz = new C3305auz(); if (c3300aut.f != 0) { c3305auz.e(c3300aut.f); } if (this.c.i(th)) { return; } C3300aut c3300aut2 = this.c; C3258auC c3258auC = new C3258auC(); if (c3300aut2.f != 0) { c3258auC.e(c3300aut2.f); } } public static /* synthetic */ void b(LWm lWm, C0470Hg c0470Hg, InterfaceC9051dcS interfaceC9051dcS) { C0463Hc c0463Hc = c0470Hg.d.get(0); interfaceC9051dcS.c(c0463Hc, lWm.b.k); C3300aut c3300aut = lWm.c; String str = lWm.b.e; String str2 = lWm.b.b; Integer num = c0463Hc.q; Integer num2 = c0463Hc.k; Integer num3 = c0463Hc.c; final boolean z = lWm.b.l; Double valueOf = Double.valueOf(Double.parseDouble(str2.replace(",", ""))); final boolean z2 = C3300aut.c(str).intValue() >= num.intValue(); final boolean z3 = C3300aut.c(str).intValue() >= num2.intValue() && valueOf.doubleValue() >= ((double) num3.intValue()); final boolean z4 = z2 || z3; final boolean z5 = z3 && !z2; ZI.IeS ieS = new ZI.IeS(z, z2, z3, z5, z4) { // from class: o.auB private boolean a; private boolean b; private boolean c; private boolean d; private boolean e; @Override // o.ZI.IeS public final void e(Object obj) { C3300aut.b(this.b, this.e, this.a, this.c, this.d, (InterfaceC9051dcS) obj); } { this.b = z; this.e = z2; this.a = z3; this.c = z5; this.d = z4; } }; if (c3300aut.f != 0) { ieS.e(c3300aut.f); } if (lWm.b.l) { interfaceC9051dcS.i(); interfaceC9051dcS.j(); } } } /* renamed from: o.aut$Sts */ /* loaded from: classes4.dex */ public class Sts extends wRi.LWm { private final C0498Hz a; private C3300aut e; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C16089lAt c16089lAt = (C16089lAt) obj; C3300aut c3300aut = this.e; C3305auz c3305auz = new C3305auz(); if (c3300aut.f != 0) { c3305auz.e(c3300aut.f); } if (c16089lAt.e.isEmpty()) { C3300aut c3300aut2 = this.e; C3262auG c3262auG = new C3262auG(); if (c3300aut2.f != 0) { c3262auG.e(c3300aut2.f); return; } return; } C3300aut c3300aut3 = this.e; int i = c16089lAt.e.get(0).d; C0498Hz c0498Hz = this.a; c3300aut3.a.c(new rOI(Integer.valueOf(i), 0), false); ZBH zbh = c3300aut3.a; zbh.d(zbh.i, new LWm(c3300aut3, c0498Hz)); } public Sts(C3300aut c3300aut, C0498Hz c0498Hz) { this.e = c3300aut; this.a = c0498Hz; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C3300aut c3300aut = this.e; C3305auz c3305auz = new C3305auz(); if (c3300aut.f != 0) { c3305auz.e(c3300aut.f); } if (this.e.i(th)) { return; } C3300aut c3300aut2 = this.e; C3258auC c3258auC = new C3258auC(); if (c3300aut2.f != 0) { c3258auC.e(c3300aut2.f); } } } public static /* synthetic */ void a(C3300aut c3300aut, C0498Hz c0498Hz, C0463Hc c0463Hc, boolean z, String str, InterfaceC9051dcS interfaceC9051dcS) { C16318nS c16318nS = c3300aut.e; interfaceC9051dcS.a(C16318nS.e(c0498Hz, c0463Hc, z, str)); } static /* synthetic */ void e(C3300aut c3300aut) { if (c3300aut.f != 0) { c3300aut.f.ar_(); } } }