// File: /workspace/github_cpp_makefile_star2_O1/brashi[P]PetFera/src/./banco_dados.cpp
// Function: BancoDados::salvarAnimais()
void BancoDados::salvarAnimais() {
    /*if(petshop->getAnimais().size() == 0) {
        throw "Nenhum animal registrado. Geração de arquivo cancelada.";;
    }*/
    ofstream arqDados(animalArq);
    if(arqDados.bad() || arqDados.fail()) {
        throw "Algo deu errado na criação do arquivo de animais.";
    }

    string classe, classificao;

    for(auto& animal : petshop->getAnimais()) {
        classe = Animal::getClasse(animal, true);
        classificao = Animal::getClassificacao(animal, true);
        arqDados << classe << ';' << classificao << ';'
                 << animal->getNome() << ';' << animal->getEspecie() << ';'
                 << animal->getAmeacadoPor() << ';' << animal->getVeterinario()->getNome() << ';'
                 << animal->getTratador()->getNome() << ';'
                 << animal->getPerigoso() << ';';


        switch(strFiltro[classificao]) {
            case 'D':
                arqDados << dynamic_pointer_cast<Domestico>(animal)->getAdestrado() << ';';                
                break;
            case 'E':
                arqDados << dynamic_pointer_cast<Exotico>(animal)->getLocal() << ';';
                break;
            case 'N':
                arqDados << dynamic_pointer_cast<Nativo>(animal)->getRegiao() << ';'
                         << dynamic_pointer_cast<Nativo>(animal)->getLicenca() << ';';
                break;
        }

        switch(strFiltro[classe]) {
            case 'A':
                arqDados << dynamic_pointer_cast<Ave>(animal)->getVoa() << endl;
                break;
            case 'F':
                arqDados << dynamic_pointer_cast<Anfibio>(animal)->getCauda() << ';'
                         << dynamic_pointer_cast<Anfibio>(animal)->getPata() << endl;
                break;
            case 'R':
                arqDados << dynamic_pointer_cast<Reptil>(animal)->getPele() << endl;
                break;
            case 'M':
                arqDados << dynamic_pointer_cast<Mamifero>(animal)->getGestacao() << endl;
                break;
        }


    }

    arqDados.close();
    if(fs::is_empty(animalArq)) {
        fs::remove(animalArq);
        return;
    }
    cout << "Arquivo de animais salvo com sucesso." << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp            # imm = 0x368
movq %rdi, %r14
leaq 0x30(%rdi), %r15
leaq 0x168(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x10, %edx
callq 0x64c0
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x188(%rsp,%rax)
jne 0x81c0
movq %r15, 0x120(%rsp)
leaq 0x40(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x20(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq %r14, 0x98(%rsp)
movq (%r14), %rsi
leaq 0x150(%rsp), %rdi
callq 0x14b58
movq 0x150(%rsp), %rbp
movq 0x158(%rsp), %rax
movq %rax, 0x128(%rsp)
cmpq %rax, %rbp
je 0x8082
leaq 0x60(%rsp), %r13
addq $0xa0, 0x98(%rsp)
leaq 0x50(%rsp), %r15
leaq 0x78(%rsp), %r14
movq (%rbp), %rax
movq %rax, 0x110(%rsp)
movq 0x8(%rbp), %rax
movq %rax, 0x118(%rsp)
testq %rax, %rax
je 0x773d
movq 0x26899(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x7739
incl 0x8(%rax)
jmp 0x773d
lock
incl 0x8(%rax)
movq %r15, %rdi
leaq 0x110(%rsp), %rsi
movl $0x1, %edx
callq 0x18458
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x6330
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x7776
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x118(%rsp), %rdi
testq %rdi, %rdi
je 0x7788
callq 0xafa0
movq (%rbp), %rax
movq %rax, 0x100(%rsp)
movq 0x8(%rbp), %rax
movq %rax, 0x108(%rsp)
testq %rax, %rax
je 0x77ba
movq 0x2681c(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x77b6
incl 0x8(%rax)
jmp 0x77ba
lock
incl 0x8(%rax)
movq %r15, %rdi
leaq 0x100(%rsp), %rsi
movl $0x1, %edx
callq 0x18036
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x6330
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x77f3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x7805
callq 0xafa0
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0x168(%rsp), %rdi
callq 0x6310
movb $0x3b, 0x50(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x6310
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movb $0x3b, 0x50(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x6310
movq %rax, %rbx
movq (%rbp), %rsi
movq %r15, %rdi
callq 0x17a2a
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0x6310
movq %r14, %r12
movb $0x3b, 0x78(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x6310
movq %rax, %rbx
movq (%rbp), %rsi
movq %r12, %rdi
callq 0x17baa
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq %rbx, %rdi
callq 0x6310
leaq 0xa0(%rsp), %r12
movb $0x3b, 0xa0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6310
movq %rax, %rbx
movq (%rbp), %rsi
movq %r12, %rdi
callq 0x17d2a
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6310
movb $0x3b, 0xe0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xe0(%rsp), %rsi
callq 0x6310
movq %rax, %rbx
movq (%rbp), %rsi
leaq 0x140(%rsp), %rdi
callq 0x17eaa
movq 0x140(%rsp), %rsi
leaq 0xe0(%rsp), %rdi
callq 0x159d2
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6310
movb $0x3b, 0xc0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xc0(%rsp), %rsi
callq 0x6310
movq %rax, %rbx
movq (%rbp), %rsi
leaq 0x130(%rsp), %rdi
callq 0x17eea
movq 0x130(%rsp), %rsi
leaq 0xc0(%rsp), %rdi
callq 0x159d2
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6310
movb $0x3b, 0xf(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xf(%rsp), %rsi
callq 0x6310
movq %rax, %rbx
movq (%rbp), %rdi
callq 0x17f2e
movzbl %al, %esi
movq %rbx, %rdi
callq 0x6430
movb $0x3b, 0xf(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xf(%rsp), %rsi
callq 0x6310
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x7a22
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x138(%rsp), %rdi
testq %rdi, %rdi
je 0x7a34
callq 0xafa0
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x7a59
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x7a6b
callq 0xafa0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x7a90
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x7ab2
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x7ac9
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x98(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0xb5c6
movzbl (%rax), %eax
cmpl $0x44, %eax
je 0x7b48
cmpl $0x45, %eax
je 0x7b20
cmpl $0x4e, %eax
jne 0x7d54
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7ba8
leaq 0x2534b(%rip), %rsi     # 0x2ce50
leaq 0x25374(%rip), %rdx     # 0x2ce80
movq $-0x2, %rcx
callq 0x6300
movq %rax, %rsi
jmp 0x7baa
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7b70
leaq 0x25320(%rip), %rsi     # 0x2ce50
leaq 0x25339(%rip), %rdx     # 0x2ce70
movq $-0x2, %rcx
callq 0x6300
movq %rax, %rsi
jmp 0x7b72
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7b8c
leaq 0x252f8(%rip), %rsi     # 0x2ce50
leaq 0x25301(%rip), %rdx     # 0x2ce60
movq $-0x2, %rcx
callq 0x6300
movq %rax, %rdi
jmp 0x7b8e
xorl %esi, %esi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7bcc
movq 0x26446(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7bc8
incl 0x8(%rbx)
jmp 0x7bcc
xorl %edi, %edi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7c0e
movq 0x2642a(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7c0a
incl 0x8(%rbx)
jmp 0x7c0e
xorl %esi, %esi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7c41
movq 0x2640a(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7c3d
incl 0x8(%rbx)
jmp 0x7c41
lock
incl 0x8(%rbx)
movq %r15, %rdi
callq 0x1a214
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x168(%rsp), %rdi
callq 0x6310
movb $0x3b, 0x78(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x6310
movq 0x50(%rsp), %rdi
jmp 0x7d35
lock
incl 0x8(%rbx)
callq 0x1a098
movzbl %al, %esi
leaq 0x168(%rsp), %rdi
callq 0x6430
movb $0x3b, 0x50(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x6310
jmp 0x7d47
lock
incl 0x8(%rbx)
movq %r15, %rdi
callq 0x1cae0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x168(%rsp), %rdi
callq 0x6310
movb $0x3b, 0x78(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x6310
movq %rax, %r12
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7ca0
leaq 0x251c8(%rip), %rsi     # 0x2ce50
leaq 0x251f1(%rip), %rdx     # 0x2ce80
movq $-0x2, %rcx
callq 0x6300
movq %rax, %rsi
jmp 0x7ca2
xorl %esi, %esi
movq 0x8(%rbp), %r13
testq %r13, %r13
je 0x7cc2
movq 0x26316(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7cbd
incl 0x8(%r13)
jmp 0x7cc2
lock
incl 0x8(%r13)
movq %r14, %rdi
callq 0x1c960
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq %r12, %rdi
callq 0x6310
movb $0x3b, 0xa0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa0(%rsp), %rsi
callq 0x6310
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x7d1e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x62b0
testq %r13, %r13
je 0x7d2b
movq %r13, %rdi
callq 0xafa0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %r13
cmpq %r13, %rdi
je 0x7d47
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x62b0
testq %rbx, %rbx
je 0x7d54
movq %rbx, %rdi
callq 0xafa0
movq 0x98(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0xb5c6
movzbl (%rax), %eax
cmpl $0x4c, %eax
jg 0x7da6
cmpl $0x41, %eax
je 0x7ddb
cmpl $0x46, %eax
jne 0x8016
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7e29
leaq 0x250c0(%rip), %rsi     # 0x2ce50
leaq 0x25111(%rip), %rdx     # 0x2cea8
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rdi
jmp 0x7e2b
cmpl $0x4d, %eax
je 0x7e02
cmpl $0x52, %eax
jne 0x8016
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7e49
leaq 0x25088(%rip), %rsi     # 0x2ce50
leaq 0x250f1(%rip), %rdx     # 0x2cec0
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rdi
jmp 0x7e4b
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7e70
leaq 0x25061(%rip), %rsi     # 0x2ce50
leaq 0x2509a(%rip), %rdx     # 0x2ce90
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rdi
jmp 0x7e72
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7e97
leaq 0x2503a(%rip), %rsi     # 0x2ce50
leaq 0x250bb(%rip), %rdx     # 0x2ced8
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rdi
jmp 0x7e99
xorl %edi, %edi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7ec2
movq 0x26189(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7ebe
incl 0x8(%rbx)
jmp 0x7ec2
xorl %edi, %edi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7f3e
movq 0x26169(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7f3a
incl 0x8(%rbx)
jmp 0x7f3e
xorl %edi, %edi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7f85
movq 0x26142(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7f81
incl 0x8(%rbx)
jmp 0x7f85
xorl %edi, %edi
movq 0x8(%rbp), %rbx
testq %rbx, %rbx
je 0x7fca
movq 0x2611b(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x7fc6
incl 0x8(%rbx)
jmp 0x7fca
lock
incl 0x8(%rbx)
callq 0x1f4ec
movzbl %al, %esi
leaq 0x168(%rsp), %rdi
callq 0x6430
movb $0x3b, 0x50(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x6310
movq %rax, %r12
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x7f12
leaq 0x24f51(%rip), %rsi     # 0x2ce50
leaq 0x24fa2(%rip), %rdx     # 0x2cea8
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rdi
jmp 0x7f14
xorl %edi, %edi
movq 0x8(%rbp), %r13
testq %r13, %r13
je 0x802f
movq 0x260a0(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x802a
incl 0x8(%r13)
jmp 0x802f
lock
incl 0x8(%rbx)
callq 0x1e780
leaq 0x168(%rsp), %rdi
movl %eax, %esi
callq 0x6450
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
jmp 0x8009
lock
incl 0x8(%rbx)
callq 0x1ce7a
movzbl %al, %esi
leaq 0x168(%rsp), %rdi
callq 0x6430
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
jmp 0x8009
lock
incl 0x8(%rbx)
callq 0x1dafe
movzbl %al, %esi
leaq 0x168(%rsp), %rdi
callq 0x6430
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
testq %rbx, %rbx
je 0x8016
movq %rbx, %rdi
callq 0xafa0
addq $0x10, %rbp
cmpq 0x128(%rsp), %rbp
jne 0x770b
jmp 0x8082
lock
incl 0x8(%r13)
callq 0x1f61e
movzbl %al, %esi
movq %r12, %rdi
callq 0x6430
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
testq %r13, %r13
je 0x8076
movq %r13, %rdi
callq 0xafa0
testq %rbx, %rbx
leaq 0x60(%rsp), %r13
jne 0x800e
jmp 0x8016
leaq 0x150(%rsp), %rdi
callq 0xac14
leaq 0x168(%rsp), %rdi
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
callq 0x6390
leaq 0x50(%rsp), %rdi
movq 0x120(%rsp), %r14
movq %r14, %rsi
movl $0x2, %edx
callq 0xaacc
leaq 0x50(%rsp), %rdi
callq 0x64a0
movl %eax, %ebx
leaq 0x50(%rsp), %rdi
callq 0xab4c
testb %bl, %bl
je 0x8102
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0xaacc
leaq 0x50(%rsp), %rdi
callq 0x6230
leaq 0x50(%rsp), %rdi
callq 0xab4c
jmp 0x8148
movq 0x25ec7(%rip), %rbx     # 0x2dfd0
leaq 0x18ffe(%rip), %rsi     # 0x2110e
movl $0x25, %edx
movq %rbx, %rdi
callq 0x6310
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x25e95(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x815f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x8176
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x25e43(%rip), %rax     # 0x2dfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x170(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x168(%rsp,%rcx)
callq 0x6250
leaq 0x260(%rsp), %rdi
callq 0x60f0
addq $0x368, %rsp            # imm = 0x368
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x8, %edi
callq 0x6170
leaq 0x18f09(%rip), %rcx     # 0x210da
movq %rcx, (%rax)
movq 0x25dd5(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
jmp 0x81e9
jmp 0x8217
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0xab4c
jmp 0x8451
jmp 0x8217
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
jmp 0x8451
movq %rax, %r14
jmp 0x847f
movq %rax, %r14
jmp 0x8451
movq %rax, %r14
jmp 0x8267
jmp 0x82b9
jmp 0x82b9
movq %rax, %r14
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
jne 0x8283
jmp 0x82bc
movq %rax, %r14
jmp 0x8274
movq %rax, %r14
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x8267
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x62b0
testq %r13, %r13
je 0x8274
movq %r13, %rdi
callq 0xafa0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x82bc
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x62b0
jmp 0x82bc
jmp 0x82b9
jmp 0x82b9
movq %rax, %r14
testq %r13, %r13
je 0x82bc
movq %r13, %rdi
callq 0xafa0
jmp 0x82bc
jmp 0x82b9
jmp 0x8336
movq %rax, %r14
jmp 0x837f
jmp 0x82b9
movq %rax, %r14
testq %rbx, %rbx
je 0x843a
movq %rbx, %rdi
jmp 0x82eb
movq %rax, %r14
movq 0x118(%rsp), %rdi
jmp 0x82e2
movq %rax, %r14
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x843a
callq 0xafa0
jmp 0x843a
jmp 0x8437
jmp 0x8345
jmp 0x8312
jmp 0x8324
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
jmp 0x83c5
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
jmp 0x83fc
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
jmp 0x83d7
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
jmp 0x83a0
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
jmp 0x841e
movq %rax, %r14
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x837f
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x138(%rsp), %rdi
testq %rdi, %rdi
je 0x8391
callq 0xafa0
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
leaq 0x60(%rsp), %r13
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x83c5
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x83d7
callq 0xafa0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x83fc
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x841e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x8444
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x62b0
jmp 0x8444
movq %rax, %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %r12
leaq 0x150(%rsp), %rdi
callq 0xac14
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x8468
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x847f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x168(%rsp), %rdi
callq 0x63c0
movq %r14, %rdi
callq 0x6460