	.file	"extr_aw_mp.c_aw_mc_mp_start_ap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"multiple clusters not yet supported"
	.text
	.p2align 4
	.type	aw_mc_mp_start_ap, @function
aw_mc_mp_start_ap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR mp_ncpus[rip], 4
	setle	dil
	call	KASSERT@PLT
	xor	eax, eax
	call	dcache_wbinv_poc_all@PLT
	mov	edi, DWORD PTR mpentry[rip]
	call	pmap_kextract@PLT
	mov	edx, DWORD PTR CPUCFG_P_REG0[rip]
	mov	edi, DWORD PTR fdtbus_bs_tag[rip]
	mov	esi, ebp
	mov	ecx, eax
	call	bus_space_write_4@PLT
	cmp	DWORD PTR mp_ncpus[rip], 1
	jle	.L1
	mov	ebx, 1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8d, ebx
	xor	ecx, ecx
	mov	edx, r13d
	mov	esi, r12d
	mov	edi, ebp
	add	ebx, 1
	call	aw_mc_mp_start_cpu@PLT
	cmp	DWORD PTR mp_ncpus[rip], ebx
	jg	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	aw_mc_mp_start_ap, .-aw_mc_mp_start_ap
	.comm	mpentry,8,8
	.comm	mp_ncpus,4,4
	.comm	fdtbus_bs_tag,4,4
	.comm	CPUCFG_P_REG0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_aw_mp.c_aw_mc_mp_start_ap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"multiple clusters not yet supported\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	aw_mc_mp_start_ap, %function
aw_mc_mp_start_ap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r8, .L7
	mov	r5, r0
	ldr	r3, [r8]
	sub	sp, sp, #12
	cmp	r3, #4
	movgt	r0, #0
	movle	r0, #1
	mov	r6, r1
	ldr	r1, .L7+4
	mov	r7, r2
	bl	KASSERT
	bl	dcache_wbinv_poc_all
	ldr	r3, .L7+8
	ldr	r1, .L7+12
	ldr	r2, .L7+16
	ldr	r0, [r3]
	ldr	r4, [r1]
	ldr	r9, [r2]
	bl	pmap_kextract
	mov	r2, r9
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	bl	bus_space_write_4
	ldr	r3, [r8]
	cmp	r3, #1
	ble	.L1
	mov	r4, #1
.L3:
	mov	r3, #0
	str	r4, [sp]
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	aw_mc_mp_start_cpu
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	.align	2
.L7:
	.word	mp_ncpus
	.word	.LC0
	.word	mpentry
	.word	fdtbus_bs_tag
	.word	CPUCFG_P_REG0
	.size	aw_mc_mp_start_ap, .-aw_mc_mp_start_ap
	.comm	mpentry,4,4
	.comm	mp_ncpus,4,4
	.comm	fdtbus_bs_tag,4,4
	.comm	CPUCFG_P_REG0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
