	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function aw_mp_start_ap
LCPI0_0:
	.space	4
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
LCPI0_1:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_3:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_5:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_6:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_7:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_aw_mp_start_ap
	.p2align	4, 0x90
_aw_mp_start_ap:                        ## @aw_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_allwinner_soc_family
	movq	_ALLWINNERSOC_SUN7I@GOTPCREL(%rip), %rcx
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	movq	_A20_CPUCFG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CPUCFG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_3:
	movq	_CPUCFG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CPUCFG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_5:
	movl	(%r13), %edi
	movq	_PRCM_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PRCM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	callq	_panic
LBB0_8:
	xorl	%eax, %eax
	callq	_dcache_wbinv_poc_all
	movl	(%r13), %r12d
	movl	-44(%rbp), %r15d
	movq	_CPUCFG_P_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_mpentry@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pmap_kextract
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_bus_space_write_4
	movq	_mp_ncpus@GOTPCREL(%rip), %r14
	cmpl	$2, (%r14)
	jl	LBB0_11
## %bb.9:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %r15d
	movl	-44(%rbp), %r12d
	movl	%ebx, %edi
	callq	_CPU_RST_CTL
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_bus_space_write_4
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_10
LBB0_11:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	movq	_CPUCFG_GENCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_bus_space_read_4
	movl	(%r14), %ecx
	cmpl	$2, %ecx
	jl	LBB0_22
## %bb.12:
	leal	-1(%rcx), %esi
	movl	$1, %edx
	cmpl	$8, %esi
	jb	LBB0_21
## %bb.13:
	movl	%esi, %edx
	andl	$-8, %edx
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <u,4294967295,4294967295,4294967295>
	pinsrd	$0, %eax, %xmm1
	leal	-8(%rdx), %edi
	movl	%edi, %eax
	shrl	$3, %eax
	incl	%eax
	testl	%edi, %edi
	je	LBB0_14
## %bb.15:
	movl	%eax, %edi
	andl	$-2, %edi
	movdqa	LCPI0_1(%rip), %xmm7            ## xmm7 = [1,2,3,4]
	pcmpeqd	%xmm2, %xmm2
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	movdqa	%xmm1, %xmm5
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm7, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm7, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm3, %xmm4
	cvttps2dq	%xmm4, %xmm4
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm6
	movdqa	%xmm7, %xmm1
	paddd	%xmm9, %xmm1
	movdqa	%xmm7, %xmm0
	paddd	%xmm10, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm4, %xmm1
	pandn	%xmm5, %xmm1
	pslld	$23, %xmm0
	paddd	%xmm3, %xmm0
	cvttps2dq	%xmm0, %xmm4
	por	%xmm6, %xmm4
	pandn	%xmm2, %xmm4
	paddd	%xmm11, %xmm7
	movdqa	%xmm1, %xmm5
	movdqa	%xmm4, %xmm2
	addl	$-2, %edi
	jne	LBB0_16
## %bb.17:
	testb	$1, %al
	je	LBB0_19
LBB0_18:
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = [4,4,4,4]
	paddd	%xmm7, %xmm0
	pslld	$23, %xmm7
	movdqa	LCPI0_3(%rip), %xmm2            ## xmm2 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm2, %xmm7
	cvttps2dq	%xmm7, %xmm3
	pandn	%xmm1, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm2, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pandn	%xmm4, %xmm0
	movdqa	%xmm3, %xmm1
	movdqa	%xmm0, %xmm4
LBB0_19:
	pand	%xmm4, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pand	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	pand	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%edx, %esi
	je	LBB0_22
## %bb.20:
	orl	$1, %edx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	btrl	%edx, %eax
	incl	%edx
	cmpl	%edx, %ecx
	jne	LBB0_21
LBB0_22:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	movl	(%rbx), %edx
	movl	%eax, %ecx
	callq	_bus_space_write_4
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	movq	_CPUCFG_DBGCTL1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_bus_space_read_4
	movl	(%r14), %ecx
	cmpl	$2, %ecx
	jl	LBB0_33
## %bb.23:
	leal	-1(%rcx), %esi
	movl	$1, %edx
	cmpl	$8, %esi
	jb	LBB0_32
