	.file	"907122.c"
	.intel_syntax noprefix
	.text
	.globl	testaPrimos
	.bss
	.align 32
	.type	testaPrimos, @object
	.size	testaPrimos, 1000000
testaPrimos:
	.zero	1000000
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.text
	.globl	crivo
	.type	crivo, @function
crivo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 1000000
	mov	esi, 1
	lea	rdi, testaPrimos[rip]
	call	memset@PLT
	mov	BYTE PTR testaPrimos[rip], 0
	mov	BYTE PTR testaPrimos[rip+1], 0
	mov	DWORD PTR i[rip], 2
	jmp	.L2
.L6:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, testaPrimos[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L3
	mov	eax, DWORD PTR i[rip]
	add	eax, eax
	mov	DWORD PTR j[rip], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, testaPrimos[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR i[rip]
	add	eax, edx
	mov	DWORD PTR j[rip], eax
.L4:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 999999
	jle	.L5
.L3:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 999999
	jle	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	crivo, .-crivo
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
	.text
	.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
	lea	r11, -999424[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 608
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1000032[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, 0
	call	crivo
	lea	rax, -1000016[rbp]
	mov	edx, 1000000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR j[rip], 2
	jmp	.L8
.L11:
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, testaPrimos[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L9
	mov	eax, DWORD PTR j[rip]
	sub	eax, 2
	cdqe
	lea	rdx, testaPrimos[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	je	.L10
	mov	eax, DWORD PTR j[rip]
	add	eax, 2
	cdqe
	lea	rdx, testaPrimos[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L9
.L10:
	mov	eax, DWORD PTR j[rip]
	cdqe
	mov	BYTE PTR -1000016[rbp+rax], 1
.L9:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L8:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 1000000
	jle	.L11
	mov	DWORD PTR i[rip], 0
	jmp	.L12
.L19:
	mov	DWORD PTR -1000020[rbp], 0
	lea	rdx, -1000024[rbp]
	lea	rax, -1000028[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -1000028[rbp]
	mov	eax, DWORD PTR -1000024[rbp]
	cmp	edx, eax
	jge	.L13
	mov	eax, DWORD PTR -1000028[rbp]
	mov	DWORD PTR j[rip], eax
	jmp	.L14
.L15:
	mov	eax, DWORD PTR j[rip]
	cdqe
	movzx	eax, BYTE PTR -1000016[rbp+rax]
	movsx	eax, al
	add	DWORD PTR -1000020[rbp], eax
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L14:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR -1000024[rbp]
	cmp	edx, eax
	jle	.L15
	jmp	.L16
.L13:
	mov	eax, DWORD PTR -1000024[rbp]
	mov	DWORD PTR j[rip], eax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR j[rip]
	cdqe
	movzx	eax, BYTE PTR -1000016[rbp+rax]
	movsx	eax, al
	add	DWORD PTR -1000020[rbp], eax
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L17:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR -1000028[rbp]
	cmp	edx, eax
	jle	.L18
.L16:
	mov	eax, DWORD PTR -1000020[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L12:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR -1000032[rbp]
	cmp	edx, eax
	jl	.L19
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.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	"907122.c"
	.text
	.comm	testaPrimos,1000000,4
	.comm	i,4,4
	.comm	j,4,4
	.align	2
	.global	crivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	crivo, %function
crivo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L7
	mov	r1, #1
	ldr	r0, .L7+4
	bl	memset
	ldr	r3, .L7+4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L7+4
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, .L7+8
	mov	r2, #2
	str	r2, [r3]
	b	.L2
.L6:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	ldr	r2, .L7+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L3
	ldr	r3, .L7+8
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L7+12
	str	r3, [r2]
	b	.L4
.L5:
	ldr	r3, .L7+12
	ldr	r3, [r3]
	ldr	r2, .L7+4
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, .L7+12
	ldr	r2, [r3]
	ldr	r3, .L7+8
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L7+12
	str	r3, [r2]
.L4:
	ldr	r3, .L7+12
	ldr	r3, [r3]
	ldr	r2, .L7
	cmp	r3, r2
	blt	.L5
.L3:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L7+8
	str	r3, [r2]
.L2:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	ldr	r2, .L7
	cmp	r3, r2
	blt	.L6
	nop
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	1000000
	.word	testaPrimos
	.word	i
	.word	j
	.size	crivo, .-crivo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d %d\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 = 1000024
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #999424
	sub	sp, sp, #600
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #999424
	sub	r3, r3, #4
	sub	r3, r3, #596
	mov	r1, r3
	ldr	r0, .L24+4
	bl	__isoc99_scanf
	bl	crivo
	sub	r3, fp, #999424
	sub	r3, r3, #4
	sub	r3, r3, #580
	ldr	r2, .L24+8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L24+12
	mov	r2, #2
	str	r2, [r3]
	b	.L10
.L13:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	ldr	r2, .L24+16
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L11
	ldr	r3, .L24+12
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L24+16
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L12
	ldr	r3, .L24+12
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L24+16
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L11
.L12:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	sub	r2, fp, #999424
	sub	r2, r2, #4
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3, #-580]
.L11:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L24+12
	str	r3, [r2]
.L10:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	ldr	r2, .L24+8
	cmp	r3, r2
	ble	.L13
	ldr	r3, .L24+20
	mov	r2, #0
	str	r2, [r3]
	b	.L14
.L21:
	sub	r3, fp, #999424
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-584]
	sub	r2, fp, #999424
	sub	r2, r2, #4
	sub	r2, r2, #588
	sub	r3, fp, #999424
	sub	r3, r3, #4
	sub	r3, r3, #592
	mov	r1, r3
	ldr	r0, .L24+24
	bl	__isoc99_scanf
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r2, [r3, #-592]
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-588]
	cmp	r2, r3
	bge	.L15
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-592]
	ldr	r2, .L24+12
	str	r3, [r2]
	b	.L16
.L17:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	sub	r2, fp, #999424
	sub	r2, r2, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-580]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-584]
	add	r3, r3, r1
	str	r3, [r2, #-584]
	ldr	r3, .L24+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L24+12
	str	r3, [r2]
.L16:
	ldr	r3, .L24+12
	ldr	r2, [r3]
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-588]
	cmp	r2, r3
	ble	.L17
	b	.L18
.L15:
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-588]
	ldr	r2, .L24+12
	str	r3, [r2]
	b	.L19
.L20:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	sub	r2, fp, #999424
	sub	r2, r2, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-580]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-584]
	add	r3, r3, r1
	str	r3, [r2, #-584]
	ldr	r3, .L24+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L24+12
	str	r3, [r2]
.L19:
	ldr	r3, .L24+12
	ldr	r2, [r3]
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-592]
	cmp	r2, r3
	ble	.L20
.L18:
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r1, [r3, #-584]
	ldr	r0, .L24+28
	bl	printf
	ldr	r3, .L24+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L24+20
	str	r3, [r2]
.L14:
	ldr	r3, .L24+20
	ldr	r2, [r3]
	sub	r3, fp, #999424
	sub	r3, r3, #4
	ldr	r3, [r3, #-596]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC3
	.word	.LC0
	.word	1000000
	.word	j
	.word	testaPrimos
	.word	i
	.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
