	.file	"extr_sequencer.c_midi_outc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	midi_outc, @function
midi_outc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	eax, DWORD PTR HZ[rip]
	lea	r14, seq_sleeper[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movsx	r13, edi
	lea	rdi, lock[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, r13
	sal	r13, 3
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	ebx, [rax+rax*2]
	movzx	ebp, bpl
	call	spin_lock_irqsave@PLT
	test	ebx, ebx
	jne	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	rsi, DWORD PTR HZ[rip]
	mov	rdi, r14
	mov	rax, rsi
	imul	rsi, rsi, 1374389535
	sar	eax, 31
	sar	rsi, 35
	sub	esi, eax
	call	interruptible_sleep_on_timeout@PLT
	sub	ebx, 1
	je	.L4
.L3:
	mov	rax, QWORD PTR midi_devs[rip]
	mov	esi, ebp
	mov	edi, r12d
	mov	rax, QWORD PTR [rax+r13]
	call	[QWORD PTR [rax]]
	test	eax, eax
	je	.L5
.L4:
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	esi, esi
	lea	rdi, lock[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	midi_outc, .-midi_outc
	.comm	seq_sleeper,4,4
	.comm	midi_devs,8,8
	.comm	lock,4,4
	.comm	HZ,4,4
	.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_sequencer.c_midi_outc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	midi_outc, %function
midi_outc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, .L11
	mov	r5, r0
	ldr	r4, [r7]
	mov	r6, r1
	ldr	r0, .L11+4
	mov	r1, #0
	add	r4, r4, r4, lsl #1
	bl	spin_lock_irqsave
	cmp	r4, #0
	beq	.L4
	ldr	r8, .L11+8
	ldr	fp, .L11+12
	ldr	r10, .L11+16
	lsl	r9, r5, #2
	b	.L3
.L5:
	ldr	r3, [r7]
	mov	r0, r10
	smull	r2, r1, fp, r3
	asr	r3, r3, #31
	rsb	r1, r3, r1, asr #3
	bl	interruptible_sleep_on_timeout
	subs	r4, r4, #1
	beq	.L4
.L3:
	ldr	r3, [r8]
	mov	r1, r6
	ldr	r3, [r3, r9]
	mov	r0, r5
	ldr	r3, [r3]
	blx	r3
	cmp	r0, #0
	beq	.L5
.L4:
	mov	r1, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r0, .L11+4
	b	spin_unlock_irqrestore
.L12:
	.align	2
.L11:
	.word	HZ
	.word	lock
	.word	midi_devs
	.word	1374389535
	.word	seq_sleeper
	.size	midi_outc, .-midi_outc
	.comm	seq_sleeper,4,4
	.comm	midi_devs,4,4
	.comm	lock,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
