package x3;

import java.util.HashMap;

/* JADX INFO: renamed from: x3.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C3216a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final u4.c f26002a;

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

    public C3216a(u4.c cVar, HashMap map) {
        this.f26002a = cVar;
        this.f26003b = map;
    }

    public final long a(o3.c cVar, long j4, int i6) {
        long jF = j4 - this.f26002a.f();
        C3217b c3217b = (C3217b) this.f26003b.get(cVar);
        long j6 = c3217b.f26004a;
        return Math.min(Math.max((long) (Math.pow(3.0d, i6 - 1) * j6 * Math.max(1.0d, Math.log(10000.0d) / Math.log((j6 > 1 ? j6 : 2L) * ((long) r12)))), jF), c3217b.f26005b);
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof C3216a)) {
            return false;
        }
        C3216a c3216a = (C3216a) obj;
        return this.f26002a.equals(c3216a.f26002a) && this.f26003b.equals(c3216a.f26003b);
    }

    public final int hashCode() {
        return ((this.f26002a.hashCode() ^ 1000003) * 1000003) ^ this.f26003b.hashCode();
    }

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