	.file	"1219734.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"problems/003/PrimeNumbers_Upto_1000000"
.LC1:
	.string	"r"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 264
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -192[rbp], 0
	mov	DWORD PTR -176[rbp], 1000000
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -160[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -196[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	lea	rbx, [rdx+rax]
	mov	esi, 1
	mov	edi, 10
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -196[rbp], 1
.L2:
	mov	eax, DWORD PTR -196[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L3
	mov	DWORD PTR -200[rbp], 0
	mov	DWORD PTR -204[rbp], 1
	jmp	.L4
.L9:
	lea	rax, -66[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -176[rbp], eax
	jle	.L38
	lea	rax, -66[rbp]
	mov	esi, 48
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L7
	jmp	.L4
.L7:
	lea	rax, -66[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	DWORD PTR -204[rbp], eax
	jge	.L8
	add	DWORD PTR -204[rbp], 1
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	edx, DWORD PTR -200[rbp]
	mov	DWORD PTR -96[rbp+rax*4], edx
.L8:
	lea	rax, -66[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rsi, -1[rax]
	mov	eax, DWORD PTR -200[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -200[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	lea	rax, -66[rbp]
	mov	rdx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L4:
	mov	rax, QWORD PTR -160[rbp]
	lea	rcx, -66[rbp]
	mov	rdx, rax
	mov	esi, 10
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	jmp	.L6
.L38:
	nop
.L6:
	mov	DWORD PTR -208[rbp], 4
	jmp	.L10
.L32:
	mov	rax, rsp
	mov	r13, rax
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	cdqe
	sub	rax, 1
	mov	QWORD PTR -144[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	cdqe
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L11:
	cmp	rsp, rcx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L13
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -136[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, DWORD PTR -172[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	DWORD PTR -212[rbp], 0
	mov	DWORD PTR -216[rbp], 0
	mov	DWORD PTR -188[rbp], 1
	jmp	.L14
.L30:
	mov	rax, rsp
	mov	r12, rax
	mov	eax, DWORD PTR -188[rbp]
	lea	edx, 1[rax]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	movsx	rdx, edx
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L15:
	cmp	rsp, rcx
	je	.L16
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L15
.L16:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L17
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L17:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -188[rbp]
	lea	edx, 1[rax]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -112[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], 0
	movsx	rdx, edx
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L18:
	cmp	rsp, rcx
	je	.L19
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L18
.L19:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L20
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L20:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
	mov	rdx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -188[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -172[rbp]
	sub	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	DWORD PTR -212[rbp], 0
	mov	DWORD PTR -216[rbp], 0
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR -184[rbp], eax
	jmp	.L21
.L26:
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	ebx, eax
	jle	.L22
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	ebx, eax
	jg	.L39
.L22:
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	ebx, eax
	jne	.L24
	mov	DWORD PTR -212[rbp], 1
.L24:
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	ebx, eax
	jne	.L25
	mov	DWORD PTR -216[rbp], 1
.L25:
	add	DWORD PTR -184[rbp], 1
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	je	.L40
.L21:
	cmp	DWORD PTR -212[rbp], 0
	je	.L26
	cmp	DWORD PTR -216[rbp], 0
	je	.L26
	jmp	.L23
.L39:
	nop
	jmp	.L23
.L40:
	nop
.L23:
	cmp	DWORD PTR -212[rbp], 0
	je	.L27
	cmp	DWORD PTR -216[rbp], 0
	je	.L27
	mov	rsp, r12
	jmp	.L37
.L27:
	mov	rsp, r12
	jmp	.L29
.L37:
	add	DWORD PTR -188[rbp], 1
.L14:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L30
.L29:
	cmp	DWORD PTR -212[rbp], 0
	je	.L31
	cmp	DWORD PTR -216[rbp], 0
	je	.L31
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	atoi@PLT
	add	DWORD PTR -192[rbp], eax
.L31:
	mov	rsp, r13
	add	DWORD PTR -208[rbp], 1
.L10:
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, DWORD PTR -200[rbp]
	jl	.L32
	mov	DWORD PTR -180[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -180[rbp], 1
.L33:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L34
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -192[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"1219734.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"problems/003/PrimeNumbers_Upto_1000000\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #132
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r3, .L32+4
	str	r3, [fp, #-108]
	sub	r3, fp, #64
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	ldr	r3, .L32+8
	str	r3, [fp, #-104]
	ldr	r1, .L32+12
	ldr	r0, [fp, #-104]
	bl	fopen
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L2
.L3:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r4, r2, r3
	mov	r1, #1
	mov	r0, #10
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L2:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #1
	str	r3, [fp, #-136]
	b	.L4
.L9:
	sub	r3, fp, #36
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	ble	.L29
	sub	r3, fp, #36
	mov	r1, #48
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	b	.L4
.L7:
	sub	r3, fp, #36
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-136]
	cmp	r3, r2
	bge	.L8
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [fp, #-132]
	str	r2, [r3, #-44]
.L8:
	ldr	r3, [fp, #-132]
	add	r2, r3, #1
	str	r2, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r4, [r3]
	sub	r3, fp, #36
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, r3, #1
	sub	r3, fp, #36
	mov	r1, r3
	mov	r0, r4
	bl	memcpy
.L4:
	sub	r3, fp, #36
	ldr	r2, [fp, #-100]
	mov	r1, #10
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	b	.L6
.L29:
	nop
.L6:
	mov	r3, #4
	str	r3, [fp, #-140]
	b	.L10
.L23:
	mov	r3, sp
	mov	r6, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-84]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	mov	r1, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #1
	str	r3, [fp, #-120]
	b	.L11
.L21:
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-120]
	add	ip, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-80]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-120]
	add	ip, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-72]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-76]
	ldr	r1, [fp, #-84]
	ldr	r2, [fp, #-120]
	mov	r0, r3
	bl	memcpy
	ldr	r0, [fp, #-68]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-120]
	sub	r3, r2, r3
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r2, [fp, #-120]
	mov	r1, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	str	r3, [fp, #-116]
	b	.L12
.L17:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r4, r0
	ldr	r0, [fp, #-76]
	bl	atoi
	mov	r3, r0
	cmp	r4, r3
	ble	.L13
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r4, r0
	ldr	r0, [fp, #-68]
	bl	atoi
	mov	r3, r0
	cmp	r4, r3
	bgt	.L30
.L13:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r4, r0
	ldr	r0, [fp, #-76]
	bl	atoi
	mov	r3, r0
	cmp	r4, r3
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-144]
.L15:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r4, r0
	ldr	r0, [fp, #-68]
	bl	atoi
	mov	r3, r0
	cmp	r4, r3
	bne	.L16
	mov	r3, #1
	str	r3, [fp, #-148]
.L16:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	beq	.L31
.L12:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L17
	b	.L14
.L30:
	nop
	b	.L14
.L31:
	nop
.L14:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L18
	mov	sp, r5
	b	.L28
.L18:
	mov	sp, r5
	b	.L20
.L28:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L11:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L21
.L20:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L22
	ldr	r0, [fp, #-84]
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-124]
	add	r3, r3, r2
	str	r3, [fp, #-124]
.L22:
	mov	sp, r6
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L10:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L23
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L24
.L25:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L24:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	blt	.L25
	ldr	r0, [fp, #-96]
	bl	free
	ldr	r0, [fp, #-100]
	bl	fclose
	ldr	r1, [fp, #-124]
	ldr	r0, .L32+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC3
	.word	1000000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
