	.file	"extr_vf_delogo.c_apply_delogo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	apply_delogo, @function
apply_delogo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 232
	.cfi_def_cfa_offset 288
	mov	rax, QWORD PTR 288[rsp]
	mov	QWORD PTR 16[rsp], rdi
	mov	edi, DWORD PTR 296[rsp]
	mov	ebp, DWORD PTR 328[rsp]
	mov	QWORD PTR 32[rsp], rdx
	mov	DWORD PTR 216[rsp], eax
	shr	rax, 32
	neg	edi
	mov	DWORD PTR 8[rsp], r9d
	mov	DWORD PTR 24[rsp], ecx
	mov	QWORD PTR 72[rsp], rax
	call	FFMAX@PLT
	xor	esi, esi
	mov	r12, rax
	mov	eax, DWORD PTR 296[rsp]
	add	eax, DWORD PTR 312[rsp]
	mov	edi, eax
	mov	DWORD PTR 80[rsp], eax
	sub	edi, r15d
	call	FFMAX@PLT
	mov	ebx, DWORD PTR 304[rsp]
	xor	esi, esi
	mov	r13, rax
	neg	ebx
	mov	edi, ebx
	call	FFMAX@PLT
	mov	ecx, DWORD PTR 304[rsp]
	xor	esi, esi
	add	ecx, DWORD PTR 320[rsp]
	mov	DWORD PTR 60[rsp], ecx
	sub	ecx, DWORD PTR 8[rsp]
	mov	rbx, rax
	mov	edi, ecx
	call	FFMAX@PLT
	mov	edx, DWORD PTR 296[rsp]
	mov	edi, DWORD PTR 80[rsp]
	mov	ecx, DWORD PTR 60[rsp]
	add	edx, r12d
	mov	r12d, DWORD PTR 304[rsp]
	sub	edi, r13d
	sub	ecx, eax
	lea	r9d, -1[rdi]
	mov	DWORD PTR 40[rsp], edi
	add	r12d, ebx
	lea	edi, -1[rcx]
	movsx	rbx, edx
	mov	DWORD PTR 156[rsp], ecx
	movsx	rcx, DWORD PTR 24[rsp]
	mov	r10d, r12d
	mov	DWORD PTR 176[rsp], edx
	mov	rdx, QWORD PTR 32[rsp]
	mov	DWORD PTR 152[rsp], r9d
	imul	r10d, ecx
	mov	DWORD PTR 128[rsp], edi
	movsx	rsi, r10d
	lea	rax, [rsi+rbx]
	lea	r13, [rdx+rax*4]
	movsx	rax, r9d
	add	rax, rsi
	mov	esi, DWORD PTR 344[rsp]
	lea	rax, [rdx+rax*4]
	mov	QWORD PTR 144[rsp], rax
	mov	eax, edi
	imul	eax, ecx
	cdqe
	add	rax, rbx
	lea	rax, [rdx+rax*4]
	mov	QWORD PTR 32[rsp], rax
	test	esi, esi
	je	.L27
