package j.r0;

import j.k0.f0;

/* JADX INFO: compiled from: Progressions.kt */
/* JADX INFO: loaded from: classes.dex */
public class i implements Iterable<Long>, j.p0.d.i0.a {
    private final long b;
    private final long d;
    private final long e;

    public i(long j2, long j3, long j4) {
        if (j4 == 0) {
            throw new IllegalArgumentException("Step must be non-zero.");
        }
        if (j4 == Long.MIN_VALUE) {
            throw new IllegalArgumentException("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");
        }
        this.b = j2;
        this.d = j.n0.c.d(j2, j3, j4);
        this.e = j4;
    }

    public final long b() {
        return this.b;
    }

    public final long c() {
        return this.d;
    }

    @Override // java.lang.Iterable
    /* JADX INFO: renamed from: d, reason: merged with bridge method [inline-methods] */
    public f0 iterator() {
        return new j(this.b, this.d, this.e);
    }
}
