	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_enable_spread_spectrum
_ci_enable_spread_spectrum:             ## @ci_enable_spread_spectrum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_ci_get_pi
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32_SMC
	movl	%eax, %esi
	movq	_DYN_SPREAD_SPECTRUM_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_4
LBB0_3:
	movq	_CG_SPLL_SPREAD_SPECTRUM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32_SMC
	movq	_SSEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_WREG32_SMC
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32_SMC
	movq	_DYN_SPREAD_SPECTRUM_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
LBB0_4:
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WREG32_SMC                     ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GENERAL_PWRMGT,4,2             ## @GENERAL_PWRMGT
	.comm	_DYN_SPREAD_SPECTRUM_EN,4,2     ## @DYN_SPREAD_SPECTRUM_EN
	.comm	_CG_SPLL_SPREAD_SPECTRUM,4,2    ## @CG_SPLL_SPREAD_SPECTRUM
	.comm	_SSEN,4,2                       ## @SSEN
	.no_dead_strip	_ci_enable_spread_spectrum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_enable_spread_spectrum
_ci_enable_spread_spectrum:             ; @ci_enable_spread_spectrum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_ci_get_pi
Lloh0:
	adrp	x20, _GENERAL_PWRMGT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GENERAL_PWRMGT@GOTPAGEOFF]
	cbz	w19, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w0, [x20]
	bl	_RREG32_SMC
Lloh2:
	adrp	x8, _DYN_SPREAD_SPECTRUM_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DYN_SPREAD_SPECTRUM_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w0
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x19, _CG_SPLL_SPREAD_SPECTRUM@GOTPAGE
Lloh6:
	ldr	x19, [x19, _CG_SPLL_SPREAD_SPECTRUM@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32_SMC
Lloh7:
	adrp	x8, _SSEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSEN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x19]
	bl	_WREG32_SMC
	ldr	w0, [x20]
	bl	_RREG32_SMC
Lloh10:
	adrp	x8, _DYN_SPREAD_SPECTRUM_EN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DYN_SPREAD_SPECTRUM_EN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w1, w0, w8
LBB0_4:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_SMC
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERAL_PWRMGT,4,2             ; @GENERAL_PWRMGT
	.comm	_DYN_SPREAD_SPECTRUM_EN,4,2     ; @DYN_SPREAD_SPECTRUM_EN
	.comm	_CG_SPLL_SPREAD_SPECTRUM,4,2    ; @CG_SPLL_SPREAD_SPECTRUM
	.comm	_SSEN,4,2                       ; @SSEN
	.no_dead_strip	_ci_enable_spread_spectrum
.subsections_via_symbols
