package jn;

import sm.l0;

/* loaded from: classes3.dex */
public abstract class j implements Iterable, en.a {

    /* renamed from: s, reason: collision with root package name */
    public static final a f25090s = new a(null);

    /* renamed from: p, reason: collision with root package name */
    private final long f25091p;

    /* renamed from: q, reason: collision with root package name */
    private final long f25092q;

    /* renamed from: r, reason: collision with root package name */
    private final long f25093r;

    /* loaded from: classes3.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }
    }

    public j(long j10, long j11, long j12) {
        if (j12 == 0) {
            throw new IllegalArgumentException("Step must be non-zero.");
        }
        if (j12 == Long.MIN_VALUE) {
            throw new IllegalArgumentException("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");
        }
        this.f25091p = j10;
        this.f25092q = ym.c.d(j10, j11, j12);
        this.f25093r = j12;
    }

    public final long g() {
        return this.f25091p;
    }

    public final long m() {
        return this.f25092q;
    }

    @Override // java.lang.Iterable
    /* renamed from: r, reason: merged with bridge method [inline-methods] */
    public l0 iterator() {
        return new k(this.f25091p, this.f25092q, this.f25093r);
    }
}
