	.file	"extr_audiobargraph_v.c_FilterVideo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to blend a picture"
	.text
	.p2align 4
	.type	FilterVideo, @function
FilterVideo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR 8[rdi]
	call	filter_NewPicture@PLT
	mov	r12, rax
	test	rax, rax
	je	.L19
	mov	rsi, r13
	mov	rdi, rax
	lea	r15, 12[rbx]
	call	picture_Copy@PLT
	mov	rdi, r15
	call	vlc_mutex_lock@PLT
	mov	r14, QWORD PTR 32[rbx]
	test	r14, r14
	je	.L5
	mov	eax, DWORD PTR [rbx]
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR 4[rbp]
	test	eax, eax
	je	.L6
	test	DWORD PTR SUBPICTURE_ALIGN_BOTTOM[rip], eax
	jne	.L21
	test	DWORD PTR SUBPICTURE_ALIGN_TOP[rip], eax
	jne	.L9
	mov	edi, edx
	sub	edi, DWORD PTR [r14]
	mov	ecx, edi
	shr	ecx, 31
	add	ecx, edi
	sar	ecx
	mov	DWORD PTR 4[rbx], ecx
.L8:
	test	DWORD PTR SUBPICTURE_ALIGN_RIGHT[rip], eax
	je	.L10
.L22:
	mov	eax, esi
	sub	eax, DWORD PTR 4[r14]
	mov	DWORD PTR 8[rbx], eax
.L6:
	mov	r9d, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	rcx, r14
	mov	DWORD PTR 12[rsp], r9d
	call	filter_ConfigureBlend@PLT
	mov	r9d, DWORD PTR 12[rsp]
	test	rax, rax
	je	.L12
.L13:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	msg_Err@PLT
.L5:
	mov	rdi, r15
	call	vlc_mutex_unlock@PLT
.L19:
	mov	rdi, r13
	call	picture_Release@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	r8, r14
	mov	rsi, r12
	mov	edi, DWORD PTR 16[rbx]
	call	filter_Blend@PLT
	test	rax, rax
	jne	.L13
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	mov	ecx, edx
	sub	ecx, DWORD PTR [r14]
	mov	DWORD PTR 4[rbx], ecx
	test	DWORD PTR SUBPICTURE_ALIGN_RIGHT[rip], eax
	jne	.L22
.L10:
	test	DWORD PTR SUBPICTURE_ALIGN_LEFT[rip], eax
	jne	.L11
	mov	ecx, esi
	sub	ecx, DWORD PTR 4[r14]
	mov	eax, ecx
	shr	eax, 31
	add	eax, ecx
	sar	eax
	mov	DWORD PTR 8[rbx], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR 4[rbx], 0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 8[rbx], 0
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	FilterVideo, .-FilterVideo
	.comm	SUBPICTURE_ALIGN_TOP,4,4
	.comm	SUBPICTURE_ALIGN_RIGHT,4,4
	.comm	SUBPICTURE_ALIGN_LEFT,4,4
	.comm	SUBPICTURE_ALIGN_BOTTOM,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_audiobargraph_v.c_FilterVideo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to blend a picture\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FilterVideo, %function
FilterVideo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #8
	mov	r5, r0
	mov	r7, r1
	ldr	r4, [r0, #8]
	bl	filter_NewPicture
	subs	r6, r0, #0
	beq	.L19
	mov	r1, r7
	add	r9, r4, #12
	bl	picture_Copy
	mov	r0, r9
	bl	vlc_mutex_lock
	ldr	r8, [r4, #24]
	cmp	r8, #0
	beq	.L5
	ldr	r3, [r4]
	ldr	r1, [r5]
	cmp	r3, #0
	ldr	r2, [r5, #4]
	beq	.L6
	ldr	r0, .L23
	ldr	r0, [r0]
	ands	r0, r3, r0
	bne	.L21
	ldr	ip, .L23+4
	ldr	ip, [ip]
	tst	r3, ip
	ldreq	r0, [r8]
	subeq	r0, r2, r0
	addeq	r0, r0, r0, lsr #31
	asreq	r0, r0, #1
	str	r0, [r4, #4]
	ldr	r0, .L23+8
	ldr	r0, [r0]
	ands	r0, r3, r0
	beq	.L10
.L22:
	ldr	r3, [r8, #4]
	sub	r3, r1, r3
	str	r3, [r4, #8]
.L6:
	mov	r3, r8
	ldr	r0, [r4, #16]
	ldr	r10, [r4, #20]
	bl	filter_ConfigureBlend
	cmp	r0, #0
	beq	.L12
.L13:
	mov	r0, r5
	ldr	r1, .L23+12
	bl	msg_Err
.L5:
	mov	r0, r9
	bl	vlc_mutex_unlock
.L19:
	mov	r0, r7
	bl	picture_Release
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r0, [r4, #16]
	mov	r1, r6
	stm	sp, {r8, r10}
	bl	filter_Blend
	cmp	r0, #0
	bne	.L13
	b	.L5
.L21:
	ldr	r0, [r8]
	sub	r0, r2, r0
	str	r0, [r4, #4]
	ldr	r0, .L23+8
	ldr	r0, [r0]
	ands	r0, r3, r0
	bne	.L22
.L10:
	ldr	ip, .L23+16
	ldr	ip, [ip]
	tst	r3, ip
	ldreq	r3, [r8, #4]
	strne	r0, [r4, #8]
	subeq	r3, r1, r3
	addeq	r3, r3, r3, lsr #31
	asreq	r3, r3, #1
	streq	r3, [r4, #8]
	b	.L6
.L24:
	.align	2
.L23:
	.word	SUBPICTURE_ALIGN_BOTTOM
	.word	SUBPICTURE_ALIGN_TOP
	.word	SUBPICTURE_ALIGN_RIGHT
	.word	.LC0
	.word	SUBPICTURE_ALIGN_LEFT
	.size	FilterVideo, .-FilterVideo
	.comm	SUBPICTURE_ALIGN_TOP,4,4
	.comm	SUBPICTURE_ALIGN_RIGHT,4,4
	.comm	SUBPICTURE_ALIGN_LEFT,4,4
	.comm	SUBPICTURE_ALIGN_BOTTOM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
