	.file	"extr_hdspm.c_snd_hdspm_midi_output_trigger.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_hdspm_midi_output_trigger, @function
snd_hdspm_midi_output_trigger:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	xor	esi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	mov	rbp, QWORD PTR [rax]
	lea	r12, 8[rbp]
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	test	ebx, ebx
	je	.L2
	cmp	QWORD PTR 0[rbp], 0
	je	.L11
.L3:
	mov	rdi, r12
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	snd_hdspm_midi_output_write@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	je	.L5
	sub	rax, 1
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	jle	.L12
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR snd_hdspm_midi_output_timer[rip]
	lea	r13, 12[rbp]
	xor	edx, edx
	mov	rdi, r13
	call	timer_setup@PLT
	mov	rax, QWORD PTR jiffies[rip]
	mov	rdi, r13
	lea	rsi, 1[rax]
	call	mod_timer@PLT
	add	QWORD PTR 0[rbp], 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, 12[rbp]
	call	del_timer@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	snd_hdspm_midi_output_trigger, .-snd_hdspm_midi_output_trigger
	.comm	snd_hdspm_midi_output_timer,4,4
	.comm	jiffies,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_hdspm.c_snd_hdspm_midi_output_trigger.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_hdspm_midi_output_trigger, %function
snd_hdspm_midi_output_trigger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r3, [r0]
	mov	r1, #0
	ldr	r4, [r3]
	add	r6, r4, #4
	mov	r0, r6
	bl	spin_lock_irqsave
	cmp	r5, #0
	beq	.L2
	ldr	r2, [r4]
	cmp	r2, #0
	beq	.L11
.L3:
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	snd_hdspm_midi_output_write
.L2:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L5
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4]
	ble	.L12
.L5:
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L11:
	ldr	r3, .L13
	add	r5, r4, #8
	ldr	r1, [r3]
	mov	r0, r5
	bl	timer_setup
	ldr	r3, .L13+4
	mov	r0, r5
	ldr	r1, [r3]
	add	r1, r1, #1
	bl	mod_timer
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
	b	.L3
.L12:
	add	r0, r4, #8
	bl	del_timer
	b	.L5
.L14:
	.align	2
.L13:
	.word	snd_hdspm_midi_output_timer
	.word	jiffies
	.size	snd_hdspm_midi_output_trigger, .-snd_hdspm_midi_output_trigger
	.comm	snd_hdspm_midi_output_timer,4,4
	.comm	jiffies,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
