	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cypress_enable_spread_spectrum ## -- Begin function cypress_enable_spread_spectrum
	.p2align	4, 0x90
_cypress_enable_spread_spectrum:        ## @cypress_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_rv770_get_pi
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %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
	callq	_WREG32_P
LBB0_3:
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.4:
	movq	_MPLL_CNTL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SS_SSEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	jmp	LBB0_5
LBB0_6:
	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
	callq	_WREG32_P
	movq	_MPLL_CNTL_MODE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SS_SSEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
	callq	_WREG32_P
	movl	(%rbx), %edi
	movq	_SS_DSMODE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	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	_MPLL_CNTL_MODE,4,2             ## @MPLL_CNTL_MODE
	.comm	_SS_SSEN,4,2                    ## @SS_SSEN
	.comm	_CG_SPLL_SPREAD_SPECTRUM,4,2    ## @CG_SPLL_SPREAD_SPECTRUM
	.comm	_SSEN,4,2                       ## @SSEN
	.comm	_SS_DSMODE_EN,4,2               ## @SS_DSMODE_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cypress_enable_spread_spectrum ; -- Begin function cypress_enable_spread_spectrum
	.p2align	2
_cypress_enable_spread_spectrum:        ; @cypress_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	x20, x1
	bl	_rv770_get_pi
	cbz	w20, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERA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F]
	ldr	w0, [x19]
Lloh26:
	adrp	x8, _SS_SSEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SS_SSEN@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	bl	_WREG32_P
Lloh29:
	adrp	x8, _SS_DSMODE_EN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SS_DSMODE_EN@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh31:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_P
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERAL_PWRMGT,4,2             ; @GENERAL_PWRMGT
	.comm	_DYN_SPREAD_SPECTRUM_EN,4,2     ; @DYN_SPREAD_SPECTRUM_EN
	.comm	_MPLL_CNTL_MODE,4,2             ; @MPLL_CNTL_MODE
	.comm	_SS_SSEN,4,2                    ; @SS_SSEN
	.comm	_CG_SPLL_SPREAD_SPECTRUM,4,2    ; @CG_SPLL_SPREAD_SPECTRUM
	.comm	_SSEN,4,2                       ; @SSEN
	.comm	_SS_DSMODE_EN,4,2               ; @SS_DSMODE_EN
.subsections_via_symbols
