	.file	"extr_filters.c_aout_FiltersPipelineDrain.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	aout_FiltersPipelineDrain, @function
aout_FiltersPipelineDrain:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	QWORD PTR [rsp], 0
	test	esi, esi
	je	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, QWORD PTR 0[rbp+r14*8]
	add	r13d, 1
	call	filter_DrainAudio@PLT
	test	rax, rax
	je	.L4
	cmp	ebx, r13d
	ja	.L21
.L5:
	mov	rsi, rax
	mov	rdi, r12
	call	block_ChainAppend@PLT
.L4:
	cmp	ebx, r13d
	jbe	.L18
	mov	r14d, r13d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, ebx
	mov	r14d, r13d
	mov	rdx, rax
	sub	esi, r13d
	lea	rdi, 0[rbp+r14*8]
	call	aout_FiltersPipelinePlay@PLT
	test	rax, rax
	je	.L2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR [rsp]
	test	rdi, rdi
	je	.L7
	call	block_ChainGather@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	aout_FiltersPipelineDrain, .-aout_FiltersPipelineDrain
	.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_filters.c_aout_FiltersPipelineDrain.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	aout_FiltersPipelineDrain, %function
aout_FiltersPipelineDrain:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	ldr	r3, .L22
	sub	sp, sp, #8
	subs	r6, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	r4, [sp]
	beq	.L2
	mov	r5, r0
.L3:
	ldr	r0, [r5], #4
	bl	filter_DrainAudio
	subs	r1, r0, #0
	add	r4, r4, #1
	beq	.L5
	cmp	r6, r4
	bhi	.L20
.L6:
	mov	r0, sp
	bl	block_ChainAppend
.L5:
	cmp	r6, r4
	bhi	.L3
	ldr	r0, [sp]
	cmp	r0, #0
	beq	.L2
	bl	block_ChainGather
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L20:
	mov	r2, r1
	mov	r0, r5
	sub	r1, r6, r4
	bl	aout_FiltersPipelinePlay
	subs	r1, r0, #0
	beq	.L3
	b	.L6
.L2:
	mov	r0, #0
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.size	aout_FiltersPipelineDrain, .-aout_FiltersPipelineDrain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
