	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs46xx_set_play_sample_rate
_snd_cs46xx_set_play_sample_rate:       ## @snd_cs46xx_set_play_sample_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	shll	$16, %esi
	imulq	$91625969, %rsi, %rbx           ## imm = 0x57619F1
	shrq	$42, %rbx
	imull	$4146304, %ebx, %ecx            ## imm = 0x3F4480
	addl	%esi, %ecx
	shll	$10, %ecx
	imulq	$91625969, %rcx, %rsi           ## imm = 0x57619F1
	shrq	$42, %rsi
	imull	$-48000, %esi, %eax             ## imm = 0xFFFF4480
	addl	%ecx, %eax
	movq	_GOF_PER_SEC@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %r15d
	movl	%edx, %r12d
	shll	$10, %ebx
	addl	%esi, %ebx
	callq	_spin_lock_irqsave
	movq	_BA1_PSRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$16, %r12d
	movzwl	%r15w, %edx
	orl	%r12d, %edx
	movq	%r14, %rdi
	callq	_snd_cs46xx_poke
	movq	_BA1_PPI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_snd_cs46xx_poke
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GOF_PER_SEC,4,2                ## @GOF_PER_SEC
	.comm	_BA1_PSRC,4,2                   ## @BA1_PSRC
	.comm	_BA1_PPI,4,2                    ## @BA1_PPI
	.no_dead_strip	_snd_cs46xx_set_play_sample_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs46xx_set_play_sample_rate
_snd_cs46xx_set_play_sample_rate:       ; @snd_cs46xx_set_play_sample_rate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	lsl	w8, w1, #16
	mov	w9, #6641
	movk	w9, #1398, lsl #16
	umull	x10, w8, w9
	lsr	x10, x10, #42
	mov	w11, #17536
	movk	w11, #63, lsl #16
	madd	w8, w10, w11, w8
	lsl	w8, w8, #10
	umull	x9, w8, w9
	lsr	x9, x9, #42
	add	w20, w9, w10, lsl #10
	mov	w10, #-48000
	madd	w8, w9, w10, w8
Lloh0:
	adrp	x9, _GOF_PER_SEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GOF_PER_SEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	w21, w8, w9
	msub	w22, w21, w9, w8
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x8, _BA1_PSRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BA1_PSRC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bfi	w21, w22, #16, #16
	mov	x0, x19
	mov	x2, x21
	bl	_snd_cs46xx_poke
Lloh6:
	adrp	x8, _BA1_PPI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BA1_PPI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_snd_cs46xx_poke
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GOF_PER_SEC,4,2                ; @GOF_PER_SEC
	.comm	_BA1_PSRC,4,2                   ; @BA1_PSRC
	.comm	_BA1_PPI,4,2                    ; @BA1_PPI
	.no_dead_strip	_snd_cs46xx_set_play_sample_rate
.subsections_via_symbols