## %bb.24:
	movl	%esi, %edx
	andl	$-8, %edx
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <u,4294967295,4294967295,4294967295>
	pinsrd	$0, %eax, %xmm1
	leal	-8(%rdx), %edi
	movl	%edi, %eax
	shrl	$3, %eax
	incl	%eax
	testl	%edi, %edi
	je	LBB0_25
## %bb.26:
	movl	%eax, %edi
	andl	$-2, %edi
	movdqa	LCPI0_1(%rip), %xmm7            ## xmm7 = [1,2,3,4]
	pcmpeqd	%xmm2, %xmm2
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	movdqa	%xmm1, %xmm5
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm7, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm7, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm3, %xmm4
	cvttps2dq	%xmm4, %xmm4
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm6
	movdqa	%xmm7, %xmm1
	paddd	%xmm9, %xmm1
	movdqa	%xmm7, %xmm0
	paddd	%xmm10, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm4, %xmm1
	pandn	%xmm5, %xmm1
	pslld	$23, %xmm0
	paddd	%xmm3, %xmm0
	cvttps2dq	%xmm0, %xmm4
	por	%xmm6, %xmm4
	pandn	%xmm2, %xmm4
	paddd	%xmm11, %xmm7
	movdqa	%xmm1, %xmm5
	movdqa	%xmm4, %xmm2
	addl	$-2, %edi
	jne	LBB0_27
## %bb.28:
	testb	$1, %al
	je	LBB0_30
LBB0_29:
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = [4,4,4,4]
	paddd	%xmm7, %xmm0
	pslld	$23, %xmm7
	movdqa	LCPI0_3(%rip), %xmm2            ## xmm2 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm2, %xmm7
	cvttps2dq	%xmm7, %xmm3
	pandn	%xmm1, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm2, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pandn	%xmm4, %xmm0
	movdqa	%xmm3, %xmm1
	movdqa	%xmm0, %xmm4
LBB0_30:
	pand	%xmm4, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pand	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	pand	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%edx, %esi
	je	LBB0_33
## %bb.31:
	orl	$1, %edx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	btrl	%edx, %eax
	incl	%edx
	cmpl	%edx, %ecx
	jne	LBB0_32
