	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_voice
_alloc_voice:                           ## @alloc_voice
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %eax
	shll	$8, %eax
	leal	1(%rdx), %r14d
	orl	%eax, %r14d
	movq	_synth_devs@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%edi, %rbx
	movq	(%rax,%rbx,8), %rax
	leaq	8(%rax), %rcx
	movl	%ebx, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%rax)
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	8(%rcx), %rdx
	cltq
	movw	%r14w, (%rdx,%rax,2)
	movslq	16(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%rcx)
	movq	24(%rcx), %rcx
	movq	%rdx, (%rcx,%rax,8)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_synth_devs,8,3                 ## @synth_devs
	.no_dead_strip	_alloc_voice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_voice
_alloc_voice:                           ; @alloc_voice
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
                                        ; kill: def $w0 killed $w0 def $x0
	add	w8, w2, #1
	orr	w19, w8, w1, lsl #8
Lloh0:
	adrp	x20, _synth_devs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _synth_devs@GOTPAGEOFF]
	ldr	x8, [x20]
	sbfiz	x21, x0, #3, #32
	ldr	x3, [x8, x21]
	ldr	x8, [x3], #8
                                        ; kill: def $w0 killed $w0 killed $x0
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8, x21]
	ldr	x9, [x8, #8]
	strh	w19, [x9, w0, sxtw #1]
	ldrsw	x9, [x8, #16]
	add	w10, w9, #1
	str	w10, [x8, #16]
	ldr	x8, [x8, #24]
	str	x9, [x8, w0, sxtw #3]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_synth_devs,8,3                 ; @synth_devs
	.no_dead_strip	_alloc_voice
.subsections_via_symbols
