	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_gpuobj_acquire
_nvkm_gpuobj_acquire:                   ## @nvkm_gpuobj_acquire
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_nvkm_kmap
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_likely
	movq	%rax, %rcx
	movq	(%rbx), %rax
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %rcx
	movslq	(%rcx), %rcx
	addq	%rcx, %rax
	movq	%rax, (%rbx)
	movq	_nvkm_gpuobj_fast@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_nvkm_gpuobj_slow@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	%rcx, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvkm_gpuobj_fast,4,2           ## @nvkm_gpuobj_fast
	.comm	_nvkm_gpuobj_slow,4,2           ## @nvkm_gpuobj_slow
	.no_dead_strip	_nvkm_gpuobj_acquire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_gpuobj_acquire
_nvkm_gpuobj_acquire:                   ; @nvkm_gpuobj_acquire
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_nvkm_kmap
	str	x0, [x19]
	bl	_likely
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8]
	add	x0, x0, x8
	str	x0, [x19]
Lloh0:
	adrp	x8, _nvkm_gpuobj_fast@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvkm_gpuobj_fast@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _nvkm_gpuobj_slow@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nvkm_gpuobj_slow@GOTPAGEOFF]
LBB0_3:
	str	x8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_nvkm_gpuobj_fast,4,2           ; @nvkm_gpuobj_fast
	.comm	_nvkm_gpuobj_slow,4,2           ; @nvkm_gpuobj_slow
	.no_dead_strip	_nvkm_gpuobj_acquire
.subsections_via_symbols
