package i0;

/* JADX INFO: renamed from: i0.k, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2247k implements InterfaceC2242f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final float f18813a;

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

    public C2247k(float f6, float f7) {
        this.f18813a = f6;
        this.f18814b = f7;
    }

    @Override // i0.InterfaceC2242f
    public final long a(long j4, long j6, h1.m mVar) {
        float f6 = (((int) (j6 >> 32)) - ((int) (j4 >> 32))) / 2.0f;
        float f7 = (((int) (j6 & 4294967295L)) - ((int) (j4 & 4294967295L))) / 2.0f;
        h1.m mVar2 = h1.m.f16628a;
        float f8 = this.f18813a;
        if (mVar != mVar2) {
            f8 *= -1;
        }
        float f9 = 1;
        float f10 = (f8 + f9) * f6;
        return (((long) Math.round((f9 + this.f18814b) * f7)) & 4294967295L) | (((long) Math.round(f10)) << 32);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2247k)) {
            return false;
        }
        C2247k c2247k = (C2247k) obj;
        return Float.compare(this.f18813a, c2247k.f18813a) == 0 && Float.compare(this.f18814b, c2247k.f18814b) == 0;
    }

    public final int hashCode() {
        return Float.hashCode(this.f18814b) + (Float.hashCode(this.f18813a) * 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("BiasAlignment(horizontalBias=");
        sb.append(this.f18813a);
        sb.append(", verticalBias=");
        return com.google.android.recaptcha.internal.a.l(sb, this.f18814b, ')');
    }
}
