package o; import java.util.ArrayList; import java.util.List; import o.MR; /* renamed from: o.ts, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17100ts { private final C16548pI b; public final C17025tN e; @InterfaceC13391fZD public C17100ts(C16548pI c16548pI, C17025tN c17025tN) { C14957gcv.e(c16548pI, ""); C14957gcv.e(c17025tN, ""); this.b = c16548pI; this.e = c17025tN; } public final List a(List list, String str, boolean z) { ArrayList arrayList = new ArrayList(); for (Object obj : list) { if (((C5762bzF) obj).i.contains(str)) { arrayList.add(obj); } } ArrayList arrayList2 = arrayList; C14957gcv.e(arrayList2, ""); ArrayList arrayList3 = new ArrayList(arrayList2.size()); for (C5762bzF c5762bzF : arrayList2) { String str2 = c5762bzF.b; C14957gcv.c((Object) str2, ""); String str3 = c5762bzF.d; C14957gcv.c((Object) str3, ""); String str4 = c5762bzF.d; C14957gcv.c((Object) str4, ""); arrayList3.add(new MR.LWm(str2, str3, C16548pI.e(str4, z))); } return arrayList3; } public final List c(List list, String str, boolean z) { ArrayList arrayList = new ArrayList(); for (Object obj : list) { if (((Mgl) obj).c.contains(str)) { arrayList.add(obj); } } ArrayList arrayList2 = arrayList; C14957gcv.e(arrayList2, ""); ArrayList arrayList3 = new ArrayList(arrayList2.size()); for (Mgl mgl : arrayList2) { arrayList3.add(new MR.LWm(mgl.b, mgl.e, C16548pI.e(mgl.e, z))); } return arrayList3; } }