	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpu_startup
_cpu_startup:                           ## @cpu_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_sbi_print_version
	xorl	%eax, %eax
	callq	_identify_cpu
	movq	_realmem@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ptoa
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_ptoa
                                        ## kill: def $eax killed $eax def $rax
	leal	1048575(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$20, %edx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_phys_avail@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	leaq	L_.str.2(%rip), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%r15), %esi
	movl	%ecx, %ebx
	subl	%esi, %ebx
	decl	%ecx
	movl	%ebx, %eax
	cltd
	idivl	(%r13)
	movq	%r14, %rdi
	movl	%ecx, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_printf
	movq	(%r12), %rax
	movq	24(%rax,%r15), %rcx
	addq	$16, %r15
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_4:
	movq	_kmi@GOTPCREL(%rip), %rdi
	callq	_vm_ksubmap_init
	xorl	%eax, %eax
	callq	_vm_free_count
	movl	%eax, %edi
	callq	_ptoa
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_vm_free_count
	movl	%eax, %edi
	callq	_ptoa
                                        ## kill: def $eax killed $eax def $rax
	leal	1048575(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$20, %edx
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_devmap_print_table
LBB0_6:
	xorl	%eax, %eax
	callq	_bufinit
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vm_pager_bufferinit            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"real memory  = %ju (%ju MB)\n"

	.comm	_realmem,8,3                    ## @realmem
	.comm	_bootverbose,8,3                ## @bootverbose
	.comm	_phys_avail,8,3                 ## @phys_avail
L_.str.2:                               ## @.str.2
	.asciz	"0x%016jx - 0x%016jx, %ju bytes (%ju pages)\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_kmi,4,2                        ## @kmi
L_.str.3:                               ## @.str.3
	.asciz	"avail memory = %ju (%ju MB)\n"

L_str:                                  ## @str
	.asciz	"Physical memory chunk(s):"

	.no_dead_strip	_cpu_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpu_startup
_cpu_startup:                           ; @cpu_startup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	bl	_sbi_print_version
	bl	_identify_cpu
Lloh0:
	adrp	x20, _realmem@GOTPAGE
Lloh1:
	ldr	x20, [x20, _realmem@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ptoa
	mov	x19, x0
	ldr	w0, [x20]
	bl	_ptoa
	mov	w20, #1048575
	add	w8, w0, w20
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #20
	stp	x19, x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh4:
	adrp	x21, _bootverbose@GOTPAGE
Lloh5:
	ldr	x21, [x21, _bootverbose@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.1:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh8:
	adrp	x22, _phys_avail@GOTPAGE
Lloh9:
	ldr	x22, [x22, _phys_avail@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.2:
	mov	x23, #0
Lloh10:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
Lloh12:
	adrp	x19, l_.str.2@PAGE
Lloh13:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, x23]
	sub	x10, x9, x8
	sub	w9, w9, #1
	ldr	w11, [x24]
	sdiv	w11, w10, w11
	stp	x8, x9, [sp]
	stp	x10, x11, [sp, #16]
	mov	x0, x19
	bl	_printf
	ldr	x8, [x22]
	add	x9, x8, x23
	ldr	x9, [x9, #24]
	add	x23, x23, #16
	cbnz	x9, LBB0_3
LBB0_4:
Lloh14:
	adrp	x0, _kmi@GOTPAGE
Lloh15:
	ldr	x0, [x0, _kmi@GOTPAGEOFF]
	bl	_vm_ksubmap_init
	bl	_vm_free_count
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ptoa
	mov	x19, x0
	bl	_vm_free_count
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ptoa
	add	w8, w0, w20
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #20
	stp	x19, x8, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_devmap_print_table
LBB0_6:
	bl	_bufinit
	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
	add	sp, sp, #96
	b	_vm_pager_bufferinit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"real memory  = %ju (%ju MB)\n"

	.comm	_realmem,8,3                    ; @realmem
	.comm	_bootverbose,8,3                ; @bootverbose
	.comm	_phys_avail,8,3                 ; @phys_avail
l_.str.2:                               ; @.str.2
	.asciz	"0x%016jx - 0x%016jx, %ju bytes (%ju pages)\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_kmi,4,2                        ; @kmi
l_.str.3:                               ; @.str.3
	.asciz	"avail memory = %ju (%ju MB)\n"

l_str:                                  ; @str
	.asciz	"Physical memory chunk(s):"

	.no_dead_strip	_cpu_startup
.subsections_via_symbols
