	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_midi_msg                    ## -- Begin function do_midi_msg
	.p2align	4, 0x90
_do_midi_msg:                           ## @do_midi_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzbl	(%rsi), %eax
	movl	%eax, %ecx
	andl	$-16, %ecx
	addl	$-128, %ecx
	shrl	$4, %ecx
	cmpl	$6, %ecx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movb	2(%rsi), %cl
	jmp	LBB0_6
LBB0_13:
	popq	%rbp
	retq
LBB0_3:
	movb	2(%rsi), %cl
	testb	%cl, %cl
	je	LBB0_5
## %bb.4:
	andb	$15, %al
	movzbl	1(%rsi), %edx
	movzbl	%cl, %ecx
	movzbl	%al, %esi
	callq	_SEQ_START_NOTE
	jmp	LBB0_12
LBB0_7:
	andb	$15, %al
	movzbl	1(%rsi), %edx
	movzbl	2(%rsi), %ecx
	movzbl	%al, %esi
	callq	_SEQ_KEY_PRESSURE
	jmp	LBB0_12
LBB0_8:
	andb	$15, %al
	movzbl	1(%rsi), %edx
	movzbl	2(%rsi), %ecx
	movzbl	%al, %esi
	callq	_SEQ_CONTROL
	jmp	LBB0_12
LBB0_9:
	andb	$15, %al
	movzbl	1(%rsi), %edx
	movzbl	%al, %esi
	callq	_SEQ_SET_PATCH
	jmp	LBB0_12
LBB0_10:
	andb	$15, %al
	movzbl	1(%rsi), %edx
	movzbl	%al, %esi
	callq	_SEQ_CHN_PRESSURE
	jmp	LBB0_12
LBB0_11:
	andb	$15, %al
	movb	1(%rsi), %cl
	movb	2(%rsi), %dl
	andb	$127, %cl
	shlb	$7, %dl
	orb	%cl, %dl
	movzbl	%dl, %edx
	movzbl	%al, %esi
	callq	_SEQ_BENDER
	jmp	LBB0_12
LBB0_5:
	movb	$64, 2(%rsi)
	movb	$64, %cl
LBB0_6:
	andb	$15, %al
	movzbl	1(%rsi), %edx
	movzbl	%cl, %ecx
	movzbl	%al, %esi
	callq	_SEQ_STOP_NOTE
LBB0_12:
	movl	%eax, %edi
	popq	%rbp
	jmp	_STORE                          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_midi_msg                    ; -- Begin function do_midi_msg
	.p2align	2
_do_midi_msg:                           ; @do_midi_msg
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldrb	w8, [x1]
	and	w9, w8, #0xf0
	sub	w9, w9, #128
	lsr	w9, w9, #4
	cmp	w9, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldrb	w3, [x1, #2]
	b	LBB0_12
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldrb	w3, [x1, #2]
	cbz	w3, LBB0_11
; %bb.5:
	ldrb	w2, [x1, #1]
	and	w1, w8, #0xf
	bl	_SEQ_START_NOTE
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
LBB0_6:
	ldrb	w2, [x1, #1]
	ldrb	w3, [x1, #2]
	and	w1, w8, #0xf
	bl	_SEQ_KEY_PRESSURE
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
LBB0_7:
	ldrb	w2, [x1, #1]
	ldrb	w3, [x1, #2]
	and	w1, w8, #0xf
	bl	_SEQ_CONTROL
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
LBB0_8:
	ldrb	w2, [x1, #1]
	and	w1, w8, #0xf
	bl	_SEQ_SET_PATCH
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
LBB0_9:
	ldrb	w2, [x1, #1]
	and	w1, w8, #0xf
	bl	_SEQ_CHN_PRESSURE
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
LBB0_10:
	ldrb	w9, [x1, #1]
	and	w2, w9, #0x7f
	ldrb	w9, [x1, #2]
	bfi	w2, w9, #7, #1
	and	w1, w8, #0xf
	bl	_SEQ_BENDER
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
LBB0_11:
	mov	w3, #64
	strb	w3, [x1, #2]
LBB0_12:
	ldrb	w2, [x1, #1]
	and	w1, w8, #0xf
	bl	_SEQ_STOP_NOTE
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_STORE
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
