	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_synth_channel
_parse_synth_channel:                   ## @parse_synth_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$4, %rdi
	leaq	8(%rbx), %rcx
	movl	$4, %esi
	movq	%rbx, %rdx
	callq	_alloc_array_elem
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_lex_char
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_synth_channel_pink
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_synth_channel_bell
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_synth_channel_mix
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_synth_channel_spin
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_synth_channel_sine
LBB0_7:
	testl	%eax, %eax
	jg	LBB0_9
## %bb.8:
	decl	(%rbx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_parse_synth_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_synth_channel
_parse_synth_channel:                   ; @parse_synth_channel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #4
	add	x3, x19, #8
	mov	w1, #4
	mov	x2, x19
	bl	_alloc_array_elem
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #45
	bl	_lex_char
	cbnz	w0, LBB0_7
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_synth_channel_pink
	cbnz	w0, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_synth_channel_bell
	cbnz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_synth_channel_mix
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_synth_channel_spin
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_synth_channel_sine
LBB0_7:
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.8:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_parse_synth_channel
.subsections_via_symbols
