package o; import java.util.List; import java.util.NoSuchElementException; /* loaded from: classes3.dex */ public final class gPK extends ZTC { @InterfaceC13391fZD public gPK() { } /* JADX WARN: Multi-variable type inference failed */ public static USY d(C5762bzF c5762bzF, C7968cyO c7968cyO) { zEQ d; JNE jne; String str; List list = c7968cyO.a; final String str2 = c5762bzF.d; YKU yku = new YKU(list); YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(str2) { // from class: o.yui private String d; @Override // o.Jel public final boolean e(Object obj) { boolean equals; equals = this.d.equals(((JNE) obj).a); return equals; } { this.d = str2; } })); if (yku2.b.hasNext()) { d = zEQ.a(yku2.b.next()); } else { d = zEQ.d(); } if (d.d != 0) { T t = d.d; if (t != 0) { jne = (JNE) t; } else { throw new NoSuchElementException("No value present"); } } else { jne = null; } if (jne == null) { str = ""; } else { str = jne.e; } USY usy = new USY(); usy.f = c5762bzF.p; usy.j = c5762bzF.t; usy.b = c5762bzF.m; usy.a = c5762bzF.d; usy.d = str; usy.c = c5762bzF.g.doubleValue(); return usy; } }