	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_page_array_startup        ## -- Begin function pmap_page_array_startup
	.p2align	4, 0x90
_pmap_page_array_startup:               ## @pmap_page_array_startup
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_vm_page_array_size@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_VM_MIN_KERNEL_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rdi,4), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rax
	jge	LBB0_10
## %bb.1:
	movq	_X86_PG_V@GOTPCREL(%rip), %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r14
	movq	_NPDEPG@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_X86_PG_RW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_X86_PG_A@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_X86_PG_M@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_PG_PS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_pg_g@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_pg_nx@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rbx
	callq	_pde_store
	movq	_NBPDR@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %r13
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r13, %rdi
	subq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	shrq	$2, %rdi
	movq	_first_page@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_ptoa
	movl	%eax, %edi
	callq	__vm_phys_domain
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_pmap_pdpe
	movq	%rax, %r12
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_vm_phys_early_alloc
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_dump_add_page
	movl	%ebx, %edi
	callq	_PHYS_TO_DMAP
	movq	%rax, %rdi
	callq	_pagezero
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_X86_PG_RW@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_X86_PG_A@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_X86_PG_M@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, (%r12)
	movq	_X86_PG_V@GOTPCREL(%rip), %rbx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_pmap_pdpe_to_pde
	movl	(%rbx), %ecx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NBPDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_vm_phys_early_alloc
	movl	%eax, %ebx
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	imull	%r12d, %edi
	addl	%ebx, %edi
	callq	_dump_add_page
	incl	%r12d
	cmpl	(%r15), %r12d
	jl	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movq	_vm_page_array@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vm_page_array_size,8,3         ## @vm_page_array_size
	.comm	_VM_MIN_KERNEL_ADDRESS,8,3      ## @VM_MIN_KERNEL_ADDRESS
	.comm	_first_page,8,3                 ## @first_page
	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.comm	_X86_PG_V,4,2                   ## @X86_PG_V
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_X86_PG_RW,4,2                  ## @X86_PG_RW
	.comm	_X86_PG_A,4,2                   ## @X86_PG_A
	.comm	_X86_PG_M,4,2                   ## @X86_PG_M
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected pde"

	.comm	_NBPDR,4,2                      ## @NBPDR
	.comm	_NPDEPG,4,2                     ## @NPDEPG
	.comm	_PG_PS,4,2                      ## @PG_PS
	.comm	_pg_g,4,2                       ## @pg_g
	.comm	_pg_nx,4,2                      ## @pg_nx
	.comm	_vm_page_array,8,3              ## @vm_page_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_page_array_startup        ; -- Begin function pmap_page_array_startup
	.p2align	2
_pmap_page_array_startup:               ; @pmap_page_array_startup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _vm_page_array_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vm_page_array_size@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _VM_MIN_KERNEL_ADDRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_MIN_KERNEL_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	add	x25, x24, x0, lsl #2
	cmp	x24, x25
	b.ge	LBB0_10
; %bb.1:
Lloh6:
	adrp	x28, _X86_PG_V@GOTPAGE
Lloh7:
	ldr	x28, [x28, _X86_PG_V@GOTPAGEOFF]
Lloh8:
	adrp	x19, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x19, [x19, _PAGE_SIZE@GOTPAGEOFF]
Lloh10:
	adrp	x27, _NBPDR@GOTPAGE
Lloh11:
	ldr	x27, [x27, _NBPDR@GOTPAGEOFF]
Lloh12:
	adrp	x26, _NPDEPG@GOTPAGE
Lloh13:
	ldr	x26, [x26, _NPDEPG@GOTPAGEOFF]
	mov	x20, x24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	orr	w8, w8, w21
Lloh14:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh15:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _X86_PG_A@GOTPAGE
Lloh18:
	ldr	x9, [x9, _X86_PG_A@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _X86_PG_M@GOTPAGE
Lloh21:
	ldr	x9, [x9, _X86_PG_M@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _PG_PS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PG_PS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _pg_g@GOTPAGE
Lloh27:
	ldr	x9, [x9, _pg_g@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _pg_nx@GOTPAGE
Lloh30:
	ldr	x9, [x9, _pg_nx@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x22
	bl	_pde_store
	ldrsw	x8, [x27]
	add	x20, x20, x8
	cmp	x20, x25
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
Lloh32:
	adrp	x8, _first_page@GOTPAGE
Lloh33:
	ldr	x8, [x8, _first_page@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	sub	x9, x20, x24
	add	x0, x8, x9, lsr #2
	bl	_ptoa
	bl	__vm_phys_domain
	mov	x21, x0
Lloh35:
	adrp	x8, _kernel_pmap@GOTPAGE
Lloh36:
	ldr	x8, [x8, _kernel_pmap@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_pmap_pdpe
	mov	x22, x0
	ldr	w8, [x0]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x19]
	mov	x0, x21
	bl	_vm_phys_early_alloc
	mov	x23, x0
	bl	_dump_add_page
	mov	x0, x23
	bl	_PHYS_TO_DMAP
	bl	_pagezero
	ldr	w8, [x28]
	orr	w8, w8, w23
Lloh38:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh39:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _X86_PG_A@GOTPAGE
Lloh42:
	ldr	x9, [x9, _X86_PG_A@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _X86_PG_M@GOTPAGE
Lloh45:
	ldr	x9, [x9, _X86_PG_M@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_pmap_pdpe_to_pde
	mov	x22, x0
	ldr	w8, [x0]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh47:
	adrp	x0, l_.str@PAGE
Lloh48:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x27]
	mov	x0, x21
	bl	_vm_phys_early_alloc
	mov	x21, x0
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19]
	madd	w0, w8, w23, w21
	bl	_dump_add_page
	add	w23, w23, #1
	ldr	w8, [x26]
	cmp	w23, w8
	b.lt	LBB0_9
	b	LBB0_2
LBB0_10:
Lloh49:
	adrp	x8, _vm_page_array@GOTPAGE
Lloh50:
	ldr	x8, [x8, _vm_page_array@GOTPAGEOFF]
Lloh51:
	str	x24, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_vm_page_array_size,8,3         ; @vm_page_array_size
	.comm	_VM_MIN_KERNEL_ADDRESS,8,3      ; @VM_MIN_KERNEL_ADDRESS
	.comm	_first_page,8,3                 ; @first_page
	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.comm	_X86_PG_V,4,2                   ; @X86_PG_V
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_X86_PG_RW,4,2                  ; @X86_PG_RW
	.comm	_X86_PG_A,4,2                   ; @X86_PG_A
	.comm	_X86_PG_M,4,2                   ; @X86_PG_M
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected pde"

	.comm	_NBPDR,4,2                      ; @NBPDR
	.comm	_NPDEPG,4,2                     ; @NPDEPG
	.comm	_PG_PS,4,2                      ; @PG_PS
	.comm	_pg_g,4,2                       ; @pg_g
	.comm	_pg_nx,4,2                      ; @pg_nx
	.comm	_vm_page_array,8,3              ; @vm_page_array
.subsections_via_symbols
