	.file	"752518.c"
	.intel_syntax noprefix
	.text
	.globl	login
	.data
	.align 8
	.type	login, @object
	.size	login, 15
login:
	.string	"teste"
	.zero	9
	.globl	login_dig
	.bss
	.align 8
	.type	login_dig, @object
	.size	login_dig, 15
login_dig:
	.zero	15
	.globl	senha
	.data
	.align 8
	.type	senha, @object
	.size	senha, 15
senha:
	.string	"teste"
	.zero	9
	.globl	senha_dig
	.bss
	.align 8
	.type	senha_dig, @object
	.size	senha_dig, 15
senha_dig:
	.zero	15
	.globl	login_efetuado
	.align 4
	.type	login_efetuado, @object
	.size	login_efetuado, 4
login_efetuado:
	.zero	4
	.globl	nome
	.align 32
	.type	nome, @object
	.size	nome, 50
nome:
	.zero	50
	.globl	cpf
	.align 32
	.type	cpf, @object
	.size	cpf, 50
cpf:
	.zero	50
	.globl	telefone
	.align 32
	.type	telefone, @object
	.size	telefone, 50
telefone:
	.zero	50
	.globl	email
	.align 32
	.type	email, @object
	.size	email, 50
email:
	.zero	50
	.globl	datadiag
	.align 32
	.type	datadiag, @object
	.size	datadiag, 200
datadiag:
	.zero	200
	.globl	comorbidade
	.align 32
	.type	comorbidade, @object
	.size	comorbidade, 50
comorbidade:
	.zero	50
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	opcao
	.align 4
	.type	opcao, @object
	.size	opcao, 4
opcao:
	.zero	4
	.globl	opcao2
	.align 4
	.type	opcao2, @object
	.size	opcao2, 4
opcao2:
	.zero	4
	.globl	idade
	.align 16
	.type	idade, @object
	.size	idade, 16
idade:
	.zero	16
	.globl	ano_atual
	.align 16
	.type	ano_atual, @object
	.size	ano_atual, 16
ano_atual:
	.zero	16
	.globl	end
	.align 32
	.type	end, @object
	.size	end, 136
end:
	.zero	136
	.globl	nasc
	.align 32
	.type	nasc, @object
	.size	nasc, 32
nasc:
	.zero	32
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\n\tBem Vindo(a) ao Programa de Cadastro de Pacientes"
.LC1:
	.string	"\n\n\tDigite o Login: "
.LC2:
	.string	"\n\tDigite a Senha: "
	.align 8
.LC3:
	.string	"\n\n\tLogin Efetuado com Sucesso!\n"
	.align 8
.LC4:
	.string	"\n\n\tLogin ou Senha Incorretos, Por favor Insira Novamente!\n"
	.text
	.globl	teladelogin
	.type	teladelogin, @function
