	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gp100_vmm_pfn_unmap
_gp100_vmm_pfn_unmap:                   ## @gp100_vmm_pfn_unmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	(%rsi), %edi
	callq	_nvkm_kmap
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	shll	$3, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movslq	%ebx, %rbx
	movq	8(%r14), %rsi
	addq	%rbx, %rsi
	callq	_nvkm_ro32
	movl	(%r14), %edi
	movq	%rbx, %rsi
	orq	$4, %rsi
	addq	8(%r14), %rsi
	callq	_nvkm_ro32
	addl	$8, %ebx
	decl	%r15d
	jne	LBB0_2
LBB0_3:
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_done                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_gp100_vmm_pfn_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gp100_vmm_pfn_unmap
_gp100_vmm_pfn_unmap:                   ; @gp100_vmm_pfn_unmap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	ldr	w0, [x1]
	bl	_nvkm_kmap
	cbz	w19, LBB0_3
; %bb.1:
	lsl	w21, w21, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	ldr	w0, [x20]
	ldr	x8, [x20, #8]
	sxtw	x22, w21
	add	x1, x8, x22
	bl	_nvkm_ro32
	ldr	w0, [x20]
	ldr	x8, [x20, #8]
	orr	x9, x22, #0x4
	add	x1, x9, x8
	bl	_nvkm_ro32
	add	w21, w21, #8
	cbnz	w19, LBB0_2
LBB0_3:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvkm_done
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_gp100_vmm_pfn_unmap
.subsections_via_symbols