LBB0_33:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	movl	(%rbx), %edx
	movl	%eax, %ecx
	callq	_bus_space_write_4
	movl	(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_43
## %bb.34:
	movq	_CPU_PWR_CLAMP_STEPS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	$1, %r15d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	_mp_ncpus@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
LBB0_42:                                ##   in Loop: Header=BB0_35 Depth=1
	incl	%r15d
	cmpl	%eax, %r15d
	jge	LBB0_43
LBB0_35:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	testl	%ecx, %ecx
	js	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movl	$-1, %r14d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=2
	movl	-44(%rbp), %esi
	movq	_A20_CPU1_PWR_CLAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %eax
	movl	%r14d, %ecx
	shrl	%cl, %eax
	movl	%r12d, %edi
	movl	%eax, %ecx
LBB0_40:                                ##   in Loop: Header=BB0_37 Depth=2
	callq	_bus_space_write_4
	movl	(%rbx), %ecx
	cmpl	%ecx, %r14d
	jge	LBB0_41
LBB0_37:                                ##   Parent Loop BB0_35 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%r14d
	movl	(%r13), %r12d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_ALLWINNERSOC_SUN7I@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	-48(%rbp), %r13d
	movl	%r15d, %edi
	callq	_CPU_PWR_CLAMP
	movq	%rbx, %r8
	movl	$255, %ebx
	movl	%r14d, %ecx
	shrl	%cl, %ebx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %r13
	movl	%eax, %edx
	movl	%ebx, %ecx
	movq	%r8, %rbx
	jmp	LBB0_40
LBB0_43:
	movl	$10000, %edi                    ## imm = 0x2710
	callq	_DELAY
	movl	(%r13), %edi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_ALLWINNERSOC_SUN7I@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_44
## %bb.56:
	movl	-44(%rbp), %esi
	movq	_A20_CPU1_PWROFF_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_bus_space_read_4
	andl	$-2, %eax
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	jmp	LBB0_57
LBB0_44:
	movl	-48(%rbp), %esi
	movq	_CPU_PWROFF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_bus_space_read_4
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_55
## %bb.45:
	xorl	%edx, %edx
	cmpl	$8, %ecx
	jb	LBB0_53
## %bb.46:
	movl	%ecx, %edx
	andl	$-8, %edx
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <u,4294967295,4294967295,4294967295>
	pinsrd	$0, %eax, %xmm1
	leal	-8(%rdx), %esi
	movl	%esi, %eax
	shrl	$3, %eax
	incl	%eax
	testl	%esi, %esi
	je	LBB0_47
## %bb.48:
	movl	%eax, %esi
	andl	$-2, %esi
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [0,1,2,3]
	pcmpeqd	%xmm2, %xmm2
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	movdqa	%xmm1, %xmm5
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm7, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm7, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm3, %xmm4
	cvttps2dq	%xmm4, %xmm4
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm6
	movdqa	%xmm7, %xmm1
	paddd	%xmm9, %xmm1
	movdqa	%xmm7, %xmm0
	paddd	%xmm10, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm4, %xmm1
	pandn	%xmm5, %xmm1
	pslld	$23, %xmm0
	paddd	%xmm3, %xmm0
	cvttps2dq	%xmm0, %xmm4
	por	%xmm6, %xmm4
	pandn	%xmm2, %xmm4
	paddd	%xmm11, %xmm7
	movdqa	%xmm1, %xmm5
	movdqa	%xmm4, %xmm2
	addl	$-2, %esi
	jne	LBB0_49
## %bb.50:
	testb	$1, %al
	je	LBB0_52
LBB0_51:
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = [4,4,4,4]
	paddd	%xmm7, %xmm0
	pslld	$23, %xmm7
	movdqa	LCPI0_3(%rip), %xmm2            ## xmm2 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm2, %xmm7
	cvttps2dq	%xmm7, %xmm3
	pandn	%xmm1, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm2, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pandn	%xmm4, %xmm0
	movdqa	%xmm3, %xmm1
	movdqa	%xmm0, %xmm4
LBB0_52:
	pand	%xmm4, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pand	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	pand	%xmm0, %xmm1
	movd	%xmm1, %eax
	jmp	LBB0_54
LBB0_14:
	movdqa	LCPI0_1(%rip), %xmm7            ## xmm7 = [1,2,3,4]
	pcmpeqd	%xmm4, %xmm4
	testb	$1, %al
	jne	LBB0_18
	jmp	LBB0_19
LBB0_25:
	movdqa	LCPI0_1(%rip), %xmm7            ## xmm7 = [1,2,3,4]
	pcmpeqd	%xmm4, %xmm4
	testb	$1, %al
	jne	LBB0_29
	jmp	LBB0_30
LBB0_47:
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [0,1,2,3]
	pcmpeqd	%xmm4, %xmm4
	testb	$1, %al
	jne	LBB0_51
	jmp	LBB0_52
LBB0_53:
	btrl	%edx, %eax
	incl	%edx
LBB0_54:
	cmpl	%edx, %ecx
	jne	LBB0_53
LBB0_55:
	movl	(%r13), %edi
	movl	-48(%rbp), %esi
LBB0_57:
	movl	(%rbx), %edx
	movl	%eax, %ecx
	callq	_bus_space_write_4
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_DELAY
	cmpl	$2, (%r14)
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %r12
	jl	LBB0_60
## %bb.58:
	movl	$1, %ebx
	movq	_CPU_CORE_RESET@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %r14d
	movl	-44(%rbp), %r15d
	movl	%ebx, %edi
	callq	_CPU_RST_CTL
	movl	(%r13), %ecx
	movq	_CPU_RESET@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%r14d, %edi
	movq	_mp_ncpus@GOTPCREL(%rip), %r14
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_bus_space_write_4
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_59
LBB0_60:
	movl	(%r12), %edi
	movl	-44(%rbp), %esi
	movq	_CPUCFG_DBGCTL1@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_bus_space_read_4
	movl	(%r14), %ecx
	cmpl	$2, %ecx
	jl	LBB0_71
## %bb.61:
	leal	-1(%rcx), %esi
	movl	$1, %edx
	cmpl	$8, %esi
	jb	LBB0_70
## %bb.62:
	movl	%esi, %edx
	andl	$-8, %edx
	movd	%eax, %xmm0
	leal	-8(%rdx), %edi
	movl	%edi, %eax
	shrl	$3, %eax
	incl	%eax
	testl	%edi, %edi
	je	LBB0_63
## %bb.64:
	movl	%eax, %edi
	andl	$-2, %edi
	movdqa	LCPI0_1(%rip), %xmm5            ## xmm5 = [1,2,3,4]
	pxor	%xmm2, %xmm2
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm7            ## xmm7 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm5, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm3
	por	%xmm0, %xmm3
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm2, %xmm1
	movdqa	%xmm5, %xmm0
	paddd	%xmm9, %xmm0
	movdqa	%xmm5, %xmm2
	paddd	%xmm6, %xmm2
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	%xmm3, %xmm0
	pslld	$23, %xmm2
	paddd	%xmm4, %xmm2
	cvttps2dq	%xmm2, %xmm2
	por	%xmm1, %xmm2
	paddd	%xmm7, %xmm5
	addl	$-2, %edi
	jne	LBB0_65
## %bb.66:
	testb	$1, %al
	je	LBB0_68
LBB0_67:
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	paddd	%xmm5, %xmm1
	pslld	$23, %xmm5
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm3, %xmm5
	cvttps2dq	%xmm5, %xmm4
	por	%xmm4, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm1, %xmm2
LBB0_68:
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	%edx, %esi
	je	LBB0_71
## %bb.69:
	orl	$1, %edx
	.p2align	4, 0x90
LBB0_70:                                ## =>This Inner Loop Header: Depth=1
	btsl	%edx, %eax
	incl	%edx
	cmpl	%edx, %ecx
	jne	LBB0_70
LBB0_71:
	movl	(%r12), %edi
	movl	-44(%rbp), %esi
	movl	(%r15), %edx
	movl	%eax, %ecx
	callq	_bus_space_write_4
	xorl	%eax, %eax
	callq	_dsb
	xorl	%eax, %eax
	callq	_sev
	movl	(%r12), %edi
	movl	-44(%rbp), %esi
	movq	_CPUCFG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_ALLWINNERSOC_SUN7I@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_73
## %bb.72:
	movl	(%r12), %edi
	movl	-48(%rbp), %esi
	movq	_PRCM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_73:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_63:
	movdqa	LCPI0_1(%rip), %xmm5            ## xmm5 = [1,2,3,4]
	pxor	%xmm2, %xmm2
	testb	$1, %al
	jne	LBB0_67
	jmp	LBB0_68
	.cfi_endproc
                                        ## -- End function
	.comm	_ALLWINNERSOC_SUN7I,4,2         ## @ALLWINNERSOC_SUN7I
	.comm	_fdtbus_bs_tag,4,2              ## @fdtbus_bs_tag
	.comm	_A20_CPUCFG_BASE,4,2            ## @A20_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	_CPUCFG_BASE,4,2                ## @CPUCFG_BASE
	.comm	_PRCM_BASE,4,2                  ## @PRCM_BASE
	.comm	_PRCM_SIZE,4,2                  ## @PRCM_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't map the PRCM\n"

	.comm	_CPUCFG_P_REG0,4,2              ## @CPUCFG_P_REG0
	.comm	_mpentry,8,3                    ## @mpentry
	.comm	_mp_ncpus,4,2                   ## @mp_ncpus
	.comm	_CPUCFG_GENCTL,4,2              ## @CPUCFG_GENCTL
	.comm	_CPUCFG_DBGCTL1,4,2             ## @CPUCFG_DBGCTL1
	.comm	_CPU_PWR_CLAMP_STEPS,4,2        ## @CPU_PWR_CLAMP_STEPS
	.comm	_A20_CPU1_PWR_CLAMP,4,2         ## @A20_CPU1_PWR_CLAMP
	.comm	_CPU_PWROFF,4,2                 ## @CPU_PWROFF
	.comm	_A20_CPU1_PWROFF_REG,4,2        ## @A20_CPU1_PWROFF_REG
	.comm	_CPU_RESET,4,2                  ## @CPU_RESET
	.comm	_CPU_CORE_RESET,4,2             ## @CPU_CORE_RESET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function aw_mp_start_ap
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
lCPI0_1:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_aw_mp_start_ap
	.p2align	2
_aw_mp_start_ap:                        ; @aw_mp_start_ap
	.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
	bl	_allwinner_soc_family
	mov	x19, x0
Lloh0:
	adrp	x8, _ALLWINNERSOC_SUN7I@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALLWINNERSOC_SUN7I@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _fdtbus_bs_tag@GOTPAGE
Lloh4:
	ldr	x23, [x23, _fdtbus_bs_tag@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x9, _CPUCFG_SIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CPUCFG_SIZE@GOTPAGEOFF]
	cmp	w19, w8
	b.ne	LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _A20_CPUCFG_BASE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _A20_CPUCFG_BASE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x9]
	add	x4, sp, #12
	mov	w3, #0
	bl	_bus_space_map
	cbz	x0, LBB0_8
