	.file	"248344.c"
	.intel_syntax noprefix
	.text
	.globl	criar_arvore
	.type	criar_arvore, @function
criar_arvore:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	criar_arvore, .-criar_arvore
	.globl	imprimir_arvore
	.type	imprimir_arvore, @function
imprimir_arvore:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	imprimir_arvore
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	imprimir_arvore
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	imprimir_arvore, .-imprimir_arvore
	.globl	inserir
	.type	inserir, @function
inserir:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L7
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -32[rbp], rax
	jge	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserir
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserir
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
.L10:
	mov	rax, QWORD PTR -24[rbp]
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	inserir, .-inserir
	.globl	minimo
	.type	minimo, @function
minimo:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L12
.L14:
	mov	edi, 49
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L12:
	cmp	QWORD PTR -8[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L14
.L13:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	minimo, .-minimo
	.globl	maximo
	.type	maximo, @function
maximo:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L17
.L19:
	mov	edi, 50
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L17:
	cmp	QWORD PTR -8[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L19
.L18:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	maximo, .-maximo
	.globl	remover_sucessor
	.type	remover_sucessor, @function
remover_sucessor:
.LFB11:
	.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]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	minimo
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 32[rdx]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rdx]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 32[rdx]
	mov	QWORD PTR 32[rax], rdx
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	remover_sucessor, .-remover_sucessor
	.globl	remover
	.type	remover, @function
remover:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L25
	mov	eax, 0
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jge	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jle	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L30
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L26
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L26
.L31:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	remover_sucessor
.L28:
	mov	rax, QWORD PTR -24[rbp]
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	remover, .-remover
	.globl	buscar
	.type	buscar, @function
buscar:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	jmp	.L33
.L36:
	mov	edi, 51
	call	putchar@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jge	.L34
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L33:
	cmp	QWORD PTR -8[rbp], 0
	je	.L35
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L36
.L35:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	buscar, .-buscar
	.globl	ancestral_a_direita
	.type	ancestral_a_direita, @function
ancestral_a_direita:
.LFB14:
	.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
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L39
	mov	eax, 0
	jmp	.L40
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L41
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L42
.L41:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	jmp	.L40
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	ancestral_a_direita
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	ancestral_a_direita, .-ancestral_a_direita
	.section	.rodata
.LC0:
	.string	"\303\251 aqui 1"
.LC1:
	.string	"\303\251 aqui 2"
.LC2:
	.string	"\303\251 aqui 3"
.LC3:
	.string	"\303\251 aqui 4"
.LC4:
	.string	"%s %lld REPETINDO"
	.text
	.globl	ancestral_a_esquerda
	.type	ancestral_a_esquerda, @function
ancestral_a_esquerda:
.LFB15:
	.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rax, 389356
	jne	.L44
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L44:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L45
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L46
.L45:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L47
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L48
.L47:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	jmp	.L46
.L48:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	ancestral_a_esquerda
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	ancestral_a_esquerda, .-ancestral_a_esquerda
	.globl	sucessor
	.type	sucessor, @function
sucessor:
.LFB16:
	.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L50
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	minimo
	jmp	.L51
.L50:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ancestral_a_direita
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	sucessor, .-sucessor
	.globl	antecessor
	.type	antecessor, @function
antecessor:
.LFB17:
	.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L53
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	maximo
	jmp	.L54
.L53:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ancestral_a_esquerda
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	antecessor, .-antecessor
	.section	.rodata
.LC5:
	.string	"foi pra ordem 3"
.LC6:
	.string	"ENCONTREI UM CORNO"
.LC7:
	.string	"\n %s %lld \n"
	.text
	.globl	buscar_concatenar_triade_r
	.type	buscar_concatenar_triade_r, @function
buscar_concatenar_triade_r:
.LFB18:
	.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, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	DWORD PTR -124[rbp], ecx
	mov	QWORD PTR -136[rbp], r8
	cmp	DWORD PTR -124[rbp], 3
	jne	.L56
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	maximo
	mov	QWORD PTR -80[rbp], rax
	jmp	.L57
.L64:
	mov	edi, 52
	call	putchar@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	cmp	QWORD PTR -120[rbp], rax
	jne	.L58
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -96[rbp], 0
	jmp	.L59
.L60:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -96[rbp], 1
.L59:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L60
	mov	DWORD PTR -92[rbp], 0
	jmp	.L61
