package o; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import o.C17180ucA; /* loaded from: classes3.dex */ public final class Mph extends ZTC { @InterfaceC13391fZD public Mph() { } public static List d(List list) { if (list != null) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (Ylx ylx : list2) { if (ylx.b != null && ylx.d != null) { C17180ucA.HBt hBt = new C17180ucA.HBt((byte) 0); hBt.b = ylx.a; hBt.e = ylx.b; hBt.c = ylx.d; hBt.d = ylx.e; hBt.h = ylx.f; hBt.a = ylx.c; C17180ucA c17180ucA = new C17180ucA(hBt, (byte) 0); C14957gcv.c(c17180ucA, ""); arrayList.add(c17180ucA); } else { throw new EntityMappingException("MCMC: Loan detail object's sections or keys are null"); } } return arrayList; } return C14851gaI.c; } public final UHf b(C14278fqG c14278fqG) { C14957gcv.e(c14278fqG, ""); if (c14278fqG.d != null) { return new UHf(d(c14278fqG.d)); } throw new EntityMappingException("MCMC: Calculation list is null"); } }