package kotlinx.coroutines.flow.internal;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0006\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u00012\b\u0012\u0004\u0012\u00020\u00020\u0003B\u000f\u0012\u0006\u0010\u0004\u001a\u00020\u0002¢\u0006\u0004\b\u0005\u0010\u0006J\u0015\u0010\t\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0002¢\u0006\u0004\b\t\u0010\nR\u0014\u0010\r\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000b\u0010\f¨\u0006\u000e"}, d2 = {"Lkotlinx/coroutines/flow/internal/SubscriptionCountStateFlow;", "Lkotlinx/coroutines/flow/StateFlow;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "Lkotlinx/coroutines/flow/SharedFlowImpl;", "initialValue", "<init>", "(I)V", "delta", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "Z", "(I)Z", "Y", "()Ljava/lang/Integer;", "value", "kotlinx-coroutines-core"}, k = 1, mv = {2, 1, 0}, xi = 48)
@kotlin.jvm.internal.SourceDebugExtension
final class SubscriptionCountStateFlow extends kotlinx.coroutines.flow.SharedFlowImpl<java.lang.Integer> implements kotlinx.coroutines.flow.StateFlow<java.lang.Integer> {
    public SubscriptionCountStateFlow(int i) {
        super(1, Integer.MAX_VALUE, kotlinx.coroutines.channels.BufferOverflow.DROP_OLDEST);
        c(java.lang.Integer.valueOf(i));
    }

    @Override // kotlinx.coroutines.flow.StateFlow
    /* JADX INFO: renamed from: Y, reason: merged with bridge method [inline-methods] */
    public java.lang.Integer getValue() {
        java.lang.Integer numValueOf;
        synchronized (this) {
            numValueOf = java.lang.Integer.valueOf(((java.lang.Number) L()).intValue());
        }
        return numValueOf;
    }

    public final boolean Z(int delta) {
        boolean zC;
        synchronized (this) {
            zC = c(java.lang.Integer.valueOf(((java.lang.Number) L()).intValue() + delta));
        }
        return zC;
    }
}
