	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si_enable_spread_spectrum
_si_enable_spread_spectrum:             ## @si_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	_rv770_get_pi
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DYN_SPREAD_SPECTRUM_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	jmp	LBB0_3
LBB0_4:
	movq	_CG_SPLL_SPREAD_SPECTRUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
	callq	_WREG32_P
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DYN_SPREAD_SPECTRUM_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WREG32_P                       ## 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	_si_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 si_enable_spread_spectrum
_si_enable_spread_spectrum:             ; @si_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	_rv770_get_pi
	cbz	w19, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERAL_PWRMGT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DYN_SPREAD_SPECTRUM_EN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DYN_SPREAD_SPECTRUM_EN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w1, [x9]
	mvn	w2, w1
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _CG_SPLL_SPREAD_SPECTRUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CG_SPLL_SPREAD_SPECTRUM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _SSEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	bl	_WREG32_P
Lloh12:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GENERAL_PWRMGT@GOTPAGEOFF]
Lloh14:
	adrp	x9, _DYN_SPREAD_SPECTRUM_EN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DYN_SPREAD_SPECTRUM_EN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	ldr	w8, [x9]
	mvn	w2, w8
	mov	w1, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_P
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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	_si_enable_spread_spectrum
.subsections_via_symbols
