	.file	"extr_vf_fade.c_filter_slice_luma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	filter_slice_luma, @function
filter_slice_luma:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, DWORD PTR [rsi]
	mov	rdi, QWORD PTR [rdi]
	imul	edx, r8d
	mov	eax, edx
	mov	r9d, edx
	cdq
	idiv	ecx
	mov	r10d, eax
	lea	eax, [r8+r9]
	cdq
	idiv	ecx
	cmp	r10d, eax
	jge	.L9
	mov	rdx, QWORD PTR 8[rsi]
	mov	r11, QWORD PTR 16[rsi]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdx]
	mov	edx, DWORD PTR 24[rsi]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR [r11]
	imul	ecx, r10d
	movsx	rcx, ecx
	lea	r8, [rbx+rcx*4]
	mov	ecx, DWORD PTR [rdi]
	imul	ecx, edx
	test	ecx, ecx
	jle	.L3
	xor	ecx, ecx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR [r8+rcx*4]
	sub	edx, DWORD PTR 4[rdi]
	imul	edx, DWORD PTR 8[rdi]
	add	edx, DWORD PTR 12[rdi]
	sar	edx, 16
	mov	DWORD PTR [r8+rcx*4], edx
	mov	edx, DWORD PTR 24[rsi]
	add	rcx, 1
	mov	r9d, DWORD PTR [rdi]
	imul	r9d, edx
	cmp	r9d, ecx
	jg	.L4
.L3:
	add	r10d, 1
	cmp	eax, r10d
	jne	.L5
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore 3
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	filter_slice_luma, .-filter_slice_luma
	.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_fade.c_filter_slice_luma.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	filter_slice_luma, %function
filter_slice_luma:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r3
	mov	r3, r0
	ldr	r9, [r1]
	mov	r5, r1
	mul	r7, r2, r9
	mov	r1, r8
	mov	r0, r7
	ldr	r4, [r3]
	bl	__aeabi_idiv
	mov	r1, r8
	mov	r6, r0
	add	r0, r9, r7
	bl	__aeabi_idiv
	cmp	r6, r0
	bge	.L2
	ldmib	r5, {r3, r7}
	ldr	r1, [r5, #12]
	ldr	lr, [r3]
	ldr	r3, [r4]
.L5:
	ldr	r2, [r7]
	mul	ip, r3, r1
	mul	r2, r6, r2
	cmp	ip, #0
	add	r2, lr, r2, lsl #2
	ble	.L3
	mov	ip, #0
.L4:
	ldr	r3, [r2]
	ldr	r9, [r4, #4]
	ldr	r8, [r4, #8]
	ldr	r1, [r4, #12]
	sub	r3, r3, r9
	mla	r3, r8, r3, r1
	asr	r3, r3, #16
	str	r3, [r2], #4
	ldr	r1, [r5, #12]
	ldr	r3, [r4]
	add	ip, ip, #1
	mul	r8, r3, r1
	cmp	r8, ip
	bgt	.L4
.L3:
	add	r6, r6, #1
	cmp	r0, r6
	bne	.L5
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	filter_slice_luma, .-filter_slice_luma
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
