package F2;

import java.util.HashMap;
import w2.EnumC1700c;

/* JADX INFO: loaded from: classes.dex */
public final class a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final I2.a f2437a;

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

    public a(I2.a aVar, HashMap map) {
        this.f2437a = aVar;
        this.f2438b = map;
    }

    public final long a(EnumC1700c enumC1700c, long j8, int i) {
        long jD = j8 - this.f2437a.d();
        b bVar = (b) this.f2438b.get(enumC1700c);
        long j9 = bVar.f2439a;
        return Math.min(Math.max((long) (Math.pow(3.0d, i - 1) * j9 * Math.max(1.0d, Math.log(10000.0d) / Math.log((j9 > 1 ? j9 : 2L) * ((long) r12)))), jD), bVar.f2440b);
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof a)) {
            return false;
        }
        a aVar = (a) obj;
        return this.f2437a.equals(aVar.f2437a) && this.f2438b.equals(aVar.f2438b);
    }

    public final int hashCode() {
        return ((this.f2437a.hashCode() ^ 1000003) * 1000003) ^ this.f2438b.hashCode();
    }

    public final String toString() {
        return "SchedulerConfig{clock=" + this.f2437a + ", values=" + this.f2438b + "}";
    }
}
