	.file	"extr_af_lv2.c_filter_frame.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	filter_frame, @function
filter_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rsi
	mov	rbx, QWORD PTR 8[r12]
	cmp	QWORD PTR [rbx], 0
	jne	.L11
.L2:
	mov	rsi, rbp
.L5:
	mov	rdi, rbx
	mov	rdx, rbp
	call	connect_ports@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR [rax]
	call	lilv_instance_run@PLT
	cmp	QWORD PTR 8[rsp], rbp
	je	.L8
	lea	rdi, 8[rsp]
	call	av_frame_free@PLT
.L8:
	mov	rax, QWORD PTR [r12]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	call	ff_filter_frame@PLT
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rsi
	call	av_frame_is_writable@PLT
	mov	rbp, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR 8[rbx], rax
	je	.L2
.L4:
	mov	rax, QWORD PTR [r12]
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	ff_get_audio_buffer@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rax
	call	av_frame_copy_props@PLT
	mov	rsi, QWORD PTR 8[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, 8[rsp]
	call	av_frame_free@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	call	AVERROR@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	filter_frame, .-filter_frame
	.comm	ENOMEM,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_af_lv2.c_filter_frame.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	filter_frame, %function
filter_frame:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	sub	sp, sp, #8
	ldr	r6, [r5, #4]
	mov	r4, r1
	ldr	r3, [r6]
	str	r1, [sp, #4]
	cmp	r3, #0
	bne	.L14
.L2:
	mov	r1, r4
.L5:
	mov	r2, r4
	mov	r0, r6
	bl	connect_ports
	ldr	r3, [sp, #4]
	ldr	r0, [r6, #8]
	ldr	r1, [r3]
	bl	lilv_instance_run
	ldr	r3, [sp, #4]
	cmp	r3, r4
	beq	.L8
	add	r0, sp, #4
	bl	av_frame_free
.L8:
	ldr	r3, [r5]
	mov	r1, r4
	ldr	r0, [r3]
	bl	ff_filter_frame
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	mov	r0, r1
	bl	av_frame_is_writable
	cmp	r0, #0
	beq	.L3
	ldr	r2, [r6, #4]
	ldr	r3, [r6]
	ldr	r4, [sp, #4]
	cmp	r2, r3
	beq	.L2
.L4:
	ldr	r3, [r5]
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	ff_get_audio_buffer
	subs	r4, r0, #0
	beq	.L15
	ldr	r1, [sp, #4]
	bl	av_frame_copy_props
	ldr	r1, [sp, #4]
	b	.L5
.L3:
	ldr	r4, [sp, #4]
	b	.L4
.L15:
	add	r0, sp, #4
	bl	av_frame_free
	ldr	r3, .L16
	ldr	r0, [r3]
	bl	AVERROR
	b	.L1
.L17:
	.align	2
.L16:
	.word	ENOMEM
	.size	filter_frame, .-filter_frame
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
