	.file	"23574452.c"
	.intel_syntax noprefix
	.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
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movabs	rax, 7238784473261763663
	movabs	rdx, 2308727498065715311
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	movabs	rax, 8026294579612182867
	movabs	rdx, 2308727506689684590
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	movabs	rax, 7286946687026556739
	movabs	rdx, 8026669577500980339
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	movabs	rax, 8453573303492502048
	movabs	rdx, 7359008709109096549
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rax, 6061856366009805157
	movabs	rdx, 2337201546328170866
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	movabs	rax, 7307775882660179822
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -40[rbp], 169963380
	mov	BYTE PTR -36[rbp], 0
	mov	edi, 2040
	call	malloc@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	DWORD PTR -152[rbp], 0
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 255
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	cmp	al, 10
	je	.L3
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	test	al, al
	jne	.L4
.L3:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -144[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR -152[rbp]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*8]
	mov	rcx, QWORD PTR -136[rbp]
	lea	rbx, [rsi+rcx]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -152[rbp], 1
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 255
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -144[rbp], -1
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	mov	BYTE PTR [rdx], al
.L5:
	add	DWORD PTR -148[rbp], 1
	add	DWORD PTR -144[rbp], 1
.L2:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	test	al, al
	jne	.L6
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -140[rbp], 1
.L7:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L8
	mov	eax, 0
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	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	"23574452.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Ola. Tudo bem?\012 Sim e contigo?\012 Comigo esta t"
	.ascii	"udo bem! Que tens feito?\012 Trabalho no projeto!\012"
	.ascii	"\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 = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #124
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L11+4
	sub	r3, fp, #112
	mov	r1, r2
	mov	r2, #93
	mov	r0, r3
	bl	memcpy
	mov	r0, #1020
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r4, r2, r3
	mov	r0, #255
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L2
.L6:
	sub	r2, fp, #112
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L3
	sub	r2, fp, #112
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r4, r2, r3
	bl	realloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r4, r2, r3
	mov	r0, #255
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	mvn	r3, #0
	str	r3, [fp, #-124]
	b	.L5
.L4:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r1, fp, #112
	ldr	r2, [fp, #-128]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L2:
	sub	r2, fp, #112
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	realloc
	str	r0, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L7
.L8:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L7:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.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
