LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/tbjohns[P]BlitzL1/src/solver.cpp
// Function: BlitzL1::Solver::prioritize_features(BlitzL1::Dataset const*, double, double const*, unsigned long)
void Solver::prioritize_features(const Dataset *data, value_t lambda, const value_t *x, size_t max_size_C)
  {
    // Reorders prioritized_features so that first max_size_C
    // elements are feature indices with highest priority in order

    size_t d = data->get_d();
    feature_priorities.resize(d);

    for (vector<size_t>::iterator j = prioritized_features.begin();
         j != prioritized_features.end();
         ++j)
    {
      if (x[*j] != 0)
      {
        feature_priorities[*j] = 0.0;
      }
      else
      {
        value_t norm = priority_norm_j(*j, data);
        if (norm <= 0)
        {
          feature_priorities[*j] = std::numeric_limits<value_t>::max();
        }
        else
        {
          value_t priority_value = (lambda - fabs(ATphi[*j])) / norm;
          feature_priorities[*j] = priority_value;
        }
      }
    }
    IndirectComparator cmp(feature_priorities);
    nth_element(
        prioritized_features.begin(),
        prioritized_features.begin() + max_size_C,
        prioritized_features.end(),
        cmp);
    sort(
        prioritized_features.begin(),
        prioritized_features.end(),
        cmp);
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r12
movsd %xmm0, (%rsp)
movq %rsi, %r13
movq %rdi, %r14
movq 0x20(%rsi), %rsi
leaq 0xb8(%rdi), %rbx
movq %rbx, %rdi
callq 0x5340
movq 0xa0(%r14), %rbp
movq 0xa8(%r14), %rdx
cmpq %rdx, %rbp
je 0x80f5
xorpd %xmm3, %xmm3
movq (%rbp), %rsi
movsd (%r12,%rsi,8), %xmm0
ucomisd %xmm3, %xmm0
jne 0x8092
jnp 0x8098
xorpd %xmm1, %xmm1
jmp 0x80d9
movq %r14, %rdi
movq %r13, %rdx
callq 0x5060
xorpd %xmm3, %xmm3
ucomisd %xmm0, %xmm3
movq (%rbp), %rsi
jae 0x80d1
movq 0x60(%r14), %rax
movsd (%rax,%rsi,8), %xmm2
andpd 0x1f8e(%rip), %xmm2     # 0xa050
movsd (%rsp), %xmm1
subsd %xmm2, %xmm1
divsd %xmm0, %xmm1
jmp 0x80d9
movsd 0x2187(%rip), %xmm1     # 0xa260
movq 0xb8(%r14), %rax
movsd %xmm1, (%rax,%rsi,8)
addq $0x8, %rbp
movq 0xa8(%r14), %rdx
cmpq %rdx, %rbp
jne 0x8080
movq 0xa0(%r14), %rdi
leaq (%rdi,%r15,8), %rsi
cmpq %rdx, %rdi
sete %al
cmpq %rdx, %rsi
sete %cl
orb %al, %cl
jne 0x812f
movq %rdx, %rax
subq %rdi, %rax
sarq $0x3, %rax
bsrq %rax, %rcx
xorl $0x3f, %ecx
addl %ecx, %ecx
xorq $0x7e, %rcx
movq %rbx, %r8
callq 0x53a0
movq 0xa0(%r14), %r15
movq 0xa8(%r14), %r14
cmpq %r14, %r15
je 0x8183
movq %r14, %rax
subq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x5130
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5030
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tbjohns[P]BlitzL1/src/timer.h
// Function: BlitzL1::Timer::elapsed_time()
double elapsed_time()
    {
      if (is_paused)
        return absolute_pause_time - absolute_start_time - pause_accum;
      else
        return get_real_time() - absolute_start_time - pause_accum;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpb $0x1, 0x18(%rdi)
jne 0x8b71
movsd 0x8(%rbx), %xmm0
jmp 0x8b97
leaq 0x8(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x5500
cvtsi2sdq (%r14), %xmm1
cvtsi2sdq 0x8(%r14), %xmm0
divsd 0x16b5(%rip), %xmm0     # 0xa248
addsd %xmm1, %xmm0
subsd (%rbx), %xmm0
subsd 0x10(%rbx), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/main.cpp
// Function: main
int main(int argc,char *argv[]) {

    if ( argv[2] )
        /*    New Game   */  {
        /* - [ Arguments ] -    argv[0] is the name of the program; Heroes  */
        const string playOrLoad = argv[1];
        const int warriors = atoi(argv[2]);
        const int thieves = atoi(argv[3]);
        const int Necromancers = atoi(argv[4]);
        GameUnit *gamePlay = new GameUnit(warriors,thieves,Necromancers);
        delete gamePlay;
    } else  /*  Load last Game  */{
        GameUnit *gamePlay = new GameUnit();
        delete gamePlay;
    }
//    cout << "\t...main.cpp END...‬‬" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
cmpq $0x0, 0x10(%rsi)
je 0x38f1
movq %rsi, %rbx
movq 0x8(%rsi), %rsi
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
callq 0x3972
movq 0x10(%rbx), %rdi
callq 0x3360
movl %eax, %r15d
movq 0x18(%rbx), %rdi
callq 0x3360
movl %eax, %r12d
movq 0x20(%rbx), %rdi
callq 0x3360
movl %eax, %ebx
movl $0x38, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %ebx, %ecx
callq 0x4b3e
movq %r14, %rdi
callq 0x592c
movl $0x38, %esi
movq %r14, %rdi
callq 0x3290
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x391b
movq -0x38(%rbp), %rsi
incq %rsi
jmp 0x3916
movl $0x38, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
callq 0x3a4c
movq %r14, %rdi
callq 0x592c
movl $0x38, %esi
movq %r14, %rdi
callq 0x3290
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
jmp 0x3960
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x3290
jmp 0x394c
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x396a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x396a
movq %rax, %rbx
movq %rbx, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::rmdir()
void GameUnit::rmdir() {
    try {
        string comand = "find * -type d | grep -v \"^CMakeFiles\" | xargs rm -rf";
        const char *runComand = comand.c_str();
        system(runComand);
    } catch( std::exception &e ) {
        cout << "Error deleting directory!n" << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x6120(%rip), %rsi      # 0xb48a
leaq 0x614e(%rip), %rdx      # 0xb4bf
leaq -0x38(%rbp), %rdi
callq 0x39b0
movq -0x38(%rbp), %rdi
callq 0x3220
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x5398
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3290
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x53c6
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x53c6
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x5407
movq %rbx, %rdi
callq 0x3100
movq 0xabe5(%rip), %rdi      # 0xffc0
leaq 0x60de(%rip), %rsi      # 0xb4c0
movl $0x1a, %edx
callq 0x32d0
movq 0xabcd(%rip), %rdi      # 0xffc0
callq 0x3130
callq 0x33c0
jmp 0x5398
movq %rax, %rbx
callq 0x33c0
movq %rbx, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x6841
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::mkdir()
bool GameUnit::mkdir() {
    try {
        string comand = "mkdir game";
        const char *runComand = comand.c_str();
        system(runComand);
    } catch( std::exception &e ) {
        cout << "Error creating directory!" << endl;
        return 0;
    }
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x6031(%rip), %rsi      # 0xb465
leaq 0x6034(%rip), %rdx      # 0xb46f
leaq -0x38(%rbp), %rdi
callq 0x39b0
movq -0x38(%rbp), %rdi
callq 0x3220
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x5462
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3290
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x5492
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x5492
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x54d5
movq %rbx, %rdi
callq 0x3100
movq 0xab19(%rip), %rdi      # 0xffc0
leaq 0x5fc2(%rip), %rsi      # 0xb470
movl $0x19, %edx
callq 0x32d0
movq 0xab01(%rip), %rdi      # 0xffc0
callq 0x3130
callq 0x33c0
xorl %eax, %eax
jmp 0x5464
movq %rax, %rbx
callq 0x33c0
movq %rbx, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x6841
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::getHeroByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Hero *GameUnit::getHeroByName(string heroName) {
    for (int i = 0; i < ::numberOfPlayers; ++ i)
        if ( realOrder[i]->getName() == heroName )
            return realOrder[i];
    return NULL;
}

// Assembly:
cmpl $0x0, 0xa195(%rip)      # 0x1029c
jle 0x6195
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq -0x48(%rbp), %r12
xorl %ebx, %ebx
movq (%r14), %rax
movq (%rax,%rbx,8), %rsi
movq %r12, %rdi
callq 0x7c30
movq -0x40(%rbp), %rdx
cmpq 0x8(%r15), %rdx
jne 0x615c
testq %rdx, %rdx
je 0x6161
movq (%r15), %rsi
movq -0x48(%rbp), %rdi
callq 0x32a0
testl %eax, %eax
sete %r13b
jmp 0x6164
xorl %r13d, %r13d
jmp 0x6164
movb $0x1, %r13b
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x617d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
testb %r13b, %r13b
jne 0x6198
incq %rbx
movslq 0xa110(%rip), %rax      # 0x1029c
cmpq %rax, %rbx
jl 0x612a
xorl %eax, %eax
jmp 0x619f
xorl %eax, %eax
retq
movq (%r14), %rax
movq (%rax,%rbx,8), %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::nextTurn()
void GameUnit::nextTurn() {
    int check = currentTurn;
    if ( check + 1 >= ::numberOfPlayers ) {
        currentTurn = 0;
        ::roundNumber ++;
        mainMenu(turnOrder[currentTurn]);
    } else {
        currentTurn ++;
        mainMenu(turnOrder[currentTurn]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq 0x30(%rdi), %rax
incq %rax
cmpl 0xa0dd(%rip), %eax      # 0x1029c
jge 0x61ce
movl %eax, 0x30(%rdi)
shlq $0x3, %rax
addq 0x18(%rdi), %rax
jmp 0x61df
movl $0x0, 0x30(%rdi)
incl 0xa0bd(%rip)            # 0x10298
movq 0x18(%rdi), %rax
movq (%rax), %rsi
popq %rbp
jmp 0x42c0
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::showHeroes()
void GameUnit::showHeroes() {
    for (int i = 0; i < ::numberOfPlayers; ++ i) {
        if ( realOrder[i]->getName() != turnOrder[currentTurn]->getName()) {
            cout << realOrder[i]->getName() << " ";
            cout << realOrder[i]->displayType() << endl;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
cmpl $0x0, 0xa09c(%rip)      # 0x1029c
jle 0x635a
movq %rdi, %rbx
leaq -0x38(%rbp), %r15
xorl %r12d, %r12d
leaq -0x48(%rbp), %r14
movq (%rbx), %rax
movq (%rax,%r12,8), %rsi
movq %r14, %rdi
callq 0x7c30
movslq 0x30(%rbx), %rax
movq 0x18(%rbx), %rcx
movq (%rcx,%rax,8), %rsi
leaq -0x68(%rbp), %rdi
callq 0x7c30
movq -0x40(%rbp), %rdx
movb $0x1, %r13b
cmpq -0x60(%rbp), %rdx
jne 0x6262
testq %rdx, %rdx
je 0x625f
movq -0x68(%rbp), %rsi
movq -0x48(%rbp), %rdi
callq 0x32a0
testl %eax, %eax
setne %r13b
jmp 0x6262
xorl %r13d, %r13d
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x627b
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x6290
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
testb %r13b, %r13b
je 0x6347
movq (%rbx), %rax
movq (%rax,%r12,8), %rsi
movq %r14, %rdi
callq 0x7c30
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x9d09(%rip), %rdi      # 0xffc0
callq 0x32d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x555a(%rip), %rsi      # 0xb825
callq 0x32d0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x62e5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
movq (%rbx), %rax
movq (%rax,%r12,8), %rsi
movq %r14, %rdi
callq 0x871a
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x9cbd(%rip), %rdi      # 0xffc0
callq 0x32d0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r13, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x6347
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
incq %r12
movslq 0x9f4b(%rip), %rax      # 0x1029c
cmpq %rax, %r12
jl 0x6214
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x636d
jmp 0x636d
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x6385
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::eraseKilled()
void GameUnit::eraseKilled() {
    unsigned long size = realOrder.size();
    for (int i = 0; i < size; i ++) {
        if ( realOrder[i]->inLife() == 0 && realOrder[i]->showArmy() == "." ) {
            realOrder[i]->rmdir();
            realOrder[i]->~Hero();
            realOrder.erase(realOrder.begin() + i);
            ::numberOfPlayers --;
        }
    }
    realOrder.shrink_to_fit();
    turnOrder.shrink_to_fit();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %r12
subq (%rdi), %r12
je 0x6485
sarq $0x3, %r12
cmpq $0x1, %r12
adcq $0x0, %r12
movl $0x8, %r13d
movq $-0x8, %r15
movq %rbx, -0x30(%rbp)
movq (%rbx), %rax
movq -0x8(%rax,%r13), %rcx
movb 0x3a(%rcx), %bl
testb %bl, %bl
je 0x63e0
xorl %r14d, %r14d
jmp 0x6406
movq -0x8(%rax,%r13), %rsi
leaq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0x8380
movq %r14, %rdi
leaq 0x4ca0(%rip), %rsi      # 0xb09b
callq 0x30b0
testl %eax, %eax
sete %r14b
testb %bl, %bl
movq -0x30(%rbp), %rbx
jne 0x6427
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6427
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3290
testb %r14b, %r14b
je 0x6474
movq (%rbx), %rax
movq -0x8(%rax,%r13), %rdi
callq 0x9710
movq (%rbx), %rax
movq -0x8(%rax,%r13), %rdi
callq 0x6850
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
leaq (%rax,%r13), %rsi
cmpq %rdx, %rsi
je 0x6469
leaq (%rax,%r13), %rdi
addq $-0x8, %rdi
subq %rax, %rdx
addq %r15, %rdx
callq 0x33b0
addq $-0x8, 0x8(%rbx)
decl 0x9e28(%rip)            # 0x1029c
addq $0x8, %r13
addq $-0x8, %r15
decq %r12
jne 0x63cc
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rax
je 0x6497
movq %rbx, %rdi
callq 0x6e60
movq 0x28(%rbx), %rax
cmpq 0x20(%rbx), %rax
je 0x64ad
addq $0x18, %rbx
movq %rbx, %rdi
callq 0x6e60
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/GameUnit.cpp
// Function: GameUnit::getTurnOrder[abi:cxx11]()
string GameUnit::getTurnOrder() {
    string turnList = "";
    for (Hero *i : turnOrder)
        turnList += i->getName() + " ";
    return turnList;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rdi)
leaq 0x5060(%rip), %rdx      # 0xb545
movq %rdx, %rsi
callq 0x39b0
movq 0x18(%r14), %r12
movq 0x20(%r14), %r15
cmpq %r15, %r12
je 0x65ab
leaq -0x40(%rbp), %r13
leaq -0x70(%rbp), %r14
movq (%r12), %rsi
movq %r14, %rdi
callq 0x7c30
movq %r14, %rdi
leaq 0x5309(%rip), %rsi      # 0xb825
callq 0x3470
movq %r13, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6541
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x6549
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %rbx, %rdi
callq 0x30c0
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x6585
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x659e
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3290
addq $0x8, %r12
cmpq %r15, %r12
jne 0x6506
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x65f8
movq %rax, %r14
jmp 0x65df
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x65df
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x65f8
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3290
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x6610
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::Army()
Army::Army() {
    try {
        realArmy = {new Zombie(),new Vampire(),new Archer(),
                    new Wizard(),new BlackDragon()};
        vector<int> vect(6); // emty armyList
        armyList = vect;
        vect.clear();
    }
    catch( std::bad_alloc &exc ) {
        cout << exc.what() << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rdi), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movl $0x18, %edi
callq 0x3280
movq %rax, %r13
movq %rax, %rdi
callq 0xa570
movq %r13, -0x50(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r13
movq %rax, %rdi
callq 0xa4b4
movq %r13, -0x48(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r13
movq %rax, %rdi
callq 0xa3b4
movq %r13, -0x40(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r13
movq %rax, %rdi
callq 0xa2dc
movq %r13, -0x38(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r13
movq %rax, %rdi
callq 0xa1fc
leaq -0x28(%rbp), %rdx
movq %r13, -0x8(%rdx)
leaq -0x50(%rbp), %rsi
movq %r14, %rdi
callq 0x79fc
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movl $0x18, %edi
callq 0x3280
leaq -0x50(%rbp), %rsi
movq %rax, (%rsi)
movq %rax, 0x8(%rsi)
movq %rax, %rcx
addq $0x18, %rcx
movq %rcx, 0x10(%rsi)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rcx, 0x8(%rsi)
movq %rbx, %rdi
callq 0x78aa
movq -0x50(%rbp), %rdi
cmpq %rdi, -0x48(%rbp)
je 0x70ae
movq %rdi, -0x48(%rbp)
testq %rdi, %rdi
je 0x70bf
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
callq 0x3290
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r12
movq %rax, %r15
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x710b
movq -0x40(%rbp), %rsi
subq %rdi, %rsi
jmp 0x70fe
jmp 0x7105
jmp 0x70f0
jmp 0x70f0
jmp 0x70f0
jmp 0x70f0
movq %rdx, %r12
movq %rax, %r15
movl $0x18, %esi
movq %r13, %rdi
callq 0x3290
jmp 0x710b
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x7150
movq %r15, %rdi
callq 0x3100
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
movq 0x8e97(%rip), %rdi      # 0xffc0
movq %rax, %rsi
callq 0x3270
movq %rax, %rdi
callq 0x3130
callq 0x33c0
jmp 0x70bf
movq %rax, %r15
jmp 0x7150
movq %rax, %r15
callq 0x33c0
movq (%r14), %rdi
testq %rdi, %rdi
je 0x7164
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x3290
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x7178
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3290
movq %r15, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x6841
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::saveArmy[abi:cxx11]()
std::string Army::saveArmy() {
    std::string saveArmy = "";
    for (int i = 4; i >= 0; i --) {
        saveArmy += std::to_string(armyList[i]);
        if ( i != 0 )
            saveArmy += " ";
        else
            saveArmy += "";
    }
    return saveArmy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, -0x60(%rbp)
movq %rdi, %r12
leaq 0x10(%rdi), %rax
movq %rax, -0x58(%rbp)
movq %rax, (%rdi)
leaq 0x3eff(%rip), %rdx      # 0xb545
movq %rdx, %rsi
callq 0x39b0
movl $0x4, %r14d
movl $0xd1b71759, %ebx       # imm = 0xD1B71759
movq %r12, -0x30(%rbp)
movq -0x60(%rbp), %rax
movq (%rax), %rax
movl (%rax,%r14,4), %r13d
movl %r13d, %r12d
negl %r12d
cmovsl %r13d, %r12d
movl $0x1, %r15d
cmpl $0xa, %r12d
jb 0x76c0
movl $0x4, %r15d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x76b7
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x76bd
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x76c0
movl %eax, %ecx
imulq %rbx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x7687
addl $-0x3, %r15d
jmp 0x76c0
addl $-0x2, %r15d
jmp 0x76c0
decl %r15d
shrl $0x1f, %r13d
leal (%r15,%r13), %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %rdi
movl $0x2d, %edx
callq 0x32e0
addq -0x50(%rbp), %r13
movq %r13, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x7989
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq -0x30(%rbp), %r12
movq %r12, %rdi
callq 0x30c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x771d
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3290
movq %r14, %r15
subq $0x1, %r15
leaq 0x40fa(%rip), %rsi      # 0xb825
leaq 0x3e13(%rip), %rax      # 0xb545
cmovbq %rax, %rsi
movq %r12, %rdi
callq 0x3470
testq %r14, %r14
movq %r15, %r14
jne 0x765d
movq %r12, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x777c
movq %rax, %r15
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x777f
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x777f
movq %rax, %r15
movq -0x30(%rbp), %rax
movq (%rax), %rdi
movq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x779a
movq (%rax), %rsi
incq %rsi
callq 0x3290
movq %r15, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::buildArmy(int, int, int, int, int)
void Army::buildArmy(int BD,int WZ,int ARC,int VMP,int ZMB) {
    armyList[4] = BD;
    armyList[3] = WZ;
    armyList[2] = ARC;
    armyList[1] = VMP;
    armyList[0] = ZMB;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movl %esi, 0x10(%rax)
movl %edx, 0xc(%rax)
movl %ecx, 0x8(%rax)
movl %r8d, 0x4(%rax)
movl %r9d, (%rax)
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::reBuild()
void Army::reBuild() {
    for(Creature* i : realArmy)
        delete i;
    realArmy = {new Zombie(),new Vampire(),new Archer(),
                new Wizard(),new BlackDragon()};

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %r14
movq 0x20(%rdi), %r15
cmpq %r15, %r14
je 0x77ed
movq (%r14), %rdi
testq %rdi, %rdi
je 0x77e7
movq (%rdi), %rax
callq *0x8(%rax)
addq $0x8, %r14
jmp 0x77d4
movl $0x18, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
callq 0xa570
movq %r14, -0x40(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
callq 0xa4b4
movq %r14, -0x38(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
callq 0xa3b4
movq %r14, -0x30(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
callq 0xa2dc
movq %r14, -0x28(%rbp)
movl $0x18, %edi
callq 0x3280
movq %rax, %r14
movq %rax, %rdi
callq 0xa1fc
addq $0x18, %rbx
leaq -0x18(%rbp), %rdx
movq %r14, -0x8(%rdx)
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x79fc
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7891
jmp 0x7891
jmp 0x7891
jmp 0x7891
movq %rax, %rbx
movl $0x18, %esi
movq %r14, %rdi
callq 0x3290
movq %rbx, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::Hero(Hero&)
Hero::Hero(Hero &another) {
    setName(another.getName());
    this->type = another.getType();
    this->gold = another.getGold();
    this->army = another.army;
    isAlive = another.isAlive;;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x7efe(%rip), %rax      # 0xfa58
movq %rax, (%rdi)
leaq 0x8(%rdi), %rbx
leaq 0x18(%rdi), %r12
movq %r12, 0x8(%rdi)
movq $0x0, 0x10(%rdi)
movb $0x0, 0x18(%rdi)
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x8(%rsi), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x693a
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x3160
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x7bb2
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
movl 0x28(%r15), %eax
movl %eax, 0x28(%r14)
movsd 0x30(%r15), %xmm0
movsd %xmm0, 0x30(%r14)
movq 0x40(%r15), %rax
movq %rax, 0x40(%r14)
movb 0x3a(%r15), %al
movb %al, 0x3a(%r14)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x7c02
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x7c02
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x7c16
movq (%r12), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::mkdir()
bool Hero::mkdir() {
    errno = 0;
    try {
        string command = "mkdir -p Heros/" + getName();
        auto runCommand = command.c_str();
        int dir_result = system(runCommand);
        if ( dir_result != 0 && errno != EEXIST )
            return 0;
    }
    catch( std::exception &e ) {
        cout << "Error creating directory!n" << endl;
        return 0;
    }
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %r14
callq 0x3040
movq %rax, %rbx
movl $0x0, (%rax)
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0x693a
leaq 0x3553(%rip), %rcx      # 0xb767
leaq -0x60(%rbp), %rdi
movl $0xf, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x32b0
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x824b
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x8252
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0x38(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x827e
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x40(%rbp), %rdi
callq 0x3220
testl %eax, %eax
je 0x8290
cmpl $0x11, (%rbx)
jne 0x8294
movb $0x1, %bl
jmp 0x8296
xorl %ebx, %ebx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x82ab
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movl %ebx, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x82f2
movq -0x30(%rbp), %rsi
jmp 0x82e2
movq %rdx, %r14
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x82f2
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x82f2
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x8338
movq %rbx, %rdi
callq 0x3100
movq 0x7cb9(%rip), %rdi      # 0xffc0
leaq 0x3469(%rip), %rsi      # 0xb777
movl $0x1a, %edx
callq 0x32d0
movq 0x7ca1(%rip), %rdi      # 0xffc0
callq 0x3130
callq 0x33c0
xorl %ebx, %ebx
jmp 0x82ab
movq %rax, %rbx
callq 0x33c0
movq %rbx, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x6841
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::buyCreature(double, int, int, int)
bool Hero::buyCreature(double budget,int creatureType,int quantity,int unitPrice) {
    Creature c;
    if ( quantity > 0 && budget > 0 && creatureType >= 0 ) {
        army->addUnit(creatureType,quantity);
        this->gold -= unitPrice * quantity;
        c.~Creature();
        return true;
    } else return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movsd %xmm0, -0x30(%rbp)
movq %rdi, %rbx
leaq -0x48(%rbp), %rdi
callq 0x9ee0
testl %r15d, %r15d
setg %al
xorpd %xmm0, %xmm0
movsd -0x30(%rbp), %xmm1
ucomisd %xmm0, %xmm1
seta %cl
testl %r12d, %r12d
setns %r13b
andb %al, %r13b
andb %cl, %r13b
cmpb $0x1, %r13b
jne 0x851f
movq 0x40(%rbx), %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x71d2
imull %r15d, %r14d
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd 0x30(%rbx), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rbx)
movl %r13d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::showHero()
void Hero::showHero() {
    cout << getName() << " ";
    cout << displayType() << ":" << endl;
    cout << getGold() << endl;
    if ( showArmy() != "." )
        cout << showArmy() << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rdx
addq %rsi, %rdx
leaq -0x40(%rbp), %r14
movq %r14, %rdi
callq 0x693a
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x7a4e(%rip), %rdi      # 0xffc0
callq 0x32d0
leaq 0x32a7(%rip), %rsi      # 0xb825
movl $0x1, %edx
movq %rax, %rdi
callq 0x32d0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x85a0
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
movq %rbx, %rsi
callq 0x871a
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x7a07(%rip), %rdi      # 0xffc0
callq 0x32d0
movq %rax, %r14
leaq 0x2cd3(%rip), %rsi      # 0xb29b
movl $0x1, %edx
movq %rax, %rdi
callq 0x32d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x8611
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movsd 0x30(%rbx), %xmm0
movq 0x79a3(%rip), %rdi      # 0xffc0
callq 0x3390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq 0x40(%rbx), %rsi
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x71e4
leaq 0x2a38(%rip), %rsi      # 0xb09b
movq %r15, %rdi
callq 0x30b0
movl %eax, %r14d
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x8682
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
testl %r14d, %r14d
je 0x86e9
movq 0x40(%rbx), %rsi
leaq -0x40(%rbp), %rbx
movq %rbx, %rdi
callq 0x71e4
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x791b(%rip), %rdi      # 0xffc0
callq 0x32d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x86e9
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x86fa
jmp 0x86fa
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x8712
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::displayType[abi:cxx11]()
string Hero::displayType() {
    switch ( type ) {
        case 0:
            return "Warrior";

        case 1:
            return "Thief";

        case 2:
            return "Necromancer";

        default:
            return "UnknownType";
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x28(%rsi), %eax
leaq 0x10(%rdi), %rcx
movq %rcx, (%rdi)
cmpl $0x2, %eax
je 0x875b
cmpl $0x1, %eax
je 0x874b
testl %eax, %eax
jne 0x876b
leaq 0x305e(%rip), %rsi      # 0xb7a0
leaq 0x305e(%rip), %rdx      # 0xb7a7
jmp 0x8779
leaq 0x3056(%rip), %rsi      # 0xb7a8
leaq 0x3054(%rip), %rdx      # 0xb7ad
jmp 0x8779
leaq 0x304c(%rip), %rsi      # 0xb7ae
leaq 0x3050(%rip), %rdx      # 0xb7b9
jmp 0x8779
leaq 0x3048(%rip), %rsi      # 0xb7ba
leaq 0x304c(%rip), %rdx      # 0xb7c5
movq %rbx, %rdi
callq 0x39b0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::showHeroFight()
void Hero::showHeroFight() {
    cout << getName() << " ";
    cout << displayType() << ":" << endl;
    if ( showArmy() != "." )
        cout << showArmy() << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rdx
addq %rsi, %rdx
leaq -0x40(%rbp), %r14
movq %r14, %rdi
callq 0x693a
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x77f4(%rip), %rdi      # 0xffc0
callq 0x32d0
leaq 0x304d(%rip), %rsi      # 0xb825
movl $0x1, %edx
movq %rax, %rdi
callq 0x32d0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x87fa
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
movq %rbx, %rsi
callq 0x871a
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x77ad(%rip), %rdi      # 0xffc0
callq 0x32d0
movq %rax, %r14
leaq 0x2a79(%rip), %rsi      # 0xb29b
movl $0x1, %edx
movq %rax, %rdi
callq 0x32d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x886b
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movq 0x40(%rbx), %rsi
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x71e4
leaq 0x2819(%rip), %rsi      # 0xb09b
movq %r15, %rdi
callq 0x30b0
movl %eax, %r14d
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x88a1
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
testl %r14d, %r14d
je 0x8908
movq 0x40(%rbx), %rsi
leaq -0x40(%rbp), %rbx
movq %rbx, %rdi
callq 0x71e4
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x76fc(%rip), %rdi      # 0xffc0
callq 0x32d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x8908
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8919
jmp 0x8919
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x8931
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Hero.cpp
// Function: Hero::rmdir()
void Hero::rmdir() {
    isAlive = false;
    try {
        string command = "rm -rf Heros/" + getName();
        const char *runCommand = command.c_str();
        system(runCommand);
    }
    catch( std::exception &e ) {
        cout << "Error deleting directory!n" << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movb $0x0, 0x3a(%rdi)
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0x693a
leaq 0x204c(%rip), %rcx      # 0xb792
leaq -0x60(%rbp), %rdi
movl $0xd, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x32b0
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x977e
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x9786
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x38(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x97b2
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x40(%rbp), %rdi
callq 0x3220
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x97d0
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3290
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x9815
movq -0x30(%rbp), %rsi
jmp 0x9805
movq %rdx, %r14
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x9815
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x9815
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x9856
movq %rbx, %rdi
callq 0x3100
movq 0x6796(%rip), %rdi      # 0xffc0
leaq 0x1c8f(%rip), %rsi      # 0xb4c0
movl $0x1a, %edx
callq 0x32d0
movq 0x677e(%rip), %rdi      # 0xffc0
callq 0x3130
callq 0x33c0
jmp 0x97d0
movq %rax, %rbx
callq 0x33c0
movq %rbx, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x6841
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Creature.cpp
// Function: Creature::Creature(Creature&)
Creature::Creature(Creature &another) {
    if ( another.attackPoints > 1 && another.defendPoints > 1 && another.cost > 50 && another.cType != Unknown &&
         another.attackPoints < 10 && another.defendPoints > 10 && another.cost > 200 ) {
        this->attackPoints = another.attackPoints;
        this->defendPoints = another.defendPoints;
        this->cost = another.cost;
        this->cType = another.cType;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x5b79(%rip), %rax      # 0xfa80
movq %rax, (%rdi)
movl 0x8(%rsi), %eax
cmpl $0x2, %eax
jl 0x9f48
movl 0xc(%rsi), %ecx
cmpl $0x2, %ecx
jl 0x9f48
movl 0x10(%rsi), %edx
cmpl $0x33, %edx
jl 0x9f48
cmpl $0xc9, %edx
jl 0x9f48
cmpl $0xb, %ecx
jl 0x9f48
cmpl $0x9, %eax
jg 0x9f48
movl 0x14(%rsi), %esi
cmpl $0x5, %esi
je 0x9f48
movl %eax, 0x8(%rdi)
movl %ecx, 0xc(%rdi)
movl %edx, 0x10(%rdi)
movl %esi, 0x14(%rdi)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Creature.cpp
// Function: Creature::creaType[abi:cxx11](int)
string Creature::creaType(int vtype) {
    switch ( vtype ) {
        case 0:
            return "Zombie";
        case 1:
            return "Archer";
        case 2:
            return "Vampire";
        case 3:
            return "Wizard";
        case 4:
            return "Black_Dragon";
        default:
            return "Unknown";
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
cmpl $0x4, %edx
ja 0xa105
movl %edx, %eax
leaq 0x173c(%rip), %rcx      # 0xb7e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1783(%rip), %rsi      # 0xb83f
leaq 0x1782(%rip), %rdx      # 0xb845
jmp 0xa113
leaq 0x1790(%rip), %rsi      # 0xb85c
leaq 0x1795(%rip), %rdx      # 0xb868
jmp 0xa113
leaq 0x1771(%rip), %rsi      # 0xb84d
leaq 0x1771(%rip), %rdx      # 0xb854
jmp 0xa113
leaq 0x1769(%rip), %rsi      # 0xb855
leaq 0x1768(%rip), %rdx      # 0xb85b
jmp 0xa113
leaq 0x174a(%rip), %rsi      # 0xb846
leaq 0x1749(%rip), %rdx      # 0xb84c
jmp 0xa113
leaq 0x175d(%rip), %rsi      # 0xb869
leaq 0x175d(%rip), %rdx      # 0xb870
movq %rbx, %rdi
callq 0x39b0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Zombie.cpp
// Function: Zombie::attackAnother(Creature&)
double Zombie::attackAnother(Creature &c) {
    this->specialAbility(c);
    double x = (double) getAttackPoints();
    double y = (double) c.getDefendPoints();
    return x / y;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x18(%rbp)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
cvtsi2sd %eax, %xmm1
movsd -0x18(%rbp), %xmm0
divsd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Thief.cpp
// Function: Thief::specialAbility(Hero&)
bool Thief::specialAbility(Hero &toRob) {
    if ( isAlive ) {
        if ( toRob.getGold() > 70 ) {
            this->addGold(70);
            toRob.setGold(toRob.getGold() - 70.0);
            return 1;
        } else {
            addGold(toRob.getGold());
            toRob.setGold(0.0);
            return 1;
        }
    }
    std::cout << "You died!" << endl;
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movb 0x3a(%rdi), %bl
cmpb $0x1, %bl
jne 0xa740
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x7c68
ucomisd 0x1194(%rip), %xmm0     # 0xb8b0
jbe 0xa784
movsd 0x118a(%rip), %xmm0     # 0xb8b0
movq %r15, %rdi
callq 0x96f0
movq %r14, %rdi
callq 0x7c68
addsd 0x117a(%rip), %xmm0     # 0xb8b8
jmp 0xa798
movq 0x5879(%rip), %r14      # 0xffc0
leaq 0x1172(%rip), %rsi      # 0xb8c0
movl $0x9, %edx
movq %r14, %rdi
callq 0x32d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
jmp 0xa7a0
movq %r14, %rdi
callq 0x7c68
movq %r15, %rdi
callq 0x96f0
xorpd %xmm0, %xmm0
movq %r14, %rdi
callq 0x835c
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Warrior.cpp
// Function: Warrior::specialAbility(Hero&)
bool Warrior::specialAbility(Hero &s) {
    if ( isAlive ) {
        addGold(50);
        cout << "Gold added successfully" << endl;
        return true;
    }
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movb 0x3a(%rdi), %bl
cmpb $0x1, %bl
jne 0xa914
movsd 0x100b(%rip), %xmm0     # 0xb8d8
callq 0x96f0
movq 0x56e7(%rip), %r14      # 0xffc0
leaq 0x1000(%rip), %rsi      # 0xb8e0
movl $0x17, %edx
movq %r14, %rdi
callq 0x32d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Necromancer.cpp
// Function: Necromancer::specialAbility(Hero&)
bool Necromancer::specialAbility(Hero &s) {
    if ( isAlive ) {
        army->addUnit(0,1);
        cout << "Zombie added ‫‪successfully‬‬" << endl;
        return 1;
    }
    return 0;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movb 0x3a(%rdi), %bl
cmpb $0x1, %bl
jne 0xaa49
movq 0x40(%rdi), %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x71d2
movq 0x55b2(%rip), %r14      # 0xffc0
leaq 0xeec(%rip), %rsi       # 0xb901
movl $0x25, %edx
movq %r14, %rdi
callq 0x32d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3260
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/yuroitaki[P]enigma_machine/enigma.cpp
// Function: Enigma::~Enigma()
Enigma::~Enigma(){
  delete plugb_ref;
  delete config_obj;
  for(auto iterator=rotor_vector.begin();iterator!=rotor_vector.end();iterator++){
    delete *iterator;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0x27fb
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0x27da
movq 0x28(%r14), %rsi
subq %rdi, %rsi
callq 0x2120
movq (%r14), %rdi
testq %rdi, %rdi
je 0x27ee
movq 0x10(%r14), %rsi
subq %rdi, %rsi
callq 0x2120
movl $0x38, %esi
movq %r14, %rdi
callq 0x2120
movq (%rbx), %r14
testq %r14, %r14
je 0x2825
movq 0x28(%r14), %rdi
testq %rdi, %rdi
je 0x2818
movq 0x38(%r14), %rsi
subq %rdi, %rsi
callq 0x2120
movl $0x48, %esi
movq %r14, %rdi
callq 0x2120
movq 0x10(%rbx), %r15
cmpq 0x18(%rbx), %r15
je 0x2889
movq (%r15), %r14
testq %r14, %r14
je 0x2883
movq 0x38(%r14), %rdi
testq %rdi, %rdi
je 0x284c
movq 0x48(%r14), %rsi
subq %rdi, %rsi
callq 0x2120
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x2861
movq 0x30(%r14), %rsi
subq %rdi, %rsi
callq 0x2120
movq 0x8(%r14), %rdi
testq %rdi, %rdi
je 0x2876
movq 0x18(%r14), %rsi
subq %rdi, %rsi
callq 0x2120
movl $0x60, %esi
movq %r14, %rdi
callq 0x2120
addq $0x8, %r15
jmp 0x2829
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x28a3
movq 0x20(%rbx), %rsi
subq %rdi, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x2120
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yuroitaki[P]enigma_machine/enigma.cpp
// Function: Enigma::encrypt(int&)
void Enigma::encrypt(int& code){

  int len = rotor_vector.size();
  
  plugb_ref->mapping(code,PB);             //plugboard forward mapping
  
  if (len!=0){
    Rotor* r_last = rotor_vector[len-1];
    r_last->shift_ground(RUN);             //rotate the right-hand rotor before circuit closes
    
    for (int j=len-1;j>0;j--){
      if ((rotor_vector[j])->get_notch_stat()){    //if notch is reached, engage the rotor on the left
	rotor_vector[j-1]->shift_ground(RUN);
	rotor_vector[j]->set_notch_stat(false);
      }
      }
    for(int j=len-1;j>=0;j--){
      rotor_vector[j]->encrypting(code,FORWARD);    //rotor forward mapping
    }
  }

  plugb_ref->mapping(code,RF);                     //reflector mapping
    
  if(len!=0){
    for(int j=0;j<len;j++){
      rotor_vector[j]->encrypting(code,BACKWARD);      //rotor backward mapping
    }
  }

  plugb_ref->mapping(code,PB);                   //plugboard backward mapping

  cout << static_cast<char>(code+CONVERSION);        //print result to output stream
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq 0x18(%r14), %r15
subq 0x10(%r14), %r15
shrq $0x3, %r15
movl $0x64, %edx
callq 0x3f0c
testl %r15d, %r15d
je 0x29a6
leal -0x1(%r15), %ebp
movslq %r15d, %rax
movq 0x10(%r14), %rcx
movq -0x8(%rcx,%rax,8), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x4288
movl %ebp, %r12d
cmpl $0x2, %r15d
jl 0x2944
leaq 0x1(%r12), %r13
movq 0x10(%r14), %rax
movq -0x8(%rax,%r13,8), %rdi
callq 0x4466
testb %al, %al
je 0x293b
movq 0x10(%r14), %rax
movq -0x10(%rax,%r13,8), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x4288
movq 0x10(%r14), %rax
movq -0x8(%rax,%r13,8), %rdi
xorl %esi, %esi
callq 0x43e6
decq %r13
cmpq $0x1, %r13
jg 0x2906
testl %r15d, %r15d
jle 0x2967
incq %r12
movq 0x10(%r14), %rax
movq -0x8(%rax,%r12,8), %rdi
movq %rbx, %rsi
movl $0x3e8, %edx            # imm = 0x3E8
callq 0x43ec
decq %r12
jg 0x294c
movq 0x8(%r14), %rdi
movq %rbx, %rsi
movl $0xc8, %edx
callq 0x3f0c
testl %r15d, %r15d
jle 0x29b7
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %r12d, %r12d
movq 0x10(%r14), %rax
movq (%rax,%r12,8), %rdi
movq %rbx, %rsi
movl $0x7d0, %edx            # imm = 0x7D0
callq 0x43ec
incq %r12
cmpq %r12, %r15
jne 0x2987
jmp 0x29b7
movq 0x8(%r14), %rdi
movq %rbx, %rsi
movl $0xc8, %edx
callq 0x3f0c
movq 0x8(%r14), %rdi
movq %rbx, %rsi
movl $0x64, %edx
callq 0x3f0c
movb (%rbx), %al
addb $0x41, %al
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movq 0x55ee(%rip), %rdi      # 0x7fc8
movl $0x1, %edx
callq 0x2140
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yuroitaki[P]enigma_machine/enigma.cpp
// Function: Enigma::run()
void Enigma::run(){
  char charac;
  int code;
  int count = 0;
  
  while(cin >> ws >> charac){ 
    if((charac>=CONVERSION)&&(charac<=CONVERSION+25)){        
      code = static_cast<int>(charac)-CONVERSION;
      encrypt(code);
      count ++;
    }else{
      cerr << charac;
      throw INVALID_INPUT_CHARACTER;
    }
  }
  if ((count==0)&&(cin.fail())){           
    cerr << "The input file";
    throw ERROR_OPENING_CONFIGURATION_FILE;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x55cf(%rip), %rbx      # 0x7fd8
movq %rbx, %rdi
callq 0x20e0
leaq 0x3(%rsp), %rsi
movq %rax, %rdi
callq 0x2160
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x20(%rax,%rcx), %ebp
testb $0x5, %bpl
jne 0x2a86
leaq 0x4(%rsp), %r15
movq 0x559d(%rip), %r12      # 0x7fd8
leaq 0x3(%rsp), %r13
movzbl 0x3(%rsp), %eax
leal -0x41(%rax), %ecx
cmpb $0x19, %cl
ja 0x2aa3
addl $-0x41, %eax
movl %eax, 0x4(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x28aa
movq %r12, %rdi
callq 0x20e0
movq %rax, %rdi
movq %r13, %rsi
callq 0x2160
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
je 0x2a40
testb $0x5, %bpl
je 0x2a94
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rbx,%rax)
jne 0x2ad3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsbl %al, %esi
movq 0x5543(%rip), %rdi      # 0x7ff0
callq 0x2150
movl $0x4, %edi
callq 0x2090
movl $0x2, (%rax)
movq 0x54e7(%rip), %rsi      # 0x7fb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x21b0
movq 0x5516(%rip), %rdi      # 0x7ff0
leaq 0x26c1(%rip), %rsi      # 0x51a2
callq 0x2100
movl $0x4, %edi
callq 0x2090
movl $0xb, (%rax)
jmp 0x2ac2