	.file	"319910.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"entrada.txt"
.LC2:
	.string	"w"
.LC3:
	.string	"lista.txt"
.LC4:
	.string	"Inicial:\n"
.LC5:
	.string	"\nERRO NA SIMULACAO"
.LC6:
	.string	"\nFinal:\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	test	rax, rax
	jne	.L2
	mov	eax, 1
	jmp	.L8
.L2:
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -52[rbp], -1
	mov	DWORD PTR -48[rbp], -1
	mov	DWORD PTR -44[rbp], -1
	mov	DWORD PTR -40[rbp], -1
	mov	DWORD PTR -36[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	criacabeca
	cmp	eax, 1
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	criacabeca
	cmp	eax, 1
	jne	.L5
.L4:
	mov	eax, 1
	jmp	.L8
.L5:
	lea	r9, -40[rbp]
	lea	r8, -44[rbp]
	lea	rcx, -48[rbp]
	lea	rdx, -52[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	sub	rsp, 8
	lea	rdi, -36[rbp]
	push	rdi
	mov	rdi, rax
	call	manipulacao
	add	rsp, 16
	cmp	eax, 1
	jne	.L6
	mov	eax, 1
	jmp	.L8
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	imprimelistas
	lea	r9, -40[rbp]
	lea	r8, -44[rbp]
	lea	rcx, -48[rbp]
	lea	rdx, -52[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	sub	rsp, 8
	lea	rdi, -36[rbp]
	push	rdi
	mov	rdi, rax
	call	simula
	add	rsp, 16
	cmp	eax, 1
	jne	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	imprimelistas
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	limpalistas
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	criacabeca
	.type	criacabeca, @function
criacabeca:
.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	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L11
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
.L11:
	mov	eax, 1
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	eax, 0
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	criacabeca, .-criacabeca
	.globl	achano
	.type	achano, @function
achano:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L15
	mov	eax, 0
	jmp	.L16
.L15:
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L17
.L19:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
.L17:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L19
	mov	eax, 0
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	achano, .-achano
	.section	.rodata
	.align 8
.LC7:
	.string	"\nFALHA NA ALOCACAO DE MEMORIA (inserecasa)"
	.align 8
.LC8:
	.string	"\nCABECA COM ESSE NOME JA EXISTE"
	.text
	.globl	inserecasa
	.type	inserecasa, @function
inserecasa:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L21
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L22
.L21:
	mov	edi, 24
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rdi, rax
	call	criacabeca
	cmp	eax, 1
	jne	.L23
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	test	rax, rax
	jne	.L23
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], 0
	mov	eax, 0
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	inserecasa, .-inserecasa
	.globl	ligacasa
	.type	ligacasa, @function
ligacasa:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L25
.L28:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
.L26:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
.L27:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -32[rbp], rax
.L25:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L28
	cmp	QWORD PTR -24[rbp], 0
	je	.L29
	cmp	QWORD PTR -16[rbp], 0
	jne	.L30
.L29:
	mov	eax, 1
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L32
.L34:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	mov	eax, 1
	jmp	.L31
.L33:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
.L32:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	inserecasa
	cmp	eax, 1
	je	.L35
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rcx, QWORD PTR -48[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	inserecasa
	cmp	eax, 1
	jne	.L36
.L35:
	mov	eax, 1
	jmp	.L31
.L36:
	mov	eax, 0
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ligacasa, .-ligacasa
	.section	.rodata
	.align 8
.LC9:
	.string	"\nERRO AO ALOCAR ESPACO OU ENCONTRAR NO (inseremosquito)"
	.text
	.globl	inseremosquito
	.type	inseremosquito, @function
inseremosquito:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -20[rbp], 0
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L38
	cmp	QWORD PTR -8[rbp], 0
	jne	.L39
.L38:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L40
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 36[rax]
	test	eax, eax
	je	.L41
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 36[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 36[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 40[rax], edx
.L41:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	eax, 0
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	inseremosquito, .-inseremosquito
	.section	.rodata
.LC10:
	.string	"AGENTE_ATUA"
.LC11:
	.string	"%d"
.LC12:
	.string	"AGENTE_SAUDE"
.LC13:
	.string	"MOSQUITO_BOTA"
.LC14:
	.string	"inserecasa"
.LC15:
	.string	"%s %d"
.LC16:
	.string	"ligacasas"
.LC17:
	.string	"%s %s"
.LC18:
	.string	"inseremosquito"
.LC19:
	.string	"%s"
.LC20:
	.string	"iniciasimulacao"
.LC21:
	.string	"verificasurto"
.LC22:
	.string	"FIM"
	.align 8
.LC23:
	.string	"\nCOMANDO AGENTE_ATUA NAO ESPECIFICADO OU VALOR INVALIDO"
	.align 8
.LC24:
	.string	"\nCOMANDO AGENTE_SAUDE NAO ESPECIFICADO OU VALOR INVALIDO"
	.align 8
.LC25:
	.string	"\nCOMANDO MOSQUITO_BOTA NAO ESPECIFICADO OU VALOR INVALIDO"
.LC26:
	.string	"\nCOMANDO FIM NAO ENCONTRADO"
	.text
	.globl	manipulacao
	.type	manipulacao, @function
manipulacao:
.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, 176
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	QWORD PTR -144[rbp], rcx
	mov	QWORD PTR -152[rbp], r8
	mov	QWORD PTR -160[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L45
	mov	eax, 1
	jmp	.L58
.L57:
	lea	rax, -96[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L46
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L46:
	lea	rax, -96[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L47
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L47:
	lea	rax, -96[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L48
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L48:
	lea	rax, -96[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	lea	rcx, -108[rbp]
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -108[rbp]
	lea	rcx, -64[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inserecasa
.L49:
	lea	rax, -96[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L50
	lea	rcx, -32[rbp]
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -32[rbp]
	lea	rcx, -64[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ligacasa
.L50:
	lea	rax, -96[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -64[rbp]
	mov	rcx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inseremosquito
.L51:
	lea	rax, -96[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L52:
	lea	rax, -96[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L53
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR [rax], 1
.L53:
	lea	rax, -96[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L54
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L58
.L54:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L55
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L58
.L55:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L56
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L58
.L56:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L58
.L45:
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L57
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
.L58:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	manipulacao, .-manipulacao
	.section	.rodata
.LC27:
	.string	"log.txt"
	.align 8
.LC28:
	.string	"N\303\272mero de mosquitos iniciais: %d\n"
	.align 8
.LC29:
	.string	"N\303\272mero de mosquitos finais: %d\n"
	.align 8
.LC30:
	.string	"N\303\272mero de movimentos totais dos mosquitos: %d\n"
	.align 8
.LC31:
	.string	"N\303\272mero de erros dos agentes: %d\n"
	.align 8
.LC32:
	.string	"N\303\272mero de acertos dos agentes: %d\n"
.LC33:
	.string	"Estado de emerg\303\252ncia"
	.align 8
.LC34:
	.string	"Houve surto mais foi controlado/erradicado"
.LC35:
	.string	"N\303\243o houve surto"
	.text
	.globl	simula
	.type	simula, @function
simula:
.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, 112
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	mov	QWORD PTR -96[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	cmp	QWORD PTR -16[rbp], 0
	jne	.L61
	mov	eax, 1
	jmp	.L78
.L61:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L63
.L64:
	add	DWORD PTR -40[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
.L63:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L64
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 36[rax]
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 40[rax]
	add	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
.L65:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L66
	mov	DWORD PTR -44[rbp], 0
	jmp	.L67
.L73:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	verificasurto
	cmp	eax, 1
	jne	.L68
	mov	DWORD PTR -28[rbp], 1
.L68:
	lea	rdx, -48[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	mosquito_move
	cmp	eax, 1
	jne	.L69
	mov	eax, 1
	jmp	.L78
.L69:
	add	DWORD PTR -44[rbp], 1
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L70
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	agente_atua
	test	eax, eax
	jne	.L70
	add	DWORD PTR -32[rbp], 1
.L70:
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L71
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	agente_saude
	test	eax, eax
	jne	.L71
	add	DWORD PTR -32[rbp], 1
.L71:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	mosquito_bota
.L67:
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -44[rbp], eax
	jge	.L72
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L73
.L72:
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdq
	idiv	ecx
	mov	esi, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdq
	idiv	edi
	add	eax, esi
	sub	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L74
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	verificasurto
	cmp	eax, 1
	jne	.L75
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	jmp	.L76
.L75:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	jmp	.L76
.L74:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L77
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	jmp	.L76
.L77:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
.L76:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L78:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	simula, .-simula
	.section	.rodata
	.align 8
.LC36:
	.string	"\nCASA ONDE O MOSQUITO ESTA NAO ENCONTRADA (mosquito_move)"
	.align 8
.LC37:
	.string	"\nERRO, FALHA NO SORTEIO (mosquito_move)"
	.text
	.globl	mosquito_move
	.type	mosquito_move, @function
mosquito_move:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L81
.L90:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L82
	lea	rdi, .LC36[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L83
.L82:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L91
	call	rand@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 56[rdx]
	mov	ecx, DWORD PTR [rdx]
	cdq
	idiv	ecx
	mov	DWORD PTR -28[rbp], edx
	cmp	DWORD PTR -28[rbp], 0
	jns	.L86
	lea	rdi, .LC37[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L83
.L86:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -32[rbp], 1
.L87:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L88
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 36[rax]
	test	eax, eax
	je	.L89
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 36[rax]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 36[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 40[rax], edx
.L89:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 40[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 40[rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L85
.L91:
	nop
.L85:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
.L81:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L90
	mov	eax, 0
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	mosquito_move, .-mosquito_move
	.section	.rodata
	.align 8
.LC38:
	.string	"\nERRO NA MANIPULACAO DE PONTEIROS (mata_mosquito)"
	.text
	.globl	mata_mosquito
	.type	mata_mosquito, @function
mata_mosquito:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -32[rbp], 0
	je	.L93
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L94
.L93:
	lea	rdi, .LC38[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L95
.L94:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L96
.L99:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L97
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L98
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
.L98:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
	jmp	.L95
.L97:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
.L96:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L99
	mov	eax, 1
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	mata_mosquito, .-mata_mosquito
	.section	.rodata
	.align 8
.LC39:
	.string	"\nERRO, FALHA NO SORTEIO (agente_atua)"
	.text
	.globl	agente_atua
	.type	agente_atua, @function
agente_atua:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -56[rbp], 0
	jne	.L101
	call	rand@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR [rdx]
	cdq
	idiv	ecx
	mov	DWORD PTR -20[rbp], edx
	cmp	DWORD PTR -20[rbp], 0
	jns	.L102
	lea	rdi, .LC39[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L103
.L102:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L104
.L105:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -24[rbp], 1
.L104:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L105
	jmp	.L106
.L101:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
.L106:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L108
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	agente_saude
	mov	eax, 1
	jmp	.L103
.L109:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mata_mosquito
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	mov	QWORD PTR -8[rbp], rax
.L108:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L109
	mov	eax, 0
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	agente_atua, .-agente_atua
	.section	.rodata
	.align 8
.LC40:
	.string	"\nERRO, FALHA NO SORTEIO (agente_saude)"
	.text
	.globl	agente_saude
	.type	agente_saude, @function
agente_saude:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L111
	call	rand@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rdx]
	cdq
	idiv	ecx
	mov	DWORD PTR -12[rbp], edx
	cmp	DWORD PTR -12[rbp], 0
	jns	.L112
	lea	rdi, .LC40[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L113
.L112:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L114
.L115:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -16[rbp], 1
.L114:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L115
	jmp	.L116
.L111:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
.L116:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	achano
	test	rax, rax
	je	.L117
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	agente_atua
	cmp	eax, 1
	jne	.L117
	mov	eax, 1
	jmp	.L113
.L117:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	je	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	eax, 0
	jmp	.L113
.L118:
	mov	eax, 1
.L113:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	agente_saude, .-agente_saude
	.globl	mosquito_bota
	.type	mosquito_bota, @function
mosquito_bota:
.LFB18:
	.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
	cmp	QWORD PTR -24[rbp], 0
	je	.L120
	cmp	QWORD PTR -32[rbp], 0
	jne	.L121
.L120:
	mov	eax, 1
	jmp	.L122
.L121:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L123
.L126:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	cdq
	idiv	DWORD PTR -36[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L124
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	je	.L124
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inseremosquito
	cmp	eax, 1
	jne	.L125
	mov	eax, 1
	jmp	.L122
.L125:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	inseremosquito
	cmp	eax, 1
	jne	.L124
	mov	eax, 1
	jmp	.L122
.L124:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
.L123:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L126
	mov	eax, 0
.L122:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	mosquito_bota, .-mosquito_bota
	.globl	verificasurto
	.type	verificasurto, @function
verificasurto:
.LFB19:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L128
.L129:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	add	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -8[rbp], rax
.L128:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L129
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -28[rbp]
	movsd	xmm1, QWORD PTR .LC41[rip]
	mulsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L134
	mov	eax, 1
	jmp	.L132
.L134:
	mov	eax, 0
.L132:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	verificasurto, .-verificasurto
	.section	.rodata
.LC42:
	.string	"%s->"
.LC43:
	.string	"->M"
	.text
	.globl	imprimelistas
	.type	imprimelistas, @function
imprimelistas:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L136
.L146:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L137
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L139
.L137:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L139
.L142:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L140
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L141
.L140:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L141:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
.L139:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L142
	jmp	.L143
.L145:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L144
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC43[rip]
	call	fwrite@PLT
.L144:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
.L143:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L145
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -32[rbp], rax
.L136:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L146
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	imprimelistas, .-imprimelistas
	.globl	limpalistas
	.type	limpalistas, @function
limpalistas:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L150
	mov	eax, 1
	jmp	.L149
.L155:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L151
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], rdx
.L151:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L152
.L154:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L153
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
.L153:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 48[rdx]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L152:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L154
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 48[rdx]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L150:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L155
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	jmp	.L156
.L158:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L157
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
.L157:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 48[rdx]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L156:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L158
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L149:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	limpalistas, .-limpalistas
	.section	.rodata
	.align 8
.LC41:
	.long	-1717986918
	.long	1072273817
	.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	"319910.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"entrada.txt\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"lista.txt\000"
	.align	2
.LC4:
	.ascii	"Inicial:\012\000"
	.align	2
.LC5:
	.ascii	"\012ERRO NA SIMULACAO\000"
	.align	2
.LC6:
	.ascii	"\012Final:\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	fopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L8
.L2:
	ldr	r1, .L10+12
	ldr	r0, .L10+16
	bl	fopen
	str	r0, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-40]
	mvn	r3, #0
	str	r3, [fp, #-36]
	mvn	r3, #0
	str	r3, [fp, #-32]
	mvn	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r0, [fp, #-20]
	bl	criacabeca
	mov	r3, r0
	cmp	r3, #1
	beq	.L4
	ldr	r0, [fp, #-16]
	bl	criacabeca
	mov	r3, r0
	cmp	r3, #1
	bne	.L5
.L4:
	mov	r3, #1
	b	.L8
.L5:
	sub	r1, fp, #36
	sub	r2, fp, #40
	sub	r3, fp, #24
	str	r3, [sp, #8]
	sub	r3, fp, #28
	str	r3, [sp, #4]
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	manipulacao
	mov	r3, r0
	cmp	r3, #1
	bne	.L6
	mov	r3, #1
	b	.L8
.L6:
	ldr	r3, [fp, #-12]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L10+20
	bl	fwrite
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	imprimelistas
	sub	r1, fp, #36
	sub	r2, fp, #40
	sub	r3, fp, #24
	str	r3, [sp, #8]
	sub	r3, fp, #28
	str	r3, [sp, #4]
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	simula
	mov	r3, r0
	cmp	r3, #1
	bne	.L7
	ldr	r0, .L10+24
	bl	puts
	mov	r3, #1
	b	.L8
.L7:
	ldr	r3, [fp, #-12]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L10+28
	bl	fwrite
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	imprimelistas
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	limpalistas
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
.L8:
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.align	2
	.global	criacabeca
	.syntax unified
	.arm
	.fpu softvfp
	.type	criacabeca, %function
criacabeca:
	@ 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]
	mov	r0, #52
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L14
.L13:
	mov	r3, #1
	b	.L15
.L14:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #48]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #44]
	mov	r3, #0
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	criacabeca, .-criacabeca
	.align	2
	.global	achano
	.syntax unified
	.arm
	.fpu softvfp
	.type	achano, %function
achano:
	@ 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	.L17
	mov	r3, #0
	b	.L18
.L17:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
	b	.L19
.L21:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-8]
	b	.L18
.L20:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	achano, .-achano
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012FALHA NA ALOCACAO DE MEMORIA (inserecasa)\000"
	.align	2
.LC9:
	.ascii	"\012CABECA COM ESSE NOME JA EXISTE\000"
	.text
	.align	2
	.global	inserecasa
	.syntax unified
	.arm
	.fpu softvfp
	.type	inserecasa, %function
inserecasa:
	@ 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]
	mov	r0, #52
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L26
	bl	puts
	mov	r3, #1
	b	.L24
.L23:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #48]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #48]
	mov	r0, r3
	bl	criacabeca
	mov	r3, r0
	cmp	r3, #1
	bne	.L25
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	achano
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldr	r0, .L26+4
	bl	puts
	mov	r3, #1
	b	.L24
.L25:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #40]
	mov	r3, #0
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC8
	.word	.LC9
	.size	inserecasa, .-inserecasa
	.align	2
	.global	ligacasa
	.syntax unified
	.arm
	.fpu softvfp
	.type	ligacasa, %function
ligacasa:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-20]
	b	.L29
.L32:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L30:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-20]
.L29:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L34
.L33:
	mov	r3, #1
	b	.L35
.L34:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
	b	.L36
.L38:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	mov	r3, #1
	b	.L35
.L37:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
.L36:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	mvn	r2, #0
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	inserecasa
	mov	r3, r0
	cmp	r3, #1
	beq	.L39
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #48]
	mvn	r2, #0
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	inserecasa
	mov	r3, r0
	cmp	r3, #1
	bne	.L40
.L39:
	mov	r3, #1
	b	.L35
.L40:
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ligacasa, .-ligacasa
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012ERRO AO ALOCAR ESPACO OU ENCONTRAR NO (inseremo"
	.ascii	"squito)\000"
	.text
	.align	2
	.global	inseremosquito
	.syntax unified
	.arm
	.fpu softvfp
	.type	inseremosquito, %function
inseremosquito:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r0, #52
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	achano
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L43
.L42:
	ldr	r0, .L46
	bl	puts
	mov	r3, #1
	b	.L44
.L43:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #40]
.L45:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #48]
	mov	r3, #0
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC10
	.size	inseremosquito, .-inseremosquito
	.section	.rodata
	.align	2
.LC11:
	.ascii	"AGENTE_ATUA\000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"AGENTE_SAUDE\000"
	.align	2
.LC14:
	.ascii	"MOSQUITO_BOTA\000"
	.align	2
.LC15:
	.ascii	"inserecasa\000"
	.align	2
.LC16:
	.ascii	"%s %d\000"
	.align	2
.LC17:
	.ascii	"ligacasas\000"
	.align	2
.LC18:
	.ascii	"%s %s\000"
	.align	2
.LC19:
	.ascii	"inseremosquito\000"
	.align	2
.LC20:
	.ascii	"%s\000"
	.align	2
.LC21:
	.ascii	"iniciasimulacao\000"
	.align	2
.LC22:
	.ascii	"verificasurto\000"
	.align	2
.LC23:
	.ascii	"FIM\000"
	.align	2
.LC24:
	.ascii	"\012COMANDO AGENTE_ATUA NAO ESPECIFICADO OU VALOR I"
	.ascii	"NVALIDO\000"
	.align	2
.LC25:
	.ascii	"\012COMANDO AGENTE_SAUDE NAO ESPECIFICADO OU VALOR "
	.ascii	"INVALIDO\000"
	.align	2
.LC26:
	.ascii	"\012COMANDO MOSQUITO_BOTA NAO ESPECIFICADO OU VALOR"
	.ascii	" INVALIDO\000"
	.align	2
.LC27:
	.ascii	"\012COMANDO FIM NAO ENCONTRADO\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	manipulacao
	.syntax unified
	.arm
	.fpu softvfp
	.type	manipulacao, %function
manipulacao:
	@ args = 12, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-104]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L66+4
	ldr	r0, .L66+8
	bl	fopen
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L51
	mov	r3, #1
	b	.L64
.L63:
	sub	r3, fp, #68
	ldr	r1, .L66+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	ldr	r2, [fp, #-88]
	ldr	r1, .L66+16
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
.L52:
	sub	r3, fp, #68
	ldr	r1, .L66+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r2, [fp, #-92]
	ldr	r1, .L66+16
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
.L53:
	sub	r3, fp, #68
	ldr	r1, .L66+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r2, [fp, #-96]
	ldr	r1, .L66+16
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
.L54:
	sub	r3, fp, #68
	ldr	r1, .L66+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	sub	r3, fp, #76
	sub	r2, fp, #48
	ldr	r1, .L66+32
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-76]
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	inserecasa
.L55:
	sub	r3, fp, #68
	ldr	r1, .L66+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	sub	r3, fp, #28
	sub	r2, fp, #48
	ldr	r1, .L66+40
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
	sub	r2, fp, #28
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	ligacasa
.L56:
	sub	r3, fp, #68
	ldr	r1, .L66+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L66+48
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-80]
	bl	inseremosquito
.L57:
	sub	r3, fp, #68
	ldr	r1, .L66+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	ldr	r2, [fp, #-100]
	ldr	r1, .L66+16
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
.L58:
	sub	r3, fp, #68
	ldr	r1, .L66+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-104]
	mov	r2, #1
	str	r2, [r3]
.L59:
	sub	r3, fp, #68
	ldr	r1, .L66+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L60
	ldr	r0, .L66+64
	bl	puts
	mov	r3, #1
	b	.L64
.L60:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L61
	ldr	r0, .L66+68
	bl	puts
	mov	r3, #1
	b	.L64
.L61:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L62
	ldr	r0, .L66+72
	bl	puts
	mov	r3, #1
	b	.L64
.L62:
	ldr	r0, [fp, #-72]
	bl	fclose
	mov	r3, #0
	b	.L64
.L51:
	sub	r3, fp, #68
	mov	r2, r3
	ldr	r1, .L66+48
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L63
	ldr	r0, .L66+76
	bl	puts
	mov	r3, #1
.L64:
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC28
	.word	.LC0
	.word	.LC1
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	manipulacao, .-manipulacao
	.section	.rodata
	.align	2
.LC29:
	.ascii	"log.txt\000"
	.global	__aeabi_idivmod
	.align	2
.LC30:
	.ascii	"N\303\272mero de mosquitos iniciais: %d\012\000"
	.align	2
.LC31:
	.ascii	"N\303\272mero de mosquitos finais: %d\012\000"
	.align	2
.LC32:
	.ascii	"N\303\272mero de movimentos totais dos mosquitos: %"
	.ascii	"d\012\000"
	.global	__aeabi_idiv
	.align	2
.LC33:
	.ascii	"N\303\272mero de erros dos agentes: %d\012\000"
	.align	2
.LC34:
	.ascii	"N\303\272mero de acertos dos agentes: %d\012\000"
	.align	2
.LC35:
	.ascii	"Estado de emerg\303\252ncia\000"
	.align	2
.LC36:
	.ascii	"Houve surto mais foi controlado/erradicado\000"
	.align	2
.LC37:
	.ascii	"N\303\243o houve surto\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	simula
	.syntax unified
	.arm
	.fpu softvfp
	.type	simula, %function
simula:
	@ args = 12, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-80]
	ldr	r3, .L88
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L88+4
	ldr	r0, .L88+8
	bl	fopen
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L69
	mov	r3, #1
	b	.L86
.L69:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-44]
	b	.L71
.L72:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-44]
.L71:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L72
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-44]
	b	.L73
.L74:
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #36]
	ldr	r3, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #40]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-44]
.L73:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L74
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L75
.L81:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-56]
	bl	verificasurto
	mov	r3, r0
	cmp	r3, #1
	bne	.L76
	mov	r3, #1
	str	r3, [fp, #-24]
.L76:
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	mosquito_move
	mov	r3, r0
	cmp	r3, #1
	bne	.L77
	mov	r3, #1
	b	.L86
.L77:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L78
	mov	r2, #0
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	agente_atua
	mov	r3, r0
	cmp	r3, #0
	bne	.L78
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L78:
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L79
	mov	r2, #0
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	agente_saude
	mov	r3, r0
	cmp	r3, #0
	bne	.L79
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L79:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	mosquito_bota
.L75:
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bge	.L80
	ldr	r3, [fp, #-60]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L81
.L80:
	ldr	r2, [fp, #-36]
	ldr	r1, .L88+12
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L88+16
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r1, .L88+20
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_idiv
	mov	r3, r0
	add	r2, r4, r3
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L88+24
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-28]
	ldr	r1, .L88+28
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L82
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-56]
	bl	verificasurto
	mov	r3, r0
	cmp	r3, #1
	bne	.L83
	ldr	r3, [fp, #-20]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L88+32
	bl	fwrite
	b	.L84
.L83:
	ldr	r3, [fp, #-20]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L88+36
	bl	fwrite
	b	.L84
.L82:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-20]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L88+40
	bl	fwrite
	b	.L84
.L85:
	ldr	r3, [fp, #-20]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L88+36
	bl	fwrite
.L84:
	ldr	r0, [fp, #-20]
	bl	fclose
	mov	r3, #0
.L86:
	ldr	r2, .L88
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L89:
	.align	2
.L88:
	.word	.LC38
	.word	.LC2
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	simula, .-simula
	.section	.rodata
	.align	2
.LC39:
	.ascii	"\012CASA ONDE O MOSQUITO ESTA NAO ENCONTRADA (mosqu"
	.ascii	"ito_move)\000"
	.align	2
.LC40:
	.ascii	"\012ERRO, FALHA NO SORTEIO (mosquito_move)\000"
	.text
	.align	2
	.global	mosquito_move
	.syntax unified
	.arm
	.fpu softvfp
	.type	mosquito_move, %function
mosquito_move:
	@ args = 0, pretend = 0, frame = 40
	@ 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]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-24]
	b	.L91
.L100:
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	achano
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L92
	ldr	r0, .L102
	bl	puts
	mov	r3, #1
	b	.L93
.L92:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #48]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L101
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #48]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L96
	ldr	r0, .L102+4
	bl	puts
	mov	r3, #1
	b	.L93
.L96:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L97
.L98:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L97:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L98
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	achano
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #40]
.L99:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #40]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	b	.L95
.L101:
	nop
.L95:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-24]
.L91:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L100
	mov	r3, #0
.L93:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L103:
	.align	2
.L102:
	.word	.LC39
	.word	.LC40
	.size	mosquito_move, .-mosquito_move
	.section	.rodata
	.align	2
.LC41:
	.ascii	"\012ERRO NA MANIPULACAO DE PONTEIROS (mata_mosquito"
	.ascii	")\000"
	.text
	.align	2
	.global	mata_mosquito
	.syntax unified
	.arm
	.fpu softvfp
	.type	mata_mosquito, %function
mata_mosquito:
	@ 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, #-20]
	cmp	r3, #0
	beq	.L105
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L106
.L105:
	ldr	r0, .L112
	bl	puts
	mov	r3, #1
	b	.L107
.L106:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	b	.L108
.L111:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L109
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #44]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L110
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
.L110:
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r3, #0
	b	.L107
.L109:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
.L108:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L111
	mov	r3, #1
.L107:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC41
	.size	mata_mosquito, .-mata_mosquito
	.section	.rodata
	.align	2
.LC42:
	.ascii	"\012ERRO, FALHA NO SORTEIO (agente_atua)\000"
	.text
	.align	2
	.global	agente_atua
	.syntax unified
	.arm
	.fpu softvfp
	.type	agente_atua, %function
agente_atua:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L115
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L116
	ldr	r0, .L124
	bl	puts
	mov	r3, #1
	b	.L117
.L116:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L118
.L119:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L118:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L119
	b	.L120
.L115:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
.L120:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	achano
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L122
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	agente_saude
	mov	r3, #1
	b	.L117
.L123:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	mata_mosquito
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	achano
	str	r0, [fp, #-16]
.L122:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L123
	mov	r3, #0
.L117:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L125:
	.align	2
.L124:
	.word	.LC42
	.size	agente_atua, .-agente_atua
	.section	.rodata
	.align	2
.LC43:
	.ascii	"\012ERRO, FALHA NO SORTEIO (agente_saude)\000"
	.text
	.align	2
	.global	agente_saude
	.syntax unified
	.arm
	.fpu softvfp
	.type	agente_saude, %function
agente_saude:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L127
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L128
	ldr	r0, .L135
	bl	puts
	mov	r3, #1
	b	.L129
.L128:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L130
.L131:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L130:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L131
	b	.L132
.L127:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
.L132:
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	achano
	mov	r3, r0
	cmp	r3, #0
	beq	.L133
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	agente_atua
	mov	r3, r0
	cmp	r3, #1
	bne	.L133
	mov	r3, #1
	b	.L129
.L133:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L134
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #40]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #36]
	mov	r3, #0
	b	.L129
.L134:
	mov	r3, #1
.L129:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L136:
	.align	2
.L135:
	.word	.LC43
	.size	agente_saude, .-agente_saude
	.align	2
	.global	mosquito_bota
	.syntax unified
	.arm
	.fpu softvfp
	.type	mosquito_bota, %function
mosquito_bota:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L138
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L139
.L138:
	mov	r3, #1
	b	.L140
.L139:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
	b	.L141
.L144:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #40]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L142
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L142
	ldr	r3, [fp, #-8]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	inseremosquito
	mov	r3, r0
	cmp	r3, #1
	bne	.L143
	mov	r3, #1
	b	.L140
.L143:
	ldr	r3, [fp, #-8]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	inseremosquito
	mov	r3, r0
	cmp	r3, #1
	bne	.L142
	mov	r3, #1
	b	.L140
.L142:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-8]
.L141:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L144
	mov	r3, #0
.L140:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mosquito_bota, .-mosquito_bota
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.align	2
	.global	verificasurto
	.syntax unified
	.arm
	.fpu softvfp
	.type	verificasurto, %function
verificasurto:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
	b	.L146
.L147:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
.L146:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L147
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	ldr	r2, .L153
	ldr	r3, .L153+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L152
	mov	r3, #1
	b	.L150
.L152:
	mov	r3, #0
.L150:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L154:
	.align	2
.L153:
	.word	-1717986918
	.word	1072273817
	.size	verificasurto, .-verificasurto
	.section	.rodata
	.align	2
.LC44:
	.ascii	"%s->\000"
	.align	2
.LC45:
	.ascii	"->M\000"
	.text
	.align	2
	.global	imprimelistas
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprimelistas, %function
imprimelistas:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L156
.L166:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #48]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L157
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	fputs
	b	.L159
.L157:
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, .L167
	ldr	r0, [fp, #-32]
	bl	fprintf
	b	.L159
.L162:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	beq	.L160
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, .L167
	ldr	r0, [fp, #-32]
	bl	fprintf
	b	.L161
.L160:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	fputs
.L161:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
.L159:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L162
	b	.L163
.L165:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L164
	ldr	r3, [fp, #-32]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L167+4
	bl	fwrite
.L164:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-12]
.L163:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L165
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-32]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-20]
.L156:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L166
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L168:
	.align	2
.L167:
	.word	.LC44
	.word	.LC45
	.size	imprimelistas, .-imprimelistas
	.align	2
	.global	limpalistas
	.syntax unified
	.arm
	.fpu softvfp
	.type	limpalistas, %function
limpalistas:
	@ 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, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L172
	mov	r3, #1
	b	.L171
.L177:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L173
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
.L173:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	str	r3, [fp, #-8]
	b	.L174
.L176:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L175
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
.L175:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #44]
	str	r2, [r3, #44]
	ldr	r0, [fp, #-12]
	bl	free
.L174:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L176
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #44]
	str	r2, [r3, #44]
	ldr	r0, [fp, #-16]
	bl	free
.L172:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L177
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	b	.L178
.L180:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L179
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	str	r2, [r3, #8]
.L179:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #44]
	str	r2, [r3, #44]
	ldr	r0, [fp, #-16]
	bl	free
.L178:
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L180
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	mov	r3, #0
.L171:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	limpalistas, .-limpalistas
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
