package o; import android.content.SharedPreferences; import android.content.res.Resources; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; /* renamed from: o.uT, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17166uT extends C16157lj { private final C17157uQ a; private final C17153uP b; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C17166uT(Resources resources, SharedPreferences sharedPreferences, C17153uP c17153uP, C17157uQ c17157uQ) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); C14957gcv.e(c17153uP, ""); C14957gcv.e(c17157uQ, ""); this.b = c17153uP; this.a = c17157uQ; } /* renamed from: o.uT$IeS */ /* loaded from: classes3.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } public final C0819Pd c(zZj zzj) { C14957gcv.e(zzj, ""); List list = zzj.b; ArrayList arrayList = new ArrayList(); for (Object obj : list) { DbV dbV = (DbV) obj; if (1 == dbV.f || dbV.c) { arrayList.add(obj); } } ArrayList arrayList2 = arrayList; C14957gcv.e(arrayList2, ""); ArrayList arrayList3 = new ArrayList(arrayList2.size()); Iterator it = arrayList2.iterator(); while (it.hasNext()) { arrayList3.add(this.b.a((DbV) it.next(), zzj.a)); } ArrayList arrayList4 = arrayList3; List list2 = zzj.c; C14957gcv.e(list2, ""); ArrayList arrayList5 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (C16938saI c16938saI : list2) { C14957gcv.e(c16938saI, ""); arrayList5.add(new C0818Pc(c16938saI.e, c16938saI.c, c16938saI.d)); } return new C0819Pd(arrayList4, arrayList5); } static { new IeS((byte) 0); } }