	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_page_array_alloc
_vm_page_array_alloc:                   ## @vm_page_array_alloc
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, (%rdi)
	movl	%edx, %r14d
	movl	%esi, %ebx
	leal	(,%r14,4), %eax
	movl	%esi, %edi
	subl	%eax, %edi
	callq	_trunc_page
	movl	%eax, %r12d
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rax
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_pmap_map
	movq	_vm_page_array@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_vm_page_array_size@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.comm	_vm_page_array,8,3              ## @vm_page_array
	.comm	_vm_page_array_size,4,2         ## @vm_page_array_size
	.no_dead_strip	_vm_page_array_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_page_array_alloc
_vm_page_array_alloc:                   ; @vm_page_array_alloc
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	add	w8, w9, w8
	str	w8, [x0]
	sub	w0, w1, w2, lsl #2
	bl	_trunc_page
	mov	x22, x0
Lloh3:
	adrp	x8, _VM_PROT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_PROT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VM_PROT_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_pmap_map
Lloh9:
	adrp	x8, _vm_page_array@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vm_page_array@GOTPAGEOFF]
Lloh11:
	str	x0, [x8]
Lloh12:
	adrp	x8, _vm_page_array_size@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vm_page_array_size@GOTPAGEOFF]
Lloh14:
	str	w19, [x8]
	mov	x0, x22
	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 AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.comm	_vm_page_array,8,3              ; @vm_page_array
	.comm	_vm_page_array_size,4,2         ; @vm_page_array_size
	.no_dead_strip	_vm_page_array_alloc
.subsections_via_symbols
