package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; /* loaded from: classes3.dex */ public final class XhC { @InterfaceC13391fZD public XhC() { } public static NkD e(String str, SingleDataEntity singleDataEntity) { C14957gcv.e(str, ""); C14957gcv.e(singleDataEntity, ""); try { KKo data = singleDataEntity.getData(); if (!C14957gcv.b((Object) str, (Object) data.c)) { throw new IllegalArgumentException(); } return new NkD(data.b, data.d, data.a, data.e); } catch (NullPointerException unused) { return null; } } }