package o; import android.text.TextUtils; import java.util.NoSuchElementException; /* renamed from: o.fan, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C13464fan extends ZTC { @InterfaceC13391fZD public C13464fan() { } /* JADX WARN: Multi-variable type inference failed */ public static vSx d(final YyL yyL, C7968cyO c7968cyO) { zEQ zeq; String str = null; if (c7968cyO != null) { YKU yku = new YKU(c7968cyO.a); YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(yyL) { // from class: o.Zjt private YyL d; @Override // o.Jel public final boolean e(Object obj) { boolean equals; equals = ((JNE) obj).a.equals(this.d.h); return equals; } { this.d = yyL; } })); if (yku2.b.hasNext()) { zeq = zEQ.a(yku2.b.next()); } else { zeq = zEQ.d(); } } else { zeq = null; } if (zeq != null && zeq.d != 0) { T t = zeq.d; if (t != 0) { if (TextUtils.isEmpty(((JNE) t).e)) { T t2 = zeq.d; if (t2 == 0) { throw new NoSuchElementException("No value present"); } str = ((JNE) t2).b.d; } } else { throw new NoSuchElementException("No value present"); } } double d = yyL.n; double d2 = yyL.f8475o; double d3 = yyL.c; vSx vsx = new vSx(); vsx.r = Uro.e(yyL.s); vsx.a = yyL.h; if (TextUtils.isEmpty(str)) { str = yyL.l; } vsx.d = str; vsx.e = yyL.c; vsx.c = d3 - (d + d2); vsx.f = yyL.i != null ? Integer.valueOf(yyL.i).intValue() : 0; vsx.i = yyL.f; vsx.n = yyL.m; vsx.l = yyL.t; vsx.g = yyL.d; vsx.h = yyL.e; vsx.k = yyL.a; vsx.m = yyL.g; vsx.f9293o = yyL.j; vsx.j = yyL.k; vsx.q = d; vsx.t = d2; vsx.b = yyL.b; return vsx; } }