.L2:
	lea	edi, 1[r12]
	lea	eax, [r10+rcx]
	mov	esi, edi
	cdqe
	mov	DWORD PTR 84[rsp], edi
	mov	r10d, edi
	imul	esi, r14d
	sal	rax, 2
	movsx	rsi, esi
	sal	rsi, 2
	cmp	edi, DWORD PTR 128[rsp]
	jge	.L1
	lea	rdi, 4[0+rbx*4]
	movsx	r8, r14d
	mov	r15, QWORD PTR 32[rsp]
	mov	QWORD PTR 120[rsp], 0
	add	rax, rdi
	add	rsi, rdi
	add	rsi, QWORD PTR 16[rsp]
	mov	DWORD PTR 52[rsp], 1
	add	rax, rdx
	lea	rbx, 0[0+r8*4]
	mov	QWORD PTR 24[rsp], rsi
	mov	r9, r13
	mov	QWORD PTR 64[rsp], rax
	mov	eax, DWORD PTR 156[rsp]
	mov	QWORD PTR 160[rsp], rbx
	lea	rbx, 0[0+rcx*4]
	mov	ecx, DWORD PTR 176[rsp]
	sub	eax, 2
	mov	QWORD PTR 168[rsp], rbx
	mov	DWORD PTR 112[rsp], eax
	sub	eax, r12d
	lea	r14d, 1[rcx]
	mov	r12d, r10d
	mov	DWORD PTR 56[rsp], eax
	mov	eax, DWORD PTR 40[rsp]
	mov	DWORD PTR 104[rsp], r14d
	sub	eax, 2
	mov	DWORD PTR 116[rsp], eax
	sub	eax, ecx
	lea	rcx, 0[r13+rbx]
	mov	QWORD PTR 184[rsp], rcx
	add	rcx, rbx
	mov	QWORD PTR 192[rsp], rcx
	mov	rcx, QWORD PTR 144[rsp]
	mov	DWORD PTR 180[rsp], eax
	add	rcx, rbx
	mov	DWORD PTR 136[rsp], eax
	lea	eax, 1[rbp]
	mov	QWORD PTR 200[rsp], rcx
	add	rcx, rbx
	mov	DWORD PTR 140[rsp], eax
	sub	eax, DWORD PTR 60[rsp]
	mov	QWORD PTR 208[rsp], rcx
	mov	DWORD PTR 220[rsp], eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rbx, QWORD PTR 120[rsp]
	mov	rax, QWORD PTR 184[rsp]
	mov	rcx, QWORD PTR 200[rsp]
	mov	r8d, DWORD PTR [r9+rbx]
	add	r8d, DWORD PTR [rax+rbx]
	mov	rax, QWORD PTR 192[rsp]
	add	r8d, DWORD PTR [rax+rbx]
	mov	rax, QWORD PTR 144[rsp]
	mov	eax, DWORD PTR [rax+rbx]
	add	eax, DWORD PTR [rcx+rbx]
	mov	rcx, QWORD PTR 208[rsp]
	add	eax, DWORD PTR [rcx+rbx]
	mov	ecx, DWORD PTR 104[rsp]
	cmp	DWORD PTR 152[rsp], ecx
	jle	.L18
	mov	ecx, DWORD PTR 176[rsp]
	mov	r10d, DWORD PTR 216[rsp]
	mov	edx, 1
	xor	r14d, r14d
	sub	edx, DWORD PTR 156[rsp]
	lea	ebx, 2[rcx]
	mov	ecx, DWORD PTR 52[rsp]
	mov	edi, r10d
	add	edx, r12d
	imul	edi, ecx
	imul	ecx, DWORD PTR 56[rsp]
	mov	r11d, ecx
	mov	ecx, edi
	imul	r11d, r10d
	imul	ecx, r8d
	mov	esi, r11d
	mov	DWORD PTR 48[rsp], r11d
	imul	esi, eax
	imul	ecx, edx
	imul	eax, edi
	imul	edi, edx
	add	ecx, esi
	mov	esi, DWORD PTR 136[rsp]
	mov	DWORD PTR 44[rsp], ecx
	mov	ecx, DWORD PTR 128[rsp]
	imul	esi, r10d
	mov	DWORD PTR 32[rsp], edi
	sub	ecx, r12d
	imul	r8d, esi
	add	eax, r8d
	mov	r8d, r11d
	imul	eax, ecx
	imul	ecx, esi
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR 304[rsp]
	mov	r13d, ecx
	mov	rcx, r15
	add	eax, ebp
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR 220[rsp]
	add	eax, r12d
	mov	DWORD PTR 132[rsp], eax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edx, DWORD PTR 60[rsp]
	sub	edx, ebp
	cmp	edx, r12d
	jbe	.L10
	cmp	eax, r10d
	ja	.L11
	mov	eax, DWORD PTR 80[rsp]
	sub	eax, ebp
	cmp	eax, r10d
	jbe	.L12
	mov	rax, QWORD PTR 24[rsp]
	mov	DWORD PTR [rax+r14*4], r15d
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR 44[rsp]
	add	r14, 1
	add	DWORD PTR 8[rsp], esi
	add	ebx, 1
	add	r13d, DWORD PTR 32[rsp]
	add	r8d, DWORD PTR 48[rsp]
	cmp	ebx, DWORD PTR 40[rsp]
	je	.L28
.L17:
	mov	eax, DWORD PTR 336[rsp]
	lea	r10d, -1[rbx]
	test	eax, eax
	je	.L7
	cmp	DWORD PTR 84[rsp], r12d
	je	.L8
	lea	r10d, -1[rbx]
	cmp	DWORD PTR 112[rsp], r12d
	je	.L8
	cmp	DWORD PTR 104[rsp], r10d
	je	.L8
	cmp	DWORD PTR 116[rsp], r10d
	je	.L8
