	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sndrate_prevnext
_sndrate_prevnext:                      ## @sndrate_prevnext
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	movl	$0, %ecx
	cmpl	$11025, %edi                    ## imm = 0x2B11
	je	LBB0_6
## %bb.1:
	cmpl	$22050, %edi                    ## imm = 0x5622
	je	LBB0_4
## %bb.2:
	cmpl	$44100, %edi                    ## imm = 0xAC44
	jne	LBB0_3
## %bb.5:
	movl	$2, %ecx
	jmp	LBB0_6
LBB0_4:
	movl	$1, %ecx
	jmp	LBB0_6
LBB0_3:
	movl	$5, %ecx
LBB0_6:
	cmpl	$1, %esi
	sbbl	%eax, %eax
	orl	$1, %eax
	addl	%ecx, %eax
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.7:
	testl	%esi, %esi
	movl	$22050, %ecx                    ## imm = 0x5622
	movl	$44100, %eax                    ## imm = 0xAC44
	cmovel	%ecx, %eax
	retq
LBB0_8:
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%eax, %eax
	leaq	l___const.sndrate_prevnext.rates(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	popq	%rbp
	retq
LBB0_9:
	testl	%esi, %esi
	movl	$11025, %ecx                    ## imm = 0x2B11
	movl	$22050, %eax                    ## imm = 0x5622
	cmovel	%ecx, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.sndrate_prevnext.rates
l___const.sndrate_prevnext.rates:
	.long	11025                           ## 0x2b11
	.long	22050                           ## 0x5622
	.long	44100                           ## 0xac44

	.no_dead_strip	_sndrate_prevnext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sndrate_prevnext
_sndrate_prevnext:                      ; @sndrate_prevnext
	.cfi_startproc
; %bb.0:
	mov	w10, #11025
	mov	w8, #22050
	mov	w11, #1
	mov	w9, #44100
	mov	w12, #2
	mov	w13, #5
	cmp	w0, w9
	csel	w12, w12, w13, eq
	cmp	w0, w8
	csel	w11, w11, w12, eq
	cmp	w0, w10
	csel	w10, wzr, w11, eq
	sub	w11, w10, #1
	cmp	w1, #0
	csinc	w10, w11, w10, eq
	cmp	w10, #3
	b.lt	LBB0_2
; %bb.1:
	cmp	w1, #0
	csel	w0, w8, w9, eq
	ret
LBB0_2:
	tbnz	w10, #31, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, l___const.sndrate_prevnext.rates@PAGE
Lloh1:
	add	x8, x8, l___const.sndrate_prevnext.rates@PAGEOFF
	ldr	w0, [x8, w10, uxtw #2]
	ret
LBB0_4:
	mov	w8, #22050
	mov	w9, #11025
	cmp	w1, #0
	csel	w0, w9, w8, eq
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.sndrate_prevnext.rates
l___const.sndrate_prevnext.rates:
	.long	11025                           ; 0x2b11
	.long	22050                           ; 0x5622
	.long	44100                           ; 0xac44

	.no_dead_strip	_sndrate_prevnext
.subsections_via_symbols
