	.file	"extr_seq_queue.c_snd_seq_queue_remove_cells.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_seq_queue_remove_cells
	.type	snd_seq_queue_remove_cells, @function
snd_seq_queue_remove_cells:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR SNDRV_SEQ_MAX_QUEUES[rip]
	test	eax, eax
	jle	.L18
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rax, QWORD PTR 8[r13]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
.L4:
	mov	rdi, rbp
	call	queuefree@PLT
.L3:
	add	ebx, 1
	cmp	DWORD PTR SNDRV_SEQ_MAX_QUEUES[rip], ebx
	jle	.L22
.L6:
	mov	edi, ebx
	call	queueptr@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L3
	mov	esi, DWORD PTR 16[rax]
	mov	edi, r12d
	call	test_bit@PLT
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR SNDRV_SEQ_REMOVE_DEST[rip], eax
	jne	.L23
.L5:
	mov	edi, DWORD PTR 12[rbp]
	mov	rdx, r13
	mov	esi, r12d
	call	snd_seq_prioq_remove_events@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	rdx, r13
	mov	esi, r12d
	call	snd_seq_prioq_remove_events@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	snd_seq_queue_remove_cells, .-snd_seq_queue_remove_cells
	.comm	SNDRV_SEQ_REMOVE_DEST,4,4
	.comm	SNDRV_SEQ_MAX_QUEUES,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_seq_queue.c_snd_seq_queue_remove_cells.c"
	.text
	.align	2
	.global	snd_seq_queue_remove_cells
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_seq_queue_remove_cells, %function
snd_seq_queue_remove_cells:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L20
	ldr	r3, [r8]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r6, r0
	mov	r7, r1
	mov	r5, #0
	ldr	r9, .L20+4
	b	.L6
.L19:
	ldr	r2, [r4]
	ldr	r3, [r7, #4]
	cmp	r2, r3
	beq	.L5
.L4:
	mov	r0, r4
	bl	queuefree
.L3:
	ldr	r3, [r8]
	cmp	r3, r5
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r0, r5
	bl	queueptr
	subs	r4, r0, #0
	add	r5, r5, #1
	beq	.L3
	mov	r0, r6
	ldr	r1, [r4, #12]
	bl	test_bit
	cmp	r0, #0
	beq	.L4
	ldr	r2, [r7]
	ldr	r3, [r9]
	tst	r2, r3
	bne	.L19
.L5:
	mov	r2, r7
	mov	r1, r6
	ldr	r0, [r4, #8]
	bl	snd_seq_prioq_remove_events
	mov	r2, r7
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	snd_seq_prioq_remove_events
	b	.L4
.L21:
	.align	2
.L20:
	.word	SNDRV_SEQ_MAX_QUEUES
	.word	SNDRV_SEQ_REMOVE_DEST
	.size	snd_seq_queue_remove_cells, .-snd_seq_queue_remove_cells
	.comm	SNDRV_SEQ_REMOVE_DEST,4,4
	.comm	SNDRV_SEQ_MAX_QUEUES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
