	.file	"extr_vf_bm3d.c_filter_frame.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	filter_frame, @function
filter_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	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, 72
	.cfi_def_cfa_offset 128
	mov	rbx, QWORD PTR 24[rdi]
	mov	QWORD PTR 8[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 16[rdi]
	mov	rdi, QWORD PTR [rax]
	mov	esi, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR [rdi]
	call	ff_get_video_buffer@PLT
	mov	QWORD PTR [r15], rax
	test	rax, rax
	je	.L16
	mov	rdi, rax
	mov	rsi, r12
	xor	r15d, r15d
	call	av_frame_copy_props@PLT
	lea	rax, 32[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jg	.L4
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	DWORD PTR 48[rsp], edx
	mov	eax, DWORD PTR [rax]
	xor	ecx, ecx
	mov	rdi, rbp
	mov	rdx, QWORD PTR 24[rsp]
	mov	esi, DWORD PTR filter_slice[rip]
	mov	DWORD PTR 20[rsp], r8d
	mov	DWORD PTR 44[rsp], eax
	mov	rax, QWORD PTR 8[r14]
	mov	eax, DWORD PTR [rax+r13]
	mov	DWORD PTR 40[rsp], eax
	mov	rax, QWORD PTR [r14]
	mov	eax, DWORD PTR [rax+r13]
	mov	DWORD PTR 32[rsp], r15d
	mov	DWORD PTR 36[rsp], eax
	mov	rax, QWORD PTR 0[rbp]
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR 8[rsp]
	mov	ecx, r15d
	mov	r8d, DWORD PTR 20[rsp]
	mov	rdi, rbx
	add	r15, 1
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR [rdx+r13]
	mov	esi, DWORD PTR [rax+r13]
	call	[QWORD PTR 24[rbx]]
	cmp	DWORD PTR [rbx], r15d
	jle	.L9
.L4:
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 40[rbx]
	lea	r13, 0[0+r15*4]
	mov	eax, DWORD PTR [rax+r15*4]
	cdq
	idiv	DWORD PTR 16[rbx]
	mov	esi, eax
	call	FFMIN@PLT
	mov	edi, 1
	mov	esi, eax
	call	FFMAX@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR 20[rbx]
	bt	eax, r15d
	mov	rax, QWORD PTR 8[r12]
	mov	edx, DWORD PTR [rax+r15*4]
	mov	rax, r13
	jnc	.L17
	add	rax, QWORD PTR [r12]
	cmp	QWORD PTR 8[rbp], 0
	je	.L7
.L6:
	mov	rcx, QWORD PTR 8[rsp]
	mov	r9, QWORD PTR 8[rbx]
	add	r15, 1
	mov	r8, QWORD PTR 32[rbx]
	mov	rcx, QWORD PTR [rcx]
	mov	r9d, DWORD PTR [r9+r13]
	mov	r8d, DWORD PTR [r8+r13]
	mov	rsi, QWORD PTR [rcx]
	mov	rcx, QWORD PTR 8[rcx]
	mov	esi, DWORD PTR [rsi+r13]
	mov	edi, DWORD PTR [rcx+r13]
	mov	ecx, DWORD PTR [rax]
	call	av_image_copy_plane@PLT
	cmp	DWORD PTR [rbx], r15d
	jg	.L4
.L9:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rax, QWORD PTR [r12]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR ENOMEM[rip]
	call	AVERROR@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	filter_frame, .-filter_frame
	.comm	filter_slice,4,4
	.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_vf_bm3d.c_filter_frame.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	filter_frame, %function
filter_frame:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	ldr	r0, [r0, #8]
	mov	r10, r3
	ldr	r0, [r0]
	ldr	r3, .L18
	mov	fp, r1
	sub	sp, sp, #36
	mov	r9, r2
	ldr	r1, [r0, #4]
	ldr	r2, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r5, [r8, #12]
	bl	ff_get_video_buffer
	cmp	r0, #0
	str	r0, [fp]
	beq	.L15
	mov	r1, r9
	bl	av_frame_copy_props
	ldr	r3, [r5]
	cmp	r3, #0
	movgt	r4, #0
	bgt	.L4
	b	.L9
.L7:
	str	r2, [sp, #24]
	ldr	r1, [r1, r6]
	ldr	r2, [r10, #4]
	str	r1, [sp, #20]
	ldr	r1, [r2, r6]
	ldr	r2, [r10]
	str	r1, [sp, #16]
	ldr	r1, [r2, r6]
	ldr	r2, [r8]
	str	r1, [sp, #12]
	ldr	r1, .L18+4
	str	r7, [sp]
	ldr	ip, [r2]
	ldr	r1, [r1]
	str	r4, [sp, #8]
	add	r2, sp, #8
	mov	r0, r8
	blx	ip
	ldr	r2, [fp]
	mov	r3, r4
	ldm	r2, {r0, r1}
	ldr	r2, [r0, r6]
	ldr	r1, [r1, r6]
	str	r7, [sp]
	mov	r0, r5
	ldr	r6, [r5, #16]
	blx	r6
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L9
.L4:
	ldr	r3, [r5, #4]
	ldr	r1, [r5, #8]
	ldr	r0, [r3, r4, lsl #2]
	bl	__aeabi_idiv
	mov	r1, r0
	ldr	r0, [r5, #24]
	bl	FFMIN
	mov	r1, r0
	mov	r0, #1
	bl	FFMAX
	ldr	r3, [r5, #12]
	mov	r7, r0
	asr	r3, r3, r4
	tst	r3, #1
	lsl	r6, r4, #2
	beq	.L16
	ldm	r9, {r1, r2}
	ldr	r3, [r8, #4]
	ldr	r2, [r2, r4, lsl #2]
	cmp	r3, #0
	add	r0, r1, r6
	beq	.L7
.L6:
	ldr	ip, [r5, #4]
	ldr	r3, [fp]
	ldr	ip, [ip, r6]
	ldm	r3, {r1, lr}
	ldr	r3, [r0]
	ldr	r1, [r1, r6]
	ldr	r0, [lr, r6]
	str	ip, [sp, #4]
	ldr	ip, [r5, #20]
	add	r4, r4, #1
	ldr	ip, [ip, r6]
	str	ip, [sp]
	bl	av_image_copy_plane
	ldr	r3, [r5]
	cmp	r3, r4
	bgt	.L4
.L9:
	mov	r0, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldm	r9, {r0, r3}
	ldr	r2, [r3, r4, lsl #2]
	add	r0, r0, r6
	b	.L6
.L15:
	ldr	r3, .L18+8
	ldr	r0, [r3]
	bl	AVERROR
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	filter_slice
	.word	ENOMEM
	.size	filter_frame, .-filter_frame
	.comm	filter_slice,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
