	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_samplerate
_set_samplerate:                        ## @set_samplerate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_wv_rates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, (%rax)
	je	LBB0_15
## %bb.1:
	movl	$1, %edx
	cmpq	%rcx, 8(%rax)
	je	LBB0_15
## %bb.2:
	movl	$2, %edx
	cmpq	%rcx, 16(%rax)
	je	LBB0_15
## %bb.3:
	movl	$3, %edx
	cmpq	%rcx, 24(%rax)
	je	LBB0_15
## %bb.4:
	movl	$4, %edx
	cmpq	%rcx, 32(%rax)
	je	LBB0_15
## %bb.5:
	movl	$5, %edx
	cmpq	%rcx, 40(%rax)
	je	LBB0_15
## %bb.6:
	movl	$6, %edx
	cmpq	%rcx, 48(%rax)
	je	LBB0_15
## %bb.7:
	movl	$7, %edx
	cmpq	%rcx, 56(%rax)
	je	LBB0_15
## %bb.8:
	movl	$8, %edx
	cmpq	%rcx, 64(%rax)
	je	LBB0_15
## %bb.9:
	movl	$9, %edx
	cmpq	%rcx, 72(%rax)
	je	LBB0_15
## %bb.10:
	movl	$10, %edx
	cmpq	%rcx, 80(%rax)
	je	LBB0_15
## %bb.11:
	movl	$11, %edx
	cmpq	%rcx, 88(%rax)
	je	LBB0_15
## %bb.12:
	movl	$12, %edx
	cmpq	%rcx, 96(%rax)
	je	LBB0_15
## %bb.13:
	movl	$13, %edx
	cmpq	%rcx, 104(%rax)
	je	LBB0_15
## %bb.14:
	xorl	%edx, %edx
	cmpq	%rcx, 112(%rax)
	sete	%dl
	xorl	$15, %edx
LBB0_15:
	movq	_SRATE_LSB@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	%edx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wv_rates,8,3                   ## @wv_rates
	.comm	_SRATE_LSB,4,2                  ## @SRATE_LSB
	.no_dead_strip	_set_samplerate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_samplerate
_set_samplerate:                        ; @set_samplerate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _wv_rates@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wv_rates@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	ldr	x10, [x8]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_29
LBB0_2:
	ldr	x10, [x8, #8]
	cmp	x10, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #1
	b	LBB0_29
LBB0_4:
	ldr	x10, [x8, #16]
	cmp	x10, x9
	b.ne	LBB0_6
; %bb.5:
	mov	w8, #2
	b	LBB0_29
LBB0_6:
	ldr	x10, [x8, #24]
	cmp	x10, x9
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #3
	b	LBB0_29
LBB0_8:
	ldr	x10, [x8, #32]
	cmp	x10, x9
	b.ne	LBB0_10
; %bb.9:
	mov	w8, #4
	b	LBB0_29
LBB0_10:
	ldr	x10, [x8, #40]
	cmp	x10, x9
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #5
	b	LBB0_29
LBB0_12:
	ldr	x10, [x8, #48]
	cmp	x10, x9
	b.ne	LBB0_14
; %bb.13:
	mov	w8, #6
	b	LBB0_29
LBB0_14:
	ldr	x10, [x8, #56]
	cmp	x10, x9
	b.ne	LBB0_16
; %bb.15:
	mov	w8, #7
	b	LBB0_29
LBB0_16:
	ldr	x10, [x8, #64]
	cmp	x10, x9
	b.ne	LBB0_18
; %bb.17:
	mov	w8, #8
	b	LBB0_29
LBB0_18:
	ldr	x10, [x8, #72]
	cmp	x10, x9
	b.ne	LBB0_20
; %bb.19:
	mov	w8, #9
	b	LBB0_29
LBB0_20:
	ldr	x10, [x8, #80]
	cmp	x10, x9
	b.ne	LBB0_22
; %bb.21:
	mov	w8, #10
	b	LBB0_29
LBB0_22:
	ldr	x10, [x8, #88]
	cmp	x10, x9
	b.ne	LBB0_24
; %bb.23:
	mov	w8, #11
	b	LBB0_29
LBB0_24:
	ldr	x10, [x8, #96]
	cmp	x10, x9
	b.ne	LBB0_26
; %bb.25:
	mov	w8, #12
	b	LBB0_29
LBB0_26:
	ldr	x10, [x8, #104]
	cmp	x10, x9
	b.ne	LBB0_28
; %bb.27:
	mov	w8, #13
	b	LBB0_29
LBB0_28:
	ldr	x8, [x8, #112]
	cmp	x8, x9
	mov	w8, #14
	cinc	w8, w8, ne
LBB0_29:
Lloh3:
	adrp	x9, _SRATE_LSB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SRATE_LSB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_wv_rates,8,3                   ; @wv_rates
	.comm	_SRATE_LSB,4,2                  ; @SRATE_LSB
	.no_dead_strip	_set_samplerate
.subsections_via_symbols
