	.file	"960611.c"
	.intel_syntax noprefix
	.text
	.globl	get_int
	.type	get_int, @function
get_int:
.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, 16
	nop
.L2:
	call	getchar@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 32
	je	.L2
	cmp	DWORD PTR -8[rbp], 10
	je	.L2
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L5:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 48
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	call	getchar@PLT
	mov	DWORD PTR -8[rbp], eax
.L3:
	cmp	DWORD PTR -8[rbp], 47
	jle	.L4
	cmp	DWORD PTR -8[rbp], 57
	jle	.L5
.L4:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_int, .-get_int
	.section	.rodata
.LC0:
	.string	"Teste %d\n%d\n\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	lea	r11, -126976[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1992
	.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 -128996[rbp], 1
	mov	BYTE PTR -100064[rbp], 0
.L24:
	mov	eax, 0
	call	get_int
	mov	DWORD PTR -128980[rbp], eax
	cmp	DWORD PTR -128980[rbp], 0
	je	.L28
	mov	ebx, 0
	jmp	.L10
.L11:
	mov	eax, 0
	call	get_int
	movsx	rdx, ebx
	imul	rdx, rdx, 244
	lea	rdi, -48[rdx]
	lea	rdx, [rdi+rbp]
	sub	rdx, 128928
	mov	DWORD PTR [rdx], eax
	add	ebx, 1
.L10:
	cmp	ebx, DWORD PTR -128980[rbp]
	jl	.L11
	mov	ebx, 0
	jmp	.L12
.L15:
	lea	r12d, 1[rbx]
	jmp	.L13
.L14:
	lea	eax, -1[r12]
	movsx	rcx, eax
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	edx, DWORD PTR -128976[rbp+rax*4]
	movsx	rax, r12d
	imul	rax, rax, 244
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 128928
	mov	eax, DWORD PTR [rax]
	lea	ecx, [rdx+rax]
	movsx	rsi, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR -128976[rbp+rax*4], ecx
	add	r12d, 1
.L13:
	cmp	r12d, DWORD PTR -128980[rbp]
	jl	.L14
	add	ebx, 1
.L12:
	cmp	ebx, DWORD PTR -128980[rbp]
	jl	.L15
	mov	edi, 1
	jmp	.L16
.L23:
	mov	ebx, 0
	mov	r12d, edi
	jmp	.L17
.L22:
	lea	eax, 1[rbx]
	movsx	rcx, r12d
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR -114576[rbp+rax*4]
	lea	eax, 1[rbx]
	movsx	rsi, r12d
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR -128976[rbp+rax*4]
	lea	r15d, [rcx+rax]
	lea	r13d, 1[rbx]
	jmp	.L18
.L20:
	lea	eax, -1[r13]
	movsx	rcx, eax
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR -114576[rbp+rax*4]
	lea	eax, -1[r13]
	movsx	rsi, eax
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR -128976[rbp+rax*4]
	lea	esi, [rcx+rax]
	lea	eax, 1[r13]
	movsx	rcx, r12d
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -114576[rbp+rax*4]
	add	esi, eax
	lea	eax, 1[r13]
	movsx	rcx, r12d
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -128976[rbp+rax*4]
	lea	r14d, [rsi+rax]
	cmp	r14d, r15d
	jge	.L19
	mov	r15d, r14d
.L19:
	add	r13d, 1
.L18:
	cmp	r13d, r12d
	jl	.L20
	lea	eax, -1[r12]
	movsx	rcx, eax
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR -114576[rbp+rax*4]
	lea	eax, -1[r12]
	movsx	rsi, eax
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR -128976[rbp+rax*4]
	lea	r14d, [rcx+rax]
	cmp	r14d, r15d
	jge	.L21
	mov	r15d, r14d
.L21:
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR -114576[rbp+rax*4], r15d
	add	ebx, 1
	add	r12d, 1
.L17:
	cmp	r12d, DWORD PTR -128980[rbp]
	jl	.L22
	mov	eax, edi
	add	eax, 1
	mov	edi, eax
