package j.r0;

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

    public a(char c, char c2, int i2) {
        if (i2 == 0) {
            throw new IllegalArgumentException("Step must be non-zero.");
        }
        if (i2 == Integer.MIN_VALUE) {
            throw new IllegalArgumentException("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");
        }
        this.b = c;
        this.d = (char) j.n0.c.c(c, c2, i2);
        this.e = i2;
    }

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

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

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