package o; import android.content.SharedPreferences; import android.content.res.Resources; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* renamed from: o.xC, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17482xC extends C16157lj { private final String d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C17482xC(Resources resources, SharedPreferences sharedPreferences, String str) { super(resources, sharedPreferences); C14957gcv.e(str, ""); this.d = str; } public final List a(List list) { String str; String str2; List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (yUb yub : list2) { if (C14957gcv.b((Object) C2974aoj.d(this.d), (Object) "th")) { str = yub.d; str2 = yub.f; } else { str = yub.e; str2 = yub.h; } arrayList.add(new RT(yub.g, yub.a, yub.i, yub.d, yub.e, str, yub.f, yub.h, str2, yub.b, yub.c)); } return arrayList; } }