	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_native_start_all_aps           ## -- Begin function native_start_all_aps
	.p2align	4, 0x90
_native_start_all_aps:                  ## @native_start_all_aps
	.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
	movq	_MTX_SPIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ap_boot_mtx@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_mtx_init
	movq	_mptramp_start@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_boot_address@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PHYS_TO_DMAP
	movq	_bootMP_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_bcopy
	movq	_mptramp_pagetables@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_PHYS_TO_DMAP
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	movq	%rcx, %rdx
	shrq	$2, %rdx
	movq	_PG_V@GOTPCREL(%rip), %r9
	movq	_PG_RW@GOTPCREL(%rip), %rsi
	movq	_PG_U@GOTPCREL(%rip), %rdi
	movq	_PG_PS@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%r12), %ecx
	movl	%ecx, (%rax)
	orl	(%r9), %ecx
	orl	(%rsi), %ecx
	orl	(%rdi), %ecx
	movl	%ecx, (%rax)
	movl	(%r14), %ecx
	addl	%ecx, %ecx
	addl	(%r12), %ecx
	movl	%ecx, (%rax,%rdx,4)
	orl	(%r9), %ecx
	orl	(%rsi), %ecx
	orl	(%rdi), %ecx
	movl	%ecx, (%rax,%rdx,4)
	movl	%ebx, (%rax,%rdx,8)
	movl	(%r9), %ecx
	orl	%ebx, %ecx
	orl	(%rsi), %ecx
	orl	(%r8), %ecx
	orl	(%rdi), %ecx
	movl	%ecx, (%rax,%rdx,8)
	cmpq	$1071644672, %rbx               ## imm = 0x3FE00000
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %ecx
	addq	$2097152, %rbx                  ## imm = 0x200000
	addq	$4, %rax
	jmp	LBB0_1
LBB0_3:
	movq	_WARMBOOT_OFF@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CMOS_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_BIOS_RESET@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_outb
	movq	_CMOS_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_inb
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_WARMBOOT_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_boot_address@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	sarl	$4, %eax
	movq	_WARMBOOT_SEG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	(%r12), %edi
	movl	(%r13), %esi
	callq	_outb
	movl	(%r15), %edi
	movq	_BIOS_WARM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	_mp_ncpus@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_8
## %bb.4:
	movl	$1, %ebx
	movq	_M_WAITOK@GOTPCREL(%rip), %r12
	movq	_M_ZERO@GOTPCREL(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	movq	_all_cpus@GOTPCREL(%rip), %rsi
	callq	_CPU_SET
	incq	%rbx
	movq	_mp_ncpus@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_cpu_apic_ids@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14), %edi
	movq	_kstack_pages@GOTPCREL(%rip), %rcx
	imull	(%rcx), %edi
	movl	(%rax,%rbx,4), %r13d
	movl	(%r15), %esi
	orl	(%r12), %esi
	callq	_kmem_malloc
	movq	_bootstacks@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	(%r14), %edi
	movl	(%r15), %esi
	orl	(%r12), %esi
	callq	_kmem_malloc
	movq	_doublefault_stack@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r14), %edi
	movl	(%r15), %esi
	orl	(%r12), %esi
	callq	_kmem_malloc
	movq	_mce_stack@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_DOMAINSET_PREF
	movl	(%r14), %esi
	movl	(%r15), %edx
	orl	(%r12), %edx
	movl	%eax, %edi
	callq	_kmem_malloc_domainset
	movq	_nmi_stack@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_DOMAINSET_PREF
	movl	(%r14), %esi
	movl	(%r15), %edx
	orl	(%r12), %edx
	movl	%eax, %edi
	callq	_kmem_malloc_domainset
	movq	_dbg_stack@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_DOMAINSET_PREF
	movq	_DPCPU_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r15), %edx
	orl	(%r12), %edx
	movl	%eax, %edi
	callq	_kmem_malloc_domainset
	movq	_dpcpu@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_bootstacks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	_kstack_pages@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	(%r14), %rdx
	imulq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$-8, %rax
	movq	_bootSTK@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_bootAP@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	%r13d, %edi
	callq	_start_ap
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_WARMBOOT_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	callq	_panic
	jmp	LBB0_7
