package o;

import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.fT, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC1193fT {
    public static final Object[] a = new Object[0];
    public static final UQ b = new UQ(0);

    public static final void a(int i, List list) {
        int size = list.size();
        if (i < 0 || i >= size) {
            AbstractC2841wm0.J("Index " + i + " is out of bounds. The list has " + size + " elements.");
            throw null;
        }
    }

    public static final void b(List list, int i, int i2) {
        int size = list.size();
        if (i > i2) {
            AbstractC2841wm0.I("Indices are out of order. fromIndex (" + i + ") is greater than toIndex (" + i2 + ").");
            throw null;
        }
        if (i < 0) {
            AbstractC2841wm0.J("fromIndex (" + i + ") is less than 0.");
            throw null;
        }
        if (i2 <= size) {
            return;
        }
        AbstractC2841wm0.J("toIndex (" + i2 + ") is more than than the list size (" + size + ')');
        throw null;
    }
}
