	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10codec_fs
_a10codec_fs:                           ## @a10codec_fs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_DAC_FS_48KHZ@GOTPCREL(%rip), %rax
	cmpl	$23999, %ecx                    ## imm = 0x5DBF
	jle	LBB0_1
## %bb.5:
	cmpl	$95999, %ecx                    ## imm = 0x176FF
	jg	LBB0_9
## %bb.6:
	cmpl	$24000, %ecx                    ## imm = 0x5DC0
	je	LBB0_12
## %bb.7:
	cmpl	$32000, %ecx                    ## imm = 0x7D00
	jne	LBB0_16
## %bb.8:
	movq	_DAC_FS_32KHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_1:
	cmpl	$8000, %ecx                     ## imm = 0x1F40
	je	LBB0_14
## %bb.2:
	cmpl	$12000, %ecx                    ## imm = 0x2EE0
	je	LBB0_13
## %bb.3:
	cmpl	$16000, %ecx                    ## imm = 0x3E80
	jne	LBB0_16
## %bb.4:
	movq	_DAC_FS_16KHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_9:
	cmpl	$96000, %ecx                    ## imm = 0x17700
	je	LBB0_15
## %bb.10:
	cmpl	$192000, %ecx                   ## imm = 0x2EE00
	jne	LBB0_16
## %bb.11:
	movq	_DAC_FS_192KHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movq	_DAC_FS_24KHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_DAC_FS_8KHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_DAC_FS_96KHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_DAC_FS_12KHZ@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAC_FS_48KHZ,4,2               ## @DAC_FS_48KHZ
	.comm	_DAC_FS_24KHZ,4,2               ## @DAC_FS_24KHZ
	.comm	_DAC_FS_12KHZ,4,2               ## @DAC_FS_12KHZ
	.comm	_DAC_FS_192KHZ,4,2              ## @DAC_FS_192KHZ
	.comm	_DAC_FS_32KHZ,4,2               ## @DAC_FS_32KHZ
	.comm	_DAC_FS_16KHZ,4,2               ## @DAC_FS_16KHZ
	.comm	_DAC_FS_8KHZ,4,2                ## @DAC_FS_8KHZ
	.comm	_DAC_FS_96KHZ,4,2               ## @DAC_FS_96KHZ
	.no_dead_strip	_a10codec_fs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10codec_fs
_a10codec_fs:                           ; @a10codec_fs
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DAC_FS_48KHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DAC_FS_48KHZ@GOTPAGEOFF]
	mov	w10, #23999
	mov	w11, #30463
	movk	w11, #1, lsl #16
Lloh2:
	adrp	x12, _DAC_FS_96KHZ@GOTPAGE
Lloh3:
	ldr	x12, [x12, _DAC_FS_96KHZ@GOTPAGEOFF]
	sub	w13, w8, #46, lsl #12           ; =188416
Lloh4:
	adrp	x14, _DAC_FS_192KHZ@GOTPAGE
Lloh5:
	ldr	x14, [x14, _DAC_FS_192KHZ@GOTPAGEOFF]
	cmp	w13, #3584
	csel	x13, x14, x9, eq
	sub	w14, w8, #23, lsl #12           ; =94208
	cmp	w14, #1792
	csel	x12, x12, x13, eq
	mov	w13, #24000
Lloh6:
	adrp	x14, _DAC_FS_24KHZ@GOTPAGE
Lloh7:
	ldr	x14, [x14, _DAC_FS_24KHZ@GOTPAGEOFF]
	mov	w15, #32000
	cmp	w8, w15
Lloh8:
	adrp	x15, _DAC_FS_32KHZ@GOTPAGE
Lloh9:
	ldr	x15, [x15, _DAC_FS_32KHZ@GOTPAGEOFF]
	csel	x15, x15, x9, eq
	cmp	w8, w13
	csel	x13, x14, x15, eq
	cmp	w8, w11
	csel	x11, x12, x13, gt
	mov	w12, #8000
Lloh10:
	adrp	x13, _DAC_FS_8KHZ@GOTPAGE
Lloh11:
	ldr	x13, [x13, _DAC_FS_8KHZ@GOTPAGEOFF]
	mov	w14, #12000
Lloh12:
	adrp	x15, _DAC_FS_12KHZ@GOTPAGE
Lloh13:
	ldr	x15, [x15, _DAC_FS_12KHZ@GOTPAGEOFF]
	mov	w16, #16000
	cmp	w8, w16
Lloh14:
	adrp	x16, _DAC_FS_16KHZ@GOTPAGE
Lloh15:
	ldr	x16, [x16, _DAC_FS_16KHZ@GOTPAGEOFF]
	csel	x9, x16, x9, eq
	cmp	w8, w14
	csel	x9, x15, x9, eq
	cmp	w8, w12
	csel	x9, x13, x9, eq
	cmp	w8, w10
	csel	x8, x11, x9, gt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DAC_FS_48KHZ,4,2               ; @DAC_FS_48KHZ
	.comm	_DAC_FS_24KHZ,4,2               ; @DAC_FS_24KHZ
	.comm	_DAC_FS_12KHZ,4,2               ; @DAC_FS_12KHZ
	.comm	_DAC_FS_192KHZ,4,2              ; @DAC_FS_192KHZ
	.comm	_DAC_FS_32KHZ,4,2               ; @DAC_FS_32KHZ
	.comm	_DAC_FS_16KHZ,4,2               ; @DAC_FS_16KHZ
	.comm	_DAC_FS_8KHZ,4,2                ; @DAC_FS_8KHZ
	.comm	_DAC_FS_96KHZ,4,2               ; @DAC_FS_96KHZ
	.no_dead_strip	_a10codec_fs
.subsections_via_symbols
