	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extra_decode_ctrl14
_extra_decode_ctrl14:                   ## @extra_decode_ctrl14
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MIDI_CMD_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rcx), %r8d
	movl	4(%rcx), %r9d
	andl	$15, %r8d
	orl	(%rax), %r8d
	cmpl	$31, %r9d
	jg	LBB0_11
## %bb.1:
	cmpl	$3, %edx
	jle	LBB0_15
## %bb.2:
	movq	8(%rdi), %rax
	cmpl	$5, %edx
	ja	LBB0_4
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_15
LBB0_4:
	cmpb	%r8b, (%rdi)
	jne	LBB0_6
## %bb.5:
	xorl	%r10d, %r10d
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	cmpl	$4, %edx
	jbe	LBB0_15
## %bb.7:
	movb	%r8b, (%rdi)
	movb	%r8b, (%rsi)
	movl	4(%rcx), %r9d
	movl	$1, %r10d
LBB0_8:
	movl	%r10d, %eax
	movb	%r9b, (%rsi,%rax)
	movl	8(%rcx), %edx
	shrl	$7, %edx
	andb	$127, %dl
	movb	%dl, 1(%rsi,%rax)
	orq	$2, %rax
	cmpq	$0, 8(%rdi)
	je	LBB0_10
## %bb.9:
	addl	$3, %r10d
	movb	%r8b, (%rsi,%rax)
	movl	%r10d, %eax
LBB0_10:
	movb	4(%rcx), %dl
	addb	$32, %dl
	leal	1(%rax), %r8d
	movl	%eax, %edi
	movb	%dl, (%rsi,%rdi)
	movb	8(%rcx), %cl
	andb	$127, %cl
	addl	$2, %eax
	movb	%cl, (%rsi,%r8)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_11:
	cmpl	$1, %edx
	jle	LBB0_15
## %bb.12:
	cmpb	%r8b, (%rdi)
	jne	LBB0_14
## %bb.13:
	cmpq	$0, 8(%rdi)
	je	LBB0_18
LBB0_14:
	cmpl	$2, %edx
	ja	LBB0_17
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_17:
	movb	%r8b, (%rdi)
	movb	%r8b, (%rsi)
	movl	4(%rcx), %r9d
	movl	$1, %eax
	jmp	LBB0_19
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	andb	$127, %r9b
	movl	%eax, %edx
	movb	%r9b, (%rsi,%rdx)
	movb	8(%rcx), %cl
	andb	$127, %cl
	orl	$2, %eax
	movb	%cl, 1(%rsi,%rdx)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIDI_CMD_CONTROL,4,2           ## @MIDI_CMD_CONTROL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_extra_decode_ctrl14
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extra_decode_ctrl14
_extra_decode_ctrl14:                   ; @extra_decode_ctrl14
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MIDI_CMD_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIDI_CMD_CONTROL@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [x3]
	and	w9, w9, #0xf
	orr	w8, w9, w8
	ldr	w9, [x3, #4]
	cmp	w9, #31
	b.gt	LBB0_7
; %bb.1:
	cmp	w2, #3
	b.le	LBB0_11
; %bb.2:
	ldr	x10, [x0, #8]
	cmp	w2, #5
	b.hi	LBB0_4
; %bb.3:
	cbnz	x10, LBB0_11
LBB0_4:
	ldrb	w11, [x0]
	cmp	w11, w8
	ccmp	x10, #0, #0, eq
	b.eq	LBB0_13
; %bb.5:
	cmp	w2, #4
	b.ls	LBB0_11
; %bb.6:
	strb	w8, [x0]
	strb	w8, [x1]
	ldr	w9, [x3, #4]
	mov	w10, #1
	b	LBB0_14
LBB0_7:
	cmp	w2, #1
	b.le	LBB0_11
; %bb.8:
	ldrb	w10, [x0]
	cmp	w10, w8
	b.ne	LBB0_10
; %bb.9:
	ldr	x10, [x0, #8]
	cbz	x10, LBB0_17
LBB0_10:
	cmp	w2, #2
	b.hi	LBB0_12
LBB0_11:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_12:
	strb	w8, [x0]
	strb	w8, [x1]
	ldr	w9, [x3, #4]
	mov	w8, #1
	b	LBB0_18
LBB0_13:
	mov	w10, #0
LBB0_14:
	mov	w11, w10
	add	x12, x1, x11
	strb	w9, [x12]
	ldr	w9, [x3, #8]
	ubfx	w13, w9, #7, #7
	orr	x9, x11, #0x2
	strb	w13, [x12, #1]
	ldr	x11, [x0, #8]
	cbz	x11, LBB0_16
; %bb.15:
	strb	w8, [x1, x9]
	add	w8, w10, #3
	mov	x9, x8
LBB0_16:
	ldrb	w8, [x3, #4]
	add	w8, w8, #32
	strb	w8, [x1, w9, uxtw]
	add	w8, w9, #1
	ldrb	w10, [x3, #8]
	and	w10, w10, #0x7f
	add	w0, w9, #2
	strb	w10, [x1, w8, uxtw]
	ret
LBB0_17:
	mov	w8, #0
LBB0_18:
	and	w9, w9, #0x7f
	add	x10, x1, w8, uxtw
	strb	w9, [x10]
	ldrb	w9, [x3, #8]
	and	w9, w9, #0x7f
	orr	w0, w8, #0x2
	strb	w9, [x10, #1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MIDI_CMD_CONTROL,4,2           ; @MIDI_CMD_CONTROL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_extra_decode_ctrl14
.subsections_via_symbols
