	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_vmm_boot                  ## -- Begin function nvkm_vmm_boot
	.p2align	4, 0x90
_nvkm_vmm_boot:                         ## @nvkm_vmm_boot
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rdi), %rdx
	movq	16(%rdi), %r14
	addq	$-8, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	leaq	8(%rbx), %rbx
	jne	LBB0_1
## %bb.2:
	subq	%rdx, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_nvkm_vmm_ptes_get
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	8(%r15), %rdx
	movq	_nvkm_vmm_boot_ptes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movl	%eax, 8(%rsp)
	movq	$0, 32(%rsp)
	movl	$0, (%rsp)
	leaq	L_.str(%rip), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	xorl	%r9d, %r9d
	callq	_nvkm_vmm_iter
	movl	$1, (%r15)
LBB0_4:
	movl	%r12d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bootstrap"

	.comm	_nvkm_vmm_boot_ptes,4,2         ## @nvkm_vmm_boot_ptes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_vmm_boot                  ; -- Begin function nvkm_vmm_boot
	.p2align	2
_nvkm_vmm_boot:                         ; @nvkm_vmm_boot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x8, [x0, #24]
	ldr	x9, [x8]
	ldp	x2, x8, [x0, #8]
	sub	x20, x9, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	add	x20, x20, #8
	cbnz	x9, LBB0_1
; %bb.2:
	sub	x22, x8, x2
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_nvkm_vmm_ptes_get
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x2, [x19, #8]
Lloh0:
	adrp	x8, _nvkm_vmm_boot_ptes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvkm_vmm_boot_ptes@GOTPAGEOFF]
Lloh2:
	ldr	w7, [x8]
	stp	xzr, xzr, [sp]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x4, l_.str@PAGE
Lloh4:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	mov	w5, #0
	mov	w6, #0
	bl	_nvkm_vmm_iter
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bootstrap"

	.comm	_nvkm_vmm_boot_ptes,4,2         ; @nvkm_vmm_boot_ptes
.subsections_via_symbols
