package h0;

/* loaded from: classes.dex */
public final class b0 implements a0 {

    /* renamed from: b, reason: collision with root package name */
    private final int f20418b;

    public b0(int i10) {
        this.f20418b = i10;
    }

    @Override // h0.a0
    public int a(int i10, int i11, float f10, int i12, int i13) {
        long e10;
        long h10;
        int k10;
        long j10 = i10;
        e10 = jn.o.e(j10 - this.f20418b, 0L);
        h10 = jn.o.h(j10 + this.f20418b, 2147483647L);
        k10 = jn.o.k(i11, (int) e10, (int) h10);
        return k10;
    }

    public boolean equals(Object obj) {
        return (obj instanceof b0) && this.f20418b == ((b0) obj).f20418b;
    }

    public int hashCode() {
        return Integer.hashCode(this.f20418b);
    }
}
