package o;

import java.util.HashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.hc, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1396hc {
    public final C2616uQ a;
    public final HashMap b;

    public C1396hc(C2616uQ c2616uQ, HashMap map) {
        this.a = c2616uQ;
        this.b = map;
    }

    public final long a(HY hy, long j, int i) {
        long jU = j - this.a.u();
        C1492ic c1492ic = (C1492ic) this.b.get(hy);
        long j2 = c1492ic.a;
        return Math.min(Math.max((long) (Math.pow(3.0d, i - 1) * j2 * Math.max(1.0d, Math.log(10000.0d) / Math.log((j2 > 1 ? j2 : 2L) * r12))), jU), c1492ic.b);
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof C1396hc)) {
            return false;
        }
        C1396hc c1396hc = (C1396hc) obj;
        return this.a.equals(c1396hc.a) && this.b.equals(c1396hc.b);
    }

    public final int hashCode() {
        return ((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode();
    }

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