	.file	"extr_vf_sab.c_open_filter_param.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	open_filter_param, @function
open_filter_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	mov	esi, 8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, ebp
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	FFALIGN@PLT
	mov	edi, r12d
	imul	edi, eax
	mov	r14, rax
	call	av_malloc@PLT
	mov	DWORD PTR 56[rbx], eax
	test	eax, eax
	je	.L20
	movsd	xmm0, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 52[rbx]
	mov	DWORD PTR [rbx], r14d
	call	sws_getGaussianVec@PLT
	mov	edx, DWORD PTR AV_PIX_FMT_GRAY8[rip]
	mov	r8d, r12d
	mov	ecx, ebp
	mov	QWORD PTR 16[rsp], rax
	mov	r14, rax
	mov	esi, r12d
	mov	edi, ebp
	mov	QWORD PTR 24[rsp], rax
	mov	r9d, edx
	mov	QWORD PTR [rsp], 0
	mov	DWORD PTR 8[rsp], 0
	push	0
	.cfi_def_cfa_offset 104
	push	0
	.cfi_def_cfa_offset 112
	lea	rax, 16[rsp]
	push	rax
	.cfi_def_cfa_offset 120
	push	r13
	.cfi_def_cfa_offset 128
	call	sws_getContext@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
	mov	rdi, r14
	mov	DWORD PTR 48[rbx], eax
	call	sws_freeVec@PLT
	mov	edi, DWORD PTR 44[rbx]
	movsd	xmm0, QWORD PTR .LC1[rip]
	call	sws_getGaussianVec@PLT
	mov	r9d, DWORD PTR COLOR_DIFF_COEFF_SIZE[rip]
	mov	rdi, rax
	test	r9d, r9d
	jle	.L9
	mov	rax, QWORD PTR 8[rax]
	mov	r8, QWORD PTR 16[rbx]
	xor	esi, esi
	pxor	xmm3, xmm3
	movsd	xmm2, QWORD PTR .LC2[rip]
	movsd	xmm1, QWORD PTR .LC3[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	movapd	xmm0, xmm3
.L7:
	movsx	rdx, edx
	divsd	xmm0, QWORD PTR [rax+rdx*8]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	DWORD PTR [r8+rsi*4], edx
	mov	r9d, DWORD PTR COLOR_DIFF_COEFF_SIZE[rip]
	add	rsi, 1
	cmp	r9d, esi
	jle	.L9
.L8:
	mov	r10d, DWORD PTR [rdi]
	mov	ecx, r9d
	mov	r11d, esi
	shr	ecx, 31
	mov	edx, r10d
	add	ecx, r9d
	sar	ecx
	shr	edx, 31
	add	edx, r10d
	sub	r11d, ecx
	sar	edx
	mov	ecx, r11d
	add	ecx, edx
	js	.L14
	cmp	r10d, ecx
	jle	.L14
	movsx	rcx, ecx
	movsd	xmm0, QWORD PTR [rax+rcx*8]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	call	sws_freeVec@PLT
	movsd	xmm0, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 40[rbx]
	call	sws_getGaussianVec@PLT
	mov	esi, 8
	mov	edi, DWORD PTR [rax]
	mov	rbp, rax
	mov	DWORD PTR 24[rbx], edi
	call	FFALIGN@PLT
	mov	edi, DWORD PTR 24[rbx]
	mov	DWORD PTR 28[rbx], eax
	lea	esi, 0[0+rax*4]
	call	av_malloc_array@PLT
	mov	QWORD PTR 32[rbx], rax
	test	rax, rax
	je	.L22
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	jle	.L11
	movsd	xmm1, QWORD PTR .LC3[rip]
	movsd	xmm3, QWORD PTR .LC4[rip]
	xor	r9d, r9d
	mov	rdi, QWORD PTR 8[rbp]
	.p2align 4,,10
	.p2align 3
.L10:
	movsd	xmm2, QWORD PTR [rdi+r9*8]
	mov	r8d, r9d
	xor	esi, esi
	.p2align 4,,10
	.p2align 3
.L12:
	movsd	xmm0, QWORD PTR [rdi+rsi*8]
	mov	ecx, DWORD PTR 28[rbx]
	mulsd	xmm0, xmm2
	imul	ecx, r8d
	add	ecx, esi
	add	rsi, 1
	movsx	rcx, ecx
	mulsd	xmm0, xmm3
	addsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	DWORD PTR [rax+rcx*4], edx
	mov	edx, DWORD PTR 0[rbp]
	cmp	edx, esi
	jg	.L12
	add	r9, 1
	cmp	edx, r9d
	jg	.L10
.L11:
	mov	rdi, rbp
	call	sws_freeVec@PLT
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	mov	rdi, rbp
	call	sws_freeVec@PLT
.L20:
	mov	edi, DWORD PTR ENOMEM[rip]
	call	AVERROR@PLT
	jmp	.L1
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	open_filter_param, .-open_filter_param
	.comm	ENOMEM,4,4
	.comm	COLOR_DIFF_COEFF_SIZE,4,4
	.comm	AV_PIX_FMT_GRAY8,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1075052544
	.align 8
.LC2:
	.long	0
	.long	1085276160
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.align 8
.LC4:
	.long	0
	.long	1083179008
	.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_sab.c_open_filter_param.c"
	.text
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_filter_param, %function
open_filter_param:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r3
	ldr	r3, .L24
	sub	sp, sp, #60
	mov	r9, r0
	mov	r6, r1
	mov	r0, r1
	mov	r1, #8
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	bl	FFALIGN
	mov	r4, r0
	mul	r0, r4, r5
	bl	av_malloc
	cmp	r0, #0
	str	r0, [r9, #48]
	beq	.L20
	add	r3, r9, #8
	ldmia	r3, {r2-r3}
	str	r4, [r9]
	ldr	r0, [r9, #44]
	bl	sws_getGaussianVec
	mov	r4, #0
	mov	r8, r0
	ldr	r3, .L24+4
	str	r7, [sp, #8]
	ldr	r2, [r3]
	add	r3, sp, #36
	mov	r1, r5
	str	r2, [sp, #4]
	str	r3, [sp, #12]
	mov	r0, r6
	mov	r3, r6
	str	r5, [sp]
	str	r4, [sp, #20]
	str	r4, [sp, #16]
	str	r8, [sp, #44]
	str	r8, [sp, #48]
	str	r4, [sp, #36]
	str	r4, [sp, #40]
	bl	sws_getContext
	mov	r3, r0
	mov	r0, r8
	str	r3, [r9, #40]
	bl	sws_freeVec
	ldr	r3, .L24+8
	mov	r2, #0
	ldr	r0, [r9, #36]
	bl	sws_getGaussianVec
	ldr	fp, .L24+12
	mov	r8, r0
	ldr	r3, [fp]
	cmp	r3, r4
	ble	.L9
	ldr	r5, [r9, #16]
	mov	r6, #0
	ldr	r7, .L24+16
	ldr	r10, [r0, #4]
	sub	r5, r5, #4
	b	.L8
.L7:
	add	r2, r10, r2, lsl #3
	ldmia	r2, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dmul
	ldr	r3, .L24+20
	mov	r2, #0
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	str	r0, [r5, #4]!
	ldr	r3, [fp]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L9
.L8:
	ldr	r1, [r8]
	add	r3, r3, r3, lsr #31
	add	r2, r1, r1, lsr #31
	sub	r3, r4, r3, asr #1
	add	r3, r3, r2, asr #1
	cmp	r1, r3
	movgt	r1, #0
	movle	r1, #1
	orrs	r1, r1, r3, lsr #31
	movne	r0, #0
	movne	r1, #0
	asr	r2, r2, #1
	addeq	r3, r10, r3, lsl #3
	ldmiaeq	r3, {r0-r1}
	b	.L7
.L9:
	mov	r0, r8
	bl	sws_freeVec
	add	r3, r9, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [r9, #32]
	bl	sws_getGaussianVec
	mov	r10, r0
	ldr	r0, [r0]
	mov	r1, #8
	str	r0, [r9, #20]
	bl	FFALIGN
	mov	r1, r0
	ldr	r0, [r9, #20]
	str	r1, [r9, #24]
	lsl	r1, r1, #2
	bl	av_malloc_array
	cmp	r0, #0
	str	r0, [sp, #24]
	str	r0, [r9, #28]
	beq	.L22
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L11
	mov	fp, #0
	ldr	r3, [r10, #4]
	str	r3, [sp, #28]
.L10:
	mov	r4, #0
	ldr	r6, [sp, #28]
	add	r3, r6, fp, lsl #3
	ldmia	r3, {r7-r8}
.L12:
	mov	r2, r7
	ldmia	r6!, {r0-r1}
	mov	r3, r8
	bl	__aeabi_dmul
	mov	r2, #0
	ldr	r3, .L24+24
	bl	__aeabi_dmul
	ldr	r3, .L24+20
	mov	r2, #0
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r5, [r9, #24]
	ldr	r3, [sp, #24]
	mla	r5, fp, r5, r4
	str	r0, [r3, r5, lsl #2]
	ldr	r3, [r10]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L12
	add	fp, fp, #1
	cmp	r3, fp
	bgt	.L10
.L11:
	mov	r0, r10
	bl	sws_freeVec
	mov	r0, #0
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	mov	r0, r10
	bl	sws_freeVec
.L20:
	ldr	r3, .L24+28
	ldr	r0, [r3]
	bl	AVERROR
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	AV_PIX_FMT_GRAY8
	.word	1075052544
	.word	COLOR_DIFF_COEFF_SIZE
	.word	1085276160
	.word	1071644672
	.word	1083179008
	.word	ENOMEM
	.size	open_filter_param, .-open_filter_param
	.comm	ENOMEM,4,4
	.comm	COLOR_DIFF_COEFF_SIZE,4,4
	.comm	AV_PIX_FMT_GRAY8,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
