	.file	"extr_cavs.c_intra_pred_down_right.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intra_pred_down_right, @function
intra_pred_down_right:
.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
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	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, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdi
	mov	DWORD PTR 4[rsp], ecx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, QWORD PTR 8[rsp]
	movsx	rax, r13d
	xor	ebx, ebx
	lea	r15, [rdx+rax*4]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, ebx
	mov	rdi, rbp
	sub	esi, r14d
	call	LOWPASS@PLT
	mov	DWORD PTR [r15], eax
.L4:
	add	ebx, 1
	add	r15, 4
	cmp	ebx, 8
	je	.L11
.L6:
	cmp	ebx, r14d
	je	.L12
	jg	.L13
	mov	esi, r14d
	mov	rdi, r12
	add	r15, 4
	sub	esi, ebx
	add	ebx, 1
	call	LOWPASS@PLT
	mov	DWORD PTR -4[r15], eax
	cmp	ebx, 8
	jne	.L6
.L11:
	add	r14d, 1
	add	r13d, DWORD PTR 4[rsp]
	cmp	r14d, 8
	jne	.L2
	add	rsp, 24
	.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
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR 0[rbp]
	mov	eax, DWORD PTR 4[r12]
	lea	eax, [rax+rsi*2]
	add	eax, DWORD PTR 4[rbp]
	add	eax, 2
	sar	eax, 2
	mov	DWORD PTR [r15], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	intra_pred_down_right, .-intra_pred_down_right
	.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_cavs.c_intra_pred_down_right.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intra_pred_down_right, %function
intra_pred_down_right:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	mov	r9, r1
	mov	r7, r2
	mov	r5, #0
	lsl	r8, r3, #2
.L2:
	mov	r4, #0
	b	.L6
.L3:
	sub	r1, r4, r5
	movgt	r0, r9
	suble	r1, r5, r4
	movle	r0, r7
	bl	LOWPASS
	str	r0, [r6, r4, lsl #2]
	add	r4, r4, #1
	cmp	r4, #8
	beq	.L11
.L6:
	cmp	r4, r5
	bne	.L3
	ldr	r1, [r9]
	ldr	r3, [r7, #4]
	ldr	r2, [r9, #4]
	add	r3, r3, r1, lsl #1
	add	r3, r3, r2
	add	r3, r3, #2
	asr	r3, r3, #2
	str	r3, [r6, r4, lsl #2]
	add	r4, r4, #1
	cmp	r4, #8
	bne	.L6
.L11:
	add	r5, r5, #1
	cmp	r5, #8
	add	r6, r6, r8
	bne	.L2
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	intra_pred_down_right, .-intra_pred_down_right
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
