	.file	"218921.c"
	.intel_syntax noprefix
	.text
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	nvi
	.align 4
	.type	nvi, @object
	.size	nvi, 4
nvi:
	.zero	4
	.globl	nvf
	.align 4
	.type	nvf, @object
	.size	nvf, 4
nvf:
	.zero	4
	.globl	neag
	.align 4
	.type	neag, @object
	.size	neag, 4
neag:
	.zero	4
	.globl	naag
	.align 4
	.type	naag, @object
	.size	naag, 4
naag:
	.zero	4
	.globl	status
	.data
	.align 4
	.type	status, @object
	.size	status, 4
status:
	.long	1
	.text
	.globl	criaFam
	.type	criaFam, @function
criaFam:
.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, 16
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	criaFam, .-criaFam
	.globl	criaLFam
	.type	criaLFam, @function
criaLFam:
.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	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	criaLFam, .-criaLFam
	.section	.rodata
	.align 8
.LC0:
	.string	"Mem\303\263ria insuficiente para alocar. "
	.text
	.globl	insereFam
	.type	insereFam, @function
insereFam:
.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	DWORD PTR -36[rbp], edx
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L6:
	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 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L9
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insereFam, .-insereFam
	.globl	insereLFam
	.type	insereLFam, @function
insereLFam:
.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	QWORD PTR -40[rbp], rdx
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L11:
	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]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L14
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L14:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insereLFam, .-insereLFam
	.section	.rodata
	.align 8
.LC1:
	.string	"Lista Familia Vazia, impossivel inserir virus. "
	.text
	.globl	insereVirus
	.type	insereVirus, @function
insereVirus:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L18
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L15
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L15
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L23
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L15
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
.L18:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L24
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insereVirus, .-insereVirus
	.section	.rodata
	.align 8
.LC2:
	.string	"Lista Familia Vazia, impossivel verificar a existencia de virus. "
	.text
	.globl	verificaExistenciaVirus
	.type	verificaExistenciaVirus, @function
