	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs4281_rate
_snd_cs4281_rate:                       ## @snd_cs4281_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	%edi, (%rsi)
LBB0_2:
	cmpl	$22049, %edi                    ## imm = 0x5621
	jg	LBB0_8
## %bb.3:
	cmpl	$8000, %edi                     ## imm = 0x1F40
	je	LBB0_4
## %bb.5:
	cmpl	$11025, %edi                    ## imm = 0x2B11
	je	LBB0_12
## %bb.6:
	cmpl	$16000, %edi                    ## imm = 0x3E80
	jne	LBB0_15
## %bb.7:
	movl	$3, %ecx
	jmp	LBB0_17
LBB0_8:
	cmpl	$22050, %edi                    ## imm = 0x5622
	je	LBB0_13
## %bb.9:
	cmpl	$44100, %edi                    ## imm = 0xAC44
	je	LBB0_14
## %bb.10:
	cmpl	$48000, %edi                    ## imm = 0xBB80
	jne	LBB0_15
## %bb.11:
	xorl	%ecx, %ecx
	jmp	LBB0_17
LBB0_4:
	movl	$5, %ecx
	jmp	LBB0_17
LBB0_12:
	movl	$4, %ecx
	jmp	LBB0_17
LBB0_13:
	movl	$2, %ecx
	jmp	LBB0_17
LBB0_14:
	movl	$1, %ecx
	jmp	LBB0_17
LBB0_15:
	movl	$1536000, %eax                  ## imm = 0x177000
	xorl	%edx, %edx
	divl	%edi
	movl	%eax, %ecx
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.16:
	movl	$1536000, %eax                  ## imm = 0x177000
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, (%rsi)
LBB0_17:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_cs4281_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs4281_rate
_snd_cs4281_rate:                       ; @snd_cs4281_rate
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	str	w0, [x1]
LBB0_2:
	mov	w8, #22049
	cmp	w0, w8
	b.gt	LBB0_7
; %bb.3:
	mov	w8, #8000
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.4:
	mov	w8, #11025
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.5:
	mov	w8, #16000
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.6:
	mov	w0, #3
	ret
LBB0_7:
	mov	w8, #22050
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.8:
	mov	w8, #44100
	cmp	w0, w8
	b.eq	LBB0_14
; %bb.9:
	mov	w8, #48000
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.10:
	mov	w0, #0
	ret
LBB0_11:
	mov	w0, #5
	ret
LBB0_12:
	mov	w0, #4
	ret
LBB0_13:
	mov	w0, #2
	ret
LBB0_14:
	mov	w0, #1
	ret
LBB0_15:
	mov	w8, #28672
	movk	w8, #23, lsl #16
	udiv	w0, w8, w0
	cbz	x1, LBB0_17
; %bb.16:
	udiv	w8, w8, w0
	str	w8, [x1]
LBB0_17:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_cs4281_rate
.subsections_via_symbols