LBB0_8:
	movq	_WARMBOOT_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	_CMOS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BIOS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	_CMOS_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_outb
	movq	_mp_naps@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ap_boot_mtx,4,2                ## @ap_boot_mtx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ap boot"

	.comm	_MTX_SPIN,4,2                   ## @MTX_SPIN
	.comm	_mptramp_start,4,2              ## @mptramp_start
	.comm	_boot_address,4,2               ## @boot_address
	.comm	_bootMP_size,4,2                ## @bootMP_size
	.comm	_mptramp_pagetables,4,2         ## @mptramp_pagetables
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PG_V,4,2                       ## @PG_V
	.comm	_PG_RW,4,2                      ## @PG_RW
	.comm	_PG_U,4,2                       ## @PG_U
	.comm	_PG_PS,4,2                      ## @PG_PS
	.comm	_WARMBOOT_OFF,8,3               ## @WARMBOOT_OFF
	.comm	_CMOS_REG,4,2                   ## @CMOS_REG
	.comm	_BIOS_RESET,4,2                 ## @BIOS_RESET
	.comm	_CMOS_DATA,4,2                  ## @CMOS_DATA
	.comm	_WARMBOOT_TARGET,4,2            ## @WARMBOOT_TARGET
	.comm	_WARMBOOT_SEG,8,3               ## @WARMBOOT_SEG
	.comm	_BIOS_WARM,4,2                  ## @BIOS_WARM
	.comm	_mp_ncpus,4,2                   ## @mp_ncpus
	.comm	_cpu_apic_ids,8,3               ## @cpu_apic_ids
	.comm	_kstack_pages,4,2               ## @kstack_pages
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_bootstacks,8,3                 ## @bootstacks
	.comm	_doublefault_stack,8,3          ## @doublefault_stack
	.comm	_mce_stack,8,3                  ## @mce_stack
	.comm	_nmi_stack,8,3                  ## @nmi_stack
	.comm	_dbg_stack,8,3                  ## @dbg_stack
	.comm	_DPCPU_SIZE,4,2                 ## @DPCPU_SIZE
	.comm	_dpcpu,8,3                      ## @dpcpu
	.comm	_bootSTK,8,3                    ## @bootSTK
	.comm	_bootAP,4,2                     ## @bootAP
L_.str.1:                               ## @.str.1
	.asciz	"AP #%d (PHY# %d) failed!"

	.comm	_all_cpus,4,2                   ## @all_cpus
	.comm	_mp_naps,4,2                    ## @mp_naps
	.comm	_vm_ndomains,4,2                ## @vm_ndomains
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_native_start_all_aps           ; -- Begin function native_start_all_aps
	.p2align	2
_native_start_all_aps:                  ; @native_start_all_aps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, _MTX_SPIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTX_SPIN@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _ap_boot_mtx@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ap_boot_mtx@GOTPAGEOFF]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
Lloh7:
	adrp	x8, _mptramp_start@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mptramp_start@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
Lloh10:
	adrp	x20, _boot_address@GOTPAGE
