	.file	"54823971.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Sum: %lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -1998848[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1216
	mov	DWORD PTR -2000052[rbp], edi
	mov	QWORD PTR -2000064[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2000048[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -2000048[rbp]
	cdqe
	mov	BYTE PTR -2000016[rbp+rax], 1
	add	DWORD PTR -2000048[rbp], 1
.L2:
	cmp	DWORD PTR -2000048[rbp], 1999999
	jle	.L3
	mov	DWORD PTR -2000036[rbp], 1414
	mov	DWORD PTR -2000044[rbp], 2
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -2000044[rbp]
	cdqe
	movzx	eax, BYTE PTR -2000016[rbp+rax]
	test	al, al
	je	.L5
	mov	eax, DWORD PTR -2000044[rbp]
	imul	eax, eax
	mov	DWORD PTR -2000040[rbp], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -2000040[rbp]
	cdqe
	mov	BYTE PTR -2000016[rbp+rax], 0
	mov	eax, DWORD PTR -2000044[rbp]
	add	DWORD PTR -2000040[rbp], eax
.L6:
	cmp	DWORD PTR -2000040[rbp], 1999999
	jle	.L7
.L5:
	add	DWORD PTR -2000044[rbp], 1
.L4:
	mov	eax, DWORD PTR -2000044[rbp]
	cmp	eax, DWORD PTR -2000036[rbp]
	jle	.L8
	mov	QWORD PTR -2000032[rbp], 0
	mov	QWORD PTR -2000024[rbp], 2
	jmp	.L9
.L11:
	lea	rdx, -2000016[rbp]
	mov	rax, QWORD PTR -2000024[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L10
	mov	rax, QWORD PTR -2000024[rbp]
	add	QWORD PTR -2000032[rbp], rax
.L10:
	add	QWORD PTR -2000024[rbp], 1
.L9:
	cmp	QWORD PTR -2000024[rbp], 1999999
	jbe	.L11
	mov	rax, QWORD PTR -2000032[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"54823971.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Sum: %llu\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2000048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #1998848
	sub	sp, sp, #1200
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	str	r0, [r3, #-1196]
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	str	r1, [r3, #-1200]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1192]
	b	.L2
.L3:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1192]
	add	r3, r2, r3
	sub	r3, r3, #1152
	sub	r3, r3, #4
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1192]
	add	r3, r3, #1
	str	r3, [r2, #-1192]
.L2:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1192]
	ldr	r2, .L14+4
	cmp	r3, r2
	blt	.L3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L14+8
	str	r3, [r2, #-1180]
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-1188]
	b	.L4
.L8:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1188]
	add	r3, r2, r3
	sub	r3, r3, #1152
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1188]
	mov	r1, r3
	mul	r1, r3, r1
	mov	r3, r1
	str	r3, [r2, #-1184]
	b	.L6
.L7:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1184]
	add	r3, r2, r3
	sub	r3, r3, #1152
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r2, [r2, #-1184]
	ldr	r3, [r3, #-1188]
	add	r3, r2, r3
	str	r3, [r1, #-1184]
.L6:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1184]
	ldr	r2, .L14+4
	cmp	r3, r2
	blt	.L7
.L5:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r3, [r3, #-1188]
	add	r3, r3, #1
	str	r3, [r2, #-1188]
.L4:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	ldr	r2, [r2, #-1188]
	ldr	r3, [r3, #-1180]
	cmp	r2, r3
	ble	.L8
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	mov	r1, r3
	mov	r2, #2
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L9
.L11:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r3, r3, #1152
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	mov	ip, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	mov	r2, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	ldmdb	r2, {r0-r1}
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	stmdb	ip, {r4-r5}
.L10:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	mov	r1, r3
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	stm	r1, {r6-r7}
.L9:
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+4
	mov	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bcc	.L11
	sub	r3, fp, #1998848
	sub	r3, r3, #20
	sub	r3, r3, #1168
	ldmdb	r3, {r2-r3}
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	2000000
	.word	1414
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
