	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a83t_mp_start_ap               ## -- Begin function a83t_mp_start_ap
	.p2align	4, 0x90
_a83t_mp_start_ap:                      ## @a83t_mp_start_ap
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_CPUCFG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CPUCFG_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-44(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movl	(%rbx), %edi
	movq	_CPUXCFG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CPUXCFG_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-40(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_4:
	movl	(%rbx), %edi
	movq	_PRCM_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PRCM_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-36(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_6:
	movl	-44(%rbp), %edi
	movl	-40(%rbp), %esi
	movl	-36(%rbp), %edx
	callq	_aw_mc_mp_start_ap
	xorl	%eax, %eax
	callq	_dsb
	xorl	%eax, %eax
	callq	_sev
	movl	(%rbx), %edi
	movl	-40(%rbp), %esi
	movl	(%r15), %edx
	callq	_bus_space_unmap
	movl	(%rbx), %edi
	movl	-44(%rbp), %esi
	movl	(%r14), %edx
	callq	_bus_space_unmap
	movl	(%rbx), %edi
	movl	-36(%rbp), %esi
	movl	(%r12), %edx
	callq	_bus_space_unmap
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fdtbus_bs_tag,4,2              ## @fdtbus_bs_tag
	.comm	_CPUCFG_BASE,4,2                ## @CPUCFG_BASE
	.comm	_CPUCFG_SIZE,4,2                ## @CPUCFG_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't map the CPUCFG\n"

	.comm	_CPUXCFG_BASE,4,2               ## @CPUXCFG_BASE
	.comm	_CPUXCFG_SIZE,4,2               ## @CPUXCFG_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't map the CPUXCFG\n"

	.comm	_PRCM_BASE,4,2                  ## @PRCM_BASE
	.comm	_PRCM_SIZE,4,2                  ## @PRCM_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't map the PRCM\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a83t_mp_start_ap               ; -- Begin function a83t_mp_start_ap
	.p2align	2
_a83t_mp_start_ap:                      ; @a83t_mp_start_ap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _fdtbus_bs_tag@GOTPAGE
Lloh1:
	ldr	x19, [x19, _fdtbus_bs_tag@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _CPUCFG_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPUCFG_BASE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x20, _CPUCFG_SIZE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _CPUCFG_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x4, sp, #12
	mov	w3, #0
	bl	_bus_space_map
	cbz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _CPUXCFG_BASE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CPUXCFG_BASE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x21, _CPUXCFG_SIZE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _CPUXCFG_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x4, sp, #8
	mov	w3, #0
	bl	_bus_space_map
	cbz	x0, LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_4:
	ldr	w0, [x19]
Lloh16:
	adrp	x8, _PRCM_BASE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PRCM_BASE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x22, _PRCM_SIZE@GOTPAGE
Lloh20:
	ldr	x22, [x22, _PRCM_SIZE@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x4, sp, #4
	mov	w3, #0
	bl	_bus_space_map
	cbz	x0, LBB0_6
; %bb.5:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_6:
	ldp	w1, w0, [sp, #8]
	ldr	w2, [sp, #4]
	bl	_aw_mc_mp_start_ap
	bl	_dsb
	bl	_sev
	ldr	w0, [x19]
	ldr	w1, [sp, #8]
	ldr	w2, [x21]
	bl	_bus_space_unmap
	ldr	w0, [x19]
	ldr	w1, [sp, #12]
	ldr	w2, [x20]
	bl	_bus_space_unmap
	ldr	w0, [x19]
	ldr	w1, [sp, #4]
	ldr	w2, [x22]
	bl	_bus_space_unmap
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_fdtbus_bs_tag,4,2              ; @fdtbus_bs_tag
	.comm	_CPUCFG_BASE,4,2                ; @CPUCFG_BASE
	.comm	_CPUCFG_SIZE,4,2                ; @CPUCFG_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't map the CPUCFG\n"

	.comm	_CPUXCFG_BASE,4,2               ; @CPUXCFG_BASE
	.comm	_CPUXCFG_SIZE,4,2               ; @CPUXCFG_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't map the CPUXCFG\n"

	.comm	_PRCM_BASE,4,2                  ; @PRCM_BASE
	.comm	_PRCM_SIZE,4,2                  ; @PRCM_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't map the PRCM\n"

.subsections_via_symbols