verificaExistenciaVirus:
.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 [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L28
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L27
.L30:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L29
	mov	eax, 1
	jmp	.L27
.L29:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L28:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	mov	eax, 0
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	verificaExistenciaVirus, .-verificaExistenciaVirus
	.section	.rodata
.LC3:
	.string	"A Lista familia est\303\241 vazia. "
	.align 8
.LC4:
	.string	"%d - O AGENTE DE SAUDE atuou na Familia %s.\n"
	.text
	.globl	agenteSaude
	.type	agenteSaude, @function
agenteSaude:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L34
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 48
	jmp	.L33
.L35:
	add	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L34:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L35
	call	rand@PLT
	cdq
	idiv	DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -16[rbp], 1
.L36:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L37
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L38
	mov	eax, DWORD PTR naag[rip]
	add	eax, 1
	mov	DWORD PTR naag[rip], eax
	jmp	.L39
.L38:
	mov	eax, DWORD PTR neag[rip]
	add	eax, 1
	mov	DWORD PTR neag[rip], eax
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR m[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	agenteSaude, .-agenteSaude
	.section	.rodata
	.align 8
.LC5:
	.string	"%d - Virus se MULTIPLICANDO em %s.\n"
	.text
	.globl	virusMultiplica
	.type	virusMultiplica, @function
virusMultiplica:
.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	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insereVirus
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insereVirus
	mov	eax, DWORD PTR m[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	virusMultiplica, .-virusMultiplica
	.globl	controlesurto
	.type	controlesurto, @function
controlesurto:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L44
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L41
.L46:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L45
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	DWORD PTR -12[rbp], eax
.L45:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L44:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L46
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L41
	mov	DWORD PTR status[rip], 2
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	controlesurto, .-controlesurto
	.section	.rodata
	.align 8
.LC7:
	.string	"A Lista familia ou de liga\303\247\303\265es est\303\241 vazia, logo os virus n\303\243o podem se mover. "
.LC8:
	.string	"%d - Virus encontrado em %s.\n"
	.align 8
.LC9:
	.string	"%d - Movendo o ultimo virus de %s para %s.\n"
.LC10:
	.string	"%d - Virus movido para %s.\n"
	.text
	.globl	virusMove
	.type	virusMove, @function
virusMove:
.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, 224
	mov	QWORD PTR -200[rbp], rdi
	mov	QWORD PTR -208[rbp], rsi
	mov	DWORD PTR -212[rbp], edx
	mov	DWORD PTR -216[rbp], ecx
	mov	DWORD PTR -220[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -180[rbp], 0
	cmp	QWORD PTR -168[rbp], 0
	je	.L50
	cmp	QWORD PTR -152[rbp], 0
	jne	.L53
.L50:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L49
.L83:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L54
	mov	eax, DWORD PTR m[rip]
	cmp	DWORD PTR -212[rbp], eax
	jle	.L54
	mov	rdx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR m[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -180[rbp], 0
	mov	BYTE PTR -118[rbp], 70
	mov	BYTE PTR -117[rbp], 32
	mov	BYTE PTR -116[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	DWORD PTR -176[rbp], 0
	jmp	.L55
.L56:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 48
	add	DWORD PTR -176[rbp], 1
.L55:
	cmp	DWORD PTR -176[rbp], 99
	jle	.L56
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L59
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L57
.L60:
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -144[rbp], rax
.L59:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L60
.L57:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	cdq
	idiv	DWORD PTR -220[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L61
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	virusMultiplica
	jmp	.L49
.L61:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	cdq
	idiv	DWORD PTR -216[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L63
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L63
	mov	BYTE PTR -115[rbp], 70
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	agenteSaude
	mov	BYTE PTR -114[rbp], al
	mov	BYTE PTR -113[rbp], 0
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -115[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L85
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	verificaExistenciaVirus
	xor	eax, 1
	test	al, al
	jne	.L86
.L63:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L67
.L70:
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L68
	mov	rax, QWORD PTR -152[rbp]
	movzx	edx, BYTE PTR 4[rax]
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -180[rbp], 1
.L68:
	mov	rax, QWORD PTR -152[rbp]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L69
	mov	rax, QWORD PTR -152[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -180[rbp], 1
.L69:
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -152[rbp], rax
.L67:
	cmp	QWORD PTR -152[rbp], 0
	jne	.L70
	call	rand@PLT
	cdq
	idiv	DWORD PTR -180[rbp]
	mov	DWORD PTR -172[rbp], edx
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	mov	BYTE PTR -117[rbp], al
	mov	rdx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR m[rip]
	lea	rcx, -118[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L71
.L78:
	mov	rdx, QWORD PTR -160[rbp]
	lea	rax, -118[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L72
	mov	QWORD PTR -136[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -160[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -160[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L73
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L77
.L73:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L75
.L76:
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -136[rbp], rax
.L75:
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L76
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L77
.L72:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -160[rbp], rax
.L71:
	cmp	QWORD PTR -160[rbp], 0
	jne	.L78
.L77:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L79
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 16[rax], 0
	jmp	.L80
.L79:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L81
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR 8[rax], 0
	jmp	.L80
.L81:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 8[rax], 0
.L80:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	controlesurto
	mov	eax, DWORD PTR -212[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR m[rip]
	cmp	edx, eax
	jne	.L82
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	verificaExistenciaVirus
	test	al, al
	je	.L82
	mov	DWORD PTR status[rip], 3
.L82:
	mov	eax, DWORD PTR m[rip]
	lea	rdx, -118[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR m[rip]
	add	eax, 1
	mov	DWORD PTR m[rip], eax
.L54:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -168[rbp], rax
.L53:
	cmp	QWORD PTR -168[rbp], 0
	jne	.L83
	jmp	.L49
.L85:
	nop
	jmp	.L49
.L86:
	nop
.L49:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	virusMove, .-virusMove
	.section	.rodata
.LC11:
	.string	"LISTA VAZIA "
	.align 8
.LC12:
	.string	"||FAM: %s || QTD: %d || QTDVIRUS: %d|| DOENTE: %d|| \n"
	.text
	.globl	printFam
	.type	printFam, @function
printFam:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L90
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L87
.L91:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L90:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L91
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	printFam, .-printFam
	.section	.rodata
.LC13:
	.string	"w"
.LC14:
	.string	"logfile.txt"
.LC15:
	.string	"Erro na abertura do arquivo."
	.align 8
.LC16:
	.string	"Numero de movimentos totais: %d\n"
.LC17:
	.string	"Numero de virus iniciais: %d\n"
.LC18:
	.string	"Numero de virus finais: %d\n"
	.align 8
.LC19:
	.string	"Numero de erros do agente: %d\n"
	.align 8
.LC20:
	.string	"Numero de acertos do agente: %d\n"
.LC21:
	.string	"Status: N\303\243o houve surto."
	.align 8
.LC22:
	.string	"Status: Houve surto mais foi controlado/erradicado."
.LC23:
	.string	"Status: Houve surto."
	.text
	.globl	verificasurto
	.type	verificasurto, @function
verificasurto:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L95
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L92
.L96:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR nvf[rip]
	add	eax, edx
	mov	DWORD PTR nvf[rip], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
.L95:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L96
	lea	rsi, .LC13[rip]
	lea	rdi, .LC14[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L97
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L97:
	mov	edx, DWORD PTR m[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR nvi[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR nvf[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR neag[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR naag[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR status[rip]
	cmp	eax, 1
	jne	.L98
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
.L98:
	mov	eax, DWORD PTR status[rip]
	cmp	eax, 2
	jne	.L99
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
.L99:
	mov	eax, DWORD PTR status[rip]
	cmp	eax, 3
	jne	.L92
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	verificasurto, .-verificasurto
	.section	.rodata
.LC24:
	.string	"r"
.LC25:
	.string	"entrada.txt"
.LC26:
	.string	"%s"
.LC27:
	.string	"inserefamilia"
.LC28:
	.string	"%d"
	.align 8
.LC29:
	.string	"Adicionando a familia %s a lista familias.\n"
.LC30:
	.string	"ligafamilias"
	.align 8
.LC31:
	.string	"Adicionando a liga\303\247\303\243o entre %s - %s na lista de liga\303\247\303\265es.\n"
.LC32:
	.string	"inserevirus"
.LC33:
	.string	"Infectando a familia %s.\n"
.LC34:
	.string	"agente_atua"
	.align 8
.LC35:
	.string	"O Agente foi configurado para atuar ap\303\263s %d movimentos do virus.\n"
.LC36:
	.string	"v\303\255rus_multiplica"
.LC37:
	.string	" %d "
	.align 8
.LC38:
	.string	"A Multiplica\303\247\303\243o dos virus foi configurada para acontecer ap\303\263s %d movimentos do virus.\n"
.LC39:
	.string	"iniciasimulacao"
	.align 8
.LC40:
	.string	"Simula\303\247\303\243o configurada para um total maximo de %d movimentos.\n"
	.align 8
.LC41:
	.string	"------------------------------------------------"
.LC42:
	.string	"Iniciando Simula\303\247\303\243o..."
	.align 8
.LC43:
	.string	"N\303\243o h\303\241 mais nenhum virus em nenhuma familia."
.LC44:
	.string	"verificasurto"
	.text
	.globl	comandoArquivo
	.type	comandoArquivo, @function
comandoArquivo:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC24[rip]
	lea	rdi, .LC25[rip]
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L102
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L117:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -32[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L103
	cmp	DWORD PTR -100[rbp], 1
	jne	.L103
	lea	rdx, -50[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -84[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -50[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -84[rbp]
	lea	rcx, -50[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insereFam
.L103:
	lea	rax, -32[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L104
	cmp	DWORD PTR -100[rbp], 2
	jne	.L104
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -39[rbp]
	mov	esi, 7
	mov	rdi, rax
	call	fgets@PLT
	mov	DWORD PTR -68[rbp], 0
	jmp	.L105
.L108:
	cmp	DWORD PTR -68[rbp], 0
	jle	.L106
	cmp	DWORD PTR -68[rbp], 2
	jg	.L106
	mov	eax, DWORD PTR -68[rbp]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movzx	edx, BYTE PTR -39[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -45[rbp+rax], dl
.L106:
	cmp	DWORD PTR -68[rbp], 3
	jle	.L107
	cmp	DWORD PTR -68[rbp], 5
	jg	.L107
	mov	eax, DWORD PTR -68[rbp]
	lea	ecx, -4[rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movzx	edx, BYTE PTR -39[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -42[rbp+rax], dl
.L107:
	add	DWORD PTR -68[rbp], 1
.L105:
	cmp	DWORD PTR -68[rbp], 6
	jle	.L108
	mov	BYTE PTR -43[rbp], 0
	mov	BYTE PTR -40[rbp], 0
	lea	rdx, -42[rbp]
	lea	rax, -45[rbp]
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -42[rbp]
	lea	rcx, -45[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insereLFam
.L104:
	lea	rax, -32[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L109
	cmp	DWORD PTR -100[rbp], 3
	jne	.L109
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR nvi[rip]
	add	eax, 1
	mov	DWORD PTR nvi[rip], eax
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insereVirus
.L109:
	lea	rax, -32[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L110
	cmp	DWORD PTR -100[rbp], 4
	jne	.L110
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
.L110:
	lea	rax, -32[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L111
	cmp	DWORD PTR -100[rbp], 4
	jne	.L111
	lea	rdx, -76[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
.L111:
	lea	rax, -32[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L112
	cmp	DWORD PTR -100[rbp], 4
	jne	.L112
	lea	rdx, -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC42[rip]
	call	puts@PLT
	jmp	.L113
.L115:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	verificaExistenciaVirus
	xor	eax, 1
	test	al, al
	je	.L114
	lea	rdi, .LC43[rip]
	call	puts@PLT
	jmp	.L112
.L114:
	mov	edi, DWORD PTR -76[rbp]
	mov	ecx, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	virusMove
.L113:
	mov	edx, DWORD PTR m[rip]
	mov	eax, DWORD PTR -72[rbp]
	cmp	edx, eax
	jl	.L115
.L112:
	lea	rax, -32[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L102
	cmp	DWORD PTR -100[rbp], 5
	jne	.L102
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	verificasurto
	jmp	.L116
.L102:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L117
.L116:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L118
	call	__stack_chk_fail@PLT
.L118:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	comandoArquivo, .-comandoArquivo
	.section	.rodata
	.align 8
.LC45:
	.string	"------------- Configura\303\247\303\243o inicial -------------"
.LC46:
	.string	"Criando Lista Familias."
	.align 8
.LC47:
	.string	"Criando a Lista de liga\303\247\303\265es entre as Familias."
	.align 8
.LC48:
	.string	"------------- Relat\303\263rios -------------"
	.align 8
.LC49:
	.string	"m: %d nvi: %d nvf: %d neag: %d naag: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rdi, .LC45[rip]
	call	puts@PLT
	lea	rdi, .LC46[rip]
	call	puts@PLT
	mov	eax, 0
	call	criaFam
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC47[rip]
	call	puts@PLT
	mov	eax, 0
	call	criaLFam
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	comandoArquivo
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	comandoArquivo
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	comandoArquivo
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	printFam
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	comandoArquivo
	lea	rdi, .LC48[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	printFam
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	mov	edi, 5
	call	comandoArquivo
	mov	edi, DWORD PTR naag[rip]
	mov	esi, DWORD PTR neag[rip]
	mov	ecx, DWORD PTR nvf[rip]
	mov	edx, DWORD PTR nvi[rip]
	mov	eax, DWORD PTR m[rip]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L120
	call	__stack_chk_fail@PLT
.L120:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.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	"218921.c"
	.text
	.global	m
	.bss
	.align	2
	.type	m, %object
	.size	m, 4
m:
	.space	4
	.global	nvi
	.align	2
	.type	nvi, %object
	.size	nvi, 4
nvi:
	.space	4
	.global	nvf
	.align	2
	.type	nvf, %object
	.size	nvf, 4
nvf:
	.space	4
	.global	neag
	.align	2
	.type	neag, %object
	.size	neag, 4
neag:
	.space	4
	.global	naag
	.align	2
	.type	naag, %object
	.size	naag, 4
naag:
	.space	4
	.global	status
	.data
	.align	2
	.type	status, %object
	.size	status, 4
status:
	.word	1
	.text
	.align	2
	.global	criaFam
	.syntax unified
	.arm
	.fpu softvfp
	.type	criaFam, %function
criaFam:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	criaFam, .-criaFam
	.align	2
	.global	criaLFam
	.syntax unified
	.arm
	.fpu softvfp
	.type	criaLFam, %function
criaLFam:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	criaLFam, .-criaLFam
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Mem\303\263ria insuficiente para alocar. \000"
	.text
	.align	2
	.global	insereFam
	.syntax unified
	.arm
	.fpu softvfp
	.type	insereFam, %function
insereFam:
	@ 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, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L10
	bl	puts
.L6:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L9
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L9:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	insereFam, .-insereFam
	.align	2
	.global	insereLFam
	.syntax unified
	.arm
	.fpu softvfp
	.type	insereLFam, %function
insereLFam:
	@ 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, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L17
	bl	puts
.L13:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L16
.L14:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L16:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	insereLFam, .-insereLFam
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Lista Familia Vazia, impossivel inserir virus. \000"
	.text
	.align	2
	.global	insereVirus
	.syntax unified
	.arm
	.fpu softvfp
	.type	insereVirus, %function
insereVirus:
	@ 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	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L29
	bl	puts
	b	.L19
.L28:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	b	.L19
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L26
.L27:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	b	.L19
.L23:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-16]
.L22:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L28
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC1
	.size	insereVirus, .-insereVirus
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Lista Familia Vazia, impossivel verificar a existen"
	.ascii	"cia de virus. \000"
	.text
	.align	2
	.global	verificaExistenciaVirus
	.syntax unified
	.arm
	.fpu softvfp
	.type	verificaExistenciaVirus, %function
verificaExistenciaVirus:
	@ 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]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L34
	ldr	r0, .L37
	bl	puts
	mov	r3, #0
	b	.L33
.L36:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L35
	mov	r3, #1
	b	.L33
.L35:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.size	verificaExistenciaVirus, .-verificaExistenciaVirus
	.section	.rodata
	.align	2
.LC3:
	.ascii	"A Lista familia est\303\241 vazia. \000"
	.global	__aeabi_idivmod
	.align	2
.LC4:
	.ascii	"%d - O AGENTE DE SAUDE atuou na Familia %s.\012\000"
	.text
	.align	2
	.global	agenteSaude
	.syntax unified
	.arm
	.fpu softvfp
	.type	agenteSaude, %function
agenteSaude:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L48
	bl	puts
	mov	r3, #48
	b	.L41
.L43:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-16]
.L42:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L43
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L44
.L45:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L44:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L45
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L48+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48+4
	str	r3, [r2]
	b	.L47
.L46:
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48+8
	str	r3, [r2]
.L47:
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L48+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L48+16
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC3
	.word	naag
	.word	neag
	.word	m
	.word	.LC4
	.size	agenteSaude, .-agenteSaude
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d - Virus se MULTIPLICANDO em %s.\012\000"
	.text
	.align	2
	.global	virusMultiplica
	.syntax unified
	.arm
	.fpu softvfp
	.type	virusMultiplica, %function
virusMultiplica:
	@ 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]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	insereVirus
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	insereVirus
	ldr	r3, .L51
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L51+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	m
	.word	.LC5
	.size	virusMultiplica, .-virusMultiplica
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.align	2
	.global	controlesurto
	.syntax unified
	.arm
	.fpu softvfp
	.type	controlesurto, %function
controlesurto:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L56
	ldr	r0, .L61
	bl	puts
	b	.L53
.L58:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L57:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-16]
.L56:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L58
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	ldr	r2, .L61+4
	ldr	r3, .L61+8
	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	.L53
	ldr	r3, .L61+12
	mov	r2, #2
	str	r2, [r3]
.L53:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC3
	.word	-1717986918
	.word	1072273817
	.word	status
	.size	controlesurto, .-controlesurto
	.section	.rodata
	.align	2
.LC6:
	.ascii	"A Lista familia ou de liga\303\247\303\265es est\303"
	.ascii	"\241 vazia, logo os virus n\303\243o podem se mover"
	.ascii	". \000"
	.align	2
.LC7:
	.ascii	"%d - Virus encontrado em %s.\012\000"
	.align	2
.LC8:
	.ascii	"%d - Movendo o ultimo virus de %s para %s.\012\000"
	.align	2
.LC9:
	.ascii	"%d - Virus movido para %s.\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	virusMove
	.syntax unified
	.arm
	.fpu softvfp
	.type	virusMove, %function
virusMove:
	@ args = 4, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-160]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L67
.L64:
	ldr	r0, .L101+4
	bl	puts
	b	.L63
.L97:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L101+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-168]
	cmp	r2, r3
	ble	.L68
	ldr	r3, .L101+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	mov	r1, r3
	ldr	r0, .L101+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #70
	strb	r3, [fp, #-116]
	mov	r3, #32
	strb	r3, [fp, #-115]
	mov	r3, #0
	strb	r3, [fp, #-114]
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L69
.L70:
	sub	r2, fp, #108
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L69:
	ldr	r3, [fp, #-124]
	cmp	r3, #99
	ble	.L70
	ldr	r3, [fp, #-164]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-140]
	b	.L71
.L74:
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-140]
.L73:
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L74
.L71:
	ldr	r3, [fp, #-140]
	ldr	r3, [r3]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L75
	ldr	r3, [fp, #-140]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-152]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	virusMultiplica
	b	.L63
.L75:
	ldr	r3, [fp, #-140]
	ldr	r3, [r3]
	ldr	r1, [fp, #-172]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L77
	ldr	r3, [fp, #-140]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L77
	mov	r3, #70
	strb	r3, [fp, #-112]
	ldr	r0, [fp, #-160]
	bl	agenteSaude
	mov	r3, r0
	strb	r3, [fp, #-111]
	mov	r3, #0
	strb	r3, [fp, #-110]
	ldr	r3, [fp, #-152]
	sub	r2, fp, #112
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	ldr	r0, [fp, #-160]
	bl	verificaExistenciaVirus
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L100
.L77:
	ldr	r3, [fp, #-140]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-140]
	str	r2, [r3]
	b	.L81
.L84:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-144]
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-144]
	ldrb	r1, [r3, #4]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L82:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-144]
	add	r3, r3, #3
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L83
	ldr	r3, [fp, #-144]
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L83:
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-144]
.L81:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L84
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-128]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-120]
	sub	r2, fp, #108
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-115]
	ldr	r3, .L101+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-152]
	sub	r3, fp, #116
	ldr	r0, .L101+16
	bl	printf
	b	.L85
.L92:
	ldr	r2, [fp, #-148]
	sub	r3, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L86
	mov	r3, #0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-148]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-148]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-148]
	mov	r2, #1
	str	r2, [r3, #12]
	ldr	r3, [fp, #-148]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-140]
	str	r2, [r3, #16]
	b	.L91
.L87:
	ldr	r3, [fp, #-148]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-136]
	b	.L89
.L90:
	ldr	r3, [fp, #-136]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-136]
.L89:
	ldr	r3, [fp, #-136]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-136]
	ldr	r2, [fp, #-140]
	str	r2, [r3, #4]
	b	.L91
.L86:
	ldr	r3, [fp, #-148]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-148]
.L85:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L92
.L91:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-152]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-152]
	mov	r2, #0
	str	r2, [r3, #16]
	b	.L94
.L93:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #16]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L95
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-152]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #16]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L94
.L95:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-152]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-132]
	mov	r2, #0
	str	r2, [r3, #4]
.L94:
	ldr	r0, [fp, #-160]
	bl	controlesurto
	ldr	r3, [fp, #-168]
	sub	r2, r3, #1
	ldr	r3, .L101+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L96
	ldr	r0, [fp, #-160]
	bl	verificaExistenciaVirus
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	ldr	r3, .L101+20
	mov	r2, #3
	str	r2, [r3]
.L96:
	ldr	r3, .L101+8
	ldr	r3, [r3]
	sub	r2, fp, #116
	mov	r1, r3
	ldr	r0, .L101+24
	bl	printf
	ldr	r3, .L101+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L101+8
	str	r3, [r2]
.L68:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-152]
.L67:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L97
	b	.L63
.L99:
	nop
	b	.L63
.L100:
	nop
.L63:
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L98
	bl	__stack_chk_fail
.L98:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	.LC10
	.word	.LC6
	.word	m
	.word	.LC7
	.word	.LC8
	.word	status
	.word	.LC9
	.size	virusMove, .-virusMove
	.section	.rodata
	.align	2
.LC11:
	.ascii	"LISTA VAZIA \000"
	.align	2
.LC12:
	.ascii	"||FAM: %s || QTD: %d || QTDVIRUS: %d|| DOENTE: %d||"
	.ascii	" \012\000"
	.text
	.align	2
	.global	printFam
	.syntax unified
	.arm
	.fpu softvfp
	.type	printFam, %function
printFam:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L106
	ldr	r0, .L108
	bl	puts
	b	.L103
.L107:
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L108+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
.L106:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L107
.L103:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	.LC11
	.word	.LC12
	.size	printFam, .-printFam
	.section	.rodata
	.align	2
.LC13:
	.ascii	"w\000"
	.align	2
.LC14:
	.ascii	"logfile.txt\000"
	.align	2
.LC15:
	.ascii	"Erro na abertura do arquivo.\000"
	.align	2
.LC16:
	.ascii	"Numero de movimentos totais: %d\012\000"
	.align	2
.LC17:
	.ascii	"Numero de virus iniciais: %d\012\000"
	.align	2
.LC18:
	.ascii	"Numero de virus finais: %d\012\000"
	.align	2
.LC19:
	.ascii	"Numero de erros do agente: %d\012\000"
	.align	2
.LC20:
	.ascii	"Numero de acertos do agente: %d\012\000"
	.align	2
.LC21:
	.ascii	"Status: N\303\243o houve surto.\000"
	.align	2
.LC22:
	.ascii	"Status: Houve surto mais foi controlado/erradicado."
	.ascii	"\000"
	.align	2
.LC23:
	.ascii	"Status: Houve surto.\000"
	.text
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L113
	ldr	r0, .L118
	bl	puts
	b	.L110
.L114:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, .L118+4
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L118+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
.L113:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L114
	ldr	r1, .L118+8
	ldr	r0, .L118+12
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L115
	ldr	r0, .L118+16
	bl	puts
	mov	r0, #1
	bl	exit
.L115:
	ldr	r3, .L118+20
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L118+24
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L118+28
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L118+32
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L118+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L118+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L118+40
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L118+44
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L118+48
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L118+52
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L118+56
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L116
	ldr	r0, .L118+60
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L118+60
	bl	fwrite
.L116:
	ldr	r3, .L118+56
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L117
	ldr	r0, .L118+64
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L118+64
	bl	fwrite
.L117:
	ldr	r3, .L118+56
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L110
	ldr	r0, .L118+68
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L118+68
	bl	fwrite
.L110:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L119:
	.align	2
.L118:
	.word	.LC3
	.word	nvf
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	m
	.word	.LC16
	.word	nvi
	.word	.LC17
	.word	.LC18
	.word	neag
	.word	.LC19
	.word	naag
	.word	.LC20
	.word	status
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	verificasurto, .-verificasurto
	.section	.rodata
	.align	2
.LC24:
	.ascii	"r\000"
	.align	2
.LC25:
	.ascii	"entrada.txt\000"
	.align	2
.LC26:
	.ascii	"%s\000"
	.align	2
.LC27:
	.ascii	"inserefamilia\000"
	.align	2
.LC28:
	.ascii	"%d\000"
	.align	2
.LC29:
	.ascii	"Adicionando a familia %s a lista familias.\012\000"
	.align	2
.LC30:
	.ascii	"ligafamilias\000"
	.align	2
.LC31:
	.ascii	"Adicionando a liga\303\247\303\243o entre %s - %s n"
	.ascii	"a lista de liga\303\247\303\265es.\012\000"
	.align	2
.LC32:
	.ascii	"inserevirus\000"
	.align	2
.LC33:
	.ascii	"Infectando a familia %s.\012\000"
	.align	2
.LC34:
	.ascii	"agente_atua\000"
	.align	2
.LC35:
	.ascii	"O Agente foi configurado para atuar ap\303\263s %d "
	.ascii	"movimentos do virus.\012\000"
	.align	2
.LC36:
	.ascii	"v\303\255rus_multiplica\000"
	.align	2
.LC37:
	.ascii	" %d \000"
	.align	2
.LC38:
	.ascii	"A Multiplica\303\247\303\243o dos virus foi configu"
	.ascii	"rada para acontecer ap\303\263s %d movimentos do vi"
	.ascii	"rus.\012\000"
	.align	2
.LC39:
	.ascii	"iniciasimulacao\000"
	.align	2
.LC40:
	.ascii	"Simula\303\247\303\243o configurada para um total m"
	.ascii	"aximo de %d movimentos.\012\000"
	.align	2
.LC41:
	.ascii	"------------------------------------------------\000"
	.align	2
.LC42:
	.ascii	"Iniciando Simula\303\247\303\243o...\000"
	.align	2
.LC43:
	.ascii	"N\303\243o h\303\241 mais nenhum virus em nenhuma f"
	.ascii	"amilia.\000"
	.align	2
.LC44:
	.ascii	"verificasurto\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	comandoArquivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	comandoArquivo, %function
comandoArquivo:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	ldr	r3, .L139
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L139+4
	ldr	r0, .L139+8
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L122
	ldr	r0, .L139+12
	bl	puts
	mov	r0, #1
	bl	exit
.L137:
	sub	r3, fp, #28
	mov	r2, r3
	ldr	r1, .L139+16
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	sub	r3, fp, #28
	ldr	r1, .L139+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L123
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	bne	.L123
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, .L139+16
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	sub	r3, fp, #76
	mov	r2, r3
	ldr	r1, .L139+24
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L139+28
	bl	printf
	ldr	r2, [fp, #-76]
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, [fp, #-84]
	bl	insereFam
.L123:
	sub	r3, fp, #28
	ldr	r1, .L139+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	bne	.L124
	sub	r3, fp, #36
	ldr	r2, [fp, #-56]
	mov	r1, #7
	mov	r0, r3
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L125
.L128:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	ble	.L126
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	bgt	.L126
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	sub	r1, fp, #36
	ldr	r2, [fp, #-60]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-40]
.L126:
	ldr	r3, [fp, #-60]
	cmp	r3, #3
	ble	.L127
	ldr	r3, [fp, #-60]
	cmp	r3, #5
	bgt	.L127
	ldr	r3, [fp, #-60]
	sub	r3, r3, #4
	sub	r1, fp, #36
	ldr	r2, [fp, #-60]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-36]
.L127:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L125:
	ldr	r3, [fp, #-60]
	cmp	r3, #6
	ble	.L128
	mov	r3, #0
	strb	r3, [fp, #-42]
	mov	r3, #0
	strb	r3, [fp, #-38]
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L139+36
	bl	printf
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	insereLFam
.L124:
	sub	r3, fp, #28
	ldr	r1, .L139+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L129
	ldr	r3, [fp, #-80]
	cmp	r3, #3
	bne	.L129
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L139+16
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	ldr	r3, .L139+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L139+44
	str	r3, [r2]
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L139+48
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-84]
	bl	insereVirus
.L129:
	sub	r3, fp, #28
	ldr	r1, .L139+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L130
	ldr	r3, [fp, #-80]
	cmp	r3, #4
	bne	.L130
	sub	r3, fp, #72
	mov	r2, r3
	ldr	r1, .L139+24
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L139+56
	bl	printf
.L130:
	sub	r3, fp, #28
	ldr	r1, .L139+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L131
	ldr	r3, [fp, #-80]
	cmp	r3, #4
	bne	.L131
	sub	r3, fp, #68
	mov	r2, r3
	ldr	r1, .L139+64
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-68]
	mov	r1, r3
	ldr	r0, .L139+68
	bl	printf
.L131:
	sub	r3, fp, #28
	ldr	r1, .L139+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L132
	ldr	r3, [fp, #-80]
	cmp	r3, #4
	bne	.L132
	sub	r3, fp, #64
	mov	r2, r3
	ldr	r1, .L139+24
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-64]
	mov	r1, r3
	ldr	r0, .L139+76
	bl	printf
	ldr	r0, .L139+80
	bl	puts
	ldr	r0, .L139+84
	bl	puts
	b	.L133
.L135:
	ldr	r0, [fp, #-84]
	bl	verificaExistenciaVirus
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L134
	ldr	r0, .L139+88
	bl	puts
	b	.L132
.L134:
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-72]
	ldr	r3, [fp, #-68]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-84]
	bl	virusMove
.L133:
	ldr	r3, .L139+92
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L135
.L132:
	sub	r3, fp, #28
	ldr	r1, .L139+96
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L122
	ldr	r3, [fp, #-80]
	cmp	r3, #5
	bne	.L122
	ldr	r0, [fp, #-84]
	bl	verificasurto
	b	.L136
.L122:
	ldr	r0, [fp, #-56]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L137
.L136:
	nop
	ldr	r3, .L139
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L138
	bl	__stack_chk_fail
.L138:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L140:
	.align	2
.L139:
	.word	.LC45
	.word	.LC24
	.word	.LC25
	.word	.LC15
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	nvi
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	m
	.word	.LC44
	.size	comandoArquivo, .-comandoArquivo
	.section	.rodata
	.align	2
.LC46:
	.ascii	"------------- Configura\303\247\303\243o inicial --"
	.ascii	"-----------\000"
	.align	2
.LC47:
	.ascii	"Criando Lista Familias.\000"
	.align	2
.LC48:
	.ascii	"Criando a Lista de liga\303\247\303\265es entre as "
	.ascii	"Familias.\000"
	.align	2
.LC49:
	.ascii	"------------- Relat\303\263rios -------------\000"
	.align	2
.LC50:
	.ascii	"m: %d nvi: %d nvf: %d neag: %d naag: %d\012\000"
	.align	2
.LC51:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L143
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r0, .L143+4
	bl	puts
	ldr	r0, .L143+8
	bl	puts
	bl	criaFam
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, .L143+12
	bl	puts
	bl	criaLFam
	mov	r3, r0
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #1
	bl	comandoArquivo
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #2
	bl	comandoArquivo
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #3
	bl	comandoArquivo
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	printFam
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #4
	bl	comandoArquivo
	ldr	r0, .L143+16
	bl	puts
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	printFam
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #5
	bl	comandoArquivo
	ldr	r3, .L143+20
	ldr	r1, [r3]
	ldr	r3, .L143+24
	ldr	r0, [r3]
	ldr	r3, .L143+28
	ldr	ip, [r3]
	ldr	r3, .L143+32
	ldr	r3, [r3]
	ldr	r2, .L143+36
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L143+40
	bl	printf
	nop
	ldr	r3, .L143
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L142
	bl	__stack_chk_fail
.L142:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L144:
	.align	2
.L143:
	.word	.LC51
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	m
	.word	nvi
	.word	nvf
	.word	neag
	.word	naag
	.word	.LC50
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
