package o; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; /* loaded from: classes3.dex */ public final class mbN extends ZTC { private final WFN a; @InterfaceC13391fZD public mbN(WFN wfn) { C14957gcv.e(wfn, ""); this.a = wfn; } public final List d(List list) { C14851gaI c14851gaI; if (list != null) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (DmS dmS : list2) { C14957gcv.e(dmS, ""); IJP ijp = new IJP(); Integer num = dmS.l; boolean z = false; ijp.n = num != null ? num.intValue() : 0; ijp.d = dmS.d; Double d = dmS.i; ijp.h = d != null ? d.doubleValue() : 0.0d; Double d2 = dmS.f; ijp.i = d2 != null ? d2.doubleValue() : 0.0d; ijp.j = a(dmS.i); ijp.m = dmS.h; Integer num2 = dmS.k; ijp.l = num2 != null ? num2.intValue() : 0; Integer num3 = dmS.n; ijp.k = num3 != null ? num3.intValue() : 0; Double d3 = dmS.m; ijp.s = d3 != null ? d3.doubleValue() : 0.0d; ijp.b = dmS.a; ijp.c = dmS.e; ijp.a = dmS.b; List list3 = dmS.c; if (list3 != null) { List list4 = list3; C14957gcv.e(list4, ""); ArrayList arrayList2 = new ArrayList(list4 instanceof Collection ? list4.size() : 10); Iterator it = list4.iterator(); while (it.hasNext()) { arrayList2.add(WFN.a((C17271vQj) it.next())); } c14851gaI = arrayList2; } else { c14851gaI = C14851gaI.c; } ijp.e = c14851gaI; Boolean bool = dmS.j; ijp.f = bool != null ? bool.booleanValue() : false; ijp.f8207o = dmS.f8134o; Boolean bool2 = dmS.g; if (bool2 != null) { z = bool2.booleanValue(); } ijp.g = z; C14957gcv.c(ijp, ""); arrayList.add(ijp); } return arrayList; } return new ArrayList(); } /* loaded from: classes3.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } static { new Sts((byte) 0); } }