	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_mc_mp_start_cpu
_aw_mc_mp_start_cpu:                    ## @aw_mc_mp_start_cpu
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ecx, %edi
	callq	_CPUX_CL_RST
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%eax, %edx
	callq	_bus_space_read_4
	movl	$1, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movl	$-2, %edx
	roll	%cl, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, %r15d
	btrl	%r14d, %r15d
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_CPUX_CL_RST
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_bus_space_write_4
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_CPUS_CL_RST
	movl	%r15d, %edi
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_bus_space_read_4
	movl	%eax, %r15d
	btrl	%r14d, %r15d
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_CPUS_CL_RST
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_bus_space_write_4
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movl	%r13d, %edi
	callq	_CPUX_CL_CTRL0
	movl	%r15d, %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_bus_space_read_4
	movl	%eax, %r15d
	btrl	%r14d, %r15d
	movl	(%r12), %r12d
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	_CPUX_CL_CTRL0
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_bus_space_write_4
	movq	_CPU_PWR_CLAMP_STEPS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	js	LBB0_3
## %bb.1:
	movl	$-1, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_PRCM_CL_PWR_CLAMP
	movl	$255, %ebx
	movl	%r15d, %ecx
	shrl	%cl, %ebx
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_bus_space_write_4
	cmpl	(%r12), %r15d
	jl	LBB0_2
LBB0_3:
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %r13
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ebx
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_PRCM_CL_PWR_CLAMP
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_bus_space_read_4
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:
	movl	(%r13), %ebx
	movl	%r15d, %edi
	callq	_PRCM_CL_PWROFF
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_bus_space_read_4
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	andl	%eax, %ebx
	movl	(%r13), %r14d
	movl	%r15d, %edi
	callq	_PRCM_CL_PWROFF
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_bus_space_write_4
	movl	(%r13), %ebx
	movl	%r15d, %edi
	callq	_CPUS_CL_RST
	movl	%ebx, %edi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_bus_space_read_4
	movl	%eax, %ebx
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	orl	%r12d, %ebx
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_CPUS_CL_RST
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_bus_space_write_4
	movl	(%r13), %ebx
	movl	%r15d, %edi
	callq	_CPUX_CL_RST
	movl	%ebx, %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_bus_space_read_4
	orl	%eax, %r12d
	movl	(%r13), %r14d
	movl	%r15d, %edi
	callq	_CPUX_CL_RST
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r12d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_space_write_4              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fdtbus_bs_tag,4,2              ## @fdtbus_bs_tag
	.comm	_CPU_PWR_CLAMP_STEPS,4,2        ## @CPU_PWR_CLAMP_STEPS
	.no_dead_strip	_aw_mc_mp_start_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_mc_mp_start_cpu
_aw_mc_mp_start_cpu:                    ; @aw_mc_mp_start_cpu
	.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
	mov	x23, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x26, _fdtbus_bs_tag@GOTPAGE
Lloh1:
	ldr	x26, [x26, _fdtbus_bs_tag@GOTPAGEOFF]
	ldr	w24, [x26]
	mov	x0, x3
	bl	_CPUX_CL_RST
	mov	x2, x0
	mov	x0, x24
	mov	x1, x19
	bl	_bus_space_read_4
	mov	w8, #1
	lsl	w27, w8, w23
	bic	w24, w0, w27
	ldr	w25, [x26]
	mov	x0, x20
	bl	_CPUX_CL_RST
	mov	x2, x0
	mov	x0, x25
	mov	x1, x19
	mov	x3, x24
	bl	_bus_space_write_4
	ldr	w24, [x26]
	mov	x0, x20
	bl	_CPUS_CL_RST
	mov	x2, x0
	mov	x0, x24
	mov	x1, x21
	bl	_bus_space_read_4
	bic	w24, w0, w27
	ldr	w25, [x26]
	mov	x0, x20
	bl	_CPUS_CL_RST
	mov	x2, x0
	mov	x0, x25
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	mov	x1, x21
	mov	x3, x24
	bl	_bus_space_write_4
	ldr	w24, [x26]
	mov	x0, x20
	bl	_CPUX_CL_CTRL0
	mov	x2, x0
	mov	x0, x24
	mov	x1, x19
	bl	_bus_space_read_4
	bic	w24, w0, w27
	ldr	w25, [x26]
	mov	x0, x20
	bl	_CPUX_CL_CTRL0
	mov	x2, x0
	mov	x0, x25
	mov	x1, x19
	mov	x3, x24
	bl	_bus_space_write_4
Lloh2:
	adrp	x25, _CPU_PWR_CLAMP_STEPS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CPU_PWR_CLAMP_STEPS@GOTPAGEOFF]
	ldr	w8, [x25]
	tbnz	w8, #31, LBB0_3
; %bb.1:
	mov	w28, #-1
	mov	w21, #255
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w28, w28, #1
	ldr	w24, [x26]
	mov	x0, x20
	mov	x1, x23
	bl	_PRCM_CL_PWR_CLAMP
	mov	x2, x0
	lsr	w3, w21, w28
	mov	x0, x24
	mov	x1, x22
	bl	_bus_space_write_4
	ldr	w8, [x25]
	cmp	w28, w8
	b.lt	LBB0_2
LBB0_3:
	mvn	w25, w27
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x26]
	mov	x0, x20
	mov	x1, x23
	bl	_PRCM_CL_PWR_CLAMP
	mov	x2, x0
	mov	x0, x24
	mov	x1, x22
	bl	_bus_space_read_4
	cbnz	w0, LBB0_4
; %bb.5:
	ldr	w23, [x26]
	mov	x0, x20
	bl	_PRCM_CL_PWROFF
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_bus_space_read_4
	and	w23, w0, w25
	ldr	w24, [x26]
	mov	x0, x20
	bl	_PRCM_CL_PWROFF
	mov	x2, x0
	mov	x0, x24
	mov	x1, x22
	mov	x3, x23
	bl	_bus_space_write_4
	ldr	w22, [x26]
	mov	x0, x20
	bl	_CPUS_CL_RST
	mov	x2, x0
	mov	x0, x22
	ldr	w21, [sp, #12]                  ; 4-byte Folded Reload
	mov	x1, x21
	bl	_bus_space_read_4
	orr	w22, w0, w27
	ldr	w23, [x26]
	mov	x0, x20
	bl	_CPUS_CL_RST
	mov	x2, x0
	mov	x0, x23
	mov	x1, x21
	mov	x3, x22
	bl	_bus_space_write_4
	ldr	w21, [x26]
	mov	x0, x20
	bl	_CPUX_CL_RST
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_bus_space_read_4
	orr	w21, w0, w27
	ldr	w22, [x26]
	mov	x0, x20
	bl	_CPUX_CL_RST
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	mov	x3, x21
	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
	b	_bus_space_write_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_fdtbus_bs_tag,4,2              ; @fdtbus_bs_tag
	.comm	_CPU_PWR_CLAMP_STEPS,4,2        ; @CPU_PWR_CLAMP_STEPS
	.no_dead_strip	_aw_mc_mp_start_cpu
.subsections_via_symbols
