// File: /workspace/github_cpp_makefile_star2_O1/brashi[P]PetFera/src/./petshop.cpp
// Function: Petshop::atualizarAnimal()
void Petshop::atualizarAnimal() {
    string nome, pessoa;
    bool trocarHerancas = false, trocarClasse = false, trocarCategoria = false;
    long unsigned int idPessoa;

    shared_ptr<Animal> animal;
    long unsigned int num;

    // Configuração do texto acima dos campos de alteração
    string updateText = "Alterar: (para não alterar mantenha em branco)";

    cout << endl << "Animais registrados: " << endl;
    this->listarAnimais(true);
    cout << endl << "Digite o ID do animal a ser alterado: ";
    getline(cin, nome);
    num = stoi(nome);
    if(num >= 0 && num < this->animais.size())
        animal = this->animais[num];
    else
        throw "Animal não existe!";

    // "Sub-classes" anteriores
    string classeAnterior = Animal::getClasse(animal, true);
    string categoriaAnterior = Animal::getClassificacao(animal, true);

    cout << endl << updateText;
    string classe = animal->setClasse();
    if(!classe.empty() && classe != classeAnterior)
        trocarClasse = true;
    else
        classe = classeAnterior;

    cout << endl << updateText;
    string categoria = animal->setClassificacao();
    if(!categoria.empty() && categoria != categoriaAnterior)
        trocarCategoria = true;
    else
        categoria = categoriaAnterior;

    if(trocarClasse || trocarCategoria)
        trocarHerancas = true;

    // Animal que será atualizado *de facto*
    shared_ptr<Animal> atualizar;

    if(trocarHerancas)
        atualizar = mapa.aMap[classe + categoria]();
    else
        atualizar = animal;

    cout << endl << updateText;
    if(!atualizar->setNome() && trocarHerancas)
        atualizar->setNome(animal->getNome());

    cout << endl << updateText;
    if(!atualizar->setEspecie() && trocarHerancas)
        atualizar->setEspecie(animal->getEspecie());

    cout << endl << updateText;
    if(!atualizar->setAmeacadoPor() && trocarHerancas)
        atualizar->setAmeacadoPor(animal->getAmeacadoPor());

    // Veterinário
    this->listarVeterinarios();
    cout << endl << updateText;
    cout << endl << "Digite o ID do veterinário responsável: " << endl;
    getline(cin, pessoa);
    if(pessoa.size() == 0 && trocarHerancas)
        atualizar->setVeterinario(animal->getVeterinario());
    else if(pessoa.size() != 0) {
        idPessoa = stoi(pessoa);

        // Pela lista de vet. ser em petshop o tratamento se dá aqui, não no setter
        if(idPessoa >= 0 && idPessoa < this->veterinarios.size())
            atualizar->setVeterinario(this->veterinarios[idPessoa]);
        else if(trocarHerancas)
            atualizar->setVeterinario(animal->getVeterinario());
    }

    cout << endl << updateText;
    if(!atualizar->setPerigoso() && trocarHerancas)
        atualizar->setPerigoso(animal->getPerigoso());

    // Classe
    if(classe == "ave") { // Ave
        shared_ptr<Ave> classe = dynamic_pointer_cast< Ave >(atualizar);

        cout << endl << updateText;
        if(!classe->setVoa())
            if(trocarClasse)
                throw "Para troca de classes é necessário informar tal informação. Operação cancelada";

    } else if(classe == "mam") { // Mamífero
        shared_ptr<Mamifero> classe = dynamic_pointer_cast< Mamifero >(atualizar);
    
        cout << endl << updateText;
        if(!classe->setGestacao())
            if(trocarClasse)
                throw "Para troca de classes é necessário informar tal informação. Operação cancelada";

    } else if(classe == "rep") { // Réptil
        shared_ptr<Reptil> classe = dynamic_pointer_cast< Reptil >(atualizar);

        cout << endl << updateText;
        if(!classe->setPele())
            if(trocarClasse)
                throw "Para troca de classes é necessário informar tal informação. Operação cancelada";

    } else if(classe == "anf") { // Anfíbio
        shared_ptr<Anfibio> classe = dynamic_pointer_cast< Anfibio >(atualizar);

        cout << endl << updateText;
        if(!classe->setCauda())
            if(trocarClasse)
                throw "Para troca de classes é necessário informar tal informação. Operação cancelada";

        cout << endl << updateText;
        if(!classe->setPata())
            if(trocarClasse)
                throw "Para troca de classes é necessário informar tal informação. Operação cancelada";
    }

    // Tratador
    this->listarTratadores();
    cout << endl << updateText;
    cout << endl << "Digite o ID do tratador responsável: " << endl;
    getline(cin, pessoa);
    if(pessoa.size() == 0 && trocarHerancas)
        atualizar->setTratador(animal->getTratador());
    else if(pessoa.size() != 0) {
        idPessoa = stoi(pessoa);

        // Pela lista de trt. ser em petshop o tratamento se dá aqui, não no setter
        if(idPessoa >= 0 && idPessoa < this->tratadores.size())
            atualizar->setTratador(this->tratadores[idPessoa]);
        else if(trocarHerancas)
            atualizar->setTratador(animal->getTratador());
    }

    // Classificação
    if(categoria == "N") { // Silvestre Nativo
        shared_ptr<Nativo> categoria = dynamic_pointer_cast< Nativo >(atualizar);

        cout << endl << updateText;
        if(!categoria->setLicenca())
            if(trocarCategoria)
                throw "Para troca de categorias é necessário informar tal informação. Operação cancelada";
        
        cout << endl << updateText;
        if(!categoria->setRegiao())
            if(trocarCategoria)
                throw "Para troca de categorias é necessário informar tal informação. Operação cancelada";

    } else if(categoria == "E") { // Silvestre Exótico
        shared_ptr<Exotico> categoria = dynamic_pointer_cast< Exotico >(atualizar);
    
        cout << endl << updateText;
        if(!categoria->setLocal())
            if(trocarCategoria)
                throw "Para troca de categorias é necessário informar tal informação. Operação cancelada";

    } else if(categoria == "D") { // Doméstico
        shared_ptr<Domestico> categoria = dynamic_pointer_cast< Domestico >(atualizar);

        cout << endl << updateText;
        if(!categoria->setAdestrado())
            if(trocarCategoria)
                throw "Para troca de categorias é necessário informar tal informação. Operação cancelada";

    }

    // Tratamento de permissão
    Uniforme un = atualizar->getTratador()->getUniforme();
    if(atualizar->getPerigoso() && un != Vermelho) {
        throw "Erro de permissão, o tratador informado não possui permissão para manejar esse animal, cadastre ou altere um tratador e tente novamente.";
    } else if((classe == "rep" || classe == "mam") && (un == Verde)) {
        throw "Erro de permissão, o tratador informado não possui permissão para manejar esse animal, cadastre ou altere um tratador e tente novamente.";
    }

    if(trocarHerancas) {
        this->excluirAnimal(animal);
        //delete animal;

        if(this->adicionarAnimal(atualizar))
            cout << "Animal atualizado com sucesso" << endl;
        else
            cout << "Houve um erro na operação" << endl << "Cancelando..." << endl;
    } else
        cout << "Animal atualizado com sucesso" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp            # imm = 0x278
movq %rdi, 0x20(%rsp)
leaq 0x180(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xa0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x11959(%rip), %rsi     # 0x22535
leaq 0x11981(%rip), %rdx     # 0x22564
leaq 0x28(%rsp), %rdi
callq 0xadd8
movq 0x1d3dc(%rip), %rdi     # 0x2dfd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1d3c1(%rip), %r14     # 0x2dfd0
movq %r14, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq %rax, %r15
leaq 0x11a9a(%rip), %rsi     # 0x226c3
movl $0x15, %edx
movq %rax, %rdi
callq 0x6310
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r15, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x20(%rsp), %rdi
movl $0x1, %esi
callq 0x124d4
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1d346(%rip), %r13     # 0x2dfd0
movq %r13, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
leaq 0x11a38(%rip), %rsi     # 0x226d9
movl $0x26, %edx
movq %rax, %rdi
callq 0x6310
movq 0x1d32b(%rip), %rdi     # 0x2dfe0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %edx
movq 0x1d310(%rip), %r15     # 0x2dfe0
leaq 0x170(%rsp), %rsi
movq %r15, %rdi
callq 0x6480
movq 0x170(%rsp), %r12
callq 0x6050
movq %rax, %r14
movl (%rax), %ebx
movl $0x0, (%rax)
leaq 0x150(%rsp), %rbp
movq %r12, %rdi
movq %rbp, %rsi
movl $0xa, %edx
callq 0x6380
cmpq %r12, (%rbp)
je 0x120ef
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x120fb
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x120fb
testl %ecx, %ecx
jne 0x10d39
movl %ebx, (%r14)
cltq
movq 0x20(%rsp), %rdx
movq 0x30(%rdx), %rcx
movq 0x38(%rdx), %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rax, %rdx
jbe 0x12107
shlq $0x4, %rax
leaq (%rcx,%rax), %rsi
addq $0x8, %rsi
movq -0x8(%rsi), %rax
leaq 0x58(%rsp), %r12
movq %rax, -0x8(%r12)
movq %r12, %rdi
callq 0x14ee8
movq -0x8(%r12), %rcx
movq (%r12), %rax
movq %rcx, 0x140(%rsp)
movq %rax, 0x148(%rsp)
testq %rax, %rax
je 0x10dad
movq 0x1d229(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x10da9
incl 0x8(%rax)
jmp 0x10dad
lock
incl 0x8(%rax)
leaq 0x150(%rsp), %rdi
leaq 0x140(%rsp), %rsi
movl $0x1, %edx
callq 0x18458
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x10dd9
callq 0xafa0
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %rax
movq %rcx, 0x130(%rsp)
movq %rax, 0x138(%rsp)
testq %rax, %rax
je 0x10e0d
movq 0x1d1c9(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x10e09
incl 0x8(%rax)
jmp 0x10e0d
lock
incl 0x8(%rax)
leaq 0x1e8(%rsp), %rdi
leaq 0x130(%rsp), %rsi
movl $0x1, %edx
callq 0x18036
movq 0x138(%rsp), %rdi
testq %rdi, %rdi
je 0x10e39
callq 0xafa0
movq (%r13), %rax
addq -0x18(%rax), %r13
movq %r13, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1d178(%rip), %r13     # 0x2dfd0
movq %r13, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq 0x50(%rsp), %rsi
leaq 0x70(%rsp), %rdi
callq 0x186c8
movq 0x78(%rsp), %rdx
testq %rdx, %rdx
je 0x10eb7
cmpq 0x158(%rsp), %rdx
jne 0x10eb3
movq 0x150(%rsp), %rsi
movq 0x70(%rsp), %rdi
callq 0x62c0
testl %eax, %eax
je 0x10eb7
xorl %ebx, %ebx
jmp 0x10ecb
movb $0x1, %bl
leaq 0x70(%rsp), %rdi
leaq 0x150(%rsp), %rsi
callq 0x6190
movq (%r13), %rax
addq -0x18(%rax), %r13
movq %r13, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1d0e6(%rip), %r13     # 0x2dfd0
movq %r13, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq 0x50(%rsp), %rsi
leaq 0xd0(%rsp), %rdi
callq 0x181fe
movq 0xd8(%rsp), %rdx
testq %rdx, %rdx
je 0x10f52
cmpq 0x1f0(%rsp), %rdx
jne 0x10f4e
movq 0x1e8(%rsp), %rsi
movq 0xd0(%rsp), %rdi
callq 0x62c0
testl %eax, %eax
je 0x10f52
xorl %ebp, %ebp
jmp 0x10f6a
movb $0x1, %bpl
leaq 0xd0(%rsp), %rdi
leaq 0x1e8(%rsp), %rsi
callq 0x6190
movl %ebx, 0x1c(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movl %ebp, 0x4c(%rsp)
andb %bpl, %bl
je 0x10f99
movq 0x50(%rsp), %rax
leaq 0x8(%rsp), %rdi
movq %rax, -0x8(%rdi)
movq %r12, %rsi
callq 0x14ee8
jmp 0x1103b
leaq 0xb0(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0xd0(%rsp), %rdx
callq 0xad72
movq 0x20(%rsp), %rax
leaq 0x48(%rax), %rdi
leaq 0xb0(%rsp), %rsi
callq 0xacf6
cmpq $0x0, 0x10(%rax)
je 0x1212e
leaq 0x190(%rsp), %rdi
movq %rax, %rsi
callq *0x18(%rax)
movaps 0x190(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x190(%rsp)
movq 0x8(%rsp), %rdi
movaps %xmm0, (%rsp)
testq %rdi, %rdi
je 0x11008
callq 0xafa0
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0x1101a
callq 0xafa0
leaq 0xc0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1103b
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq (%r13), %rax
addq -0x18(%rax), %r13
movq %r13, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1cf76(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq (%rsp), %rdi
callq 0x17a58
orb %bl, %al
jne 0x110d0
movq (%rsp), %r13
movq 0x50(%rsp), %rsi
leaq 0x248(%rsp), %rdi
callq 0x17a2a
leaq 0x248(%rsp), %rsi
movq %r13, %rdi
callq 0x17a4e
leaq 0x258(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x110d0
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x62b0
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1cee1(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq (%rsp), %rdi
callq 0x17bce
orb %bl, %al
jne 0x11165
movq (%rsp), %r13
movq 0x50(%rsp), %rsi
leaq 0x228(%rsp), %rdi
callq 0x17baa
leaq 0x228(%rsp), %rsi
movq %r13, %rdi
callq 0x17d20
leaq 0x238(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11165
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x62b0
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1ce4c(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq (%rsp), %rdi
callq 0x17d4e
orb %bl, %al
jne 0x111fa
movq (%rsp), %r13
movq 0x50(%rsp), %rsi
leaq 0x208(%rsp), %rdi
callq 0x17d2a
leaq 0x208(%rsp), %rsi
movq %r13, %rdi
callq 0x17ea0
leaq 0x218(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x111fa
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x20(%rsp), %rdi
callq 0xf93e
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1cdad(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1cd6c(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq %rax, %r13
leaq 0x10efc(%rip), %rsi     # 0x2217a
movl $0x2a, %edx
movq %rax, %rdi
callq 0x6310
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r13, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %edx
movq 0x1cd0f(%rip), %r15     # 0x2dfe0
leaq 0x90(%rsp), %rsi
movq %r15, %rdi
callq 0x6480
movq 0x98(%rsp), %rax
testq %rax, %rax
setne %cl
orb %bl, %cl
je 0x113ba
testq %rax, %rax
je 0x11441
movq 0x90(%rsp), %r13
movl (%r14), %ecx
movl %ecx, 0x68(%rsp)
movl $0x0, (%r14)
leaq 0xb0(%rsp), %rbp
movq %r13, %rdi
movq %rbp, %rsi
movl $0xa, %edx
callq 0x6380
cmpq %r13, (%rbp)
je 0x12133
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x1213f
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x1213f
testl %ecx, %ecx
jne 0x11369
movl 0x68(%rsp), %ecx
movl %ecx, (%r14)
cltq
movq 0x20(%rsp), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rax, %rdx
jbe 0x113ea
movq (%rsp), %rdi
shlq $0x4, %rax
movq (%rcx,%rax), %rdx
movq %rdx, 0x120(%rsp)
movq 0x8(%rcx,%rax), %rax
movq %rax, 0x128(%rsp)
testq %rax, %rax
je 0x11422
movq 0x1cc18(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x1141e
incl 0x8(%rax)
jmp 0x11422
movq (%rsp), %r13
movq 0x50(%rsp), %rsi
leaq 0x1d8(%rsp), %rdi
callq 0x17eaa
leaq 0x1d8(%rsp), %rsi
movq %r13, %rdi
callq 0x17ed6
movq 0x1e0(%rsp), %rdi
jmp 0x11437
testb %bl, %bl
jne 0x11441
movq (%rsp), %r13
movq 0x50(%rsp), %rsi
leaq 0x1c8(%rsp), %rdi
callq 0x17eaa
leaq 0x1c8(%rsp), %rsi
movq %r13, %rdi
callq 0x17ed6
movq 0x1d0(%rsp), %rdi
jmp 0x11437
lock
incl 0x8(%rax)
leaq 0x120(%rsp), %rsi
callq 0x17ed6
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0x11441
callq 0xafa0
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1cb70(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq (%rsp), %rdi
callq 0x17f36
orb %bl, %al
jne 0x114a8
movq (%rsp), %r13
movq 0x50(%rsp), %rdi
callq 0x17f2e
movzbl %al, %esi
movq %r13, %rdi
callq 0x1802e
leaq 0x11afe(%rip), %rsi     # 0x22fad
leaq 0x70(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
je 0x1152b
leaq 0xfb60(%rip), %rsi      # 0x21024
leaq 0x70(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
je 0x1154e
leaq 0xfb4f(%rip), %rsi      # 0x21028
leaq 0x70(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
je 0x11571
leaq 0xfb2e(%rip), %rsi      # 0x21020
leaq 0x70(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
jne 0x118c0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x116bb
leaq 0x1b938(%rip), %rsi     # 0x2ce50
leaq 0x1b989(%rip), %rdx     # 0x2cea8
xorl %ecx, %ecx
callq 0x6300
jmp 0x116bd
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x11598
leaq 0x1b915(%rip), %rsi     # 0x2ce50
leaq 0x1b94e(%rip), %rdx     # 0x2ce90
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rbp
jmp 0x1159a
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x115c6
leaq 0x1b8f2(%rip), %rsi     # 0x2ce50
leaq 0x1b973(%rip), %rdx     # 0x2ced8
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rbp
jmp 0x115c8
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x115fe
leaq 0x1b8cb(%rip), %rsi     # 0x2ce50
leaq 0x1b934(%rip), %rdx     # 0x2cec0
xorl %ecx, %ecx
callq 0x6300
movq %rax, %rbp
jmp 0x11600
xorl %ebp, %ebp
testq %rbp, %rbp
je 0x115bf
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x11635
movq 0x1ca14(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x11630
incl 0x8(%r13)
jmp 0x11635
xorl %ebp, %ebp
xorl %r13d, %r13d
jmp 0x11635
xorl %ebp, %ebp
testq %rbp, %rbp
je 0x115f4
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x116f7
movq 0x1c9e6(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x116f2
incl 0x8(%r13)
jmp 0x116f7
xorl %ebp, %ebp
xorl %r13d, %r13d
jmp 0x116f7
xorl %ebp, %ebp
testq %rbp, %rbp
je 0x116b1
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x11789
movq 0x1c9aa(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x11784
incl 0x8(%r13)
jmp 0x11789
lock
incl 0x8(%r13)
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c97c(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %rbp, %rdi
callq 0x1ce82
movl 0x1c(%rsp), %ecx
orb %al, %cl
jne 0x118b3
movl $0x8, %edi
callq 0x6170
leaq 0x1107c(%rip), %rcx     # 0x22714
movq %rcx, (%rax)
movq 0x1c90e(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
jmp 0x121ad
xorl %ebp, %ebp
xorl %r13d, %r13d
jmp 0x11789
xorl %eax, %eax
testq %rax, %rax
je 0x11773
movq 0x8(%rsp), %r13
testq %r13, %r13
movq %rax, 0x68(%rsp)
je 0x1180a
movq 0x1c8e8(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x11805
incl 0x8(%r13)
jmp 0x1180a
lock
incl 0x8(%r13)
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c8ba(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %rbp, %rdi
callq 0x1db06
movl 0x1c(%rsp), %ecx
orb %al, %cl
jne 0x118b3
movl $0x8, %edi
callq 0x6170
leaq 0x10fba(%rip), %rcx     # 0x22714
movq %rcx, (%rax)
movq 0x1c84c(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
jmp 0x121ad
movq $0x0, 0x68(%rsp)
xorl %r13d, %r13d
jmp 0x1180a
lock
incl 0x8(%r13)
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c828(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %rbp, %rdi
callq 0x1e788
movl 0x1c(%rsp), %ecx
orb %al, %cl
jne 0x118b3
movl $0x8, %edi
callq 0x6170
leaq 0x10f28(%rip), %rcx     # 0x22714
movq %rcx, (%rax)
movq 0x1c7ba(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
jmp 0x121ad
lock
incl 0x8(%r13)
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c7a7(%rip), %rbp     # 0x2dfd0
movq %rbp, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq 0x68(%rsp), %rdi
callq 0x1f4f4
orb 0x1c(%rsp), %al
je 0x12163
movq (%rbp), %rax
addq -0x18(%rax), %rbp
movq %rbp, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c752(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq 0x68(%rsp), %rdi
callq 0x1f626
movl 0x1c(%rsp), %ecx
orb %al, %cl
je 0x12163
testq %r13, %r13
je 0x118c0
movq %r13, %rdi
callq 0xafa0
movq 0x20(%rsp), %rdi
callq 0xfcce
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c6e7(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c6a6(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq %rax, %r13
leaq 0x109dc(%rip), %rsi     # 0x22320
movl $0x26, %edx
movq %rax, %rdi
callq 0x6310
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq %r13, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %edx
movq 0x1c649(%rip), %rdi     # 0x2dfe0
leaq 0x90(%rsp), %rsi
callq 0x6480
movq 0x98(%rsp), %rax
testq %rax, %rax
setne %cl
orb %bl, %cl
je 0x11a76
testq %rax, %rax
je 0x11afd
movq 0x90(%rsp), %r15
movl (%r14), %ebp
movl $0x0, (%r14)
leaq 0xb0(%rsp), %r13
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x6380
cmpq %r15, (%r13)
je 0x1214b
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x12157
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x12157
testl %ecx, %ecx
jne 0x11a24
movl %ebp, (%r14)
cltq
movq 0x20(%rsp), %rdx
movq 0x18(%rdx), %rcx
movq 0x20(%rdx), %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rax, %rdx
jbe 0x11aa6
movq (%rsp), %rdi
shlq $0x4, %rax
movq (%rcx,%rax), %rdx
movq %rdx, 0x110(%rsp)
movq 0x8(%rcx,%rax), %rax
movq %rax, 0x118(%rsp)
testq %rax, %rax
je 0x11ade
movq 0x1c55c(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x11ada
incl 0x8(%rax)
jmp 0x11ade
movq (%rsp), %r14
movq 0x50(%rsp), %rsi
leaq 0x1b8(%rsp), %rdi
callq 0x17eea
leaq 0x1b8(%rsp), %rsi
movq %r14, %rdi
callq 0x17f1a
movq 0x1c0(%rsp), %rdi
jmp 0x11af3
testb %bl, %bl
jne 0x11afd
movq (%rsp), %r14
movq 0x50(%rsp), %rsi
leaq 0x1a8(%rsp), %rdi
callq 0x17eea
leaq 0x1a8(%rsp), %rsi
movq %r14, %rdi
callq 0x17f1a
movq 0x1b0(%rsp), %rdi
jmp 0x11af3
lock
incl 0x8(%rax)
leaq 0x110(%rsp), %rsi
callq 0x17f1a
movq 0x118(%rsp), %rdi
testq %rdi, %rdi
je 0x11afd
callq 0xafa0
leaq 0x1168f(%rip), %rsi     # 0x23193
leaq 0xd0(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
je 0x11b78
leaq 0x1167c(%rip), %rsi     # 0x23198
leaq 0xd0(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
je 0x11ba0
leaq 0x10f70(%rip), %rsi     # 0x22aa4
leaq 0xd0(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
jne 0x11e20
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x11c32
leaq 0x1b2f3(%rip), %rsi     # 0x2ce50
leaq 0x1b2fc(%rip), %rdx     # 0x2ce60
movq $-0x2, %rcx
callq 0x6300
movq %rax, %r15
jmp 0x11c35
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x11bc8
leaq 0x1b2c8(%rip), %rsi     # 0x2ce50
leaq 0x1b2f1(%rip), %rdx     # 0x2ce80
movq $-0x2, %rcx
callq 0x6300
movq %rax, %r15
jmp 0x11bcb
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x11bf8
leaq 0x1b2a0(%rip), %rsi     # 0x2ce50
leaq 0x1b2b9(%rip), %rdx     # 0x2ce70
movq $-0x2, %rcx
callq 0x6300
movq %rax, %r15
jmp 0x11bfb
xorl %r15d, %r15d
testq %r15, %r15
je 0x11bf0
movq 0x8(%rsp), %r14
testq %r14, %r14
je 0x11c6a
movq 0x1c3e3(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x11c65
incl 0x8(%r14)
jmp 0x11c6a
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp 0x11c6a
xorl %r15d, %r15d
testq %r15, %r15
je 0x11c27
movq 0x8(%rsp), %r14
testq %r14, %r14
je 0x11d40
movq 0x1c3b3(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x11d3b
incl 0x8(%r14)
jmp 0x11d40
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp 0x11d40
xorl %r15d, %r15d
testq %r15, %r15
je 0x11d30
movq 0x8(%rsp), %r14
testq %r14, %r14
je 0x11dc1
movq 0x1c375(%rip), %rax     # 0x2dfc8
cmpb $0x0, (%rax)
je 0x11dbc
incl 0x8(%r14)
jmp 0x11dc1
lock
incl 0x8(%r14)
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c347(%rip), %r12     # 0x2dfd0
movq %r12, %rdi
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %r15, %rdi
callq 0x1c98e
orb 0x4c(%rsp), %al
je 0x11d0b
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c2f8(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %r15, %rdi
callq 0x1cb0e
movl 0x4c(%rsp), %ecx
orb %al, %cl
jne 0x11e13
movl $0x8, %edi
callq 0x6170
leaq 0x10a4d(%rip), %rcx     # 0x22769
movq %rcx, (%rax)
movq 0x1c28a(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp 0x11dc1
lock
incl 0x8(%r14)
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c271(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %r15, %rdi
callq 0x1a238
movl 0x4c(%rsp), %ecx
orb %al, %cl
jne 0x11e13
movl $0x8, %edi
callq 0x6170
leaq 0x109c6(%rip), %rcx     # 0x22769
movq %rcx, (%rax)
movq 0x1c203(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
jmp 0x121ad
lock
incl 0x8(%r14)
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x6280
movsbl %al, %esi
movq 0x1c1f0(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x6310
movq %r15, %rdi
callq 0x1a09c
movl 0x4c(%rsp), %ecx
orb %al, %cl
je 0x12188
testq %r14, %r14
je 0x11e20
movq %r14, %rdi
callq 0xafa0
movq (%rsp), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x17eea
movq 0xb0(%rsp), %rdi
callq 0x160d4
movl %eax, %ebp
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x11e52
callq 0xafa0
movq (%rsp), %rdi
callq 0x17f2e
cmpl $0x2, %ebp
setne %cl
testb %al, %cl
jne 0x11ecb
leaq 0xf1bc(%rip), %rsi      # 0x21028
leaq 0x70(%rsp), %rdi
callq 0x60d0
testl %eax, %eax
je 0x11ec7
leaq 0xf1a3(%rip), %rsi      # 0x21024
leaq 0x70(%rsp), %rdi
callq 0x60d0
orl %ebp, %eax
je 0x11ecb
testb %bl, %bl
jne 0x11f8f
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %rax
movq %rcx, 0x100(%rsp)
movq %rax, 0x108(%rsp)
testq %rax, %rax
je 0x11ef4
movq 0x1c10b(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x11ef0
incl 0x8(%rax)
jmp 0x11ef4
testl %ebp, %ebp
jne 0x11e8f
movl $0x8, %edi
callq 0x6170
leaq 0x108e5(%rip), %rcx     # 0x227c1
movq %rcx, (%rax)
movq 0x1c0ca(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
lock
incl 0x8(%rax)
leaq 0x268(%rsp), %rdi
leaq 0x100(%rsp), %rdx
movq 0x20(%rsp), %rsi
callq 0x13628
movq 0x270(%rsp), %rdi
testq %rdi, %rdi
je 0x11f20
callq 0xafa0
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x11f32
callq 0xafa0
addq $0x30, 0x20(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0xf0(%rsp)
movq %rax, 0xf8(%rsp)
testq %rax, %rax
je 0x11f6b
movq 0x1c06b(%rip), %rcx     # 0x2dfc8
cmpb $0x0, (%rcx)
je 0x11f67
incl 0x8(%rax)
jmp 0x11f6b
lock
incl 0x8(%rax)
leaq 0xf0(%rsp), %rsi
movq 0x20(%rsp), %rdi
callq 0x14bea
movq 0xf8(%rsp), %rdi
testq %rdi, %rdi
je 0x11f8f
callq 0xafa0
movq 0x1c03a(%rip), %rbx     # 0x2dfd0
leaq 0x108b0(%rip), %rsi     # 0x2284d
movl $0x1d, %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 0x1c008(%rip), %rdi     # 0x2dfd0
callq 0x6030
movq %rax, %rdi
callq 0x61c0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x11fe4
callq 0xafa0
leaq 0xe0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12005
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12026
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x1f8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12047
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x160(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12068
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x12084
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x12093
callq 0xafa0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x120b8
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x120dd
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x62b0
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xf2ea(%rip), %rdi      # 0x213e0
callq 0x61b0
leaq 0xf2de(%rip), %rdi      # 0x213e0
callq 0x63a0
movl $0x8, %edi
callq 0x6170
leaq 0x105e8(%rip), %rcx     # 0x22700
movq %rcx, (%rax)
movq 0x1be8e(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
jmp 0x121ad
callq 0x6110
leaq 0xf2a6(%rip), %rdi      # 0x213e0
callq 0x61b0
leaq 0xf29a(%rip), %rdi      # 0x213e0
callq 0x63a0
leaq 0xf28e(%rip), %rdi      # 0x213e0
callq 0x61b0
leaq 0xf282(%rip), %rdi      # 0x213e0
callq 0x63a0
movl $0x8, %edi
callq 0x6170
leaq 0x105a0(%rip), %rcx     # 0x22714
movq %rcx, (%rax)
movq 0x1be32(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
movl $0x8, %edi
callq 0x6170
leaq 0x105d0(%rip), %rcx     # 0x22769
movq %rcx, (%rax)
movq 0x1be0d(%rip), %rsi     # 0x2dfb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6440
movq %rax, %r15
movq 0x1b0(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
movq 0x1d0(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
movq 0x118(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
movq 0x128(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
jmp 0x123d3
movq %rax, %r15
movq 0xf8(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
movq 0x108(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
movq 0x1c0(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
movq 0x1e0(%rsp), %rdi
jmp 0x122ec
movq %rax, %r15
leaq 0x218(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x123c4
movq 0x218(%rsp), %rsi
jmp 0x1236f
movq %rax, %r15
leaq 0x238(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x123c4
movq 0x238(%rsp), %rsi
jmp 0x1236f
movq %rax, %r15
leaq 0x258(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x123c4
movq 0x258(%rsp), %rsi
jmp 0x1236f
jmp 0x123c1
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x123c4
movl %ebp, (%r14)
jmp 0x123c4
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x123c4
movl 0x68(%rsp), %eax
movl %eax, (%r14)
jmp 0x123c4
jmp 0x123a5
jmp 0x1238e
movq %rax, %r15
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
jne 0x123b0
jmp 0x123c4
jmp 0x123c1
jmp 0x123a0
jmp 0x1239b
movq %rax, %r15
movq 0x138(%rsp), %rdi
testq %rdi, %rdi
je 0x12436
callq 0xafa0
jmp 0x12436
movq %rax, %r15
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x12457
callq 0xafa0
jmp 0x12457
movq %rax, %r15
jmp 0x12473
jmp 0x1238e
jmp 0x123a5
jmp 0x1238e
movq %rax, %r15
leaq 0xc0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x123c4
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x62b0
jmp 0x123c4
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x12457
movl %ebx, (%r14)
jmp 0x12457
movq %rax, %r15
testq %r13, %r13
je 0x123c4
movq %r13, %rdi
jmp 0x123b0
movq %rax, %r15
jmp 0x12415
movq %rax, %r15
jmp 0x123f4
movq %rax, %r15
testq %r14, %r14
je 0x123c4
movq %r14, %rdi
callq 0xafa0
jmp 0x123c4
jmp 0x123c1
movq %rax, %r15
jmp 0x12457
movq %rax, %r15
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x123d3
callq 0xafa0
leaq 0xe0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x123f4
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12415
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x1f8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12436
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x62b0
leaq 0x160(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12457
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x12473
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x12482
callq 0xafa0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x124a7
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x62b0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x124cc
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x62b0
movq %r15, %rdi
callq 0x6460