package g.j0;

import java.util.Iterator;

/* JADX INFO: compiled from: Progressions.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public class a implements Iterable<Character>, g.h0.c.g0.a {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final char f4116b;

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

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

    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.f4116b = c2;
        this.f4117e = (char) f.a.y.a.h0(c2, c3, i2);
        this.f4118f = i2;
    }

    @Override // java.lang.Iterable
    public Iterator<Character> iterator() {
        return new b(this.f4116b, this.f4117e, this.f4118f);
    }
}
