	.file	"extr_filters.c_aout_FiltersDrain.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	aout_FiltersDrain
	.type	aout_FiltersDrain, @function
aout_FiltersDrain:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 24[rdi]
	mov	esi, DWORD PTR [rbx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	aout_FiltersPipelineDrain@PLT
	mov	rdx, QWORD PTR 16[rbx]
	test	rdx, rdx
	je	.L1
	mov	QWORD PTR [rsp], 0
	mov	rcx, QWORD PTR 8[rbx]
	lea	rbp, 16[rbx]
	add	DWORD PTR [rdx], ecx
	test	rax, rax
	je	.L4
	mov	esi, 1
	mov	rdx, rax
	mov	rdi, rbp
	call	aout_FiltersPipelinePlay@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L4
	mov	rdi, rsp
	call	block_ChainAppend@PLT
.L4:
	mov	esi, 1
	mov	rdi, rbp
	call	aout_FiltersPipelineDrain@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L6
	mov	rdi, rsp
	call	block_ChainAppend@PLT
.L6:
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 8[rbx]
	sub	DWORD PTR [rax], edx
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L1
	mov	rdi, rax
	call	block_ChainGather@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	aout_FiltersDrain, .-aout_FiltersDrain
	.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_FiltersDrain.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aout_FiltersDrain
	.syntax unified
	.arm
	.fpu softvfp
	.type	aout_FiltersDrain, %function
aout_FiltersDrain:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r3, .L24
	ldr	r1, [r0]
	sub	sp, sp, #12
	ldr	r0, [r0, #12]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	aout_FiltersPipelineDrain
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L1
	mov	r1, #0
	ldr	r2, [r3]
	ldr	ip, [r4, #4]
	cmp	r0, r1
	add	r2, r2, ip
	str	r1, [sp]
	add	r5, r4, #8
	str	r2, [r3]
	beq	.L4
	mov	r2, r0
	mov	r1, #1
	mov	r0, r5
	bl	aout_FiltersPipelinePlay
	subs	r1, r0, #0
	beq	.L4
	mov	r0, sp
	bl	block_ChainAppend
.L4:
	mov	r1, #1
	mov	r0, r5
	bl	aout_FiltersPipelineDrain
	subs	r1, r0, #0
	beq	.L6
	mov	r0, sp
	bl	block_ChainAppend
.L6:
	ldmib	r4, {r1, r2}
	ldr	r0, [sp]
	ldr	r3, [r2]
	cmp	r0, #0
	sub	r3, r3, r1
	str	r3, [r2]
	beq	.L1
	bl	block_ChainGather
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.size	aout_FiltersDrain, .-aout_FiltersDrain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
