what-the-bank/sources/o/C0723Na.java

36 lines
1.1 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.C5335brB;
/* renamed from: o.Na, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0723Na {
public static final C0723Na a = new C0723Na();
private C0723Na() {
}
public static C0729Nf a(C5335brB c5335brB) {
C14957gcv.e(c5335brB, "");
int size = c5335brB.d.size() >= 3 ? c5335brB.d.size() - 3 : c5335brB.d.size() - 1;
List<C5335brB.IeS> list = c5335brB.d;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
int i = 0;
for (Object obj : list) {
if (i < 0) {
throw new ArithmeticException("Index overflow has happened.");
}
C5335brB.IeS ieS = (C5335brB.IeS) obj;
arrayList.add(new MQ(ieS.d, ieS.b, c5335brB.a && i == size));
i++;
}
ArrayList arrayList2 = arrayList;
C14957gcv.e(arrayList2, "");
return new C0729Nf(new ArrayList(arrayList2), c5335brB.b, c5335brB.a);
}
}