	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10codec_chan_setspeed
_a10codec_chan_setspeed:                ## @a10codec_chan_setspeed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	cmpl	$23999, %edx                    ## imm = 0x5DBF
	jle	LBB0_1
## %bb.9:
	cmpl	$47999, %eax                    ## imm = 0xBB7F
	jg	LBB0_14
## %bb.10:
	cmpl	$24000, %eax                    ## imm = 0x5DC0
	je	LBB0_18
## %bb.11:
	cmpl	$32000, %eax                    ## imm = 0x7D00
	je	LBB0_18
## %bb.12:
	cmpl	$44100, %eax                    ## imm = 0xAC44
	jmp	LBB0_13
LBB0_1:
	cmpl	$11999, %eax                    ## imm = 0x2EDF
	jle	LBB0_2
## %bb.5:
	cmpl	$12000, %eax                    ## imm = 0x2EE0
	je	LBB0_18
## %bb.6:
	cmpl	$16000, %eax                    ## imm = 0x3E80
	je	LBB0_18
## %bb.7:
	cmpl	$22050, %eax                    ## imm = 0x5622
	jne	LBB0_13
## %bb.8:
	movl	$24000, (%rsi)                  ## imm = 0x5DC0
	movl	$24000, %eax                    ## imm = 0x5DC0
	popq	%rbp
	retq
LBB0_14:
	cmpl	$192000, %eax                   ## imm = 0x2EE00
	je	LBB0_17
## %bb.15:
	cmpl	$96000, %eax                    ## imm = 0x17700
	je	LBB0_17
## %bb.16:
	cmpl	$48000, %eax                    ## imm = 0xBB80
	je	LBB0_18
	jmp	LBB0_13
LBB0_2:
	cmpl	$8000, %eax                     ## imm = 0x1F40
	je	LBB0_18
## %bb.3:
	cmpl	$11025, %eax                    ## imm = 0x2B11
	jne	LBB0_13
## %bb.4:
	movl	$12000, (%rsi)                  ## imm = 0x2EE0
	movl	$12000, %eax                    ## imm = 0x2EE0
	popq	%rbp
	retq
LBB0_17:
	movl	4(%rsi), %ecx
	movq	_PCMDIR_PLAY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_13
LBB0_18:
	movl	%eax, (%rsi)
	popq	%rbp
	retq
LBB0_13:
	movl	$48000, (%rsi)                  ## imm = 0xBB80
	movl	$48000, %eax                    ## imm = 0xBB80
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCMDIR_PLAY,4,2                ## @PCMDIR_PLAY
	.no_dead_strip	_a10codec_chan_setspeed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10codec_chan_setspeed
_a10codec_chan_setspeed:                ; @a10codec_chan_setspeed
	.cfi_startproc
; %bb.0:
	mov	x0, x2
	mov	w8, #23999
	cmp	w2, w8
	b.le	LBB0_5
; %bb.1:
	mov	w8, #47999
	cmp	w0, w8
	b.gt	LBB0_10
; %bb.2:
	mov	w8, #24000
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.3:
	mov	w8, #32000
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.4:
	mov	w8, #44100
	cmp	w0, w8
	b	LBB0_18
LBB0_5:
	mov	w8, #11999
	cmp	w0, w8
	b.le	LBB0_14
; %bb.6:
	mov	w8, #12000
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.7:
	mov	w8, #16000
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.8:
	mov	w8, #22050
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.9:
	mov	w0, #24000
	str	w0, [x1]
	ret
LBB0_10:
	mov	w8, #60928
	movk	w8, #2, lsl #16
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.11:
	mov	w8, #30464
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.12:
	mov	w8, #48000
	cmp	w0, w8
	b.ne	LBB0_18
LBB0_13:
	str	w0, [x1]
	ret
LBB0_14:
	mov	w8, #8000
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.15:
	mov	w8, #11025
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.16:
	mov	w0, #12000
	str	w0, [x1]
	ret
LBB0_17:
	ldr	w8, [x1, #4]
Lloh0:
	adrp	x9, _PCMDIR_PLAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCMDIR_PLAY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_13
LBB0_18:
	mov	w0, #48000
	str	w0, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCMDIR_PLAY,4,2                ; @PCMDIR_PLAY
	.no_dead_strip	_a10codec_chan_setspeed
.subsections_via_symbols