Lloh11:
	ldr	x20, [x20, _boot_address@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_PHYS_TO_DMAP
	mov	x1, x0
Lloh12:
	adrp	x8, _bootMP_size@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bootMP_size@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bcopy
Lloh15:
	adrp	x19, _mptramp_pagetables@GOTPAGE
Lloh16:
	ldr	x19, [x19, _mptramp_pagetables@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_PHYS_TO_DMAP
	mov	x8, #0
	mov	w9, #0
Lloh17:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh18:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	ldrsw	x16, [x24]
	and	x11, x16, #0xfffffffffffffffc
	add	x10, x0, x11
	add	x11, x10, x11
Lloh19:
	adrp	x12, _PG_V@GOTPAGE
Lloh20:
	ldr	x12, [x12, _PG_V@GOTPAGEOFF]
Lloh21:
	adrp	x13, _PG_RW@GOTPAGE
Lloh22:
	ldr	x13, [x13, _PG_RW@GOTPAGEOFF]
Lloh23:
	adrp	x14, _PG_U@GOTPAGE
Lloh24:
	ldr	x14, [x14, _PG_U@GOTPAGEOFF]
Lloh25:
	adrp	x15, _PG_PS@GOTPAGE
Lloh26:
	ldr	x15, [x15, _PG_PS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w17, [x19]
	add	w16, w16, w17
	str	w16, [x0, x8]
	ldr	w17, [x12]
	ldr	w1, [x13]
	ldr	w2, [x14]
	orr	w16, w17, w16
	orr	w16, w16, w1
	orr	w16, w16, w2
	str	w16, [x0, x8]
	ldr	w16, [x19]
	ldr	w17, [x24]
	add	w16, w16, w17, lsl #1
	str	w16, [x10, x8]
	ldr	w17, [x12]
	ldr	w1, [x13]
	ldr	w2, [x14]
	orr	w16, w16, w17
	orr	w16, w16, w1
	orr	w16, w16, w2
	str	w16, [x10, x8]
	str	w9, [x11, x8]
	ldr	w16, [x12]
	ldr	w17, [x13]
	ldr	w1, [x15]
	ldr	w2, [x14]
	orr	w16, w16, w9
	orr	w16, w16, w17
	orr	w16, w16, w1
	orr	w16, w16, w2
	str	w16, [x11, x8]
	cmp	x8, #2044
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w16, [x24]
	add	w9, w9, #512, lsl #12           ; =2097152
	add	x8, x8, #4
	b	LBB0_1
LBB0_3:
Lloh27:
	adrp	x19, _WARMBOOT_OFF@GOTPAGE
Lloh28:
	ldr	x19, [x19, _WARMBOOT_OFF@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh29:
	adrp	x21, _CMOS_REG@GOTPAGE
Lloh30:
	ldr	x21, [x21, _CMOS_REG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh31:
	adrp	x22, _BIOS_RESET@GOTPAGE
Lloh32:
	ldr	x22, [x22, _BIOS_RESET@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_outb
Lloh33:
	adrp	x23, _CMOS_DATA@GOTPAGE
Lloh34:
	ldr	x23, [x23, _CMOS_DATA@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_inb
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
Lloh35:
	adrp	x8, _WARMBOOT_TARGET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WARMBOOT_TARGET@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9]
	ldr	w8, [x20]
	asr	w8, w8, #4
Lloh38:
	adrp	x9, _WARMBOOT_SEG@GOTPAGE
Lloh39:
	ldr	x9, [x9, _WARMBOOT_SEG@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	str	w8, [x9]
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_outb
	ldr	w0, [x23]
Lloh41:
	adrp	x8, _BIOS_WARM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BIOS_WARM@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_outb
Lloh44:
	adrp	x8, _mp_ncpus@GOTPAGE
Lloh45:
	ldr	x8, [x8, _mp_ncpus@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.4:
	mov	w20, #1
Lloh47:
	adrp	x19, _kstack_pages@GOTPAGE
Lloh48:
	ldr	x19, [x19, _kstack_pages@GOTPAGEOFF]
Lloh49:
	adrp	x21, _M_WAITOK@GOTPAGE
Lloh50:
	ldr	x21, [x21, _M_WAITOK@GOTPAGEOFF]
Lloh51:
	adrp	x25, _M_ZERO@GOTPAGE
Lloh52:
	ldr	x25, [x25, _M_ZERO@GOTPAGEOFF]
Lloh53:
	adrp	x26, _bootstacks@GOTPAGE
Lloh54:
	ldr	x26, [x26, _bootstacks@GOTPAGEOFF]
Lloh55:
	adrp	x27, _bootAP@GOTPAGE
Lloh56:
	ldr	x27, [x27, _bootAP@GOTPAGEOFF]
Lloh57:
	adrp	x22, _all_cpus@GOTPAGE
Lloh58:
	ldr	x22, [x22, _all_cpus@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_CPU_SET
	add	x20, x20, #1
Lloh59:
	adrp	x8, _mp_ncpus@GOTPAGE
Lloh60:
	ldr	x8, [x8, _mp_ncpus@GOTPAGEOFF]
Lloh61:
	ldrsw	x8, [x8]
	cmp	x20, x8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
Lloh62:
	adrp	x8, _cpu_apic_ids@GOTPAGE
Lloh63:
	ldr	x8, [x8, _cpu_apic_ids@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	ldr	w23, [x8, x20, lsl #2]
	ldr	w8, [x19]
	ldr	w9, [x24]
	mul	w0, w9, w8
	ldr	w8, [x21]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_kmem_malloc
	ldr	x8, [x26]
	lsl	x28, x20, #3
	str	x0, [x8, x28]
	ldr	w0, [x24]
	ldr	w8, [x21]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_kmem_malloc
Lloh65:
	adrp	x8, _doublefault_stack@GOTPAGE
Lloh66:
	ldr	x8, [x8, _doublefault_stack@GOTPAGEOFF]
Lloh67:
	str	x0, [x8]
	ldr	w0, [x24]
	ldr	w8, [x21]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_kmem_malloc
Lloh68:
	adrp	x8, _mce_stack@GOTPAGE
Lloh69:
	ldr	x8, [x8, _mce_stack@GOTPAGEOFF]
Lloh70:
	str	x0, [x8]
	mov	w0, #0
	bl	_DOMAINSET_PREF
	ldr	w1, [x24]
	ldr	w8, [x21]
	ldr	w9, [x25]
	orr	w2, w9, w8
	bl	_kmem_malloc_domainset
Lloh71:
	adrp	x8, _nmi_stack@GOTPAGE
Lloh72:
	ldr	x8, [x8, _nmi_stack@GOTPAGEOFF]
Lloh73:
	str	x0, [x8]
	mov	w0, #0
	bl	_DOMAINSET_PREF
	ldr	w1, [x24]
	ldr	w8, [x21]
	ldr	w9, [x25]
	orr	w2, w9, w8
	bl	_kmem_malloc_domainset
Lloh74:
	adrp	x8, _dbg_stack@GOTPAGE
Lloh75:
	ldr	x8, [x8, _dbg_stack@GOTPAGEOFF]
Lloh76:
	str	x0, [x8]
	mov	w0, #0
	bl	_DOMAINSET_PREF
Lloh77:
	adrp	x8, _DPCPU_SIZE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _DPCPU_SIZE@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	ldr	w8, [x21]
	ldr	w9, [x25]
	orr	w2, w9, w8
	bl	_kmem_malloc_domainset
Lloh80:
	adrp	x8, _dpcpu@GOTPAGE
Lloh81:
	ldr	x8, [x8, _dpcpu@GOTPAGEOFF]
Lloh82:
	str	x0, [x8]
	ldr	x8, [x26]
	ldr	x8, [x8, x28]
	ldrsw	x9, [x19]
	ldrsw	x10, [x24]
	madd	x8, x10, x9, x8
	sub	x8, x8, #8
Lloh83:
	adrp	x9, _bootSTK@GOTPAGE
Lloh84:
	ldr	x9, [x9, _bootSTK@GOTPAGEOFF]
Lloh85:
	str	x8, [x9]
	str	w20, [x27]
	mov	x0, x23
	bl	_start_ap
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh86:
	adrp	x8, _WARMBOOT_OFF@GOTPAGE
Lloh87:
	ldr	x8, [x8, _WARMBOOT_OFF@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	str	w9, [x8]
Lloh89:
	adrp	x0, l_.str.1@PAGE
Lloh90:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x23
	bl	_panic
	b	LBB0_5
LBB0_8:
Lloh91:
	adrp	x8, _WARMBOOT_OFF@GOTPAGE
Lloh92:
	ldr	x8, [x8, _WARMBOOT_OFF@GOTPAGEOFF]
Lloh93:
	ldr	x8, [x8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	str	w9, [x8]
Lloh94:
	adrp	x8, _CMOS_REG@GOTPAGE
Lloh95:
	ldr	x8, [x8, _CMOS_REG@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
Lloh97:
	adrp	x8, _BIOS_RESET@GOTPAGE
Lloh98:
	ldr	x8, [x8, _BIOS_RESET@GOTPAGEOFF]
Lloh99:
	ldr	w1, [x8]
	bl	_outb
Lloh100:
	adrp	x8, _CMOS_DATA@GOTPAGE
Lloh101:
	ldr	x8, [x8, _CMOS_DATA@GOTPAGEOFF]
Lloh102:
	ldr	w0, [x8]
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	bl	_outb
Lloh103:
	adrp	x8, _mp_naps@GOTPAGE
Lloh104:
	ldr	x8, [x8, _mp_naps@GOTPAGEOFF]
Lloh105:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotStr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotStr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotStr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.comm	_ap_boot_mtx,4,2                ; @ap_boot_mtx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ap boot"

	.comm	_MTX_SPIN,4,2                   ; @MTX_SPIN
	.comm	_mptramp_start,4,2              ; @mptramp_start
	.comm	_boot_address,4,2               ; @boot_address
	.comm	_bootMP_size,4,2                ; @bootMP_size
	.comm	_mptramp_pagetables,4,2         ; @mptramp_pagetables
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PG_V,4,2                       ; @PG_V
	.comm	_PG_RW,4,2                      ; @PG_RW
	.comm	_PG_U,4,2                       ; @PG_U
	.comm	_PG_PS,4,2                      ; @PG_PS
	.comm	_WARMBOOT_OFF,8,3               ; @WARMBOOT_OFF
	.comm	_CMOS_REG,4,2                   ; @CMOS_REG
	.comm	_BIOS_RESET,4,2                 ; @BIOS_RESET
	.comm	_CMOS_DATA,4,2                  ; @CMOS_DATA
	.comm	_WARMBOOT_TARGET,4,2            ; @WARMBOOT_TARGET
	.comm	_WARMBOOT_SEG,8,3               ; @WARMBOOT_SEG
	.comm	_BIOS_WARM,4,2                  ; @BIOS_WARM
	.comm	_mp_ncpus,4,2                   ; @mp_ncpus
	.comm	_cpu_apic_ids,8,3               ; @cpu_apic_ids
	.comm	_kstack_pages,4,2               ; @kstack_pages
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_bootstacks,8,3                 ; @bootstacks
	.comm	_doublefault_stack,8,3          ; @doublefault_stack
	.comm	_mce_stack,8,3                  ; @mce_stack
	.comm	_nmi_stack,8,3                  ; @nmi_stack
	.comm	_dbg_stack,8,3                  ; @dbg_stack
	.comm	_DPCPU_SIZE,4,2                 ; @DPCPU_SIZE
	.comm	_dpcpu,8,3                      ; @dpcpu
	.comm	_bootSTK,8,3                    ; @bootSTK
	.comm	_bootAP,4,2                     ; @bootAP
l_.str.1:                               ; @.str.1
	.asciz	"AP #%d (PHY# %d) failed!"

	.comm	_all_cpus,4,2                   ; @all_cpus
	.comm	_mp_naps,4,2                    ; @mp_naps
	.comm	_vm_ndomains,4,2                ; @vm_ndomains
.subsections_via_symbols
