package o; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; /* renamed from: o.dOy, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C8558dOy { public static final SOC c(Rbd rbd) { C14957gcv.e(rbd, ""); Integer num = rbd.b; if (num == null) { throw new EntityMappingException("Some mandatory is missing."); } int intValue = num.intValue(); String str = rbd.a; if (str == null) { throw new EntityMappingException("Some mandatory is missing."); } String str2 = rbd.c; if (str2 == null) { throw new EntityMappingException("Some mandatory is missing."); } String str3 = rbd.d; if (str3 == null) { throw new EntityMappingException("Some mandatory is missing."); } ldW ldw = rbd.e; if (ldw != null) { return new SOC(intValue, str, null, str2, str3, null, b(ldw), 36); } throw new EntityMappingException("Some mandatory is missing."); } public static final SOC b(C0677MCc c0677MCc) { C14957gcv.e(c0677MCc, ""); Integer num = c0677MCc.a; if (num == null) { throw new EntityMappingException("Some mandatory is missing."); } int intValue = num.intValue(); String str = c0677MCc.e; if (str == null) { throw new EntityMappingException("Some mandatory is missing."); } String str2 = c0677MCc.d; if (str2 == null) { throw new EntityMappingException("Some mandatory is missing."); } ldW ldw = c0677MCc.b; if (ldw != null) { return new SOC(intValue, str, str2, null, null, null, b(ldw), 56); } throw new EntityMappingException("Some mandatory is missing."); } private static OZu b(ldW ldw) { C14957gcv.e(ldw, ""); String str = ldw.d; if (str == null) { throw new EntityMappingException("Some mandatory is missing."); } String str2 = ldw.c; if (str2 != null) { return new OZu(str, str2); } throw new EntityMappingException("Some mandatory is missing."); } }