	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv6xx_calculate_spread_spectrum_clk_s
_rv6xx_calculate_spread_spectrum_clk_s: ## @rv6xx_calculate_spread_spectrum_clk_s
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %eax
	addl	%edi, %edi
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	addl	$2, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rv6xx_calculate_spread_spectrum_clk_s
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv6xx_calculate_spread_spectrum_clk_s
_rv6xx_calculate_spread_spectrum_clk_s: ; @rv6xx_calculate_spread_spectrum_clk_s
	.cfi_startproc
; %bb.0:
	add	w8, w1, w1, lsl #2
	lsl	w8, w8, #1
	lsl	w9, w0, #1
	sdiv	w8, w8, w9
	sub	w9, w8, #1
	add	w8, w8, #2
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w0, w8, #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rv6xx_calculate_spread_spectrum_clk_s
.subsections_via_symbols
