package o; import android.content.SharedPreferences; import android.content.res.Resources; import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper; import kotlin.NoWhenBranchMatchedException; import o.LhO; /* renamed from: o.lv, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C16177lv extends BaseAssetsDisplayMapper { private final String a; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C16177lv(Resources resources, SharedPreferences sharedPreferences, String str, String str2) { super(resources, sharedPreferences, str); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); this.a = str2; } public final C0375Fe b(LhO lhO, boolean z) { String str; String str2; String str3; String str4; String str5; EnumC0378Fg enumC0378Fg; String str6; String str7; String str8; C14957gcv.e(lhO, ""); String str9 = lhO.a; String str10 = lhO.b; TfH tfH = lhO.f; if (z) { str = tfH.d; } else { str = tfH.c; } String j = j(str, lhO.h, this.a); C14957gcv.c((Object) j, ""); TfH tfH2 = lhO.e; if (z) { str2 = tfH2.d; } else { str2 = tfH2.c; } String str11 = str2; C14957gcv.c((Object) str11, ""); TfH tfH3 = lhO.i; if (tfH3 != null) { if (z) { str8 = tfH3.d; } else { str8 = tfH3.c; } str3 = str8; } else { str3 = null; } TfH tfH4 = lhO.d; if (tfH4 != null) { if (z) { str7 = tfH4.d; } else { str7 = tfH4.c; } str4 = str7; } else { str4 = null; } TfH tfH5 = lhO.c; if (tfH5 != null) { if (z) { str6 = tfH5.d; } else { str6 = tfH5.c; } str5 = str6; } else { str5 = null; } int i = HBt.d[lhO.j.ordinal()]; if (i == 1) { enumC0378Fg = EnumC0378Fg.IMAGE; } else { if (i != 2) { throw new NoWhenBranchMatchedException(); } enumC0378Fg = EnumC0378Fg.TEXT; } return new C0375Fe(str9, str10, j, str11, str3, str4, str5, enumC0378Fg, lhO.h); } /* renamed from: o.lv$HBt */ /* loaded from: classes3.dex */ public final /* synthetic */ class HBt { public static final int[] d; static { int[] iArr = new int[LhO.RVV.values().length]; try { iArr[LhO.RVV.IMAGE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[LhO.RVV.TEXT.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } d = iArr; } } }