	.file	"487543.c"
	.intel_syntax noprefix
	.text
	.globl	new_unrolled
	.type	new_unrolled, @function
new_unrolled:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 48
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	new_unrolled, .-new_unrolled
	.globl	sum_unrolled
	.type	sum_unrolled, @function
sum_unrolled:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -12[rbp], eax
	sub	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 12[rax+rdx*4]
	cdqe
	add	QWORD PTR -8[rbp], rax
	jmp	.L6
.L7:
	sub	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 12[rax+rdx*4]
	cdqe
	add	QWORD PTR -8[rbp], rax
.L6:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
.L5:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sum_unrolled, .-sum_unrolled
	.globl	del_unrolled
	.type	del_unrolled, @function
del_unrolled:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L11:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L12
	mov	QWORD PTR -24[rbp], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	del_unrolled, .-del_unrolled
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	movabs	rax, 753057078882375803
	mov	QWORD PTR -32[rbp], rax
	jmp	.L14
.L18:
	call	new_unrolled
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L14
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR 8[rdx]
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, ecx
	mov	DWORD PTR 12[rdx+rcx*4], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 7
	jbe	.L16
	add	DWORD PTR -40[rbp], 1
	cmp	QWORD PTR -24[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
.L14:
	cmp	DWORD PTR -40[rbp], 41
	jbe	.L18
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sum_unrolled
	mov	rdx, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	lea	rax, -32[rbp]
	mov	edx, 8
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	del_unrolled
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"487543.c"
	.text
	.align	2
	.global	new_unrolled
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_unrolled, %function
new_unrolled:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #40
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_unrolled, .-new_unrolled
	.align	2
	.global	sum_unrolled
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_unrolled, %function
sum_unrolled:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sum_unrolled, .-sum_unrolled
	.align	2
	.global	del_unrolled
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_unrolled, %function
del_unrolled:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	b	.L11
.L12:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	free
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-16]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	del_unrolled, .-del_unrolled
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	ldr	r3, .L21+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	adr	r3, .L21
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L14
.L18:
	bl	new_unrolled
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L14
	b	.L15
.L16:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [r2, #4]
	ldr	r2, [fp, #-32]
	add	r1, r1, #2
	str	r3, [r2, r1, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3, #4]
.L15:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	cmp	r3, #7
	bls	.L16
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-44]
	b	.L14
.L17:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-44]
.L14:
	ldr	r3, [fp, #-40]
	cmp	r3, #41
	bls	.L18
	ldr	r0, [fp, #-44]
	bl	sum_unrolled
	mov	r3, r0
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	sub	r3, fp, #28
	mov	r2, #8
	mov	r1, r3
	mov	r0, #1
	bl	write
	ldr	r0, [fp, #-44]
	bl	del_unrolled
	mov	r3, #0
	ldr	r2, .L21+8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L22:
	.align	3
.L21:
	.word	1650497659
	.word	175334764
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
