	.file	"190767631.c"
	.intel_syntax noprefix
	.text
	.globl	len
	.bss
	.align 32
	.type	len, @object
	.size	len, 2000020
len:
	.zero	2000020
	.globl	L
	.align 32
	.type	L, @object
	.size	L, 4000040
L:
	.zero	4000040
	.globl	divisors
	.align 32
	.type	divisors, @object
	.size	divisors, 8000080
divisors:
	.zero	8000080
	.text
	.globl	Generate
	.type	Generate, @function
Generate:
.LFB0:
	.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	DWORD PTR L[rip+4], 1
	mov	eax, DWORD PTR L[rip+4]
	mov	DWORD PTR L[rip], eax
	mov	eax, DWORD PTR L[rip]
	mov	WORD PTR len[rip+2], ax
	movzx	eax, WORD PTR len[rip+2]
	mov	WORD PTR len[rip], ax
	mov	DWORD PTR -24[rbp], 4
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	mov	WORD PTR [rdx+rax], 2
	add	DWORD PTR -24[rbp], 1
	add	DWORD PTR -24[rbp], 1
.L2:
	cmp	DWORD PTR -24[rbp], 1000009
	jle	.L3
	mov	DWORD PTR -24[rbp], 3
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	test	ax, ax
	jne	.L5
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, eax
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, eax
	mov	DWORD PTR -8[rbp], eax
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	test	ax, ax
	jne	.L7
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	mov	WORD PTR [rdx+rax], cx
.L7:
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -20[rbp], eax
.L6:
	cmp	DWORD PTR -20[rbp], 1000009
	jle	.L8
.L5:
	add	DWORD PTR -24[rbp], 2
.L4:
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, eax
	cmp	eax, 1000009
	jle	.L9
	mov	DWORD PTR -24[rbp], 2
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	test	ax, ax
	jne	.L11
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, L[rip]
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, L[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	esi, ax
	mov	eax, DWORD PTR -24[rbp]
	cdq
	idiv	esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L12
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, L[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L12:
	add	DWORD PTR -24[rbp], 1
.L10:
	cmp	DWORD PTR -24[rbp], 1000009
	jle	.L13
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR divisors[rip+8], rax
	mov	rax, QWORD PTR divisors[rip+8]
	mov	DWORD PTR [rax], 1
	mov	WORD PTR len[rip+2], 1
	mov	DWORD PTR -24[rbp], 2
	jmp	.L14
.L22:
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L15
.L17:
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdq
	idiv	esi
	mov	DWORD PTR -16[rbp], eax
.L15:
	cmp	DWORD PTR -16[rbp], 1
	jle	.L16
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	je	.L17
.L16:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	imul	eax, ecx
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	rax, ax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, divisors[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	mov	WORD PTR [rdx+rax], 0
	jmp	.L18
.L21:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, divisors[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, divisors[rip]
	mov	rdi, QWORD PTR [rcx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rcx+rax]
	mov	ecx, eax
	add	ecx, 1
	mov	r8d, ecx
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rcx, ecx
	lea	rsi, [rcx+rcx]
	lea	rcx, len[rip]
	mov	WORD PTR [rsi+rcx], r8w
	movsx	rax, ax
	sal	rax, 2
	lea	rcx, [rdi+rax]
	mov	eax, edx
	imul	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -8[rbp], 1
.L19:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, len[rip]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	cmp	DWORD PTR -8[rbp], eax
	jl	.L20
	add	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L21
	add	DWORD PTR -24[rbp], 1
.L14:
	cmp	DWORD PTR -24[rbp], 1000009
	jle	.L22
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	Generate, .-Generate
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	Generate
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"190767631.c"
	.text
	.comm	len,2000020,4
	.comm	L,4000040,4
	.comm	divisors,4000040,4
	.global	__aeabi_idiv
	.align	2
	.global	Generate
	.syntax unified
	.arm
	.fpu softvfp
	.type	Generate, %function
Generate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L23
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, .L23
	ldr	r3, [r3, #4]
	ldr	r2, .L23
	str	r3, [r2]
	ldr	r3, .L23
	ldr	r3, [r3]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L23+4
	strh	r3, [r2, #2]	@ movhi
	ldr	r3, .L23+4
	ldrsh	r3, [r3, #2]
	ldr	r2, .L23+4
	strh	r3, [r2]	@ movhi
	mov	r3, #4
	str	r3, [fp, #-28]
	b	.L2
.L3:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	ldr	r2, .L23+8
	cmp	r3, r2
	ble	.L3
	mov	r3, #3
	str	r3, [fp, #-28]
	b	.L4
.L9:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-28]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L6
.L8:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L23+4
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
.L7:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L6:
	ldr	r3, [fp, #-24]
	ldr	r2, .L23+8
	cmp	r3, r2
	ble	.L8
.L5:
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	str	r3, [fp, #-28]
.L4:
	ldr	r3, [fp, #-28]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, .L23+8
	cmp	r3, r2
	ble	.L9
	mov	r3, #2
	str	r3, [fp, #-28]
	b	.L10
.L13:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r1, .L23
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
	b	.L12
.L11:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r2, .L23
	ldr	r3, [fp, #-28]
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L23
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L23
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L12
	ldr	r1, .L23
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L12:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L10:
	ldr	r3, [fp, #-28]
	ldr	r2, .L23+8
	cmp	r3, r2
	ble	.L13
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L23+12
	str	r2, [r3, #4]
	ldr	r3, .L23+12
	ldr	r3, [r3, #4]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L23+4
	mov	r2, #1
	strh	r2, [r3, #2]	@ movhi
	mov	r3, #2
	str	r3, [fp, #-28]
	b	.L14
.L22:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L15
.L17:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, .L23
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-20]
.L15:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	ble	.L16
	ldr	r2, .L23
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L23
	ldr	r3, [fp, #-28]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	beq	.L17
.L16:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r1, .L23+4
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #1
	add	r2, r1, r2
	ldrsh	r2, [r2]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L23+12
	ldr	r3, [fp, #-28]
	str	r1, [r2, r3, lsl #2]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r2, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L19
.L20:
	ldr	r2, .L23+12
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, .L23+12
	ldr	r3, [fp, #-28]
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L23+4
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r0, r3
	ldrsh	r3, [r3]
	lsl	r0, r3, #16
	lsr	r0, r0, #16
	add	r0, r0, #1
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	lsl	r0, r0, #16
	asr	ip, r0, #16
	ldr	lr, .L23+4
	ldr	r0, [fp, #-28]
	lsl	r0, r0, #1
	add	r0, lr, r0
	strh	ip, [r0]	@ movhi
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [fp, #-8]
	mul	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L19:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	blt	.L20
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r2, .L23
	ldr	r3, [fp, #-28]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
.L18:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L14:
	ldr	r3, [fp, #-28]
	ldr	r2, .L23+8
	cmp	r3, r2
	ble	.L22
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	L
	.word	len
	.word	1000009
	.word	divisors
	.size	Generate, .-Generate
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	Generate
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
