	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdsp_set_dds_value
_hdsp_set_dds_value:                    ## @hdsp_set_dds_value
	.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
	xorl	%eax, %eax
	cmpl	$56000, %esi                    ## imm = 0xDAC0
	setge	%al
	cmpl	$112000, %esi                   ## imm = 0x1B580
	movl	$2, %ecx
	cmovll	%eax, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %esi
	movq	%rdi, %r14
	movq	_DDS_NUMERATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_div_u64
	movl	%eax, %ebx
	callq	_snd_BUG_ON
	movl	%ebx, (%r14)
	movq	_HDSP_freqReg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hdsp_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DDS_NUMERATOR,4,2              ## @DDS_NUMERATOR
	.comm	_HDSP_freqReg,4,2               ## @HDSP_freqReg
	.no_dead_strip	_hdsp_set_dds_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdsp_set_dds_value
_hdsp_set_dds_value:                    ; @hdsp_set_dds_value
	.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, x0
	mov	w8, #55999
	cmp	w1, w8
	cset	w8, gt
	mov	w9, #46463
	movk	w9, #1, lsl #16
	mov	w10, #2
	cmp	w1, w9
	csel	w8, w10, w8, gt
	lsr	w1, w1, w8
Lloh0:
	adrp	x8, _DDS_NUMERATOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDS_NUMERATOR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_div_u64
	mov	x20, x0
	bl	_snd_BUG_ON
	str	w20, [x19]
Lloh3:
	adrp	x8, _HDSP_freqReg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDSP_freqReg@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hdsp_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DDS_NUMERATOR,4,2              ; @DDS_NUMERATOR
	.comm	_HDSP_freqReg,4,2               ; @HDSP_freqReg
	.no_dead_strip	_hdsp_set_dds_value
.subsections_via_symbols
