	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_vmm_unmap_locked          ## -- Begin function nvkm_vmm_unmap_locked
	.p2align	4, 0x90
_nvkm_vmm_unmap_locked:                 ## @nvkm_vmm_unmap_locked
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r9d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rsi), %rsi
	shlq	$2, %rsi
	movl	16(%rbx), %edx
	movl	12(%rbx), %ecx
	movl	8(%rbx), %r8d
	addq	(%rax), %rsi
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_nvkm_vmm_ptes_unmap_put
	movq	_NVKM_VMA_PAGE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_nvkm_vmm_ptes_unmap
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvkm_vmm_unmap_region          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_VMA_PAGE_NONE,8,3         ## @NVKM_VMA_PAGE_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_vmm_unmap_locked          ; -- Begin function nvkm_vmm_unmap_locked
	.p2align	2
_nvkm_vmm_unmap_locked:                 ; @nvkm_vmm_unmap_locked
	.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	x5, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x1]
	add	x1, x8, x9, lsl #2
	ldr	x8, [x19, #24]
	ldp	w3, w2, [x19, #12]
	ldr	w4, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_nvkm_vmm_ptes_unmap_put
Lloh0:
	adrp	x8, _NVKM_VMA_PAGE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVKM_VMA_PAGE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
	bl	_nvkm_vmm_ptes_unmap
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvkm_vmm_unmap_region
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_VMA_PAGE_NONE,8,3         ; @NVKM_VMA_PAGE_NONE
.subsections_via_symbols