; %bb.2:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh12:
	adrp	x8, _CPUCFG_BASE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CPUCFG_BASE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x9]
	add	x4, sp, #12
	mov	w3, #0
	bl	_bus_space_map
	cbz	x0, LBB0_5
; %bb.4:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_5:
	ldr	w0, [x23]
Lloh17:
	adrp	x8, _PRCM_BASE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PRCM_BASE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _PRCM_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PRCM_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w3, #0
	bl	_bus_space_map
	cbz	x0, LBB0_8
; %bb.6:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	_panic
LBB0_8:
	bl	_dcache_wbinv_poc_all
	ldr	w20, [x23]
	ldr	w21, [sp, #12]
Lloh25:
	adrp	x8, _CPUCFG_P_REG0@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CPUCFG_P_REG0@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
Lloh28:
	adrp	x8, _mpentry@GOTPAGE
Lloh29:
	ldr	x8, [x8, _mpentry@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_pmap_kextract
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_bus_space_write_4
Lloh31:
	adrp	x24, _mp_ncpus@GOTPAGE
Lloh32:
	ldr	x24, [x24, _mp_ncpus@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.9:
	mov	w20, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x23]
	ldr	w22, [sp, #12]
	mov	x0, x20
	bl	_CPU_RST_CTL
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	bl	_bus_space_write_4
	add	w20, w20, #1
	ldr	w8, [x24]
	cmp	w20, w8
	b.lt	LBB0_10
LBB0_11:
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
Lloh33:
	adrp	x20, _CPUCFG_GENCTL@GOTPAGE
Lloh34:
	ldr	x20, [x20, _CPUCFG_GENCTL@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_bus_space_read_4
	mov	x3, x0
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_17
; %bb.12:
	sub	w11, w8, #1
	mov	w9, #1
	mov	w10, #1
	cmp	w11, #16
	b.lo	LBB0_16
; %bb.13:
	and	w12, w11, #0xfffffff0
	orr	w10, w12, #0x1
	movi.2d	v0, #0xffffffffffffffff
	movi.2d	v1, #0xffffffffffffffff
	mov.s	v1[0], w3
	movi.4s	v2, #4
Lloh35:
	adrp	x13, lCPI0_0@PAGE
Lloh36:
	ldr	q3, [x13, lCPI0_0@PAGEOFF]
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #1
	movi.4s	v7, #16
	mov	x13, x12
	movi.2d	v16, #0xffffffffffffffff
	movi.2d	v17, #0xffffffffffffffff
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v3, v2
	add.4s	v19, v3, v4
	add.4s	v20, v3, v5
	ushl.4s	v21, v6, v3
	ushl.4s	v18, v6, v18
	ushl.4s	v19, v6, v19
	ushl.4s	v20, v6, v20
	bic.16b	v1, v1, v21
	bic.16b	v0, v0, v18
	bic.16b	v16, v16, v19
	bic.16b	v17, v17, v20
	add.4s	v3, v3, v7
	subs	w13, w13, #16
	b.ne	LBB0_14
; %bb.15:
	and.16b	v0, v0, v1
	and.16b	v0, v16, v0
	and.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	and.8b	v0, v0, v1
	fmov	w13, s0
	mov.s	w14, v0[1]
	and	w3, w13, w14
	cmp	w11, w12
	b.eq	LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w9, w10
	bic	w3, w3, w11
	add	w10, w10, #1
	cmp	w8, w10
	b.ne	LBB0_16
LBB0_17:
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	ldr	w2, [x20]
	bl	_bus_space_write_4
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
Lloh37:
	adrp	x20, _CPUCFG_DBGCTL1@GOTPAGE
Lloh38:
	ldr	x20, [x20, _CPUCFG_DBGCTL1@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_bus_space_read_4
	mov	x3, x0
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_23
; %bb.18:
	sub	w11, w8, #1
	mov	w9, #1
	mov	w10, #1
	cmp	w11, #16
	b.lo	LBB0_22
; %bb.19:
	and	w12, w11, #0xfffffff0
	orr	w10, w12, #0x1
	movi.2d	v0, #0xffffffffffffffff
	movi.2d	v1, #0xffffffffffffffff
	mov.s	v1[0], w3
	movi.4s	v2, #4
Lloh39:
	adrp	x13, lCPI0_0@PAGE
Lloh40:
	ldr	q3, [x13, lCPI0_0@PAGEOFF]
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #1
	movi.4s	v7, #16
	mov	x13, x12
	movi.2d	v16, #0xffffffffffffffff
	movi.2d	v17, #0xffffffffffffffff
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v3, v2
	add.4s	v19, v3, v4
	add.4s	v20, v3, v5
	ushl.4s	v21, v6, v3
	ushl.4s	v18, v6, v18
	ushl.4s	v19, v6, v19
	ushl.4s	v20, v6, v20
	bic.16b	v1, v1, v21
	bic.16b	v0, v0, v18
	bic.16b	v16, v16, v19
	bic.16b	v17, v17, v20
	add.4s	v3, v3, v7
	subs	w13, w13, #16
	b.ne	LBB0_20
; %bb.21:
	and.16b	v0, v0, v1
	and.16b	v0, v16, v0
	and.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	and.8b	v0, v0, v1
	fmov	w13, s0
	mov.s	w14, v0[1]
	and	w3, w13, w14
	cmp	w11, w12
	b.eq	LBB0_23
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w9, w10
	bic	w3, w3, w11
	add	w10, w10, #1
	cmp	w8, w10
	b.ne	LBB0_22
LBB0_23:
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	ldr	w2, [x20]
	bl	_bus_space_write_4
	ldr	w9, [x24]
	cmp	w9, #2
	b.lt	LBB0_33
; %bb.24:
Lloh41:
	adrp	x28, _CPU_PWR_CLAMP_STEPS@GOTPAGE
Lloh42:
	ldr	x28, [x28, _CPU_PWR_CLAMP_STEPS@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	w20, #1
Lloh43:
	adrp	x25, _A20_CPU1_PWR_CLAMP@GOTPAGE
Lloh44:
	ldr	x25, [x25, _A20_CPU1_PWR_CLAMP@GOTPAGEOFF]
	mov	w27, #255
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
Lloh45:
	adrp	x9, _mp_ncpus@GOTPAGE
Lloh46:
	ldr	x9, [x9, _mp_ncpus@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w20, w20, #1
	cmp	w20, w9
	b.ge	LBB0_33
LBB0_27:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
	tbnz	w8, #31, LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	w26, #-1
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=2
	ldr	w1, [sp, #12]
	ldr	w2, [x25]
	lsr	w3, w27, w24
	mov	x0, x21
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=2
	bl	_bus_space_write_4
	ldr	w8, [x28]
	add	w26, w26, #1
	cmp	w26, w8
	b.ge	LBB0_25
LBB0_31:                                ;   Parent Loop BB0_27 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w24, w26, #1
Lloh48:
	adrp	x8, _ALLWINNERSOC_SUN7I@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ALLWINNERSOC_SUN7I@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	w21, [x23]
	cmp	w19, w8
	b.eq	LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	ldr	w22, [sp, #8]
	mov	x0, x20
	bl	_CPU_PWR_CLAMP
	mov	x2, x0
	lsr	w3, w27, w24
	mov	x0, x21
	mov	x1, x22
	b	LBB0_30
LBB0_33:
	mov	w0, #10000
	bl	_DELAY
Lloh51:
	adrp	x8, _ALLWINNERSOC_SUN7I@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ALLWINNERSOC_SUN7I@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w0, [x23]
	cmp	w19, w8
	b.ne	LBB0_35
; %bb.34:
	ldr	w1, [sp, #12]
Lloh54:
	adrp	x20, _A20_CPU1_PWROFF_REG@GOTPAGE
Lloh55:
	ldr	x20, [x20, _A20_CPU1_PWROFF_REG@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_bus_space_read_4
	and	w3, w0, #0xfffffffe
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	ldr	w2, [x20]
	bl	_bus_space_write_4
Lloh56:
	adrp	x24, _CPUCFG_SIZE@GOTPAGE
Lloh57:
	ldr	x24, [x24, _CPUCFG_SIZE@GOTPAGEOFF]
Lloh58:
	adrp	x27, _mp_ncpus@GOTPAGE
Lloh59:
	ldr	x27, [x27, _mp_ncpus@GOTPAGEOFF]
Lloh60:
	adrp	x28, _CPUCFG_DBGCTL1@GOTPAGE
Lloh61:
	ldr	x28, [x28, _CPUCFG_DBGCTL1@GOTPAGEOFF]
	b	LBB0_45
LBB0_35:
	ldr	w1, [sp, #8]
Lloh62:
	adrp	x20, _CPU_PWROFF@GOTPAGE
Lloh63:
	ldr	x20, [x20, _CPU_PWROFF@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_bus_space_read_4
	mov	x3, x0
Lloh64:
	adrp	x27, _mp_ncpus@GOTPAGE
Lloh65:
	ldr	x27, [x27, _mp_ncpus@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.36:
	cmp	w8, #16
Lloh66:
	adrp	x24, _CPUCFG_SIZE@GOTPAGE
Lloh67:
	ldr	x24, [x24, _CPUCFG_SIZE@GOTPAGEOFF]
Lloh68:
	adrp	x28, _CPUCFG_DBGCTL1@GOTPAGE
Lloh69:
	ldr	x28, [x28, _CPUCFG_DBGCTL1@GOTPAGEOFF]
	b.hs	LBB0_39
; %bb.37:
	mov	w9, #0
	b	LBB0_42
LBB0_38:
Lloh70:
	adrp	x24, _CPUCFG_SIZE@GOTPAGE
Lloh71:
	ldr	x24, [x24, _CPUCFG_SIZE@GOTPAGEOFF]
Lloh72:
	adrp	x28, _CPUCFG_DBGCTL1@GOTPAGE
Lloh73:
	ldr	x28, [x28, _CPUCFG_DBGCTL1@GOTPAGEOFF]
	b	LBB0_44
LBB0_39:
	and	w9, w8, #0xfffffff0
	movi.2d	v0, #0xffffffffffffffff
	movi.2d	v1, #0xffffffffffffffff
	mov.s	v1[0], w3
	movi.4s	v2, #4
Lloh74:
	adrp	x10, lCPI0_1@PAGE
Lloh75:
	ldr	q3, [x10, lCPI0_1@PAGEOFF]
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #1
	movi.4s	v7, #16
	mov	x10, x9
	movi.2d	v16, #0xffffffffffffffff
	movi.2d	v17, #0xffffffffffffffff
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v3, v2
	add.4s	v19, v3, v4
	add.4s	v20, v3, v5
	ushl.4s	v21, v6, v3
	ushl.4s	v18, v6, v18
	ushl.4s	v19, v6, v19
	ushl.4s	v20, v6, v20
	bic.16b	v1, v1, v21
	bic.16b	v0, v0, v18
	bic.16b	v16, v16, v19
	bic.16b	v17, v17, v20
	add.4s	v3, v3, v7
	subs	w10, w10, #16
	b.ne	LBB0_40
; %bb.41:
	and.16b	v0, v0, v1
	and.16b	v0, v16, v0
	and.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	and.8b	v0, v0, v1
	fmov	w10, s0
	mov.s	w11, v0[1]
	and	w3, w10, w11
	cmp	w8, w9
	b.eq	LBB0_44
LBB0_42:
	mov	w10, #1
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w10, w9
	bic	w3, w3, w11
	add	w9, w9, #1
	cmp	w8, w9
	b.ne	LBB0_43
LBB0_44:
	ldr	w0, [x23]
	ldr	w1, [sp, #8]
	ldr	w2, [x20]
	bl	_bus_space_write_4
LBB0_45:
	mov	w0, #1000
	bl	_DELAY
	ldr	w8, [x27]
	cmp	w8, #2
	b.lt	LBB0_48
; %bb.46:
	mov	w20, #1
Lloh76:
	adrp	x25, _CPU_RESET@GOTPAGE
Lloh77:
	ldr	x25, [x25, _CPU_RESET@GOTPAGEOFF]
Lloh78:
	adrp	x26, _CPU_CORE_RESET@GOTPAGE
Lloh79:
	ldr	x26, [x26, _CPU_CORE_RESET@GOTPAGEOFF]
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x23]
	ldr	w22, [sp, #12]
	mov	x0, x20
	bl	_CPU_RST_CTL
	mov	x2, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w3, w9, w8
	mov	x0, x21
	mov	x1, x22
	bl	_bus_space_write_4
	add	w20, w20, #1
	ldr	w8, [x27]
	cmp	w20, w8
	b.lt	LBB0_47
LBB0_48:
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	ldr	w2, [x28]
	bl	_bus_space_read_4
	mov	x3, x0
	ldr	w8, [x27]
	cmp	w8, #2
	b.lt	LBB0_54
; %bb.49:
	sub	w11, w8, #1
	mov	w9, #1
	mov	w10, #1
	cmp	w11, #16
	b.lo	LBB0_53
; %bb.50:
	and	w12, w11, #0xfffffff0
	orr	w10, w12, #0x1
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w3
	movi.4s	v2, #4
Lloh80:
	adrp	x13, lCPI0_0@PAGE
Lloh81:
	ldr	q3, [x13, lCPI0_0@PAGEOFF]
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #1
	movi.4s	v7, #16
	mov	x13, x12
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_51:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v3, v2
	add.4s	v19, v3, v4
	add.4s	v20, v3, v5
	ushl.4s	v21, v6, v3
	ushl.4s	v18, v6, v18
	ushl.4s	v19, v6, v19
	ushl.4s	v20, v6, v20
	orr.16b	v1, v1, v21
	orr.16b	v0, v0, v18
	orr.16b	v16, v16, v19
	orr.16b	v17, v17, v20
	add.4s	v3, v3, v7
	subs	w13, w13, #16
	b.ne	LBB0_51
; %bb.52:
	orr.16b	v0, v0, v1
	orr.16b	v0, v16, v0
	orr.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w13, s0
	mov.s	w14, v0[1]
	orr	w3, w13, w14
	cmp	w11, w12
	b.eq	LBB0_54
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w9, w10
	orr	w3, w3, w11
	add	w10, w10, #1
	cmp	w8, w10
	b.ne	LBB0_53
LBB0_54:
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	ldr	w2, [x28]
	bl	_bus_space_write_4
	bl	_dsb
	bl	_sev
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	ldr	w2, [x24]
	bl	_bus_space_unmap
Lloh82:
	adrp	x8, _ALLWINNERSOC_SUN7I@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ALLWINNERSOC_SUN7I@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_56
; %bb.55:
	ldr	w0, [x23]
	ldr	w1, [sp, #8]
Lloh85:
	adrp	x8, _PRCM_SIZE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _PRCM_SIZE@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
	bl	_bus_space_unmap
LBB0_56:
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdr	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdr	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdr	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdr	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_ALLWINNERSOC_SUN7I,4,2         ; @ALLWINNERSOC_SUN7I
	.comm	_fdtbus_bs_tag,4,2              ; @fdtbus_bs_tag
	.comm	_A20_CPUCFG_BASE,4,2            ; @A20_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	_CPUCFG_BASE,4,2                ; @CPUCFG_BASE
	.comm	_PRCM_BASE,4,2                  ; @PRCM_BASE
	.comm	_PRCM_SIZE,4,2                  ; @PRCM_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't map the PRCM\n"

	.comm	_CPUCFG_P_REG0,4,2              ; @CPUCFG_P_REG0
	.comm	_mpentry,8,3                    ; @mpentry
	.comm	_mp_ncpus,4,2                   ; @mp_ncpus
	.comm	_CPUCFG_GENCTL,4,2              ; @CPUCFG_GENCTL
	.comm	_CPUCFG_DBGCTL1,4,2             ; @CPUCFG_DBGCTL1
	.comm	_CPU_PWR_CLAMP_STEPS,4,2        ; @CPU_PWR_CLAMP_STEPS
	.comm	_A20_CPU1_PWR_CLAMP,4,2         ; @A20_CPU1_PWR_CLAMP
	.comm	_CPU_PWROFF,4,2                 ; @CPU_PWROFF
	.comm	_A20_CPU1_PWROFF_REG,4,2        ; @A20_CPU1_PWROFF_REG
	.comm	_CPU_RESET,4,2                  ; @CPU_RESET
	.comm	_CPU_CORE_RESET,4,2             ; @CPU_CORE_RESET
.subsections_via_symbols
