package kotlinx.coroutines.sync;

import java.util.concurrent.atomic.AtomicReferenceArray;
import kotlin.coroutines.h;
import kotlinx.coroutines.internal.s;

/* JADX INFO: loaded from: classes.dex */
public final class g extends s {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ AtomicReferenceArray f29560e;

    public g(long j10, g gVar, int i10) {
        super(j10, gVar, i10);
        this.f29560e = new AtomicReferenceArray(f.f29559f);
    }

    @Override // kotlinx.coroutines.internal.s
    public final int f() {
        return f.f29559f;
    }

    @Override // kotlinx.coroutines.internal.s
    public final void g(int i10, h hVar) {
        this.f29560e.set(i10, f.f29558e);
        h();
    }

    public final String toString() {
        return "SemaphoreSegment[id=" + this.f29487c + ", hashCode=" + hashCode() + ']';
    }
}
