package h.z;

import h.s.a0;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private final long f1010e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private final long f1011f;

    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.f1010e = h.v.c.d(j2, j3, j4);
        this.f1011f = j4;
    }

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

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

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