	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_preboot_get_vpages        ## -- Begin function pmap_preboot_get_vpages
	.p2align	4, 0x90
_pmap_preboot_get_vpages:               ## @pmap_preboot_get_vpages
	.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	%edi, %ebx
	callq	_pmap_preboot_get_pages
	movq	_virtual_avail@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	imull	%ebx, %edx
	addl	%r14d, %edx
	movl	%edx, (%rcx)
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_pmap_preboot_map_pages
	movslq	%r14d, %r14
	imull	(%r15), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bzero
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_virtual_avail,4,2              ## @virtual_avail
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_preboot_get_vpages        ; -- Begin function pmap_preboot_get_vpages
	.p2align	2
_pmap_preboot_get_vpages:               ; @pmap_preboot_get_vpages
	.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, x0
	bl	_pmap_preboot_get_pages
Lloh0:
	adrp	x8, _virtual_avail@GOTPAGE
Lloh1:
	ldr	x8, [x8, _virtual_avail@GOTPAGEOFF]
	ldr	w20, [x8]
Lloh2:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	madd	w9, w9, w19, w20
	str	w9, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_pmap_preboot_map_pages
	sxtw	x0, w20
	ldr	w8, [x21]
	mul	w1, w8, w19
	bl	_bzero
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_virtual_avail,4,2              ; @virtual_avail
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
