	.file	"855926.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d%d %s"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d %d %s"
.LC3:
	.string	"Nenhum"
.LC4:
	.string	"%d %d %s %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
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -1008[rbp]
	lea	rdx, -3408[rbp]
	lea	rax, -4208[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -4232[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -4224[rbp], 1
	jmp	.L2
.L3:
	lea	rcx, -1008[rbp]
	mov	eax, DWORD PTR -4224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rcx, rax
	lea	rdx, -3408[rbp]
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	lea	rsi, -4208[rbp]
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -4224[rbp], 1
.L2:
	mov	eax, DWORD PTR -4232[rbp]
	cmp	DWORD PTR -4224[rbp], eax
	jl	.L3
	mov	DWORD PTR -4228[rbp], 0
	mov	DWORD PTR -4220[rbp], 10000
	mov	DWORD PTR -4224[rbp], 1
	jmp	.L4
.L6:
	lea	rcx, -1008[rbp]
	mov	eax, DWORD PTR -4224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -4208[rbp+rax*4]
	mov	edx, DWORD PTR -4208[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	mov	DWORD PTR -4216[rbp], eax
	sub	DWORD PTR -4216[rbp], edx
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -3408[rbp+rax*4]
	mov	edx, DWORD PTR -3408[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	mov	DWORD PTR -4212[rbp], eax
	sub	DWORD PTR -4212[rbp], edx
	mov	edx, DWORD PTR -4216[rbp]
	mov	eax, DWORD PTR -4212[rbp]
	add	eax, edx
	cmp	DWORD PTR -4220[rbp], eax
	jle	.L5
	mov	edx, DWORD PTR -4216[rbp]
	mov	eax, DWORD PTR -4212[rbp]
	add	eax, edx
	mov	DWORD PTR -4220[rbp], eax
.L5:
	add	DWORD PTR -4224[rbp], 1
.L4:
	mov	eax, DWORD PTR -4232[rbp]
	cmp	DWORD PTR -4224[rbp], eax
	jl	.L6
	mov	DWORD PTR -4224[rbp], 1
	jmp	.L7
.L9:
	lea	rcx, -1008[rbp]
	mov	eax, DWORD PTR -4224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -4208[rbp+rax*4]
	mov	edx, DWORD PTR -4208[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	mov	DWORD PTR -4216[rbp], eax
	sub	DWORD PTR -4216[rbp], edx
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -3408[rbp+rax*4]
	mov	edx, DWORD PTR -3408[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	mov	DWORD PTR -4212[rbp], eax
	sub	DWORD PTR -4212[rbp], edx
	mov	edx, DWORD PTR -4216[rbp]
	mov	eax, DWORD PTR -4212[rbp]
	add	eax, edx
	cmp	DWORD PTR -4220[rbp], eax
	jne	.L8
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	edx, DWORD PTR -3408[rbp+rax*4]
	mov	eax, DWORD PTR -4228[rbp]
	cdqe
	mov	DWORD PTR -1808[rbp+rax*4], edx
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	edx, DWORD PTR -4208[rbp+rax*4]
	mov	eax, DWORD PTR -4228[rbp]
	cdqe
	mov	DWORD PTR -2608[rbp+rax*4], edx
	add	DWORD PTR -4228[rbp], 1
.L8:
	add	DWORD PTR -4224[rbp], 1
.L7:
	mov	eax, DWORD PTR -4232[rbp]
	cmp	DWORD PTR -4224[rbp], eax
	jl	.L9
	cmp	DWORD PTR -4228[rbp], 0
	jne	.L10
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L11
.L10:
	mov	DWORD PTR -4224[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -2608[rbp+rax*4]
	mov	ecx, DWORD PTR -4208[rbp]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -2608[rbp+rax*4]
	mov	ecx, DWORD PTR -4208[rbp]
	sub	eax, ecx
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -1808[rbp+rax*4]
	mov	esi, DWORD PTR -3408[rbp]
	sub	eax, esi
	mov	edx, eax
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -1808[rbp+rax*4]
	mov	esi, DWORD PTR -3408[rbp]
	sub	eax, esi
	imul	eax, edx
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	edx, DWORD PTR -1808[rbp+rax*4]
	mov	eax, DWORD PTR -4224[rbp]
	cdqe
	mov	eax, DWORD PTR -2608[rbp+rax*4]
	lea	rcx, -1008[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4224[rbp], 1
.L12:
	mov	eax, DWORD PTR -4224[rbp]
	cmp	eax, DWORD PTR -4228[rbp]
	jl	.L13
.L11:
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.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	"855926.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d %s\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"%d %d %s\000"
	.align	2
.LC3:
	.ascii	"Nenhum\000"
	.align	2
.LC4:
	.ascii	"%d %d %s %d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4224
	sub	sp, sp, #16
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1008
	sub	r2, fp, #3392
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r1, fp, #4160
	sub	r1, r1, #4
	sub	r1, r1, #44
	ldr	r0, .L16+4
	bl	__isoc99_scanf
	sub	r3, fp, #4224
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-124]
	b	.L2
.L3:
	sub	r3, fp, #4160
	sub	r3, r3, #4
	sub	r3, r3, #44
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-124]
	lsl	r2, r2, #2
	add	r0, r3, r2
	sub	r3, fp, #3392
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-124]
	lsl	r2, r2, #2
	add	ip, r3, r2
	sub	r1, fp, #1008
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-124]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r1, r3
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L16+12
	bl	__isoc99_scanf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	add	r3, r3, #1
	str	r3, [r2, #-124]
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-124]
	cmp	r2, r3
	blt	.L3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-128]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L16+16
	str	r3, [r2, #-120]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-124]
	b	.L4
.L6:
	sub	r1, fp, #1008
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-124]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r2, r1, r3
	sub	r3, fp, #1008
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-108]
	sub	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [r2, #-116]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-3404]
	ldr	r3, [fp, #-3408]
	sub	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [r2, #-112]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-116]
	ldr	r3, [r3, #-112]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-120]
	cmp	r2, r3
	ble	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-116]
	ldr	r3, [r3, #-112]
	add	r3, r2, r3
	str	r3, [r1, #-120]
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	add	r3, r3, #1
	str	r3, [r2, #-124]
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-124]
	cmp	r2, r3
	blt	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-124]
	b	.L7
.L9:
	sub	r1, fp, #1008
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-124]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r2, r1, r3
	sub	r3, fp, #1008
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-108]
	sub	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [r2, #-116]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-3404]
	ldr	r3, [fp, #-3408]
	sub	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [r2, #-112]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-116]
	ldr	r3, [r3, #-112]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-120]
	cmp	r2, r3
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-3404]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-128]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1804]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-128]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2604]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-128]
	add	r3, r3, #1
	str	r3, [r2, #-128]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	add	r3, r3, #1
	str	r3, [r2, #-124]
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-132]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-124]
	cmp	r2, r3
	blt	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-128]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L16+20
	bl	puts
	b	.L11
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-124]
	b	.L12
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	ip, [r3, #-2604]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	lr, [r3, #-1804]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-2604]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-108]
	sub	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-2604]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-108]
	sub	r3, r1, r3
	mul	r2, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1804]
	ldr	r3, [fp, #-3408]
	sub	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r0, [r3, #-1804]
	ldr	r3, [fp, #-3408]
	sub	r3, r0, r3
	mul	r3, r1, r3
	add	r3, r2, r3
	sub	r2, fp, #1008
	str	r3, [sp]
	mov	r3, r2
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L16+24
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-124]
	add	r3, r3, #1
	str	r3, [r2, #-124]
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-124]
	ldr	r3, [r3, #-128]
	cmp	r2, r3
	blt	.L13
.L11:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	10000
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
