	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_vma_del                ## -- Begin function nouveau_vma_del
	.p2align	4, 0x90
_nouveau_vma_del:                       ## @nouveau_vma_del
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rbx)
	cmpq	$1, %rax
	jg	LBB0_5
## %bb.2:
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	$-1, 8(%rbx)
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movq	%rax, -32(%rbp)
	movl	$1, -24(%rbp)
	movq	24(%rbx), %rdi
	leaq	-32(%rbp), %rsi
	callq	_nvif_vmm_put
LBB0_4:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_list_del
	movq	(%r14), %rdi
	callq	_kfree
	movq	$0, (%r14)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_vma_del                ; -- Begin function nouveau_vma_del
	.p2align	2
_nouveau_vma_del:                       ; @nouveau_vma_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	cbz	x20, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	subs	x8, x8, #1
	str	x8, [x20]
	b.gt	LBB0_5
; %bb.2:
	mov	x19, x0
	ldr	x8, [x20, #8]
	cmn	x8, #1
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	str	x8, [sp]
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	x0, [x20, #24]
	mov	x1, sp
	bl	_nvif_vmm_put
LBB0_4:
	add	x0, x20, #16
	bl	_list_del
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
