package IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.Mqv2r_3;

import java.util.concurrent.atomic.AtomicLong;
/* compiled from: BlockInfo.java */
/* loaded from: classes.dex */
public class KQgRr5e_0 {
    public final long KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final AtomicLong f144KQgRr5e_0;
    public final long QxJ9d_1;

    public KQgRr5e_0(long j, long j2) {
        this(j, j2, 0L);
    }

    public long KQgRr5e_0() {
        return this.QxJ9d_1;
    }

    public long Mqv2r_3() {
        return (this.KQgRr5e_0 + this.QxJ9d_1) - 1;
    }

    public long PGPF6hQ_2() {
        return this.KQgRr5e_0 + this.f144KQgRr5e_0.get();
    }

    public long QxJ9d_1() {
        return this.f144KQgRr5e_0.get();
    }

    public long X6FRs_4() {
        return this.KQgRr5e_0;
    }

    public String toString() {
        return "[" + this.KQgRr5e_0 + ", " + Mqv2r_3() + ")-current:" + this.f144KQgRr5e_0;
    }

    public KQgRr5e_0(long j, long j2, long j3) {
        if (j >= 0 && ((j2 >= 0 || j2 == -1) && j3 >= 0)) {
            this.KQgRr5e_0 = j;
            this.QxJ9d_1 = j2;
            this.f144KQgRr5e_0 = new AtomicLong(j3);
            return;
        }
        throw new IllegalArgumentException();
    }

    public void KQgRr5e_0(long j) {
        this.f144KQgRr5e_0.addAndGet(j);
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public void m86KQgRr5e_0() {
        this.f144KQgRr5e_0.set(0L);
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public KQgRr5e_0 m85KQgRr5e_0() {
        return new KQgRr5e_0(this.KQgRr5e_0, this.QxJ9d_1, this.f144KQgRr5e_0.get());
    }
}
