	.file	"extr_midi_synth.c_midi_synth_aftertouch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	midi_synth_aftertouch
	.type	midi_synth_aftertouch, @function
midi_synth_aftertouch:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edx, 127
	ja	.L16
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	esi, 15
	jbe	.L20
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rax, QWORD PTR synth_devs[rip]
	mov	ebp, edx
	movsx	rdx, edi
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	r13d, DWORD PTR [rax]
	call	leave_sysex@PLT
	mov	rax, QWORD PTR prev_out_status[rip]
	movsx	rdx, r13d
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, eax
	and	edx, 240
	cmp	edx, 208
	jne	.L8
	and	eax, 15
	cmp	eax, r12d
	jne	.L8
	mov	esi, ebp
	mov	edi, r13d
	call	prefix_cmd@PLT
	test	eax, eax
	je	.L1
.L7:
	mov	esi, ebp
	mov	edi, r13d
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	midi_outc@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	or	r12b, -48
	mov	edi, r13d
	mov	esi, r12d
	call	prefix_cmd@PLT
	test	eax, eax
	je	.L1
	mov	esi, r12d
	mov	edi, r13d
	call	midi_outc@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	midi_synth_aftertouch, .-midi_synth_aftertouch
	.comm	synth_devs,8,8
	.comm	prev_out_status,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_midi_synth.c_midi_synth_aftertouch.c"
	.text
	.align	2
	.global	midi_synth_aftertouch
	.syntax unified
	.arm
	.fpu softvfp
	.type	midi_synth_aftertouch, %function
midi_synth_aftertouch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #127
	bxhi	lr
	cmp	r1, #15
	push	{r4, r5, r6, lr}
	mov	r4, r1
	pophi	{r4, r5, r6, pc}
	mov	r5, r2
	ldr	r2, .L18
	ldr	r2, [r2]
	ldr	r3, [r2, r0, lsl #2]
	ldr	r6, [r3]
	bl	leave_sysex
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r3, [r3, r6, lsl #2]
	and	r2, r3, #240
	and	r3, r3, #15
	cmp	r3, r4
	cmpeq	r2, #208
	beq	.L5
	orr	r4, r4, #208
	mov	r1, r4
	mov	r0, r6
	bl	prefix_cmd
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r1, r4
	mov	r0, r6
	bl	midi_outc
	b	.L6
.L5:
	mov	r1, r5
	mov	r0, r6
	bl	prefix_cmd
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
.L6:
	mov	r1, r5
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	midi_outc
.L19:
	.align	2
.L18:
	.word	synth_devs
	.word	prev_out_status
	.size	midi_synth_aftertouch, .-midi_synth_aftertouch
	.comm	synth_devs,4,4
	.comm	prev_out_status,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
