package h.z;

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

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

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

    public a(char c2, char c3, 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 = c2;
        this.f997e = (char) h.v.c.c(c2, c3, i2);
        this.f998f = i2;
    }

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

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

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