	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function waveartist_set_speed
_waveartist_set_speed:                  ## @waveartist_set_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_audio_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rcx
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	cmpl	$5001, %esi                     ## imm = 0x1389
	movl	$5000, %edx                     ## imm = 0x1388
	cmovgel	%esi, %edx
	cmpl	$44100, %edx                    ## imm = 0xAC44
	movl	$44100, %eax                    ## imm = 0xAC44
	cmovbl	%edx, %eax
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_1:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_devs,8,3                 ## @audio_devs
	.no_dead_strip	_waveartist_set_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function waveartist_set_speed
_waveartist_set_speed:                  ; @waveartist_set_speed
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _audio_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _audio_devs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x8, [x8]
	cmp	w1, #0
	b.le	LBB0_2
; %bb.1:
	mov	w9, #5000
	cmp	w1, w9
	csel	w9, w1, w9, gt
	mov	w10, #44100
	cmp	w9, w10
	csel	w0, w9, w10, lo
	str	w0, [x8]
	ret
LBB0_2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_devs,8,3                 ; @audio_devs
	.no_dead_strip	_waveartist_set_speed
.subsections_via_symbols
