package com.google.android.libraries.places.internal; import sun.misc.Unsafe; /* loaded from: classes2.dex */ final class zzahq extends zzahr { /* JADX INFO: Access modifiers changed from: package-private */ public zzahq(Unsafe unsafe) { super(unsafe); } @Override // com.google.android.libraries.places.internal.zzahr public final double zza(Object obj, long j) { return Double.longBitsToDouble(zzk(obj, j)); } @Override // com.google.android.libraries.places.internal.zzahr public final float zzb(Object obj, long j) { return Float.intBitsToFloat(zzj(obj, j)); } @Override // com.google.android.libraries.places.internal.zzahr public final void zzc(Object obj, long j, boolean z) { if (zzahs.zzb) { zzahs.zzD(obj, j, r3 ? (byte) 1 : (byte) 0); } else { zzahs.zzE(obj, j, r3 ? (byte) 1 : (byte) 0); } } @Override // com.google.android.libraries.places.internal.zzahr public final void zzd(Object obj, long j, byte b) { if (!zzahs.zzb) { zzahs.zzE(obj, j, b); } else { zzahs.zzD(obj, j, b); } } @Override // com.google.android.libraries.places.internal.zzahr public final void zze(Object obj, long j, double d) { zzo(obj, j, Double.doubleToLongBits(d)); } @Override // com.google.android.libraries.places.internal.zzahr public final void zzf(Object obj, long j, float f) { zzn(obj, j, Float.floatToIntBits(f)); } @Override // com.google.android.libraries.places.internal.zzahr public final boolean zzg(Object obj, long j) { if (zzahs.zzb) { return zzahs.zzt(obj, j); } return zzahs.zzu(obj, j); } }