.L7:
	mov	edx, DWORD PTR 40[rsp]
	lea	esi, 1[r14]
	mov	edi, DWORD PTR 56[rsp]
	mov	eax, DWORD PTR 72[rsp]
	sub	edx, ebx
	imul	edx, esi
	movsx	rsi, esi
	lea	r15, 0[0+rsi*4]
	imul	edi, edx
	imul	edx, DWORD PTR 52[rsp]
	imul	edi, eax
	imul	edx, eax
	lea	eax, 0[r13+r8]
	add	eax, edi
	add	eax, edx
	lea	r11d, [rax+rax*2]
	mov	eax, DWORD PTR -4[rcx+r15]
	add	eax, DWORD PTR [rcx+rsi*4]
	add	eax, DWORD PTR 4[rcx+r15]
	imul	eax, edx
	mov	edx, DWORD PTR -4[r9+r15]
	add	edx, DWORD PTR [r9+rsi*4]
	add	edx, DWORD PTR 4[r9+r15]
	mov	r15d, r11d
	imul	edx, edi
	sar	r15d
	add	eax, edx
	add	eax, DWORD PTR 8[rsp]
	add	eax, r15d
	cdq
	idiv	r11d
	mov	r15d, eax
	mov	eax, DWORD PTR 296[rsp]
	add	eax, ebp
	cmp	DWORD PTR 16[rsp], r12d
	jbe	.L29
.L10:
	cmp	eax, r10d
	ja	.L11
	mov	eax, DWORD PTR 80[rsp]
	xor	edi, edi
	sub	eax, ebp
	cmp	eax, r10d
	jbe	.L12
.L14:
	cmp	DWORD PTR 16[rsp], r12d
	ja	.L30
	mov	eax, DWORD PTR 60[rsp]
	sub	eax, ebp
	cmp	eax, r12d
	jbe	.L31
.L16:
	mov	rax, QWORD PTR 64[rsp]
	xor	edx, edx
	mov	esi, DWORD PTR [rax+r14*4]
	mov	eax, ebp
	sub	eax, edi
	imul	esi, edi
	mov	rdi, QWORD PTR 24[rsp]
	imul	r15d, eax
	lea	eax, [rsi+r15]
	div	ebp
	mov	DWORD PTR [rdi+r14*4], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 24[rsp]
	mov	DWORD PTR [rax+r14*4], 0
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L30:
	mov	esi, DWORD PTR 16[rsp]
	mov	DWORD PTR 108[rsp], r8d
	mov	QWORD PTR 96[rsp], rcx
	sub	esi, r12d
	mov	QWORD PTR 88[rsp], r9
	call	FFMAX@PLT
	mov	r9, QWORD PTR 88[rsp]
	mov	rcx, QWORD PTR 96[rsp]
	mov	r8d, DWORD PTR 108[rsp]
	mov	edi, eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR 140[rsp]
	add	esi, DWORD PTR 296[rsp]
	xor	edi, edi
	mov	DWORD PTR 108[rsp], r8d
	sub	esi, ebx
	mov	QWORD PTR 96[rsp], rcx
	mov	QWORD PTR 88[rsp], r9
	call	FFMAX@PLT
	mov	r9, QWORD PTR 88[rsp]
	mov	rcx, QWORD PTR 96[rsp]
	mov	r8d, DWORD PTR 108[rsp]
	mov	edi, eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, ebp
	sub	esi, DWORD PTR 80[rsp]
	xor	edi, edi
	mov	DWORD PTR 108[rsp], r8d
	add	esi, ebx
	mov	QWORD PTR 96[rsp], rcx
	mov	QWORD PTR 88[rsp], r9
	call	FFMAX@PLT
	mov	r8d, DWORD PTR 108[rsp]
	mov	rcx, QWORD PTR 96[rsp]
	mov	r9, QWORD PTR 88[rsp]
	mov	edi, eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L31:
	mov	esi, DWORD PTR 132[rsp]
	mov	DWORD PTR 108[rsp], r8d
	mov	QWORD PTR 96[rsp], rcx
	mov	QWORD PTR 88[rsp], r9
	call	FFMAX@PLT
	mov	r8d, DWORD PTR 108[rsp]
	mov	rcx, QWORD PTR 96[rsp]
	mov	r9, QWORD PTR 88[rsp]
	mov	edi, eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L28:
	mov	r15, rcx
