	.file	"extr_dcaenc.c_shift_history.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	shift_history, @function
shift_history:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	r11, rsi
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, ebx
	test	eax, eax
	jle	.L6
	mov	r10, QWORD PTR 8[rdi]
	mov	r9, QWORD PTR 16[rdi]
	lea	r8, 0[0+rbx*4]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L3:
	imul	eax, esi
	add	eax, DWORD PTR [r10+rdx*4]
	cdqe
	mov	ecx, DWORD PTR [r11+rax*4]
	mov	rax, QWORD PTR [r9+rdx*8]
	add	rdx, 1
	mov	DWORD PTR [rax+r8], ecx
	mov	eax, DWORD PTR [rdi]
	cmp	eax, edx
	jg	.L3
.L6:
	add	rbx, 1
	cmp	rbx, 512
	jne	.L2
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	shift_history, .-shift_history
	.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_dcaenc.c_shift_history.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shift_history, %function
shift_history:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	mov	r7, r1
	mov	r4, #0
	ldr	r3, [r0]
.L2:
	cmp	r3, #0
	ble	.L6
	ldmib	r5, {r0, r1}
	mov	r2, #0
	sub	r0, r0, #4
	sub	r1, r1, #4
	lsl	r6, r4, #2
.L3:
	ldr	lr, [r0, #4]!
	ldr	ip, [r1, #4]!
	mla	r3, r4, r3, lr
	ldr	r3, [r7, r3, lsl #2]
	add	r2, r2, #1
	str	r3, [ip, r6]
	ldr	r3, [r5]
	cmp	r3, r2
	bgt	.L3
.L6:
	add	r4, r4, #1
	cmp	r4, #512
	bne	.L2
	pop	{r4, r5, r6, r7, pc}
	.size	shift_history, .-shift_history
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