teladelogin:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L2
.L4:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, login_dig[rip]
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, senha_dig[rip]
	mov	eax, 0
	call	gets@PLT
	lea	rsi, login_dig[rip]
	lea	rdi, login[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	lea	rsi, senha_dig[rip]
	lea	rdi, senha[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR login_efetuado[rip], 1
	jmp	.L2
.L3:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L2:
	mov	eax, DWORD PTR login_efetuado[rip]
	test	eax, eax
	je	.L4
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	teladelogin, .-teladelogin
	.section	.rodata
.LC5:
	.string	"ab"
.LC6:
	.string	"sec_saude.xlsx"
.LC7:
	.string	"%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	eax, 0
	call	teladelogin
	mov	eax, 0
	call	cadastro
	mov	DWORD PTR ano_atual[rip], 825372722
	mov	BYTE PTR ano_atual[rip+4], 0
	mov	eax, DWORD PTR ano_atual[rip+16]
	mov	edx, DWORD PTR nasc[rip+32]
	sub	eax, edx
	mov	DWORD PTR idade[rip+16], eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, idade[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip+96]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"arquivo.txt"
	.align 8
.LC9:
	.string	"\n\tBem Vindo ao Doutor(a),Digite as Informacoes do Paciente nos Campos Abaixo\n\n"
.LC10:
	.string	"\tNome do Paciente: "
.LC11:
	.string	"\n%s\n"
.LC12:
	.string	"\n\tCPF do Paciente: "
.LC13:
	.string	"\n\tTelefone do Paciente: "
.LC14:
	.string	"\n\tEndereco do Paciente"
.LC15:
	.string	"\n\t  Rua: "
.LC16:
	.string	"%s "
.LC17:
	.string	"\n\t  Numero da Casa: "
.LC18:
	.string	"%s, "
.LC19:
	.string	"\n\t  Bairro: "
.LC20:
	.string	"\n\t  Cidade: "
.LC21:
	.string	"\n\t  Estado: "
.LC22:
	.string	"\n\t  CEP: "
	.align 8
.LC23:
	.string	"\n\tData de Nascimento do Paciente:"
.LC24:
	.string	"\n\t  Dia: "
.LC25:
	.string	"%s/"
.LC26:
	.string	"\n\t  Mes: "
.LC27:
	.string	"\n\t  Ano: "
.LC28:
	.string	"\n\tEmail do Paciente:"
	.align 8
.LC29:
	.string	"\n\tData do Diagnostico do Paciente: "
	.align 8
.LC30:
	.string	"\n\tEle(a) tem alguma Comorbidade?"
	.align 8
.LC31:
	.string	"\n\tSe sim Digite 1, Se nao Digite qualquer tecla: "
.LC32:
	.string	"%d"
.LC33:
	.string	"\n\tQual o nome da dela: "
.LC34:
	.string	"%s"
	.align 8
.LC35:
	.string	"\n\n\tPaciente Cadastrado com Sucesso!"
	.align 8
.LC36:
	.string	"\n\n\tDeseja continuar?, Se sim digite 1, Se nao Digite qualquer tecla: "
	.text
	.globl	cadastro
	.type	cadastro, @function
cadastro:
.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, 16
	lea	rsi, .LC5[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L28:
	mov	DWORD PTR n[rip], 0
	jmp	.L8
.L27:
	mov	eax, DWORD PTR n[rip]
	test	eax, eax
	jne	.L9
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, nome[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, nome[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L9:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 1
	jne	.L10
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, cpf[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, cpf[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L10:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 2
	jne	.L11
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, telefone[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, telefone[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L11:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 3
	jne	.L12
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, end[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L12:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 4
	jne	.L13
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, end[rip+30]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip+30]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L13:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 5
	jne	.L14
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, end[rip+34]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip+34]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L14:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 6
	jne	.L15
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, end[rip+64]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip+64]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L15:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 7
	jne	.L16
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, end[rip+94]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip+94]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L16:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 8
	jne	.L17
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, end[rip+96]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, end[rip+96]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L17:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 9
	jne	.L18
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, nasc[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, nasc[rip]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L18:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 10
	jne	.L19
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, nasc[rip+8]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, nasc[rip+8]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L19:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 11
	jne	.L20
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, nasc[rip+16]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, nasc[rip+16]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L20:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 12
	jne	.L21
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, email[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, email[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L21:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 13
	jne	.L22
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, datadiag[rip]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, datadiag[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L22:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 14
	jne	.L23
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, opcao[rip]
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR opcao[rip]
	cmp	eax, 1
	jne	.L24
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, comorbidade[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, comorbidade[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L24:
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L23:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 15
	jne	.L25
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L25:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 16
	jne	.L26
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, opcao2[rip]
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L8:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 15
	jle	.L27
	mov	eax, DWORD PTR opcao2[rip]
	cmp	eax, 1
	je	.L28
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cadastro, .-cadastro
	.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	"752518.c"
	.text
	.global	login
	.data
	.align	2
	.type	login, %object
	.size	login, 15
login:
	.ascii	"teste\000"
	.space	9
	.comm	login_dig,15,4
	.global	senha
	.align	2
	.type	senha, %object
	.size	senha, 15
senha:
	.ascii	"teste\000"
	.space	9
	.comm	senha_dig,15,4
	.global	login_efetuado
	.bss
	.align	2
	.type	login_efetuado, %object
	.size	login_efetuado, 4
login_efetuado:
	.space	4
	.comm	nome,50,4
	.comm	cpf,50,4
	.comm	telefone,50,4
	.comm	email,50,4
	.comm	datadiag,200,4
	.comm	comorbidade,50,4
	.comm	n,4,4
	.comm	opcao,4,4
	.comm	opcao2,4,4
	.comm	idade,16,4
	.comm	ano_atual,16,4
	.comm	end,136,4
	.comm	nasc,32,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\012\011Bem Vindo(a) ao Programa de Cadastro de"
	.ascii	" Pacientes\000"
	.align	2
.LC1:
	.ascii	"\012\012\011Digite o Login: \000"
	.align	2
.LC2:
	.ascii	"\012\011Digite a Senha: \000"
	.align	2
.LC3:
	.ascii	"\012\012\011Login Efetuado com Sucesso!\012\000"
	.align	2
.LC4:
	.ascii	"\012\012\011Login ou Senha Incorretos, Por favor In"
	.ascii	"sira Novamente!\012\000"
	.text
	.align	2
	.global	teladelogin
	.syntax unified
	.arm
	.fpu softvfp
	.type	teladelogin, %function
teladelogin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	b	.L2
.L4:
	ldr	r0, .L5+4
	bl	printf
	ldr	r0, .L5+8
	bl	gets
	ldr	r0, .L5+12
	bl	printf
	ldr	r0, .L5+16
	bl	gets
	ldr	r1, .L5+8
	ldr	r0, .L5+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r1, .L5+16
	ldr	r0, .L5+24
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L5+28
	bl	puts
	ldr	r3, .L5+32
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r0, .L5+36
	bl	puts
.L2:
	ldr	r3, .L5+32
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	nop
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	login_dig
	.word	.LC2
	.word	senha_dig
	.word	login
	.word	senha
	.word	.LC3
	.word	login_efetuado
	.word	.LC4
	.size	teladelogin, .-teladelogin
	.section	.rodata
	.align	2
.LC5:
	.ascii	"2021\000"
	.align	2
.LC6:
	.ascii	"ab\000"
	.align	2
.LC7:
	.ascii	"sec_saude.xlsx\000"
	.align	2
.LC8:
	.ascii	"%s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	teladelogin
	bl	cadastro
	ldr	r3, .L9
	ldr	r2, .L9+4
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r3, .L9
	ldr	r2, [r3, #16]
	ldr	r3, .L9+8
	ldr	r3, [r3, #32]
	sub	r3, r2, r3
	ldr	r2, .L9+12
	str	r3, [r2, #16]
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r2, .L9+12
	ldr	r1, .L9+24
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r2, .L9+28
	ldr	r1, .L9+24
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	ano_atual
	.word	.LC5
	.word	nasc
	.word	idade
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	end+96
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"arquivo.txt\000"
	.align	2
.LC10:
	.ascii	"\012\011Bem Vindo ao Doutor(a),Digite as Informacoe"
	.ascii	"s do Paciente nos Campos Abaixo\012\012\000"
	.align	2
.LC11:
	.ascii	"\011Nome do Paciente: \000"
	.align	2
.LC12:
	.ascii	"\012%s\012\000"
	.align	2
.LC13:
	.ascii	"\012\011CPF do Paciente: \000"
	.align	2
.LC14:
	.ascii	"\012\011Telefone do Paciente: \000"
	.align	2
.LC15:
	.ascii	"\012\011Endereco do Paciente\000"
	.align	2
.LC16:
	.ascii	"\012\011  Rua: \000"
	.align	2
.LC17:
	.ascii	"%s \000"
	.align	2
.LC18:
	.ascii	"\012\011  Numero da Casa: \000"
	.align	2
.LC19:
	.ascii	"%s, \000"
	.align	2
.LC20:
	.ascii	"\012\011  Bairro: \000"
	.align	2
.LC21:
	.ascii	"\012\011  Cidade: \000"
	.align	2
.LC22:
	.ascii	"\012\011  Estado: \000"
	.align	2
.LC23:
	.ascii	"\012\011  CEP: \000"
	.align	2
.LC24:
	.ascii	"\012\011Data de Nascimento do Paciente:\000"
	.align	2
.LC25:
	.ascii	"\012\011  Dia: \000"
	.align	2
.LC26:
	.ascii	"%s/\000"
	.align	2
.LC27:
	.ascii	"\012\011  Mes: \000"
	.align	2
.LC28:
	.ascii	"\012\011  Ano: \000"
	.align	2
.LC29:
	.ascii	"\012\011Email do Paciente:\000"
	.align	2
.LC30:
	.ascii	"\012\011Data do Diagnostico do Paciente: \000"
	.align	2
.LC31:
	.ascii	"\012\011Ele(a) tem alguma Comorbidade?\000"
	.align	2
.LC32:
	.ascii	"\012\011Se sim Digite 1, Se nao Digite qualquer tec"
	.ascii	"la: \000"
	.align	2
.LC33:
	.ascii	"%d\000"
	.align	2
.LC34:
	.ascii	"\012\011Qual o nome da dela: \000"
	.align	2
.LC35:
	.ascii	"%s\000"
	.align	2
.LC36:
	.ascii	"\012\012\011Paciente Cadastrado com Sucesso!\000"
	.align	2
.LC37:
	.ascii	"\012\012\011Deseja continuar?, Se sim digite 1, Se "
	.ascii	"nao Digite qualquer tecla: \000"
	.text
	.align	2
	.global	cadastro
	.syntax unified
	.arm
	.fpu softvfp
	.type	cadastro, %function
cadastro:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r1, .L33
	ldr	r0, .L33+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r0, .L33+8
	bl	puts
.L32:
	ldr	r3, .L33+12
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L31:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L33+16
	bl	printf
	ldr	r0, .L33+20
	bl	gets
	ldr	r2, .L33+20
	ldr	r1, .L33+24
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L13:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L14
	ldr	r0, .L33+28
	bl	printf
	ldr	r0, .L33+32
	bl	gets
	ldr	r2, .L33+32
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L14:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L15
	ldr	r0, .L33+40
	bl	printf
	ldr	r0, .L33+44
	bl	gets
	ldr	r2, .L33+44
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L15:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L16
	ldr	r0, .L33+48
	bl	puts
	ldr	r0, .L33+52
	bl	printf
	ldr	r0, .L33+56
	bl	gets
	ldr	r2, .L33+56
	ldr	r1, .L33+60
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L16:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L17
	ldr	r0, .L33+64
	bl	printf
	ldr	r0, .L33+68
	bl	gets
	ldr	r2, .L33+68
	ldr	r1, .L33+72
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L17:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L18
	ldr	r0, .L33+76
	bl	printf
	ldr	r0, .L33+80
	bl	gets
	ldr	r2, .L33+80
	ldr	r1, .L33+72
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L18:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #6
	bne	.L19
	ldr	r0, .L33+84
	bl	printf
	ldr	r0, .L33+88
	bl	gets
	ldr	r2, .L33+88
	ldr	r1, .L33+60
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L19:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #7
	bne	.L20
	ldr	r0, .L33+92
	bl	printf
	ldr	r0, .L33+96
	bl	gets
	ldr	r2, .L33+96
	ldr	r1, .L33+72
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L20:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L21
	ldr	r0, .L33+100
	bl	printf
	ldr	r0, .L33+104
	bl	gets
	ldr	r2, .L33+104
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L21:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L22
	ldr	r0, .L33+108
	bl	puts
	ldr	r0, .L33+112
	bl	printf
	ldr	r0, .L33+116
	bl	gets
	ldr	r2, .L33+116
	ldr	r1, .L33+120
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L22:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #10
	bne	.L23
	ldr	r0, .L33+124
	bl	printf
	ldr	r0, .L33+128
	bl	gets
	ldr	r2, .L33+128
	ldr	r1, .L33+120
	ldr	r0, [fp, #-8]
	bl	fprintf
.L23:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #11
	bne	.L24
	ldr	r0, .L33+132
	bl	printf
	ldr	r0, .L33+136
	bl	gets
	ldr	r2, .L33+136
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
.L24:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #12
	bne	.L25
	ldr	r0, .L33+140
	bl	printf
	ldr	r0, .L33+144
	bl	gets
	ldr	r2, .L33+144
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L25:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #13
	bne	.L26
	ldr	r0, .L33+148
	bl	printf
	ldr	r0, .L33+152
	bl	gets
	ldr	r2, .L33+152
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L26:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #14
	bne	.L27
	ldr	r0, .L33+156
	bl	puts
	ldr	r0, .L33+160
	bl	printf
	ldr	r1, .L33+164
	ldr	r0, .L33+168
	bl	__isoc99_scanf
	ldr	r3, .L33+164
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L28
	ldr	r0, .L33+172
	bl	printf
	ldr	r1, .L33+176
	ldr	r0, .L33+180
	bl	__isoc99_scanf
	ldr	r2, .L33+176
	ldr	r1, .L33+36
	ldr	r0, [fp, #-8]
	bl	fprintf
.L28:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L27:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #15
	bne	.L29
	ldr	r0, .L33+184
	bl	puts
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L29:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #16
	bne	.L30
	ldr	r0, .L33+188
	bl	printf
	ldr	r1, .L33+192
	ldr	r0, .L33+168
	bl	__isoc99_scanf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L30:
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L12:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #15
	ble	.L31
	ldr	r3, .L33+192
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L32
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC6
	.word	.LC9
	.word	.LC10
	.word	n
	.word	.LC11
	.word	nome
	.word	.LC12
	.word	.LC13
	.word	cpf
	.word	.LC8
	.word	.LC14
	.word	telefone
	.word	.LC15
	.word	.LC16
	.word	end
	.word	.LC17
	.word	.LC18
	.word	end+30
	.word	.LC19
	.word	.LC20
	.word	end+34
	.word	.LC21
	.word	end+64
	.word	.LC22
	.word	end+94
	.word	.LC23
	.word	end+96
	.word	.LC24
	.word	.LC25
	.word	nasc
	.word	.LC26
	.word	.LC27
	.word	nasc+8
	.word	.LC28
	.word	nasc+16
	.word	.LC29
	.word	email
	.word	.LC30
	.word	datadiag
	.word	.LC31
	.word	.LC32
	.word	opcao
	.word	.LC33
	.word	.LC34
	.word	comorbidade
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	opcao2
	.size	cadastro, .-cadastro
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
