package com.revenuecat.purchases.ui.revenuecatui.components.carousel;

import J4.a;
import kotlin.jvm.internal.p;

/* JADX INFO: loaded from: classes3.dex */
public final class CarouselComponentViewKt$CarouselComponentView$pagerState$1$1 extends p implements a {
    final /* synthetic */ CarouselComponentState $carouselState;
    final /* synthetic */ int $pageCount;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public CarouselComponentViewKt$CarouselComponentView$pagerState$1$1(CarouselComponentState carouselComponentState, int i6) {
        super(0);
        this.$carouselState = carouselComponentState;
        this.$pageCount = i6;
    }

    @Override // J4.a
    public final Integer invoke() {
        return Integer.valueOf(this.$carouselState.getLoop() ? Integer.MAX_VALUE : this.$pageCount);
    }
}
