	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function waveartist_get_speed
_waveartist_get_speed:                  ## @waveartist_get_speed
	.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), %eax
	cmpl	$22049, %eax                    ## imm = 0x5621
	jg	LBB0_3
## %bb.1:
	cmpl	$8000, %eax                     ## imm = 0x1F40
	je	LBB0_2
## %bb.8:
	cmpl	$11025, %eax                    ## imm = 0x2B11
	jne	LBB0_9
## %bb.6:
	movl	$16384, %eax                    ## imm = 0x4000
	popq	%rbp
	retq
LBB0_3:
	cmpl	$22050, %eax                    ## imm = 0x5622
	je	LBB0_7
## %bb.4:
	cmpl	$44100, %eax                    ## imm = 0xAC44
	jne	LBB0_9
## %bb.5:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	shll	$16, %eax
	movl	$3191326267, %ecx               ## imm = 0xBE37C63B
	imulq	%rax, %rcx
	shrq	$47, %rcx
	movzwl	%cx, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$11889, %eax                    ## imm = 0x2E71
	popq	%rbp
	retq
LBB0_7:
	movl	$32768, %eax                    ## imm = 0x8000
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_waveartist_get_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function waveartist_get_speed
_waveartist_get_speed:                  ; @waveartist_get_speed
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #22049
	cmp	w8, w9
	b.gt	LBB0_4
; %bb.1:
	mov	w9, #8000
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.2:
	mov	w9, #11025
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #16384
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_4:
	mov	w9, #22050
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.5:
	mov	w9, #44100
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_7:
	lsl	w8, w8, #16
	mov	w9, #50747
	movk	w9, #48695, lsl #16
	umull	x8, w8, w9
	ubfx	x0, x8, #47, #16
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_8:
	mov	w0, #11889
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_9:
	mov	w0, #32768
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_waveartist_get_speed
.subsections_via_symbols