.L18:
	mov	rbx, QWORD PTR 160[rsp]
	add	DWORD PTR 52[rsp], 1
	add	r12d, 1
	mov	rcx, QWORD PTR 168[rsp]
	add	QWORD PTR 24[rsp], rbx
	add	QWORD PTR 64[rsp], rcx
	mov	ebx, DWORD PTR 180[rsp]
	sub	DWORD PTR 56[rsp], 1
	add	DWORD PTR 136[rsp], ebx
	add	QWORD PTR 120[rsp], rcx
	cmp	r12d, DWORD PTR 128[rsp]
	jne	.L5
.L1:
	add	rsp, 232
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L27:
	.cfi_restore_state
	mov	r9d, DWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8d, r15d
	mov	esi, r14d
	mov	DWORD PTR 44[rsp], r10d
	mov	QWORD PTR 8[rsp], rdx
	call	av_image_copy_plane@PLT
	mov	r10d, DWORD PTR 44[rsp]
	movsx	rcx, DWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 8[rsp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	apply_delogo, .-apply_delogo
	.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_vf_delogo.c_apply_delogo.c"
	.text
	.global	__aeabi_idiv
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	apply_delogo, %function
apply_delogo:
	@ args = 44, pretend = 0, frame = 144
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #156
	mov	r10, r3
	ldr	r3, [sp, #200]
	mov	r9, r0
	ldr	r0, [sp, #208]
	str	r3, [sp, #144]
	ldr	r3, [sp, #204]
	mov	r8, r1
	rsb	r0, r0, #0
	mov	r1, #0
	mov	r7, r2
	ldr	r5, [sp, #216]
	str	r3, [sp, #56]
	ldr	fp, [sp, #224]
	bl	FFMAX
	ldr	r3, [sp, #208]
	ldr	r1, [sp, #192]
	add	r3, r3, r5
	mov	r4, r0
	sub	r0, r3, r1
	mov	r1, #0
	str	r3, [sp, #60]
	bl	FFMAX
	mov	r5, r0
	ldr	r0, [sp, #212]
	mov	r1, #0
	rsb	r0, r0, #0
	bl	FFMAX
	ldr	r1, [sp, #212]
	mov	r6, r0
	ldr	r0, [sp, #220]
	add	r1, r1, r0
	ldr	r0, [sp, #196]
	str	r1, [sp, #44]
	sub	r0, r1, r0
	mov	r1, #0
	bl	FFMAX
	ldr	r1, [sp, #44]
	ldr	ip, [sp, #212]
	sub	r1, r1, r0
	ldr	r0, [sp, #208]
	str	r1, [sp, #68]
	add	r3, r4, r0
	sub	r0, r1, #1
	mov	r1, r3
	ldr	r2, [sp, #60]
	add	r6, r6, ip
	mul	r4, r10, r6
	sub	r2, r2, r5
	mla	r1, r10, r0, r1
	str	r0, [sp, #104]
	str	r2, [sp, #8]
	sub	r0, r2, #1
	ldr	r2, [sp, #232]
	str	r3, [sp, #40]
	cmp	r2, #0
	add	r2, r4, r3
	add	r3, r0, r4
	add	r1, r7, r1, lsl #2
	add	r2, r7, r2, lsl #2
	add	r3, r7, r3, lsl #2
	str	r0, [sp, #120]
	str	r1, [sp, #140]
	str	r2, [sp, #112]
	str	r3, [sp, #124]
	beq	.L27
.L2:
	add	r2, r6, #1
	mov	r3, r2
	mul	r3, r8, r3
	ldr	r1, [sp, #104]
	add	r4, r4, r10
	cmp	r2, r1
	add	r3, r9, r3, lsl #2
	add	r1, r7, r4, lsl #2
	str	r2, [sp, #72]
	str	r1, [sp, #92]
	str	r3, [sp, #88]
	bge	.L1
	ldr	r3, [sp, #8]
	ldr	r1, [sp, #40]
	sub	r3, r3, #2
	str	r3, [sp, #100]
	sub	r3, r3, r1
	str	r3, [sp, #136]
	str	r3, [sp, #96]
	mov	r3, #0
	str	r3, [sp, #76]
	mov	r3, #1
	mov	r9, r2
	lsl	r2, r8, #2
	str	r2, [sp, #128]
	lsl	r2, r10, #3
	str	r2, [sp, #84]
	ldr	r2, [sp, #44]
	str	r3, [sp, #36]
	add	r3, fp, r3
	str	r3, [sp, #116]
	sub	r3, r3, r2
	lsl	r0, r10, #2
	str	r3, [sp, #148]
	add	r3, r1, #1
	str	r0, [sp, #132]
	str	r0, [sp, #80]
	str	r3, [sp, #64]
.L5:
	ldr	r1, [sp, #112]
	ldr	r3, [sp, #80]
	ldr	lr, [sp, #76]
	ldr	ip, [sp, #124]
	ldr	r2, [r1, lr]
	ldr	r7, [r1, r3]
	ldr	r0, [ip, r3]
	ldr	r4, [sp, #64]
	ldr	r3, [ip, lr]
	ldr	lr, [sp, #120]
	add	r7, r7, r2
	cmp	lr, r4
	ldr	lr, [sp, #84]
	add	r0, r0, r3
	ldr	r2, [r1, lr]
	ldr	r3, [ip, lr]
	add	r7, r7, r2
	add	r0, r0, r3
	ble	.L18
	ldr	r1, [sp, #144]
	ldr	r2, [sp, #36]
	mov	r3, r1
	mul	r3, r2, r3
	ldr	r2, [sp, #104]
	mul	r0, r3, r0
	sub	ip, r2, r9
	mov	r2, ip
	mul	r2, r3, r2
	mov	r10, r2
	str	r2, [sp, #20]
	ldr	r2, [sp, #96]
	str	ip, [sp, #48]
	mul	r1, r2, r1
	mov	r2, ip
	mul	r2, r0, r2
	mov	r0, r2
	mov	r8, r1
	ldr	r2, [sp, #68]
	mul	r1, r7, r3
	rsb	r2, r2, #1
	add	r2, r2, r9
	mla	lr, r2, r1, r0
	mul	r1, r2, r3
	mov	r3, ip
	mul	r7, r8, r7
	mla	r3, r7, r3, r0
	mov	r7, r3
	ldr	r3, [sp, #40]
	mul	ip, r8, ip
	add	r4, r3, #2
	ldr	r3, [sp, #92]
	mov	r8, ip
	sub	r3, r3, #4
	str	r3, [sp, #52]
	ldr	r3, [sp, #88]
	ldr	r6, [sp, #140]
	sub	r3, r3, #4
	str	r3, [sp, #32]
	ldr	r3, [sp, #148]
	ldr	r5, [sp, #112]
	add	r3, r3, r9
	str	lr, [sp, #28]
	str	r1, [sp, #24]
	str	r3, [sp, #108]
	b	.L17
.L28:
	ldr	r0, [sp, #44]
	sub	r0, r0, fp
	cmp	r0, r9
	bls	.L10
	cmp	r1, r3
	bhi	.L11
	ldr	r1, [sp, #60]
	sub	r1, r1, fp
	cmp	r1, r3
	bls	.L12
	ldr	r3, [sp, #32]
	str	ip, [r3, r4, lsl #2]
.L9:
	ldr	r3, [sp, #8]
	add	r4, r4, #1
	cmp	r4, r3
	ldr	r3, [sp, #28]
	add	r6, r6, #4
	add	r7, r7, r3
	ldr	r3, [sp, #24]
	add	r5, r5, #4
	add	r8, r8, r3
	ldr	r3, [sp, #20]
	add	r10, r10, r3
	beq	.L18
.L17:
	ldr	r3, [sp, #228]
	cmp	r3, #0
	subeq	r3, r4, #1
	beq	.L7
	ldr	r3, [sp, #72]
	cmp	r3, r9
	beq	.L8
	ldr	r2, [sp, #68]
	ldr	r1, [sp, #64]
	sub	r3, r4, #1
	sub	r2, r2, #2
	cmp	r1, r3
	cmpne	r2, r9
	beq	.L8
	ldr	r2, [sp, #100]
	cmp	r2, r3
	beq	.L8
.L7:
	str	r3, [sp, #12]
	ldr	r3, [sp, #40]
	ldr	ip, [sp, #48]
	mvn	r2, r3
	ldr	r3, [sp, #8]
	add	r2, r2, r4
	sub	r1, r3, r4
	mul	r1, r2, r1
	ldr	r3, [sp, #36]
	mul	ip, r1, ip
	mul	r3, r1, r3
	mov	r1, r3
	ldr	r3, [sp, #56]
	ldr	r0, [r5, #4]
	mov	r2, r3
	mul	r2, ip, r2
	mul	r3, r1, r3
	mov	ip, r2
	mov	r1, r3
	ldr	r2, [r5]
	ldr	lr, [r5, #8]
	add	r0, r0, r2
	add	r0, r0, lr
	mul	r0, ip, r0
	ldm	r6, {r2, lr}
	ldr	r3, [r6, #8]
	add	r2, r2, lr
	add	r2, r2, r3
	mla	r0, r1, r2, r0
	add	r2, r8, r10
	add	ip, r2, ip
	add	r1, ip, r1
	add	r1, r1, r1, lsl #1
	add	r0, r0, r7
	add	r0, r0, r1, asr #1
	bl	__aeabi_idiv
	ldr	r3, [sp, #212]
	mov	ip, r0
	add	r2, r3, fp
	ldr	r3, [sp, #208]
	cmp	r2, r9
	add	r1, fp, r3
	str	r0, [sp, #16]
	ldr	r3, [sp, #12]
	bls	.L28
.L10:
	cmp	r1, r3
	bhi	.L11
	ldr	r1, [sp, #60]
	sub	r1, r1, fp
	cmp	r1, r3
	movhi	r0, #0
	bls	.L12
.L14:
	cmp	r2, r9
	bhi	.L29
.L15:
	ldr	r3, [sp, #44]
	sub	r3, r3, fp
	cmp	r3, r9
	bls	.L30
.L16:
	ldr	r2, [sp, #16]
	sub	r3, fp, r0
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [sp, #52]
	mov	r1, fp
	ldr	r2, [r2, r4, lsl #2]
	mla	r0, r2, r0, r3
	bl	__aeabi_uidiv
	ldr	r3, [sp, #32]
	str	r0, [r3, r4, lsl #2]
	b	.L9
.L8:
	mov	r3, #0
	ldr	r2, [sp, #32]
	str	r3, [r2, r4, lsl #2]
	b	.L9
.L11:
	ldr	r3, [sp, #116]
	str	r2, [sp, #12]
	ldr	r2, [sp, #208]
	mov	r0, #0
	add	r1, r3, r2
	sub	r1, r1, r4
	bl	FFMAX
	ldr	r2, [sp, #12]
	cmp	r2, r9
	bls	.L15
.L29:
	sub	r1, r2, r9
	bl	FFMAX
	b	.L16
.L12:
	ldr	r3, [sp, #60]
	mov	r0, #0
	sub	r1, fp, r3
	add	r1, r1, r4
	str	r2, [sp, #12]
	bl	FFMAX
	ldr	r2, [sp, #12]
	b	.L14
.L30:
	ldr	r1, [sp, #108]
	bl	FFMAX
	b	.L16
.L18:
	ldr	r3, [sp, #104]
	add	r9, r9, #1
	ldr	r2, [sp, #128]
	cmp	r9, r3
	ldr	r3, [sp, #88]
	ldr	r1, [sp, #136]
	add	r3, r3, r2
	str	r3, [sp, #88]
	ldr	r2, [sp, #92]
	ldr	r3, [sp, #132]
	add	r2, r2, r3
	str	r2, [sp, #92]
	ldr	r2, [sp, #36]
	add	r2, r2, #1
	str	r2, [sp, #36]
	ldr	r2, [sp, #96]
	add	r2, r2, r1
	str	r2, [sp, #96]
	ldr	r2, [sp, #76]
	add	r2, r2, r3
	str	r2, [sp, #76]
	ldr	r2, [sp, #80]
	add	r2, r2, r3
	str	r2, [sp, #80]
	ldr	r2, [sp, #84]
	add	r3, r2, r3
	str	r3, [sp, #84]
	bne	.L5
.L1:
	add	sp, sp, #156
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldr	r3, [sp, #196]
	mov	r2, r7
	str	r3, [sp, #4]
	ldr	r3, [sp, #192]
	mov	r1, r8
	str	r3, [sp]
	mov	r0, r9
	mov	r3, r10
	bl	av_image_copy_plane
	b	.L2
	.size	apply_delogo, .-apply_delogo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