.L62:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	add	rax, rdx
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	add	edx, ecx
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -92[rbp], 1
.L61:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L62
	mov	edx, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -92[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserir
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -104[rbp]
	jmp	.L63
.L58:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	antecessor
	mov	QWORD PTR -80[rbp], rax
.L57:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L64
	jmp	.L65
.L56:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	maximo
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 0
	call	criar_arvore
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	jmp	.L66
.L84:
	mov	edi, 53
	call	putchar@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -120[rbp], rax
	jle	.L67
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L68
.L69:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -88[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -88[rbp], 1
.L68:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L69
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -88[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserir
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L70
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L71
.L72:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -88[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -88[rbp], 1
.L71:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L72
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L73
.L74:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -88[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -88[rbp], 1
.L73:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	DWORD PTR -84[rbp], 0
	jmp	.L75
.L76:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, rdx
	mov	ecx, DWORD PTR -88[rbp]
	mov	edx, DWORD PTR -84[rbp]
	add	edx, ecx
	movsx	rcx, edx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -84[rbp], 1
.L75:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L76
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L77
.L70:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L78
.L79:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -84[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -84[rbp], 1
.L78:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
.L77:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, [rdx+rax]
	mov	rdi, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	buscar_concatenar_triade_r
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L80
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L81
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
.L81:
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L63
.L80:
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L82
.L83:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -88[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -88[rbp], 1
.L82:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L83
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -88[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserir
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	buscar
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	QWORD PTR -64[rbp], rax
.L67:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	antecessor
	mov	QWORD PTR -72[rbp], rax
.L66:
	cmp	QWORD PTR -72[rbp], 0
	jne	.L84
.L65:
	mov	eax, 0
.L63:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	buscar_concatenar_triade_r, .-buscar_concatenar_triade_r
	.globl	buscar_concatenar_triade
	.type	buscar_concatenar_triade, @function
buscar_concatenar_triade:
.LFB19:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 1
	mov	QWORD PTR -16[rbp], 0
	lea	rsi, -16[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8, rsi
	mov	esi, 0
	mov	rdi, rax
	call	buscar_concatenar_triade_r
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	buscar_concatenar_triade, .-buscar_concatenar_triade
	.section	.rodata
.LC8:
	.string	"%lld %*c%[^\"]%*c "
	.text
	.globl	le_mensagens
	.type	le_mensagens, @function
le_mensagens:
.LFB20:
	.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L89
.L90:
	mov	edi, 6
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserir
	mov	QWORD PTR -40[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L89:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L90
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	le_mensagens, .-le_mensagens
	.section	.rodata
.LC9:
	.string	"%s"
	.text
	.globl	imprime_limpa_arvore
	.type	imprime_limpa_arvore, @function
imprime_limpa_arvore:
.LFB21:
	.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
	jmp	.L94
.L95:
	mov	edi, 54
	call	putchar@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	minimo
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover
	mov	QWORD PTR -24[rbp], rax
.L94:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L95
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	imprime_limpa_arvore, .-imprime_limpa_arvore
	.section	.rodata
.LC10:
	.string	"%lld "
.LC11:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB22:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L97
.L100:
	mov	edi, 55
	call	putchar@PLT
	mov	eax, 0
	call	criar_arvore
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	le_mensagens
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L98
.L99:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	buscar_concatenar_triade
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L98:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L99
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	imprime_limpa_arvore
.L97:
	lea	rdx, -32[rbp]
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L100
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.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	"248344.c"
	.text
	.align	2
	.global	criar_arvore
	.syntax unified
	.arm
	.fpu softvfp
	.type	criar_arvore, %function
criar_arvore:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	criar_arvore, .-criar_arvore
	.align	2
	.global	imprimir_arvore
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprimir_arvore, %function
imprimir_arvore:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	imprimir_arvore
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	imprimir_arvore
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	imprimir_arvore, .-imprimir_arvore
	.align	2
	.global	inserir
	.syntax unified
	.arm
	.fpu softvfp
	.type	inserir, %function
inserir:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L7
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r1, [fp, #-8]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #4]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	b	.L8
.L7:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L9
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	inserir
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #20]
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	inserir
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #20]
.L10:
	ldr	r3, [fp, #-16]
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	inserir, .-inserir
	.align	2
	.global	minimo
	.syntax unified
	.arm
	.fpu softvfp
	.type	minimo, %function
minimo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	b	.L12
.L14:
	mov	r0, #49
	bl	putchar
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L14
.L13:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	minimo, .-minimo
	.align	2
	.global	maximo
	.syntax unified
	.arm
	.fpu softvfp
	.type	maximo, %function
maximo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	b	.L17
.L19:
	mov	r0, #50
	bl	putchar
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L19
.L18:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	maximo, .-maximo
	.align	2
	.global	remover_sucessor
	.syntax unified
	.arm
	.fpu softvfp
	.type	remover_sucessor, %function
remover_sucessor:
	@ 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	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	minimo
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L22
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #20]
	str	r2, [r3, #20]
	b	.L23
.L22:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #20]
	str	r2, [r3, #20]
.L23:
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remover_sucessor, .-remover_sucessor
	.align	2
	.global	remover
	.syntax unified
	.arm
	.fpu softvfp
	.type	remover, %function
remover:
	@ 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]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	b	.L26
.L25:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L27
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	remover
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #20]
	b	.L28
.L27:
	ldr	r3, [fp, #-20]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-16]
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L29
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	remover
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #20]
	b	.L28
.L29:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-8]
	b	.L26
.L30:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-12]
	b	.L26
.L31:
	ldr	r0, [fp, #-16]
	bl	remover_sucessor
.L28:
	ldr	r3, [fp, #-16]
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remover, .-remover
	.align	2
	.global	buscar
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscar, %function
buscar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L33
.L36:
	mov	r0, #51
	bl	putchar
	ldr	r3, [fp, #-12]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L34
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
	b	.L33
.L34:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-12]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L36
.L35:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	buscar, .-buscar
	.align	2
	.global	ancestral_a_direita
	.syntax unified
	.arm
	.fpu softvfp
	.type	ancestral_a_direita, %function
ancestral_a_direita:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L39
	mov	r3, #0
	b	.L40
.L39:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L42
.L41:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	b	.L40
.L42:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	ancestral_a_direita
	mov	r3, r0
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ancestral_a_direita, .-ancestral_a_direita
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\303\251 aqui 1\000"
	.align	2
.LC1:
	.ascii	"\303\251 aqui 2\000"
	.align	2
.LC2:
	.ascii	"\303\251 aqui 3\000"
	.align	2
.LC3:
	.ascii	"\303\251 aqui 4\000"
	.align	2
.LC4:
	.ascii	"%s %lld REPETINDO\000"
	.text
	.align	2
	.global	ancestral_a_esquerda
	.syntax unified
	.arm
	.fpu softvfp
	.type	ancestral_a_esquerda, %function
ancestral_a_esquerda:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	ldr	r0, .L49
	mov	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L44
	ldr	r0, .L49+4
	bl	printf
.L44:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L49+8
	bl	printf
	mov	r3, #0
	b	.L46
.L45:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L48
.L47:
	ldr	r0, .L49+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	b	.L46
.L48:
	ldr	r0, .L49+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+20
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	ancestral_a_esquerda
	mov	r3, r0
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	389356
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	ancestral_a_esquerda, .-ancestral_a_esquerda
	.align	2
	.global	sucessor
	.syntax unified
	.arm
	.fpu softvfp
	.type	sucessor, %function
sucessor:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	minimo
	mov	r3, r0
	b	.L53
.L52:
	ldr	r0, [fp, #-8]
	bl	ancestral_a_direita
	mov	r3, r0
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sucessor, .-sucessor
	.align	2
	.global	antecessor
	.syntax unified
	.arm
	.fpu softvfp
	.type	antecessor, %function
antecessor:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	maximo
	mov	r3, r0
	b	.L56
.L55:
	ldr	r0, [fp, #-8]
	bl	ancestral_a_esquerda
	mov	r3, r0
.L56:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	antecessor, .-antecessor
	.section	.rodata
	.align	2
.LC5:
	.ascii	"foi pra ordem 3\000"
	.align	2
.LC6:
	.ascii	"ENCONTREI UM CORNO\000"
	.align	2
.LC7:
	.ascii	"\012 %s %lld \012\000"
	.text
	.align	2
	.global	buscar_concatenar_triade_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscar_concatenar_triade_r, %function
buscar_concatenar_triade_r:
	@ args = 16, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #12]
	cmp	r3, #3
	bne	.L58
	ldr	r0, .L87
	bl	printf
	ldr	r0, [fp, #-72]
	bl	maximo
	str	r0, [fp, #-68]
	b	.L59
.L66:
	mov	r0, #52
	bl	putchar
	ldr	r3, [fp, #-68]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldmib	fp, {r2-r3}
	cmp	r3, r5
	cmpeq	r2, r4
	bne	.L60
	ldr	r0, .L87+4
	bl	printf
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L61
.L62:
	ldr	r3, [fp, #-68]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-64]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L61:
	ldr	r3, [fp, #-68]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L62
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L63
.L64:
	ldr	r3, [fp, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r2, r2, r3
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-60]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L63:
	ldr	r3, [fp, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L64
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	remover
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	ldr	r0, [fp, #-72]
	bl	inserir
	str	r0, [fp, #-72]
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-72]
	b	.L65
.L60:
	ldr	r3, [fp, #-68]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	ldr	r0, .L87+8
	bl	printf
	ldr	r0, [fp, #-68]
	bl	antecessor
	str	r0, [fp, #-68]
.L59:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L66
	b	.L67
.L58:
	ldr	r0, [fp, #-72]
	bl	maximo
	str	r0, [fp, #-56]
	bl	criar_arvore
	str	r0, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L68
.L86:
	mov	r0, #53
	bl	putchar
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldmib	fp, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L69
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L70
.L71:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L70:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L71
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-32]
	str	r1, [sp]
	ldr	r0, [fp, #-52]
	bl	inserir
	str	r0, [fp, #-52]
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L73
.L74:
	ldr	r3, [fp, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L73:
	ldr	r3, [fp, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L75
.L76:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L75:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L76
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L77
.L78:
	ldr	r3, [fp, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r2, r2, r3
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L77:
	ldr	r3, [fp, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L78
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	b	.L79
.L72:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L80
.L81:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L80:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L81
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-36]
	str	r2, [r3]
.L79:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	remover
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-52]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	r6, r0, r2
	adc	r7, r1, r3
	ldr	r3, [fp, #12]
	add	r3, r3, #1
	ldr	r2, [fp, #16]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, [fp, #-72]
	bl	buscar_concatenar_triade_r
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	remover
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L83
	ldr	r0, [fp, #-48]
	bl	free
.L83:
	ldr	r3, [fp, #-28]
	b	.L65
.L82:
	ldr	r3, [fp, #16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L84
.L85:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L84:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-52]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-32]
	str	r1, [sp]
	ldr	r0, [fp, #-72]
	bl	inserir
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	buscar
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	remover
	str	r0, [fp, #-52]
.L69:
	ldr	r0, [fp, #-56]
	bl	antecessor
	str	r0, [fp, #-56]
.L68:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L86
.L67:
	mov	r3, #0
.L65:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	buscar_concatenar_triade_r, .-buscar_concatenar_triade_r
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	buscar_concatenar_triade
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscar_concatenar_triade, %function
buscar_concatenar_triade:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	str	r3, [sp, #12]
	ldr	r3, [fp, #-12]
	str	r3, [sp, #8]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, #0
	mov	r3, #0
	ldr	r0, [fp, #-24]
	bl	buscar_concatenar_triade_r
	mov	r3, r0
	ldr	r2, .L92
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC8
	.size	buscar_concatenar_triade, .-buscar_concatenar_triade
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%lld %*c%[^\"]%*c \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	le_mensagens
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_mensagens, %function
le_mensagens:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L99
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L95
.L96:
	mov	r0, #6
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L99+4
	bl	__isoc99_scanf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-24]
	str	r1, [sp]
	ldr	r0, [fp, #-32]
	bl	inserir
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L95:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L96
	ldr	r3, [fp, #-32]
	ldr	r2, .L99
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L98
	bl	__stack_chk_fail
.L98:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC10
	.word	.LC9
	.size	le_mensagens, .-le_mensagens
	.section	.rodata
	.align	2
.LC11:
	.ascii	"%s\000"
	.text
	.align	2
	.global	imprime_limpa_arvore
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_limpa_arvore, %function
imprime_limpa_arvore:
	@ 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]
	b	.L102
.L103:
	mov	r0, #54
	bl	putchar
	ldr	r0, [fp, #-16]
	bl	minimo
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L104
	bl	printf
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	remover
	str	r0, [fp, #-16]
.L102:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L103
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L105:
	.align	2
.L104:
	.word	.LC11
	.size	imprime_limpa_arvore, .-imprime_limpa_arvore
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%lld \000"
	.align	2
.LC13:
	.ascii	"%d %d\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L113
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L107
.L110:
	mov	r0, #55
	bl	putchar
	bl	criar_arvore
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-36]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	le_mensagens
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L108
.L109:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L113+4
	bl	__isoc99_scanf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-28]
	bl	buscar_concatenar_triade
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L108:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L109
	ldr	r0, [fp, #-28]
	bl	imprime_limpa_arvore
.L107:
	sub	r2, fp, #32
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L113+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L110
	mov	r3, #0
	ldr	r2, .L113
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L112
	bl	__stack_chk_fail
.L112:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC14
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
