package o;

import sun.misc.Unsafe;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Bu0 extends Eu0 {
    @Override // o.Eu0
    public final void l(Object obj, long j, byte b) {
        if (Fu0.g) {
            Fu0.c(obj, j, b);
        } else {
            Fu0.d(obj, j, b);
        }
    }

    @Override // o.Eu0
    public final boolean m(long j, Object obj) {
        return Fu0.g ? Fu0.n(j, obj) : Fu0.o(j, obj);
    }

    @Override // o.Eu0
    public final void n(Object obj, long j, boolean z) {
        if (Fu0.g) {
            Fu0.c(obj, j, z ? (byte) 1 : (byte) 0);
        } else {
            Fu0.d(obj, j, z ? (byte) 1 : (byte) 0);
        }
    }

    @Override // o.Eu0
    public final float o(long j, Object obj) {
        return Float.intBitsToFloat(((Unsafe) this.a).getInt(obj, j));
    }

    @Override // o.Eu0
    public final void p(Object obj, long j, float f) {
        ((Unsafe) this.a).putInt(obj, j, Float.floatToIntBits(f));
    }

    @Override // o.Eu0
    public final double q(long j, Object obj) {
        return Double.longBitsToDouble(((Unsafe) this.a).getLong(obj, j));
    }

    @Override // o.Eu0
    public final void s(Object obj, long j, double d) {
        ((Unsafe) this.a).putLong(obj, j, Double.doubleToLongBits(d));
    }
}