.L16:
	mov	eax, edi
	cmp	eax, DWORD PTR -128980[rbp]
	jl	.L23
	mov	eax, DWORD PTR -128980[rbp]
	sub	eax, 1
	cdqe
	mov	ecx, DWORD PTR -114576[rbp+rax*4]
	mov	edx, DWORD PTR -128996[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -128996[rbp], eax
	lea	rax, -100176[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -100176[rbp]
	lea	rax, -100064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	jmp	.L24
.L28:
	nop
	lea	rax, -100064[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -56[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	add	rsp, 128968
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	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	"960611.c"
	.text
	.align	2
	.global	get_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_int, %function
get_int:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	nop
.L2:
	bl	getchar
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #32
	beq	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L2
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L5:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-12]
	sub	r3, r3, #48
	add	r3, r2, r3
	str	r3, [fp, #-8]
	bl	getchar
	str	r0, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #47
	ble	.L4
	ldr	r3, [fp, #-12]
	cmp	r3, #57
	ble	.L5
.L4:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_int, .-get_int
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Teste %d\012%d\012\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128912
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #128000
	sub	sp, sp, #916
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r10, #1
	sub	r3, fp, #98304
	sub	r3, r3, #36
	mov	r2, #0
	strb	r2, [r3, #-1700]
.L24:
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r4, r3
	bl	get_int
	str	r0, [r4, #-1932]
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	cmp	r3, #0
	beq	.L28
	mov	r4, #0
	b	.L10
.L11:
	bl	get_int
	mov	r2, r0
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #1920
	sub	r3, r3, #8
	str	r2, [r3]
	add	r4, r4, #1
.L10:
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	cmp	r4, r3
	blt	.L11
	mov	r4, #0
	b	.L12
.L15:
	add	r5, r4, #1
	b	.L13
.L14:
	sub	r2, r5, #1
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-1928]
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r5
	lsl	r3, r3, #4
	sub	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #1920
	sub	r3, r3, #8
	ldr	r3, [r3]
	add	r2, r2, r3
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-1928]
	add	r5, r5, #1
.L13:
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	cmp	r5, r3
	blt	.L14
	add	r4, r4, #1
.L12:
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	cmp	r4, r3
	blt	.L15
	mov	r9, #1
	b	.L16
.L23:
	mov	r4, #0
	mov	r5, r9
	b	.L17
.L22:
	add	r2, r4, #1
	sub	r3, fp, #110592
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3912]
	add	r2, r4, #1
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-1928]
	add	r7, r1, r3
	add	r6, r4, #1
	b	.L18
.L20:
	sub	r2, r6, #1
	sub	r3, fp, #110592
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-3912]
	sub	r1, r6, #1
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r0, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-1928]
	add	r1, r2, r3
	add	r2, r6, #1
	sub	r3, fp, #110592
	sub	r3, r3, #36
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-3912]
	add	r1, r1, r3
	add	r2, r6, #1
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-1928]
	add	r8, r1, r3
	cmp	r8, r7
	bge	.L19
	mov	r7, r8
.L19:
	add	r6, r6, #1
.L18:
	cmp	r6, r5
	blt	.L20
	sub	r2, r5, #1
	sub	r3, fp, #110592
	sub	r3, r3, #36
	mov	r1, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-3912]
	sub	r1, r5, #1
	sub	r3, fp, #126976
	sub	r3, r3, #36
	mov	r0, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-1928]
	add	r8, r2, r3
	cmp	r8, r7
	bge	.L21
	mov	r7, r8
.L21:
	sub	r3, fp, #110592
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, r4
	lsl	r3, r3, #4
	sub	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r7, [r3, #-3912]
	add	r4, r4, #1
	add	r5, r5, #1
.L17:
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	cmp	r5, r3
	blt	.L22
	add	r9, r9, #1
.L16:
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	cmp	r9, r3
	blt	.L23
	mov	r2, r10
	add	r10, r2, #1
	sub	r3, fp, #126976
	sub	r3, r3, #36
	ldr	r3, [r3, #-1932]
	sub	r3, r3, #1
	sub	r1, fp, #110592
	sub	r1, r1, #36
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3912]
	sub	r0, fp, #99328
	sub	r0, r0, #36
	sub	r0, r0, #776
	ldr	r1, .L29+4
	bl	sprintf
	sub	r2, fp, #99328
	sub	r2, r2, #36
	sub	r2, r2, #776
	sub	r3, fp, #99328
	sub	r3, r3, #36
	sub	r3, r3, #676
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	b	.L24
.L28:
	nop
	sub	r3, fp, #99328
	sub	r3, r3, #36
	sub	r3, r3, #676
	mov	r0, r3
	bl	printf
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
