	.file	"825009.c"
	.intel_syntax noprefix
	.text
	.globl	verif_primo
	.type	verif_primo, @function
verif_primo:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 1
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -8[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L3
	add	DWORD PTR -4[rbp], 1
.L3:
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L4
	cmp	DWORD PTR -4[rbp], 2
	jne	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	verif_primo, .-verif_primo
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%ld"
.LC2:
	.string	"Agora estou Putin, Bonxai!"
.LC3:
	.string	"Bonxai foi de base."
	.align 8
.LC4:
	.string	"Agora voce passou dos limites!"
	.align 8
.LC5:
	.string	"Parabueins! Voce ajudou Bonxai a escapar."
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -8184[rbp], 0
	mov	QWORD PTR -8176[rbp], 0
	mov	QWORD PTR -8168[rbp], 0
	mov	QWORD PTR -8160[rbp], 0
	mov	QWORD PTR -8152[rbp], 0
	mov	QWORD PTR -8208[rbp], 0
	mov	QWORD PTR -8144[rbp], 0
	mov	QWORD PTR -8136[rbp], 0
	mov	QWORD PTR -8128[rbp], 0
	mov	QWORD PTR -8120[rbp], 0
	mov	QWORD PTR -8200[rbp], 1
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -8200[rbp]
	mov	edi, eax
	call	verif_primo
	cmp	eax, 1
	jne	.L9
	mov	rax, QWORD PTR -8184[rbp]
	mov	rdx, QWORD PTR -8200[rbp]
	mov	QWORD PTR -8112[rbp+rax*8], rdx
	add	QWORD PTR -8184[rbp], 1
.L9:
	add	QWORD PTR -8200[rbp], 1
.L8:
	cmp	QWORD PTR -8200[rbp], 5000
	jle	.L10
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -8120[rbp], rax
	mov	QWORD PTR -8200[rbp], 0
	jmp	.L11
.L12:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -8200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	QWORD PTR -8152[rbp], rax
	add	QWORD PTR -8200[rbp], 1
.L11:
	mov	rax, QWORD PTR -8200[rbp]
	cmp	rax, QWORD PTR -8120[rbp]
	jl	.L12
	mov	QWORD PTR -8200[rbp], 0
	jmp	.L13
.L25:
	lea	rax, -8208[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8208[rbp]
	add	QWORD PTR -8144[rbp], rax
	add	QWORD PTR -8136[rbp], 1
	mov	QWORD PTR -8192[rbp], 0
	jmp	.L14
.L19:
	mov	rax, QWORD PTR -8192[rbp]
	mov	rcx, QWORD PTR -8112[rbp+rax*8]
	mov	rax, QWORD PTR -8152[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR -8192[rbp]
	mov	rax, QWORD PTR -8112[rbp+rax*8]
	test	rax, rax
	jle	.L15
	add	QWORD PTR -8168[rbp], 1
.L15:
	cmp	QWORD PTR -8168[rbp], 3
	je	.L16
	cmp	QWORD PTR -8192[rbp], 399
	jne	.L17
.L16:
	mov	QWORD PTR -8128[rbp], 1
.L17:
	add	QWORD PTR -8192[rbp], 1
.L14:
	cmp	QWORD PTR -8192[rbp], 399
	jg	.L18
	cmp	QWORD PTR -8128[rbp], 0
	je	.L19
.L18:
	mov	rcx, QWORD PTR -8152[rbp]
	movabs	rdx, 8680820740569200761
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 3
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	rdx, rax
	sal	rdx, 4
	add	rdx, rax
	mov	rax, rcx
	sub	rax, rdx
	test	rax, rax
	jne	.L20
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	QWORD PTR -8176[rbp], 1
.L20:
	cmp	QWORD PTR -8168[rbp], 3
	jne	.L21
	cmp	QWORD PTR -8160[rbp], 0
	jne	.L21
	mov	rdx, QWORD PTR -8152[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	QWORD PTR -8152[rbp], rax
	mov	QWORD PTR -8160[rbp], 1
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -8144[rbp]
	cmp	rax, QWORD PTR -8152[rbp]
	jge	.L23
	cmp	QWORD PTR -8136[rbp], 6
	jne	.L23
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	QWORD PTR -8176[rbp], 1
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -8144[rbp]
	cmp	rax, QWORD PTR -8152[rbp]
	jle	.L24
	cmp	QWORD PTR -8136[rbp], 6
	jg	.L24
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	QWORD PTR -8176[rbp], 1
	jmp	.L22
.L24:
	mov	rax, QWORD PTR -8144[rbp]
	cmp	rax, QWORD PTR -8152[rbp]
	jne	.L22
	cmp	QWORD PTR -8136[rbp], 6
	jg	.L22
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	QWORD PTR -8176[rbp], 1
.L22:
	add	QWORD PTR -8200[rbp], 1
.L13:
	cmp	QWORD PTR -8176[rbp], 0
	je	.L25
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"825009.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	verif_primo
	.syntax unified
	.arm
	.fpu softvfp
	.type	verif_primo, %function
verif_primo:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L2
.L4:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L5
	mov	r3, #1
	b	.L6
.L5:
	mov	r3, #0
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	verif_primo, .-verif_primo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"%ld\000"
	.align	2
.LC2:
	.ascii	"Agora estou Putin, Bonxai!\000"
	.align	2
.LC3:
	.ascii	"Bonxai foi de base.\000"
	.align	2
.LC4:
	.ascii	"Agora voce passou dos limites!\000"
	.align	2
.LC5:
	.ascii	"Parabueins! Voce ajudou Bonxai a escapar.\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4096
	sub	sp, sp, #56
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-52]
	b	.L8
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r0, [r3, #-52]
	bl	verif_primo
	mov	r3, r0
	cmp	r3, #1
	bne	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-52]
	str	r2, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-52]
	add	r3, r3, #1
	str	r3, [r2, #-52]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-52]
	ldr	r2, .L28+4
	cmp	r3, r2
	ble	.L10
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #4
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	b	.L11
.L12:
	sub	r2, fp, #108
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-28]
	add	r3, r3, r1
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-52]
	add	r3, r3, #1
	str	r3, [r2, #-52]
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-52]
	ldr	r3, [r3, #-12]
	cmp	r2, r3
	blt	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	b	.L13
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #56
	mov	r1, r3
	ldr	r0, .L28+12
	bl	__isoc99_scanf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-56]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	str	r3, [r1, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	add	r3, r3, #1
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	b	.L14
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	ble	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-36]
	add	r3, r3, #1
	str	r3, [r2, #-36]
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-36]
	cmp	r3, #3
	beq	.L16
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-48]
	ldr	r2, .L28+16
	cmp	r3, r2
	bne	.L17
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-16]
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-48]
	add	r3, r3, #1
	str	r3, [r2, #-48]
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-48]
	cmp	r3, #400
	bge	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	beq	.L19
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-28]
	ldr	r3, .L28+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L20
	ldr	r0, .L28+24
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-40]
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-36]
	cmp	r3, #3
	bne	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	bne	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	str	r3, [r1, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-32]
	b	.L22
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	bge	.L23
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	cmp	r3, #6
	bne	.L23
	ldr	r0, .L28+28
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-40]
	b	.L22
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	ble	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	cmp	r3, #6
	bgt	.L24
	ldr	r0, .L28+32
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-40]
	b	.L22
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	bne	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	cmp	r3, #6
	bgt	.L22
	ldr	r0, .L28+36
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-40]
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-52]
	add	r3, r3, #1
	str	r3, [r2, #-52]
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	beq	.L25
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC6
	.word	5000
	.word	.LC0
	.word	.LC1
	.word	399
	.word	2021161081
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
