package defpackage;

import java.lang.reflect.Field;
import sun.misc.Unsafe;

/* renamed from: ᵘᵴ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2541 extends AbstractC4929 {
    @Override // defpackage.AbstractC4929
    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final float mo6397(long j, Object obj) {
        return this.f18328.getFloat(obj, j);
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public final void mo6398(Object obj, long j, double d) {
        this.f18328.putDouble(obj, j, d);
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final boolean mo6399(long j, Object obj) {
        return this.f18328.getBoolean(obj, j);
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ᵡʠ, reason: contains not printable characters */
    public final boolean mo6400() {
        if (!super.mo6400()) {
            return false;
        }
        try {
            Class<?> cls = this.f18328.getClass();
            Class<?> cls2 = Long.TYPE;
            cls.getMethod("getByte", Object.class, cls2);
            cls.getMethod("putByte", Object.class, cls2, Byte.TYPE);
            cls.getMethod("getBoolean", Object.class, cls2);
            cls.getMethod("putBoolean", Object.class, cls2, Boolean.TYPE);
            cls.getMethod("getFloat", Object.class, cls2);
            cls.getMethod("putFloat", Object.class, cls2, Float.TYPE);
            cls.getMethod("getDouble", Object.class, cls2);
            cls.getMethod("putDouble", Object.class, cls2, Double.TYPE);
            return true;
        } catch (Throwable th) {
            AbstractC3453.m7838(th);
            return false;
        }
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public final void mo6401(Object obj, long j, float f) {
        this.f18328.putFloat(obj, j, f);
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final void mo6402(Object obj, long j, boolean z) {
        this.f18328.putBoolean(obj, j, z);
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ᵸʓᵠ, reason: contains not printable characters */
    public final boolean mo6403() {
        Unsafe unsafe = this.f18328;
        if (unsafe != null) {
            try {
                Class<?> cls = unsafe.getClass();
                cls.getMethod("objectFieldOffset", Field.class);
                Class<?> cls2 = Long.TYPE;
                cls.getMethod("getLong", Object.class, cls2);
                if (AbstractC3453.m7834() != null) {
                    try {
                        Class<?> cls3 = this.f18328.getClass();
                        cls3.getMethod("getByte", cls2);
                        cls3.getMethod("putByte", cls2, Byte.TYPE);
                        cls3.getMethod("getInt", cls2);
                        cls3.getMethod("putInt", cls2, Integer.TYPE);
                        cls3.getMethod("getLong", cls2);
                        cls3.getMethod("putLong", cls2, cls2);
                        cls3.getMethod("copyMemory", cls2, cls2, cls2);
                        cls3.getMethod("copyMemory", Object.class, cls2, Object.class, cls2, cls2);
                        return true;
                    } catch (Throwable th) {
                        AbstractC3453.m7838(th);
                        return false;
                    }
                }
            } catch (Throwable th2) {
                AbstractC3453.m7838(th2);
            }
        }
        return false;
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public final void mo6404(Object obj, long j, byte b) {
        this.f18328.putByte(obj, j, b);
    }

    @Override // defpackage.AbstractC4929
    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final double mo6405(long j, Object obj) {
        return this.f18328.getDouble(obj, j);
    }
}
