package o;

import java.util.ArrayList;
import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.l30, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1733l30 implements InterfaceC2235qO {
    public static final C1733l30 b = new C1733l30(0);
    public final /* synthetic */ int a;

    public /* synthetic */ C1733l30(int i) {
        this.a = i;
    }

    @Override // o.InterfaceC2235qO
    public final InterfaceC2329rO a(InterfaceC2424sO interfaceC2424sO, List list, long j) {
        switch (this.a) {
            case 0:
                int size = list.size();
                C0358Nv c0358Nv = C0358Nv.l;
                if (size == 0) {
                    return interfaceC2424sO.H(C0634Yl.j(j), C0634Yl.i(j), c0358Nv, C2291qw.J);
                }
                if (size == 1) {
                    VW vwC = ((InterfaceC1760lO) list.get(0)).c(j);
                    return interfaceC2424sO.H(AbstractC0842bm.g(vwC.l, j), AbstractC0842bm.f(vwC.m, j), c0358Nv, new C0973d5(vwC, 7));
                }
                ArrayList arrayList = new ArrayList(list.size());
                int size2 = list.size();
                int iMax = 0;
                int iMax2 = 0;
                for (int i = 0; i < size2; i++) {
                    VW vwC2 = ((InterfaceC1760lO) list.get(i)).c(j);
                    iMax = Math.max(vwC2.l, iMax);
                    iMax2 = Math.max(vwC2.m, iMax2);
                    arrayList.add(vwC2);
                }
                return interfaceC2424sO.H(AbstractC0842bm.g(iMax, j), AbstractC0842bm.f(iMax2, j), c0358Nv, new C1066e4(3, arrayList));
            default:
                throw new IllegalStateException("Undefined measure and it is required");
        }
    }

    @Override // o.InterfaceC2235qO
    public final int c(InterfaceC2608uI interfaceC2608uI, List list, int i) {
        throw new IllegalStateException("Undefined intrinsics block and it is required");
    }

    @Override // o.InterfaceC2235qO
    public final int g(InterfaceC2608uI interfaceC2608uI, List list, int i) {
        throw new IllegalStateException("Undefined intrinsics block and it is required");
    }

    @Override // o.InterfaceC2235qO
    public final int i(InterfaceC2608uI interfaceC2608uI, List list, int i) {
        throw new IllegalStateException("Undefined intrinsics block and it is required");
    }

    @Override // o.InterfaceC2235qO
    public final int j(InterfaceC2608uI interfaceC2608uI, List list, int i) {
        throw new IllegalStateException("Undefined intrinsics block and it is required");
    }
}
