package P4;

import java.util.Iterator;

/* JADX INFO: loaded from: classes3.dex */
public final class i implements Iterable, K4.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final long f5688a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final long f5690c;

    public i(long j4, long j6) {
        this.f5688a = j4;
        if (j4 < j6) {
            long j7 = j6 % 1;
            long j8 = j4 % 1;
            long j9 = ((j7 < 0 ? j7 + 1 : j7) - (j8 < 0 ? j8 + 1 : j8)) % 1;
            j6 -= j9 < 0 ? j9 + 1 : j9;
        }
        this.f5689b = j6;
        this.f5690c = 1L;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof i)) {
            return false;
        }
        if (isEmpty() && ((i) obj).isEmpty()) {
            return true;
        }
        i iVar = (i) obj;
        if (this.f5688a == iVar.f5688a) {
            return this.f5689b == iVar.f5689b;
        }
        return false;
    }

    public final int hashCode() {
        if (isEmpty()) {
            return -1;
        }
        long j4 = this.f5688a;
        long j6 = ((long) 31) * (j4 ^ (j4 >>> 32));
        long j7 = this.f5689b;
        return (int) (j6 + (j7 ^ (j7 >>> 32)));
    }

    public final boolean isEmpty() {
        return this.f5688a > this.f5689b;
    }

    @Override // java.lang.Iterable
    public final Iterator iterator() {
        return new h(this.f5688a, this.f5689b, this.f5690c);
    }

    public final String toString() {
        return this.f5688a + ".." + this.f5689b;
    }
}
