	.file	"729563.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"dados.txt"
	.align 8
.LC1:
	.string	"\n\t Arquivos criados com sucesso!!"
	.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
	lea	rdi, .LC0[rip]
	call	criaArquivoTeste
	lea	rdi, .LC0[rip]
	call	mergeSortExterno
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"w"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"%d"
	.text
	.globl	criaArquivoTeste
	.type	criaArquivoTeste, @function
criaArquivoTeste:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L4
.L5:
	call	rand@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L4:
	cmp	DWORD PTR -12[rbp], 999
	jle	.L5
	call	rand@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	criaArquivoTeste, .-criaArquivoTeste
	.section	.rodata
.LC5:
	.string	"Tempo%d.txt"
	.text
	.globl	mergeSortExterno
	.type	mergeSortExterno, @function
mergeSortExterno:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	criaArquivoOrdenados
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	lea	ecx, 1[rax]
	mov	eax, 100
	cdq
	idiv	ecx
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	remove@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	merge
	mov	DWORD PTR -44[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	lea	rax, -32[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	remove@PLT
	add	DWORD PTR -44[rbp], 1
.L7:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L8
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mergeSortExterno, .-mergeSortExterno
	.section	.rodata
.LC6:
	.string	"r"
.LC7:
	.string	"Temp%d.txt"
	.text
	.globl	criaArquivoOrdenados
	.type	criaArquivoOrdenados, @function
criaArquivoOrdenados:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 464
	mov	QWORD PTR -456[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -448[rbp], 0
	mov	DWORD PTR -444[rbp], 0
	mov	rax, QWORD PTR -456[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -440[rbp], rax
	jmp	.L11
.L12:
	lea	rdx, -432[rbp]
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -444[rbp], 1
	cmp	DWORD PTR -444[rbp], 100
	jne	.L11
	add	DWORD PTR -448[rbp], 1
	mov	edx, DWORD PTR -448[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -444[rbp]
	movsx	rsi, eax
	lea	rax, -432[rbp]
	lea	rcx, compara[rip]
	mov	edx, 4
	mov	rdi, rax
	call	qsort@PLT
	mov	edx, DWORD PTR -444[rbp]
	lea	rsi, -432[rbp]
	lea	rax, -32[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	salvaArquivo
	mov	DWORD PTR -444[rbp], 0
.L11:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L12
	cmp	DWORD PTR -444[rbp], 0
	jle	.L13
	add	DWORD PTR -448[rbp], 1
	mov	edx, DWORD PTR -448[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -444[rbp]
	movsx	rsi, eax
	lea	rax, -432[rbp]
	lea	rcx, compara[rip]
	mov	edx, 4
	mov	rdi, rax
	call	qsort@PLT
	mov	edx, DWORD PTR -444[rbp]
	lea	rsi, -432[rbp]
	lea	rax, -32[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	salvaArquivo
.L13:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -448[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	criaArquivoOrdenados, .-criaArquivoOrdenados
	.section	.rodata
.LC8:
	.string	"a"
	.text
	.globl	salvaArquivo
	.type	salvaArquivo, @function
salvaArquivo:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L17:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L18
	cmp	DWORD PTR -40[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L20:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	salvaArquivo, .-salvaArquivo
	.globl	merge
	.type	merge, @function
merge:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	DWORD PTR -96[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, 1[rax]
	lea	rax, -48[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rbx, [rdx+rax]
	lea	rax, -48[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	DWORD PTR 12[rax], 0
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	DWORD PTR 8[rax], 0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rbx, [rcx+rax]
	mov	rdi, rdx
	call	malloc@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -96[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	preencheBuffer
	add	DWORD PTR -72[rbp], 1
.L22:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L23
	mov	DWORD PTR -68[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -68[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jne	.L24
	mov	edx, DWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	salvaArquivo
	mov	DWORD PTR -68[rbp], 0
.L24:
	lea	rcx, -76[rbp]
	mov	edx, DWORD PTR -96[rbp]
	mov	esi, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	procuraMenor
	cmp	eax, 1
	je	.L25
	cmp	DWORD PTR -68[rbp], 0
	je	.L26
	mov	edx, DWORD PTR -68[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	salvaArquivo
.L26:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -72[rbp], 1
.L27:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L28
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	merge, .-merge
	.globl	procuraMenor
	.type	procuraMenor, @function
procuraMenor:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -4[rbp], -1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L31
.L34:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 12[rax]
	cmp	ecx, eax
	jge	.L32
	cmp	DWORD PTR -4[rbp], -1
	jne	.L33
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jge	.L32
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
.L32:
	add	DWORD PTR -8[rbp], 1
.L31:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L34
	cmp	DWORD PTR -4[rbp], -1
	je	.L35
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	add	edx, 1
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 12[rax]
	cmp	ecx, eax
	jne	.L36
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	preencheBuffer
.L36:
	mov	eax, 1
	jmp	.L37
.L35:
	mov	eax, 0
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	procuraMenor, .-procuraMenor
	.globl	preencheBuffer
	.type	preencheBuffer, @function
preencheBuffer:
.LFB13:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L46
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L44:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L45
.L42:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], 0
	jmp	.L38
.L45:
	add	DWORD PTR -4[rbp], 1
.L41:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L44
	jmp	.L38
.L46:
	nop
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	preencheBuffer, .-preencheBuffer
	.globl	compara
	.type	compara, @function
compara:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L48
	mov	eax, 0
	jmp	.L49
.L48:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L50
	mov	eax, -1
	jmp	.L49
.L50:
	mov	eax, 1
.L49:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	compara, .-compara
	.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	"729563.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"dados.txt\000"
	.align	2
.LC1:
	.ascii	"\012\011 Arquivos criados com sucesso!!\000"
	.text
	.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
	ldr	r0, .L3
	bl	criaArquivoTeste
	ldr	r0, .L3
	bl	mergeSortExterno
	ldr	r0, .L3+4
	bl	puts
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"%d\012\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.text
	.align	2
	.global	criaArquivoTeste
	.syntax unified
	.arm
	.fpu softvfp
	.type	criaArquivoTeste, %function
criaArquivoTeste:
	@ 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]
	ldr	r1, .L8
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L6
.L7:
	bl	rand
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #1000
	blt	.L7
	bl	rand
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	criaArquivoTeste, .-criaArquivoTeste
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Tempo%d.txt\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mergeSortExterno
	.syntax unified
	.arm
	.fpu softvfp
	.type	mergeSortExterno, %function
mergeSortExterno:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-48]
	bl	criaArquivoOrdenados
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, #100
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-48]
	bl	remove
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-48]
	bl	merge
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L11
.L12:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	sub	r3, fp, #28
	ldr	r1, .L14+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #28
	mov	r0, r3
	bl	remove
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L11:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L12
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC6
	.word	.LC5
	.size	mergeSortExterno, .-mergeSortExterno
	.section	.rodata
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"Temp%d.txt\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	criaArquivoOrdenados
	.syntax unified
	.arm
	.fpu softvfp
	.type	criaArquivoOrdenados, %function
criaArquivoOrdenados:
	@ args = 0, pretend = 0, frame = 448
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #448
	str	r0, [fp, #-448]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-440]
	mov	r3, #0
	str	r3, [fp, #-436]
	ldr	r1, .L22+4
	ldr	r0, [fp, #-448]
	bl	fopen
	str	r0, [fp, #-432]
	b	.L17
.L18:
	sub	r2, fp, #428
	ldr	r3, [fp, #-436]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L22+8
	ldr	r0, [fp, #-432]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-436]
	cmp	r3, #100
	bne	.L17
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
	sub	r3, fp, #28
	ldr	r2, [fp, #-440]
	ldr	r1, .L22+12
	mov	r0, r3
	bl	sprintf
	ldr	r1, [fp, #-436]
	sub	r0, fp, #428
	ldr	r3, .L22+16
	mov	r2, #4
	bl	qsort
	sub	r1, fp, #428
	sub	r0, fp, #28
	mov	r3, #0
	ldr	r2, [fp, #-436]
	bl	salvaArquivo
	mov	r3, #0
	str	r3, [fp, #-436]
.L17:
	ldr	r0, [fp, #-432]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
	sub	r3, fp, #28
	ldr	r2, [fp, #-440]
	ldr	r1, .L22+12
	mov	r0, r3
	bl	sprintf
	ldr	r1, [fp, #-436]
	sub	r0, fp, #428
	ldr	r3, .L22+16
	mov	r2, #4
	bl	qsort
	sub	r1, fp, #428
	sub	r0, fp, #28
	mov	r3, #0
	ldr	r2, [fp, #-436]
	bl	salvaArquivo
.L19:
	ldr	r0, [fp, #-432]
	bl	fclose
	ldr	r3, [fp, #-440]
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC9
	.word	.LC7
	.word	.LC4
	.word	.LC8
	.word	compara
	.size	criaArquivoOrdenados, .-criaArquivoOrdenados
	.section	.rodata
	.align	2
.LC10:
	.ascii	"a\000"
	.text
	.align	2
	.global	salvaArquivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	salvaArquivo, %function
salvaArquivo:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r1, .L29
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L25
.L26:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L29+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L29+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	b	.L28
.L27:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L29+4
	ldr	r0, [fp, #-8]
	bl	fprintf
.L28:
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC10
	.word	.LC3
	.word	.LC4
	.size	salvaArquivo, .-salvaArquivo
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #4
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L32
.L33:
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	sub	r3, fp, #36
	ldr	r1, .L40+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	sub	r3, fp, #36
	ldr	r1, .L40+8
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-72]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #12]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	preencheBuffer
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L32:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L33
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L34
.L35:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bne	.L34
	mov	r3, #1
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-64]
	bl	salvaArquivo
	mov	r3, #0
	str	r3, [fp, #-48]
.L34:
	sub	r3, fp, #56
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-40]
	bl	procuraMenor
	mov	r3, r0
	cmp	r3, #1
	beq	.L35
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L36
	mov	r3, #1
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-64]
	bl	salvaArquivo
.L36:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L37
.L38:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L37:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L38
	ldr	r0, [fp, #-40]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	nop
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC11
	.word	.LC8
	.word	.LC7
	.size	merge, .-merge
	.align	2
	.global	procuraMenor
	.syntax unified
	.arm
	.fpu softvfp
	.type	procuraMenor, %function
procuraMenor:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L43
.L46:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L44
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L45
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L44
.L45:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L44
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
.L44:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L43:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L47
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	add	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	preencheBuffer
.L48:
	mov	r3, #1
	b	.L49
.L47:
	mov	r3, #0
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	procuraMenor, .-procuraMenor
	.align	2
	.global	preencheBuffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	preencheBuffer, %function
preencheBuffer:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L53
.L56:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L59
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	b	.L57
.L54:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	b	.L50
.L57:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L53:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L56
	b	.L50
.L58:
	nop
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC4
	.size	preencheBuffer, .-preencheBuffer
	.align	2
	.global	compara
	.syntax unified
	.arm
	.fpu softvfp
	.type	compara, %function
compara:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L62
	mov	r3, #0
	b	.L63
.L62:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L64
	mvn	r3, #0
	b	.L63
.L64:
	mov	r3, #1
.L63:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	compara, .-compara
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
