// File: /workspace/github_cpp_makefile_star2_O3/viniciu21[P]PetLolja/./src/PetFera.cpp
// Function: Petfera::salvar_doc_animais()
void Petfera::salvar_doc_animais()
{
	vector<string> chaves{"Cuidadores", "Veterinario", "Tratador", "ID", "Classe", "Nome", "Cientifico", "Sexo", "Temperatura", "Habitat", "Possui", "Ovos", "Pele", "Fecundacao", "Troca", "Pele", "Material", "Eliminado", "Batismo", "Dono", "/", "Aquatico", "Terrestre", "Aquatico/Terrestre", "Registro", "Ibama",
												"Territorio"
												"Brasileiro",
												"Ameacado", "Extinsao", "Pais", "Origem", "Tamanho", "bico ", "Envergadura", "Dentes", "Pelagem", "Tipo", "gestacao"};

	ifstream arqCache_animais("cache_animais.dat");
	ofstream arqDados_animais("temp_animais.dat");
	ofstream arqDados_csv_animais("../banco/Dados_csv_animais.csv");
	vector<string> tokens_animais;
	string linha;
	string palavra;

	while (arqCache_animais >> linha)
	{
		if (linha != " " && linha != "==============")
		{
			tokens_animais.push_back(linha);
		}
	}

	for (auto &novo : tokens_animais)
	{
		arqDados_animais << novo << endl;
	}

	for (unsigned int i = 0; i < tokens_animais.size(); ++i)
	{
		for (unsigned int j = 0; j < chaves.size(); ++j)
		{
			if (tokens_animais[i] == chaves[j] || tokens_animais[i] == "|")
			{
				tokens_animais[i] = "";
			}
		}
	}

	for (auto &novo : tokens_animais)
	{
		if (novo == "." && novo != "")
		{
			arqDados_csv_animais << "" << endl;
		}
		else if (novo != "")
		{
			arqDados_csv_animais << novo << ";";
		}
	}

	inicio();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x948, %rsp            # imm = 0x948
movq %rdi, %r12
leaq -0x558(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c6ac(%rip), %rsi     # 0x2f2a7
leaq 0x1c6af(%rip), %rdx     # 0x2f2b1
leaq -0x568(%rbp), %r14
movq %r14, %rdi
callq 0x1e0e2
leaq -0x548(%rbp), %r15
leaq -0x538(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1be6e(%rip), %rsi     # 0x2ea98
leaq 0x1be72(%rip), %rdx     # 0x2eaa3
movq %r15, %rdi
callq 0x1e0e2
leaq -0x528(%rbp), %r15
leaq -0x518(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1be2c(%rip), %rsi     # 0x2ea7e
leaq 0x1be2d(%rip), %rdx     # 0x2ea86
movq %r15, %rdi
callq 0x1e0e2
leaq -0x508(%rbp), %r15
leaq -0x4f8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c638(%rip), %rsi     # 0x2f2b2
leaq 0x1c633(%rip), %rdx     # 0x2f2b4
movq %r15, %rdi
callq 0x1e0e2
leaq -0x4e8(%rbp), %r15
leaq -0x4d8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c613(%rip), %rsi     # 0x2f2b5
leaq 0x1c612(%rip), %rdx     # 0x2f2bb
movq %r15, %rdi
callq 0x1e0e2
leaq -0x4c8(%rbp), %r15
leaq -0x4b8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c5f2(%rip), %rsi     # 0x2f2bc
leaq 0x1c5ef(%rip), %rdx     # 0x2f2c0
movq %r15, %rdi
callq 0x1e0e2
leaq -0x4a8(%rbp), %r15
leaq -0x498(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c5cf(%rip), %rsi     # 0x2f2c1
leaq 0x1c5d2(%rip), %rdx     # 0x2f2cb
movq %r15, %rdi
callq 0x1e0e2
leaq -0x488(%rbp), %r15
leaq -0x478(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c5b2(%rip), %rsi     # 0x2f2cc
leaq 0x1c5af(%rip), %rdx     # 0x2f2d0
movq %r15, %rdi
callq 0x1e0e2
leaq -0x468(%rbp), %r15
leaq -0x458(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c58f(%rip), %rsi     # 0x2f2d1
leaq 0x1c593(%rip), %rdx     # 0x2f2dc
movq %r15, %rdi
callq 0x1e0e2
leaq -0x448(%rbp), %r15
leaq -0x438(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c573(%rip), %rsi     # 0x2f2dd
leaq 0x1c573(%rip), %rdx     # 0x2f2e4
movq %r15, %rdi
callq 0x1e0e2
leaq -0x428(%rbp), %r15
leaq -0x418(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c553(%rip), %rsi     # 0x2f2e5
leaq 0x1c552(%rip), %rdx     # 0x2f2eb
movq %r15, %rdi
callq 0x1e0e2
leaq -0x408(%rbp), %r15
leaq -0x3f8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c532(%rip), %rsi     # 0x2f2ec
leaq 0x1c52f(%rip), %rdx     # 0x2f2f0
movq %r15, %rdi
callq 0x1e0e2
leaq -0x3e8(%rbp), %r15
leaq -0x3d8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c50f(%rip), %rsi     # 0x2f2f1
leaq 0x1c50c(%rip), %rdx     # 0x2f2f5
movq %r15, %rdi
callq 0x1e0e2
leaq -0x3c8(%rbp), %r15
leaq -0x3b8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c4ec(%rip), %rsi     # 0x2f2f6
leaq 0x1c4ef(%rip), %rdx     # 0x2f300
movq %r15, %rdi
callq 0x1e0e2
leaq -0x3a8(%rbp), %r15
leaq -0x398(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c4cf(%rip), %rsi     # 0x2f301
leaq 0x1c4cd(%rip), %rdx     # 0x2f306
movq %r15, %rdi
callq 0x1e0e2
leaq -0x388(%rbp), %r15
leaq -0x378(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c497(%rip), %rsi     # 0x2f2f1
leaq 0x1c494(%rip), %rdx     # 0x2f2f5
movq %r15, %rdi
callq 0x1e0e2
leaq -0x368(%rbp), %r15
leaq -0x358(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c485(%rip), %rsi     # 0x2f307
leaq 0x1c486(%rip), %rdx     # 0x2f30f
movq %r15, %rdi
callq 0x1e0e2
leaq -0x348(%rbp), %r15
leaq -0x338(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c466(%rip), %rsi     # 0x2f310
leaq 0x1c468(%rip), %rdx     # 0x2f319
movq %r15, %rdi
callq 0x1e0e2
leaq -0x328(%rbp), %r15
leaq -0x318(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c448(%rip), %rsi     # 0x2f31a
leaq 0x1c448(%rip), %rdx     # 0x2f321
movq %r15, %rdi
callq 0x1e0e2
leaq -0x308(%rbp), %r15
leaq -0x2f8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c428(%rip), %rsi     # 0x2f322
leaq 0x1c425(%rip), %rdx     # 0x2f326
movq %r15, %rdi
callq 0x1e0e2
leaq -0x2e8(%rbp), %r15
leaq -0x2d8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c405(%rip), %rsi     # 0x2f327
leaq 0x1c3ff(%rip), %rdx     # 0x2f328
movq %r15, %rdi
callq 0x1e0e2
leaq -0x2c8(%rbp), %r15
leaq -0x2b8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c3df(%rip), %rsi     # 0x2f329
leaq 0x1c3e0(%rip), %rdx     # 0x2f331
movq %r15, %rdi
callq 0x1e0e2
leaq -0x2a8(%rbp), %r15
leaq -0x298(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c3c9(%rip), %rsi     # 0x2f33b
leaq 0x1c3cb(%rip), %rdx     # 0x2f344
movq %r15, %rdi
callq 0x1e0e2
leaq -0x288(%rbp), %r15
leaq -0x278(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c398(%rip), %rsi     # 0x2f332
leaq 0x1c3a3(%rip), %rdx     # 0x2f344
movq %r15, %rdi
callq 0x1e0e2
leaq -0x268(%rbp), %r15
leaq -0x258(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c383(%rip), %rsi     # 0x2f345
leaq 0x1c384(%rip), %rdx     # 0x2f34d
movq %r15, %rdi
callq 0x1e0e2
leaq -0x248(%rbp), %r15
leaq -0x238(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c364(%rip), %rsi     # 0x2f34e
leaq 0x1c362(%rip), %rdx     # 0x2f353
movq %r15, %rdi
callq 0x1e0e2
leaq -0x228(%rbp), %r15
leaq -0x218(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c342(%rip), %rsi     # 0x2f354
leaq 0x1c34f(%rip), %rdx     # 0x2f368
movq %r15, %rdi
callq 0x1e0e2
leaq -0x208(%rbp), %r15
leaq -0x1f8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1a298(%rip), %rsi     # 0x2d2d2
leaq 0x1a299(%rip), %rdx     # 0x2d2da
movq %r15, %rdi
callq 0x1e0e2
leaq -0x1e8(%rbp), %r15
leaq -0x1d8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c307(%rip), %rsi     # 0x2f369
leaq 0x1c308(%rip), %rdx     # 0x2f371
movq %r15, %rdi
callq 0x1e0e2
leaq -0x1c8(%rbp), %r15
leaq -0x1b8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c2e8(%rip), %rsi     # 0x2f372
leaq 0x1c2e5(%rip), %rdx     # 0x2f376
movq %r15, %rdi
callq 0x1e0e2
leaq -0x1a8(%rbp), %r15
leaq -0x198(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c2c5(%rip), %rsi     # 0x2f377
leaq 0x1c2c4(%rip), %rdx     # 0x2f37d
movq %r15, %rdi
callq 0x1e0e2
leaq -0x188(%rbp), %r15
leaq -0x178(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c2a4(%rip), %rsi     # 0x2f37e
leaq 0x1c2a4(%rip), %rdx     # 0x2f385
movq %r15, %rdi
callq 0x1e0e2
leaq -0x168(%rbp), %r15
leaq -0x158(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c284(%rip), %rsi     # 0x2f386
leaq 0x1c282(%rip), %rdx     # 0x2f38b
movq %r15, %rdi
callq 0x1e0e2
leaq -0x148(%rbp), %r15
leaq -0x138(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c262(%rip), %rsi     # 0x2f38c
leaq 0x1c266(%rip), %rdx     # 0x2f397
movq %r15, %rdi
callq 0x1e0e2
leaq -0x128(%rbp), %r15
leaq -0x118(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c246(%rip), %rsi     # 0x2f398
leaq 0x1c245(%rip), %rdx     # 0x2f39e
movq %r15, %rdi
callq 0x1e0e2
leaq -0x108(%rbp), %r15
leaq -0xf8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c225(%rip), %rsi     # 0x2f39f
leaq 0x1c225(%rip), %rdx     # 0x2f3a6
movq %r15, %rdi
callq 0x1e0e2
leaq -0xe8(%rbp), %r15
leaq -0xd8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1c205(%rip), %rsi     # 0x2f3a7
leaq 0x1c202(%rip), %rdx     # 0x2f3ab
movq %r15, %rdi
callq 0x1e0e2
leaq -0xc8(%rbp), %r15
leaq -0xb8(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x1bedb(%rip), %rsi     # 0x2f0a5
leaq 0x1bedc(%rip), %rdx     # 0x2f0ad
movq %r15, %rdi
callq 0x1e0e2
leaq -0x58(%rbp), %rdi
leaq -0x568(%rbp), %rsi
leaq -0x968(%rbp), %rcx
movl $0x26, %edx
callq 0x1e09a
movq $-0x4c0, %r14           # imm = 0xFB40
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x13210
movq (%rbx), %rsi
incq %rsi
callq 0x41d0
addq $-0x20, %rbx
addq $0x20, %r14
jne 0x131fc
leaq 0x1adc9(%rip), %rsi     # 0x2dfea
leaq -0x568(%rbp), %rdi
movl $0x8, %edx
callq 0x4310
leaq 0x1c173(%rip), %rsi     # 0x2f3ac
leaq -0x968(%rbp), %rdi
movl $0x10, %edx
callq 0x41f0
movq %r12, -0x60(%rbp)
leaq 0x1a6bd(%rip), %rsi     # 0x2d912
leaq -0x768(%rbp), %rdi
movl $0x10, %edx
callq 0x41f0
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rbx
movaps %xmm0, (%rbx)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
leaq -0x78(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x98(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x568(%rbp), %r14
leaq -0x88(%rbp), %r12
leaq 0x1c773(%rip), %r13     # 0x2fa1d
leaq 0x1a321(%rip), %r15     # 0x2d5d2
movq %r14, %rdi
movq %r12, %rsi
callq 0x4220
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x132f5
movq %r12, %rdi
movq %r13, %rsi
callq 0x4090
testl %eax, %eax
je 0x132b1
movq %r12, %rdi
movq %r15, %rsi
callq 0x4090
testl %eax, %eax
je 0x132b1
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1de8c
jmp 0x132b1
movq -0x40(%rbp), %r15
movq -0x38(%rbp), %r12
cmpq %r12, %r15
je 0x13501
leaq -0x968(%rbp), %rbx
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x4210
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4120
addq $0x20, %r15
cmpq %r12, %r15
jne 0x1330d
movq -0x40(%rbp), %r12
movq -0x38(%rbp), %r15
cmpq %r12, %r15
je 0x13501
movq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
xorl %r13d, %r13d
xorl %esi, %esi
cmpq %rax, %rcx
je 0x13420
movq %rsi, -0x68(%rbp)
movl $0x1, %ebx
shlq $0x5, %r13
xorl %edx, %edx
movq -0x40(%rbp), %r14
leaq (%r14,%r13), %r12
shlq $0x5, %rdx
movq 0x8(%r14,%r13), %r15
cmpq 0x8(%rax,%rdx), %r15
jne 0x133b8
testq %r15, %r15
je 0x133d6
addq %rdx, %rax
movq (%rax), %rsi
movq (%r12), %rdi
movq %r15, %rdx
callq 0x41e0
testl %eax, %eax
je 0x133d9
movq %r12, %rdi
leaq 0x1bffb(%rip), %rsi     # 0x2f3bd
callq 0x4090
testl %eax, %eax
jne 0x133f3
movq -0x40(%rbp), %r14
movq 0x8(%r14,%r13), %r15
jmp 0x133d9
xorl %r15d, %r15d
addq %r13, %r14
movq %r14, %rdi
xorl %esi, %esi
movq %r15, %rdx
leaq 0x1a647(%rip), %rcx     # 0x2da32
xorl %r8d, %r8d
callq 0x42a0
movl %ebx, %edx
movq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x5, %rsi
incl %ebx
cmpq %rdx, %rsi
ja 0x13385
movq -0x40(%rbp), %r12
movq -0x38(%rbp), %r15
movq -0x68(%rbp), %rsi
jmp 0x13423
movq %rax, %rcx
incl %esi
movq %r15, %rdx
subq %r12, %rdx
sarq $0x5, %rdx
movq %rsi, %r13
cmpq %rsi, %rdx
ja 0x1336d
cmpq %r15, %r12
je 0x13501
leaq 0x19dca(%rip), %rbx     # 0x2d215
leaq 0x1a5e0(%rip), %r13     # 0x2da32
leaq 0x1bf66(%rip), %r14     # 0x2f3bf
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4090
testl %eax, %eax
je 0x1349e
movq %r12, %rdi
movq %r13, %rsi
callq 0x4090
testl %eax, %eax
je 0x134f4
movq (%r12), %rsi
movq 0x8(%r12), %rdx
leaq -0x768(%rbp), %rdi
callq 0x4210
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x4210
jmp 0x134f4
movq %r12, %rdi
movq %r13, %rsi
callq 0x4090
testl %eax, %eax
je 0x13468
leaq -0x768(%rbp), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x4210
movq -0x768(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x768(%rbp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x41b0
movsbl %al, %esi
leaq -0x768(%rbp), %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4120
addq $0x20, %r12
cmpq %r15, %r12
jne 0x13459
movq -0x60(%rbp), %rdi
callq 0x10c4e
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x1352c
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x13548
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x40(%rbp), %rdi
callq 0x1ded8
movq 0x27a68(%rip), %rax     # 0x3afc0
movq (%rax), %rbx
movq 0x18(%rax), %r14
leaq -0x760(%rbp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, -0x768(%rbp,%rax)
callq 0x4180
movl $0xf8, %r15d
leaq -0x768(%rbp), %rdi
addq %r15, %rdi
callq 0x40a0
leaq -0x960(%rbp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, -0x968(%rbp,%rax)
callq 0x4180
leaq -0x968(%rbp), %rdi
addq %r15, %rdi
callq 0x40a0
leaq -0x568(%rbp), %rdi
callq 0x4070
leaq -0x58(%rbp), %rdi
callq 0x1ded8
addq $0x948, %rsp            # imm = 0x948
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1369d
movq %rax, %rbx
jmp 0x136f3
movq %rax, %rbx
jmp 0x136ff
movq %rax, %rbx
jmp 0x1370b
movq %rax, %rbx
leaq -0xa8(%rbp), %rdi
leaq -0x568(%rbp), %rsi
callq 0x437a
jmp 0x13714
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
jmp 0x13662
movq %rax, %rbx
addq $-0x10, %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x1367d
movq (%r15), %rsi
incq %rsi
callq 0x41d0
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %r14, %r15
movq %rax, %r15
jne 0x13669
jmp 0x13714
movq %rax, %rbx
jmp 0x13714
jmp 0x1369d
jmp 0x1369d
jmp 0x1369d
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x136c2
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x41d0
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x136de
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x41d0
leaq -0x40(%rbp), %rdi
callq 0x1ded8
leaq -0x768(%rbp), %rdi
callq 0x4270
leaq -0x968(%rbp), %rdi
callq 0x4270
leaq -0x568(%rbp), %rdi
callq 0x4070
leaq -0x58(%rbp), %rdi
callq 0x1ded8
movq %rbx, %rdi
callq 0x42f0