	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_note_to_freq                   ## -- Begin function note_to_freq
	.p2align	4, 0x90
_note_to_freq:                          ## @note_to_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edi, %rdx
	imulq	$715827883, %rdx, %rcx          ## imm = 0x2AAAAAAB
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$33, %rcx
	addl	%eax, %ecx
	leal	(,%rcx,4), %eax
	leal	(%rax,%rax,2), %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movslq	%esi, %rax
	leaq	_note_to_freq.notes(%rip), %rsi
	movl	(%rsi,%rax,4), %eax
	cmpl	$59, %edx
	jg	LBB0_2
## %bb.1:
	movb	$5, %dl
	subb	%cl, %dl
	movl	%edx, %ecx
	sarl	%cl, %eax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$72, %edi
	jb	LBB0_4
## %bb.3:
	addb	$-5, %cl
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @note_to_freq.notes
_note_to_freq.notes:
	.long	261632                          ## 0x3fe00
	.long	277189                          ## 0x43ac5
	.long	293671                          ## 0x47b27
	.long	311132                          ## 0x4bf5c
	.long	329632                          ## 0x507a0
	.long	349232                          ## 0x55430
	.long	369998                          ## 0x5a54e
	.long	391998                          ## 0x5fb3e
	.long	415306                          ## 0x6564a
	.long	440000                          ## 0x6b6c0
	.long	466162                          ## 0x71cf2
	.long	493880                          ## 0x78938

	.comm	_BASE_OCTAVE,4,2                ## @BASE_OCTAVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_note_to_freq                   ; -- Begin function note_to_freq
	.p2align	2
_note_to_freq:                          ; @note_to_freq
	.cfi_startproc
; %bb.0:
	mov	w8, #43691
	movk	w8, #10922, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	mov	w10, #12
	mov	w11, #5
	add	w8, w8, w9
	sub	w9, w11, w8
	msub	w10, w8, w10, w0
Lloh0:
	adrp	x11, _note_to_freq.notes@PAGE
Lloh1:
	add	x11, x11, _note_to_freq.notes@PAGEOFF
	ldr	w10, [x11, w10, sxtw #2]
	sub	w8, w8, #5
	lsl	w8, w10, w8
	cmp	w0, #72
	csel	w8, w10, w8, lo
	asr	w9, w10, w9
	cmp	w0, #59
	csel	w0, w8, w9, gt
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @note_to_freq.notes
_note_to_freq.notes:
	.long	261632                          ; 0x3fe00
	.long	277189                          ; 0x43ac5
	.long	293671                          ; 0x47b27
	.long	311132                          ; 0x4bf5c
	.long	329632                          ; 0x507a0
	.long	349232                          ; 0x55430
	.long	369998                          ; 0x5a54e
	.long	391998                          ; 0x5fb3e
	.long	415306                          ; 0x6564a
	.long	440000                          ; 0x6b6c0
	.long	466162                          ; 0x71cf2
	.long	493880                          ; 0x78938

	.comm	_BASE_OCTAVE,4,2                ; @BASE_OCTAVE
.subsections_via_symbols
