package n;

import b0.InterfaceC0400e;
import com.cvte.vman.instance.InvokeCmd;

/* JADX INFO: loaded from: classes.dex */
public interface F {

    public static final class a implements F {

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

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

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

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

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

        public a(long j2, long j3, long j4, long j5, InterfaceC0400e interfaceC0400e) {
            this.f5452a = j2;
            this.f5453b = j3;
            this.f5454c = j4;
            this.f5455d = j5;
            this.f5456e = interfaceC0400e;
        }

        @Override // n.F
        public long[] a(long[] jArr) {
            if (jArr == null || jArr.length < 2) {
                jArr = new long[2];
            }
            long jMin = Math.min(this.f5453b, (this.f5456e.a() * 1000) - this.f5454c);
            long jMax = this.f5452a;
            long j2 = this.f5455d;
            if (j2 != -1) {
                jMax = Math.max(jMax, jMin - j2);
            }
            jArr[0] = jMax;
            jArr[1] = jMin;
            return jArr;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (obj == null || a.class != obj.getClass()) {
                return false;
            }
            a aVar = (a) obj;
            return aVar.f5452a == this.f5452a && aVar.f5453b == this.f5453b && aVar.f5454c == this.f5454c && aVar.f5455d == this.f5455d;
        }

        public int hashCode() {
            return ((((((InvokeCmd.CMD_XBUG_SET_VMAN_DOCROR_NBT + ((int) this.f5452a)) * 31) + ((int) this.f5453b)) * 31) + ((int) this.f5454c)) * 31) + ((int) this.f5455d);
        }
    }

    public static final class b implements F {

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

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

        public b(long j2, long j3) {
            this.f5457a = j2;
            this.f5458b = j3;
        }

        @Override // n.F
        public long[] a(long[] jArr) {
            if (jArr == null || jArr.length < 2) {
                jArr = new long[2];
            }
            jArr[0] = this.f5457a;
            jArr[1] = this.f5458b;
            return jArr;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (obj == null || b.class != obj.getClass()) {
                return false;
            }
            b bVar = (b) obj;
            return bVar.f5457a == this.f5457a && bVar.f5458b == this.f5458b;
        }

        public int hashCode() {
            return ((InvokeCmd.CMD_XBUG_SET_VMAN_DOCROR_NBT + ((int) this.f5457a)) * 31) + ((int) this.f5458b);
        }
    }

    long[] a(long[] jArr);
}
