package d.p0;

/* JADX INFO: compiled from: Progressions.kt */
/* JADX INFO: loaded from: classes.dex */
@d.n
public class a implements Iterable<Character> {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final C0087a f2656c = new C0087a(null);

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

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

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

    /* JADX INFO: renamed from: d.p0.a$a, reason: collision with other inner class name */
    /* JADX INFO: compiled from: Progressions.kt */
    @d.n
    public static final class C0087a {
        private C0087a() {
        }

        public /* synthetic */ C0087a(d.n0.c.l lVar) {
            this();
        }
    }

    public a(char c2, char c3, int i) {
        if (i == 0) {
            throw new IllegalArgumentException("Step must be non-zero.");
        }
        if (i == Integer.MIN_VALUE) {
            throw new IllegalArgumentException("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");
        }
        this.f2657d = c2;
        this.f2658e = (char) d.l0.c.c(c2, c3, i);
        this.f2659f = i;
    }

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

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

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