LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/CoinBlack[P]blackcoin-seeder/main.cpp
// Function: ThreadSeeder
void* ThreadSeeder(void*) {
  vector<string> vDnsSeeds;
  for (const string& seed: vSeeds) {
    size_t len = seed.size();
    if (len > 6 && !seed.compare(len - 6, 6, ".onion")) {
      db.Add(CService(seed.c_str(), GetDefaultPort()), true);
    } else {
      vDnsSeeds.push_back(seed);
    }
  }
  do {
    for (const string& seed: vDnsSeeds) {
      vector<CNetAddr> ips;
      LookupHost(seed.c_str(), ips);
      for (vector<CNetAddr>::iterator it = ips.begin(); it != ips.end(); it++) {
        db.Add(CService(*it, GetDefaultPort()), true);
      }
    }
    Sleep(1800000);
  } while(1);
  return nullptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
movq 0xf286(%rip), %rbx      # 0x1d7e0
movq 0xf287(%rip), %r15      # 0x1d7e8
cmpq %r15, %rbx
jne 0xe65e
movq 0x40(%rsp), %r14
movq 0x48(%rsp), %r15
cmpq %r15, %r14
je 0xe63b
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rsi
movaps %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
movq (%r14), %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x7a26
movq 0x20(%rsp), %rbx
cmpq 0x28(%rsp), %rbx
je 0xe623
leaq 0xeef0(%rip), %rax      # 0x1d4a2
movzwl (%rax), %eax
cmpb $0x0, 0xeef4(%rip)      # 0x1d4b0
movl $0x6472, %ecx           # imm = 0x6472
movl $0x3d62, %edx           # imm = 0x3D62
cmovnel %ecx, %edx
testw %ax, %ax
cmovnel %eax, %edx
movzwl %dx, %edx
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0xa322
movzwl 0x70(%rsp), %eax
movw %ax, 0x10(%rsp)
movups 0x60(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x90(%rsp), %rdi
movl $0x1, %esi
callq 0xb388
leaq 0xeead(%rip), %rdi      # 0x1d4b8
leaq 0x90(%rsp), %rsi
movl $0x1, %edx
callq 0xf808
addq $0x10, %rbx
jmp 0xe5a4
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xe632
callq 0x33c0
addq $0x20, %r14
jmp 0xe574
leaq 0x90(%rsp), %rdi
movq $0x708, (%rdi)          # imm = 0x708
movq $0x0, 0x8(%rdi)
xorl %esi, %esi
callq 0x3100
jmp 0xe56a
leaq 0x66ce(%rip), %r14      # 0x14d33
leaq 0x90(%rsp), %r12
leaq 0xee44(%rip), %r13      # 0x1d4b8
leaq 0x40(%rsp), %rbp
movq 0x8(%rbx), %rsi
cmpq $0x7, %rsi
jb 0xe69b
addq $-0x6, %rsi
movl $0x6, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq 0x3520
testl %eax, %eax
je 0xe6b4
movq %rbp, %rdi
movq %rbx, %rsi
callq 0xf846
addq $0x20, %rbx
cmpq %r15, %rbx
jne 0xe679
jmp 0xe56a
movq (%rbx), %rsi
cmpb $0x0, 0xedf2(%rip)      # 0x1d4b0
leaq 0xeddd(%rip), %rax      # 0x1d4a2
movzwl (%rax), %eax
movl $0x3d62, %ecx           # imm = 0x3D62
movl $0x6472, %edx           # imm = 0x6472
cmovnel %edx, %ecx
testw %ax, %ax
cmovnel %eax, %ecx
movzwl %cx, %edx
leaq 0x78(%rsp), %rdi
xorl %ecx, %ecx
callq 0xa460
movzwl 0x88(%rsp), %eax
movw %ax, 0x10(%rsp)
movups 0x78(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %esi
movq %r12, %rdi
callq 0xb388
movq %r13, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0xf808
jmp 0xe6a6
jmp 0xe725
jmp 0xe72a
jmp 0xe725
movq %rax, %rbx
jmp 0xe73c
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xe73c
callq 0x33c0
leaq 0x40(%rsp), %rdi
callq 0xf7c4
movq %rbx, %rdi
callq 0x3690
// File: /workspace/github_cpp_makefile_star2_O1/CoinBlack[P]blackcoin-seeder/./db.h
// Function: CAddrDb::ResultMany(std::vector<CServiceResult, std::allocator<CServiceResult>> const&)
void ResultMany(const std::vector<CServiceResult> &ips) {
    CRITICAL_BLOCK(cs) {
      for (int i=0; i<ips.size(); i++) {
        if (ips[i].fGood) {
          Good_(ips[i].service, ips[i].nClientV, ips[i].strClientV, ips[i].nHeight, ips[i].services);
        } else {
          Bad_(ips[i].service, ips[i].nBanTime);
        }
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x35d0
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0xf107
xorl %r13d, %r13d
xorl %r15d, %r15d
leaq (%rax,%r13), %r12
cmpb $0x1, 0x20(%rax,%r13)
jne 0xf0cb
movl 0x2c(%rax,%r13), %ebp
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq 0x30(%rax,%r13), %rsi
movq 0x38(%rax,%r13), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x776e
movq (%r14), %rax
movl 0x28(%rax,%r13), %r8d
movq 0x18(%rax,%r13), %r9
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
leaq 0x8(%rsp), %rcx
callq 0xb902
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xf0db
callq 0x33c0
jmp 0xf0db
movl 0x24(%rax,%r13), %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xba76
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $0x2e8ba2e8ba2e8ba3, %rdx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rdx, %rcx
addq $0x58, %r13
cmpq %r15, %rcx
ja 0xf064
movq %rbx, %rdi
callq 0x34f0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xf13a
callq 0x33c0
jmp 0xf13a
movq %rax, %r14
movq %rbx, %rdi
callq 0x34f0
movq %r14, %rdi
callq 0x3690
// File: /workspace/github_cpp_makefile_star2_O1/ahmadsalim[P]qsort-inline/benchmark_c.cpp
// Function: main
int main() {
    int ary[LARGE_SIZE];
    // generate random data
    std::generate( ary, ary + LARGE_SIZE, rnd() );
    std::qsort( ary, LARGE_SIZE, sizeof( int ), comp );
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x61a88, %rsp          # imm = 0x61A88
xorl %ebx, %ebx
movabsq $0xa7c5ac471b47843, %r14 # imm = 0xA7C5AC471B47843
callq 0x1030
movslq %eax, %rcx
movq %rcx, %rax
shrq $0x5, %rax
mulq %r14
shrq $0x7, %rdx
imull $0x186a0, %edx, %eax    # imm = 0x186A0
subl %eax, %ecx
movl %ecx, (%rsp,%rbx)
addq $0x4, %rbx
cmpq $0x61a80, %rbx          # imm = 0x61A80
jne 0x1184
leaq -0x5d(%rip), %rcx       # 0x115c
movq %rsp, %rdi
movl $0x186a0, %esi          # imm = 0x186A0
movl $0x4, %edx
callq 0x1050
xorl %eax, %eax
addq $0x61a88, %rsp          # imm = 0x61A88
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/t0mm4rx[P]piscine_cpp/day07/ex00/whatever.cpp
// Function: void swap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void swap(T &a, T &b)
{
  T tmp;
  tmp = a;
  a = b;
  b = tmp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x38(%rbp), %rdi
movq %r14, %rsi
callq 0x1070
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1070
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x1070
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x1700
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x10d0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x1723
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x10d0
movq %rbx, %rdi
callq 0x1110
// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk-extras/exprtk_symtab_functions.cpp
// Function: void symbol_table_function_names<double>()
void symbol_table_function_names()
{
   typedef exprtk::symbol_table<T> symbol_table_t;

   symbol_table_t symbol_table;

   myfunc<T> mf;

   symbol_table.add_function("f1",[](T v0) -> T { return v0;});
   symbol_table.add_function("f2",[](T v0, T v1) -> T{ return v0 / v1;});

   symbol_table.add_function("myfunc"   , mf         );
   symbol_table.add_function("otherfunc", myotherfunc);

   for (const auto& func : symbol_table.get_function_list())
   {
      printf("function: %s\n",func.c_str());
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x4dde
movw $0x0, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
movq $-0x1, 0x50(%rsp)
movq $0x2, 0x58(%rsp)
leaq 0x7df1(%rip), %rax      # 0xc958
movq %rax, 0x38(%rsp)
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x460c(%rip), %rsi      # 0x9188
leaq 0x4607(%rip), %rdx      # 0x918a
leaq 0x10(%rsp), %rdi
callq 0x4d4e
leaq 0x2168(%rip), %rdx      # 0x6cfc
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x4e26
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x4bba
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2100
leaq 0x10(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x45c2(%rip), %rsi      # 0x918b
leaq 0x45bd(%rip), %rdx      # 0x918d
callq 0x4d4e
leaq 0x213a(%rip), %rdx      # 0x6d16
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x4fa4
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c02
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2100
leaq 0x10(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x457d(%rip), %rsi      # 0x918e
leaq 0x457c(%rip), %rdx      # 0x9194
callq 0x4d4e
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x38(%rsp), %rdx
callq 0x5122
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c48
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2100
leaq 0x10(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x453e(%rip), %rsi      # 0x9195
leaq 0x4540(%rip), %rdx      # 0x919e
callq 0x4d4e
leaq 0x75d(%rip), %rdx       # 0x53c7
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x524a
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c90
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2100
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rsi
movaps %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
leaq 0x8(%rsp), %rdi
callq 0x7a88
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
cmpq %r15, %r14
je 0x4cd9
leaq 0x44dc(%rip), %rbx      # 0x919f
movq (%r14), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2040
addq $0x20, %r14
cmpq %r15, %r14
jne 0x4cc3
leaq 0x10(%rsp), %rdi
callq 0x53d8
leaq 0x8(%rsp), %rdi
callq 0x5436
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x53d8
jmp 0x4d31
jmp 0x4d12
jmp 0x4d2e
jmp 0x4d12
jmp 0x4d2e
jmp 0x4d12
jmp 0x4d2e
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x4d31
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2100
jmp 0x4d31
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5436
movq %rbx, %rdi
callq 0x2170
// File: /workspace/github_cpp_makefile_star2_O1/onlyuser[P]Sandbox/test_c/c++0x/main2.cpp
// Function: main
int main(int argc, char** argv)
{
    if(argc != 2) {
        std::cout << "Error: Need 1 arg!" << std::endl;
        return 1;
    }
    int x = atoi(argv[1]);
    std::cout << "The factorial of " << x << " is " << [](int n) -> float
                                                         {
                                                             float result = 1;
                                                             for(int i = 1; i <= n; i++) {
                                                                 result *= i;
                                                             }
                                                             return result;
                                                         }(x) << std::endl;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
cmpl $0x2, %edi
jne 0x126c
movq 0x8(%rsi), %rdi
callq 0x1090
movl %eax, %ebx
movq 0x2dd1(%rip), %r14      # 0x3fd8
leaq 0xe19(%rip), %rsi       # 0x2027
movl $0x11, %edx
movq %r14, %rdi
callq 0x1070
movq %r14, %rdi
movl %ebx, %esi
callq 0x10b0
movq %rax, %r14
leaq 0xe0a(%rip), %rsi       # 0x2039
movl $0x4, %edx
movq %rax, %rdi
callq 0x1070
testl %ebx, %ebx
jle 0x128e
negl %ebx
movss 0xdc6(%rip), %xmm0      # 0x2010
movl $0x1, %eax
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
mulss %xmm1, %xmm0
leal (%rbx,%rax), %ecx
incl %ecx
incl %eax
cmpl $0x1, %ecx
jne 0x124f
cvtss2sd %xmm0, %xmm0
jmp 0x1296
movq 0x2d65(%rip), %rbx      # 0x3fd8
leaq 0xd9a(%rip), %rsi       # 0x2014
movl $0x12, %edx
movq %rbx, %rdi
callq 0x1070
movl $0x1, %ebp
jmp 0x12a3
movsd 0xd72(%rip), %xmm0      # 0x2008
movq %r14, %rdi
callq 0x10a0
movq %rax, %rbx
xorl %ebp, %ebp
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Olverine[P]TerminalGraphics/./Maths.h
// Function: LerpVector(glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, float)
glm::vec3 LerpVector(glm::vec3 v1, glm::vec3 v2, float t) {
    float x = Lerp(v1.x, v2.x, t);
    float y = Lerp(v1.y, v2.y, t);
    float z = Lerp(v1.z, v2.z, t);
    return(glm::vec3(x, y, z));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movss 0x1b25(%rip), %xmm6     # 0x4004
subss %xmm4, %xmm6
movaps %xmm2, %xmm7
mulss %xmm4, %xmm7
movaps %xmm6, %xmm5
mulss %xmm0, %xmm5
addss %xmm7, %xmm5
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
mulss %xmm4, %xmm2
mulss %xmm6, %xmm0
addss %xmm2, %xmm0
unpcklps %xmm0, %xmm5            # xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
mulss %xmm4, %xmm3
mulss %xmm6, %xmm1
addss %xmm3, %xmm1
movaps %xmm5, %xmm0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Olverine[P]TerminalGraphics/./Maths.h
// Function: getTranslation(glm::tvec3<float, (glm::precision)0>)
glm::mat4 getTranslation(vec3 position) {
    float mat[16] = {
        1, 0, 0, position.x,
        0, 1, 0, position.y,
        0, 0, 1, position.z,
        0, 0, 0, 1
    };
    return arrayToMatrix(mat);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x4(%rdi)
movl $0x3f800000, %ecx       # imm = 0x3F800000
movl %ecx, 0x14(%rdi)
movups %xmm0, 0x18(%rdi)
movl %ecx, 0x28(%rdi)
movups %xmm0, 0x2c(%rdi)
movl %ecx, 0x3c(%rdi)
movl %ecx, (%rdi)
movl $0x0, 0x4(%rdi)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Olverine[P]TerminalGraphics/./Maths.h
// Function: getPerspective(float, float, float)
glm::mat4 getPerspective(float fov, float near, float far) {
    float mat[16] = {
        1 / tan(fov / 2), 0, 0, 0,
        0, 1 / tan(fov / 2), 0, 0,
        0, 0, -(far + near / far - near), -(2 * far * near / far - near),
        0, 0, 1, 0
    };
    return arrayToMatrix(mat);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
mulss 0x1a22(%rip), %xmm0     # 0x4008
movss %xmm0, -0xc(%rbp)
callq 0x21e0
movss 0x1a0c(%rip), %xmm1     # 0x4004
divss %xmm0, %xmm1
movss %xmm1, -0x10(%rbp)
movss -0xc(%rbp), %xmm0
callq 0x21e0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movl $0x3f800000, %eax       # imm = 0x3F800000
movl %eax, (%rbx)
movups %xmm0, 0x4(%rbx)
movl %eax, 0x14(%rbx)
movups %xmm0, 0x18(%rbx)
movl %eax, 0x28(%rbx)
movups %xmm0, 0x2c(%rbx)
movl %eax, 0x3c(%rbx)
movss -0x10(%rbp), %xmm0
movss %xmm0, (%rbx)
movl $0x0, 0x4(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Olverine[P]TerminalGraphics/./Maths.h
// Function: getView(glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>)
mat4 getView(vec3 eye, vec3 target, vec3 up) {
    vec3 zaxis = normalize(eye - target); // The "forward" vector.
    vec3 xaxis = normalize(cross(up, zaxis)); // The "right" vector.
    vec3 yaxis = cross(zaxis, xaxis); // The "up" vector.

    // Create a 4x4 view matrix from the right, up, forward and eye position vectors
    float viewMatrix[16] = {
        xaxis.x, yaxis.x, zaxis.x, 0,
        xaxis.y, yaxis.y, zaxis.y, 0,
        xaxis.z, yaxis.z, zaxis.z, 0,
        -dot(xaxis, eye), -dot(yaxis, eye), -dot(zaxis, eye),  1
    };

    return arrayToMatrix(viewMatrix);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x38, %rsp
movaps %xmm0, %xmm7
movq %rdi, %rbx
subps %xmm2, %xmm7
movaps %xmm7, %xmm2
shufps $0x55, %xmm7, %xmm2     # xmm2 = xmm2[1,1],xmm7[1,1]
subss %xmm3, %xmm1
movaps %xmm7, %xmm0
mulss %xmm7, %xmm0
movaps %xmm2, %xmm3
mulss %xmm2, %xmm3
addss %xmm0, %xmm3
movaps %xmm1, %xmm0
mulss %xmm1, %xmm0
addss %xmm3, %xmm0
xorps %xmm9, %xmm9
ucomiss %xmm9, %xmm0
jb 0x269d
sqrtss %xmm0, %xmm0
jmp 0x26d2
movaps %xmm2, -0x40(%rbp)
movaps %xmm4, -0x30(%rbp)
movss %xmm1, -0x10(%rbp)
movss %xmm5, -0xc(%rbp)
movaps %xmm7, -0x20(%rbp)
callq 0x2240
xorps %xmm9, %xmm9
movaps -0x20(%rbp), %xmm7
movss -0xc(%rbp), %xmm5
movss -0x10(%rbp), %xmm1
movaps -0x30(%rbp), %xmm4
movaps -0x40(%rbp), %xmm2
movss 0x1929(%rip), %xmm8     # 0x4004
movaps %xmm8, %xmm3
divss %xmm0, %xmm3
mulss %xmm3, %xmm7
mulss %xmm3, %xmm2
mulss %xmm3, %xmm1
movaps %xmm4, %xmm0
shufps $0x55, %xmm4, %xmm0     # xmm0 = xmm0[1,1],xmm4[1,1]
movaps %xmm2, %xmm3
mulss %xmm5, %xmm3
movaps %xmm0, %xmm6
mulss %xmm1, %xmm6
subss %xmm3, %xmm6
movaps %xmm4, %xmm3
mulss %xmm1, %xmm3
mulss %xmm7, %xmm5
subss %xmm3, %xmm5
mulss %xmm7, %xmm0
mulss %xmm2, %xmm4
subss %xmm0, %xmm4
movaps %xmm6, %xmm0
mulss %xmm6, %xmm0
movaps %xmm5, %xmm3
mulss %xmm5, %xmm3
addss %xmm0, %xmm3
movaps %xmm4, %xmm0
mulss %xmm4, %xmm0
addss %xmm3, %xmm0
ucomiss %xmm9, %xmm0
jb 0x274c
sqrtss %xmm0, %xmm0
jmp 0x2786
movaps %xmm2, -0x40(%rbp)
movaps %xmm4, -0x30(%rbp)
movss %xmm1, -0x10(%rbp)
movss %xmm5, -0xc(%rbp)
movaps %xmm6, -0x20(%rbp)
callq 0x2240
movss 0x1894(%rip), %xmm8     # 0x4004
movaps -0x20(%rbp), %xmm6
movss -0xc(%rbp), %xmm5
movss -0x10(%rbp), %xmm1
movaps -0x30(%rbp), %xmm4
movaps -0x40(%rbp), %xmm2
divss %xmm0, %xmm8
mulss %xmm8, %xmm6
mulss %xmm8, %xmm4
mulss %xmm8, %xmm5
mulss %xmm5, %xmm1
mulss %xmm4, %xmm2
subss %xmm1, %xmm2
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x4(%rbx)
movl $0x3f800000, %eax       # imm = 0x3F800000
movl %eax, 0x14(%rbx)
movups %xmm0, 0x18(%rbx)
movl %eax, 0x28(%rbx)
movups %xmm0, 0x2c(%rbx)
movl %eax, 0x3c(%rbx)
movss %xmm6, (%rbx)
movss %xmm2, 0x4(%rbx)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Olverine[P]TerminalGraphics/./Graphics.h
// Function: DrawPoint(glm::tvec3<float, (glm::precision)0>)
void DrawPoint(vec3 point) {
	int index = pixelLocationToCharIndex(point);
	if (pointIsOutOfBounds(point) || point.z < zBuffer[index]) return;

	char c = getGreyscaleChar(point.z);
	setPixel(index, c, point.z);
	if (point.z < zBuffer[index + 1]) return;
	setPixel(index + 1, c, point.z);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movss %xmm1, -0x14(%rbp)
movaps %xmm0, -0x30(%rbp)
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movaps %xmm0, -0x40(%rbp)
addss 0x1704(%rip), %xmm0     # 0x400c
callq 0x2170
movss %xmm0, -0x18(%rbp)
movaps -0x30(%rbp), %xmm0
addss %xmm0, %xmm0
callq 0x2170
movaps 0x170a(%rip), %xmm1     # 0x4030
movaps -0x30(%rbp), %xmm2
andps %xmm1, %xmm2
ucomiss 0x16d8(%rip), %xmm2     # 0x400c
ja 0x29e0
movaps -0x40(%rbp), %xmm2
andps %xmm1, %xmm2
ucomiss 0x16c4(%rip), %xmm2     # 0x400c
ja 0x29e0
movss -0x18(%rbp), %xmm1
mulss 0x16b5(%rip), %xmm1     # 0x4010
addss 0x16b1(%rip), %xmm1     # 0x4014
addss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movslq %eax, %rbx
leaq 0x384b(%rip), %r14      # 0x61c0
movss (%r14,%rbx,4), %xmm0
ucomiss -0x14(%rbp), %xmm0
ja 0x29e0
movss 0x168f(%rip), %xmm0     # 0x4018
mulss -0x14(%rbp), %xmm0
callq 0x2080
cvttss2si %xmm0, %eax
cltq
leaq 0x37ac(%rip), %rcx      # 0x614c
movb 0x4(%rax,%rcx), %dl
movq 0x37ed(%rip), %rsi      # 0x6198
movb %dl, (%rsi,%rbx)
movss -0x14(%rbp), %xmm1
movss %xmm1, (%r14,%rbx,4)
movss 0x4(%r14,%rbx,4), %xmm0
ucomiss %xmm1, %xmm0
ja 0x29e0
movb 0x4(%rax,%rcx), %al
movq 0x37c8(%rip), %rcx      # 0x6198
movb %al, 0x1(%rcx,%rbx)
movss -0x14(%rbp), %xmm0
movss %xmm0, 0x4(%r14,%rbx,4)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Olverine[P]TerminalGraphics/./Graphics.h
// Function: initViewPort()
void initViewPort(){
	for(int y = 0; y < 33; y++) {
		for (int x = 0; x < 33; x++) {
			clear += "  ";
		}
		clear += "\n";
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
xorl %r12d, %r12d
leaq 0x2df5(%rip), %rbx      # 0x6178
leaq 0xce6(%rip), %r14       # 0x4070
leaq 0xce2(%rip), %r15       # 0x4073
movl $0x21, %r13d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2260
decl %r13d
jne 0x3397
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2260
incl %r12d
cmpl $0x21, %r12d
jne 0x3391
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/hcoona[P]POJ-Solutions/P1061.cpp
// Function: POJ::P1061::Run(std::istream&, std::ostream&)
void P1061::Run(istream &in, ostream &out)
    {
        int x, y, m, n, L;
        in >> x >> y >> m >> n >> L;
        int result = Solve(x, y, m, n, L);
        if (result != INVALID) {
            out << result << endl;
        } else {
            out << "Impossible" << endl;
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %rdi
leaq 0x14(%rsp), %r14
movq %r14, %rsi
callq 0x1040
leaq 0x10(%rsp), %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x1040
leaq 0xc(%rsp), %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0x1040
leaq 0x8(%rsp), %r13
movq %rax, %rdi
movq %r13, %rsi
callq 0x1040
leaq 0x4(%rsp), %rbp
movq %rax, %rdi
movq %rbp, %rsi
callq 0x1040
movl (%r14), %esi
movl (%r15), %edx
movl (%r12), %ecx
movl (%r13), %r8d
movl (%rbp), %r9d
callq 0x12f2
cmpl $-0x1, %eax
je 0x12a8
movq %rbx, %rdi
movl %eax, %esi
callq 0x10e0
movq %rax, %rbx
jmp 0x12bc
leaq 0xd71(%rip), %rsi       # 0x2020
movl $0xa, %edx
movq %rbx, %rdi
callq 0x10b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x1080
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/hcoona[P]POJ-Solutions/P1061.cpp
// Function: POJ::P1061::Solve(int, int, int, int, int) const
int P1061::Solve(int x, int y, int m, int n, int L) const
    {
        int a = m - n, b = L, c = y - x;
        int x0, gcd;
        tie(x0, ignore, gcd) = Extended_GCD(a, b);
        if (a && (c % gcd == 0)) {
            int scale = c / gcd;
            double t = -static_cast<double>(x0) * c / b;
            int x = x0 * scale + b / gcd * static_cast<int>(floor(t));
            return x < 0 ? (x + b / gcd) : x;
        } else if (c % L == 0) {
            return 0;
        } else {
            return INVALID;
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %r15d
movl %ecx, %r12d
movl %edx, %r14d
movl %esi, 0x4(%rsp)
movl %ecx, %ebp
subl %r8d, %ebp
testl %r9d, %r9d
movl %r9d, (%rsp)
je 0x134c
movl $0x1, %r13d
xorl %eax, %eax
movl %r9d, %ecx
movl %ebp, %edi
movl %eax, %ebx
movl %ecx, %ebp
movl %ecx, %esi
callq 0x1070
movq %rax, %rcx
shrq $0x20, %rcx
imull %ebx, %eax
subl %eax, %r13d
movl %r13d, %eax
movl %ebp, %edi
movl %ebx, %r13d
testq %rcx, %rcx
jne 0x1325
jmp 0x1351
movl $0x1, %ebx
subl 0x4(%rsp), %r14d
cmpl %r15d, %r12d
je 0x1365
movl %r14d, %eax
cltd
idivl %ebp
testl %edx, %edx
je 0x1381
movl %r14d, %eax
cltd
idivl (%rsp)
xorl %eax, %eax
negl %edx
sbbl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %r15d
cvtsi2sd %ebx, %xmm1
xorpd 0xc80(%rip), %xmm1      # 0x2010
cvtsi2sd %r14d, %xmm0
mulsd %xmm1, %xmm0
movl (%rsp), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
imull %ebx, %r15d
cltd
idivl %ebp
movl %eax, %ebx
callq 0x10d0
cvttsd2si %xmm0, %ecx
imull %ebx, %ecx
addl %r15d, %ecx
movl %ecx, %eax
sarl $0x1f, %eax
andl %ebx, %eax
addl %ecx, %eax
jmp 0x1372
// File: /workspace/github_cpp_makefile_star2_O1/hcoona[P]POJ-Solutions/P1061.cpp
// Function: POJ::P1061::Extended_GCD(int, int) const
tuple<int, int, int> P1061::Extended_GCD(int a, int b) const
    {
        int x = 0, y = 1;
        int lastx = 1, lasty = 0;
        while (b != 0) {
            auto qr = div(a, b);
            a = b, b = qr.rem;
            int tmpx = x, tmpy = y;
            x = lastx - qr.quot * x, lastx = tmpx;
            y = lasty - qr.quot * y, lasty = tmpy;
        }
        return make_tuple(lastx, lasty, a);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
testl %ecx, %ecx
je 0x142d
movl $0x1, %edx
xorl %eax, %eax
xorl %r12d, %r12d
movl %ebp, %edi
movl $0x1, %r13d
movl %edx, %r14d
movl %eax, %r15d
movl %ecx, %ebp
movl %ecx, %esi
callq 0x1070
movl %r15d, %edx
imull %eax, %edx
movl %r14d, %esi
imull %eax, %esi
movq %rax, %rcx
shrq $0x20, %rcx
subl %edx, %r13d
subl %esi, %r12d
movl %r13d, %eax
movl %r12d, %edx
movl %r14d, %r12d
movl %ebp, %edi
movl %r15d, %r13d
testq %rcx, %rcx
jne 0x13f0
jmp 0x1436
xorl %r14d, %r14d
movl $0x1, %r15d
movl %ebp, (%rbx)
movl %r14d, 0x4(%rbx)
movl %r15d, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/main.cpp
// Function: main
int main(){
	//	hold user choice
	int choice;

	//	loop until user decides to exit
	do{
		//  calls menu function which displays 2 options 1) play 2) quit
		displayMenu();
		choice = validate(1,2);
		actOnChoice(choice);
	}while(choice != 2);

    return 0;
}

// Assembly:
pushq %rbx
callq 0x2493
movl $0x1, %edi
movl $0x2, %esi
callq 0x662c
movl %eax, %ebx
movl %eax, %edi
callq 0x254e
cmpl $0x2, %ebx
jne 0x246d
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/main.cpp
// Function: actOnChoice(int)
void actOnChoice(int selection){
	switch(selection){
		//	Play game
		case 1:
		{
			Game game;
			game.play();
			break;
		}
		//	Quit
		case 2:
		{
			std::cout << "Goodbye!" << std::endl;
			break;
		}
	}
}

// Assembly:
pushq %rbx
subq $0x60, %rsp
cmpl $0x2, %edi
je 0x257e
cmpl $0x1, %edi
jne 0x2578
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x4f20
movq %rbx, %rdi
callq 0x5ee4
movq %rsp, %rdi
callq 0x6092
addq $0x60, %rsp
popq %rbx
retq
movq 0x7a4b(%rip), %rbx      # 0x9fd0
leaq 0x4acb(%rip), %rsi      # 0x7057
movl $0x8, %edx
movq %rbx, %rdi
callq 0x2160
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x60, %rsp
popq %rbx
jmp 0x20d0
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6092
movq %rbx, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Engine.cpp
// Function: Engine::checkKey(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool Engine::checkKey(std::vector<std::string>& container, std::string search){
	//	iterator used to store the position of searched element
	std::vector<std::string>::iterator it;

	//	print backpack content
	std::cout << "Backpack contents:\n";
	for(unsigned int i = 0; i < container.size(); i++){
		std::cout << "item " << i + 1 << " - " << container[i] << std::endl;
	}

    std::cout << std::endl;

	//	std::find function call
	it = std::find(container.begin(), container.end(), search);

	if(it != container.end()){
		return true;
	}
	else{
		return false;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, (%rsp)
movq %rsi, %rbx
movq 0x7541(%rip), %rdi      # 0x9fd0
leaq 0x47a7(%rip), %rsi      # 0x723d
movl $0x13, %edx
callq 0x2160
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x2b52
movl $0x1, %r13d
xorl %r14d, %r14d
movq 0x7513(%rip), %r12      # 0x9fd0
movl $0x5, %edx
movq %r12, %rdi
leaq 0x46e7(%rip), %rsi      # 0x71b3
callq 0x2160
movl %r13d, %ebp
movq %r12, %rdi
movq %rbp, %rsi
callq 0x20c0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
leaq 0x46c8(%rip), %rsi      # 0x71b9
callq 0x2160
movq (%rbx), %rax
shlq $0x5, %r14
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
movq %r15, %rdi
callq 0x2160
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x5, %rax
incl %r13d
movq %rbp, %r14
cmpq %rbp, %rax
ja 0x2abd
movq 0x7477(%rip), %r14      # 0x9fd0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
movq (%rsp), %rdx
callq 0x34c3
cmpq 0x8(%rbx), %rax
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Game.cpp
// Function: Game::displaySteps()
void Game::displaySteps(){
	//	display steps taken and steps remaining
	std::cout << "************ Step Information ***************" << std::endl;
	std::cout << "\nSteps taken: " << steps << std::endl;
	std::cout << "Steps remaining: " << 20 - steps << std::endl;

	std::cout << std::endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x45df(%rip), %rbx      # 0x9fd0
leaq 0x1e02(%rip), %rsi      # 0x77fa
movl $0x2d, %edx
movq %rbx, %rdi
callq 0x2160
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x1df5(%rip), %rsi      # 0x7828
movl $0xe, %edx
movq %rbx, %rdi
callq 0x2160
movl (%r14), %esi
movq %rbx, %rdi
callq 0x2190
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x1dbb(%rip), %rsi      # 0x7837
movl $0x11, %edx
movq %rbx, %rdi
callq 0x2160
movl $0x14, %esi
subl (%r14), %esi
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x20d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Game.cpp
// Function: Game::inGameMenu()
void Game::inGameMenu(){
	//	3 options
	int actionChoice;
	bool moved = false;
	do{
		//	display map
		displayMap(location->getCarName());

		std::cout << "\nAction Menu\n";
		std::cout << "1) Left\n";
		std::cout << "2) Right\n";
		std::cout << "3) Check backpack\n";

		std::cout << "Enter your choice: " << std::endl;

		actionChoice = validate(1,3);

		switch(actionChoice){
			//	Go left
			case 1:
			{
				if(location->getLeft() != nullptr){
					location = location->getLeft();
					moved = true;
				}
				else{
					std::cout << "\nThere is no train car to the left!\n" << std::endl;
				}
				break;
			}

			//	Go right
			case 2:
			{
				if(location->getRight() != nullptr){
					location = location->getRight();
					moved = true;
				}
				else{
					std::cout << "\nThere is no train car to the right!\n";
				}
				break;
			}

			//	See backpack
			case 3:
			{
				//	print contents of backpack
				this->printContainer();
				break;
			}
		}
	}while(!moved);

	//	increment steps after successfully moving
	steps++;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorl %ebp, %ebp
leaq 0x8(%rsp), %r14
movq 0x44c1(%rip), %r15      # 0x9fd0
leaq 0x1d54(%rip), %r12      # 0x786a
leaq 0x1526(%rip), %r13      # 0x7043
movq 0x38(%rbx), %rsi
movq %r14, %rdi
callq 0x65be
movq %r14, %rdi
callq 0x6174
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5b4d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2140
movl $0xd, %edx
movq %r15, %rdi
leaq 0x1ced(%rip), %rsi      # 0x7849
callq 0x2160
movl $0x8, %edx
movq %r15, %rdi
leaq 0x1ce7(%rip), %rsi      # 0x7857
callq 0x2160
movl $0x9, %edx
movq %r15, %rdi
leaq 0x1cdc(%rip), %rsi      # 0x7860
callq 0x2160
movl $0x12, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2160
movl $0x13, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x2160
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movl $0x1, %edi
movl $0x3, %esi
callq 0x662c
cmpl $0x1, %eax
je 0x5c18
cmpl $0x2, %eax
je 0x5bff
cmpl $0x3, %eax
jne 0x5c89
movq %rbx, %rdi
callq 0x5ccc
jmp 0x5c89
movq 0x38(%rbx), %rdi
callq 0x65b8
testq %rax, %rax
je 0x5c38
movq 0x38(%rbx), %rdi
callq 0x65b8
jmp 0x5c2f
movq 0x38(%rbx), %rdi
callq 0x65b2
testq %rax, %rax
je 0x5c4e
movq 0x38(%rbx), %rdi
callq 0x65b2
movq %rax, 0x38(%rbx)
movb $0x1, %bpl
jmp 0x5c89
movl $0x25, %edx
movq %r15, %rdi
leaq 0x1c5b(%rip), %rsi      # 0x78a2
callq 0x2160
jmp 0x5c89
movl $0x24, %edx
movq %r15, %rdi
leaq 0x1c20(%rip), %rsi      # 0x787d
callq 0x2160
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
testb $0x1, %bpl
je 0x5b1d
incl (%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5cc3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2140
movq %rbx, %rdi
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Game.cpp
// Function: Game::printContainer()
void Game::printContainer(){

	//	print backpack content
	std::cout << "Backpack contents: " << std::endl;
	if(container.empty()){
		std::cout << "You do not have any items in your backpack\n" << std::endl;
	}
	else{
		for(unsigned int i = 0; i < container.size(); i++){
			std::cout << "item " << i + 1 << " - " << container[i] << std::endl;
		}
	}

	//empty line
	std::cout << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x42ef(%rip), %rbx      # 0x9fd0
leaq 0x14b7(%rip), %rsi      # 0x719f
movl $0x13, %edx
movq %rbx, %rdi
callq 0x2160
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x40(%r14), %rax
cmpq 0x48(%r14), %rax
je 0x5de0
movq 0x48(%r14), %rax
cmpq 0x40(%r14), %rax
je 0x5e1b
movl $0x1, %r12d
xorl %ebp, %ebp
movq 0x4289(%rip), %r15      # 0x9fd0
movl $0x5, %edx
movq %r15, %rdi
leaq 0x145d(%rip), %rsi      # 0x71b3
callq 0x2160
movl %r12d, %r13d
movq %r15, %rdi
movq %r13, %rsi
callq 0x20c0
movq %rax, %rbx
movl $0x3, %edx
movq %rax, %rdi
leaq 0x143e(%rip), %rsi      # 0x71b9
callq 0x2160
movq 0x40(%r14), %rax
shlq $0x5, %rbp
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %rbx, %rdi
callq 0x2160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x48(%r14), %rax
subq 0x40(%r14), %rax
sarq $0x5, %rax
incl %r12d
movq %r13, %rbp
cmpq %r13, %rax
ja 0x5d47
jmp 0x5e1b
leaq 0x1ae1(%rip), %rsi      # 0x78c8
movl $0x2b, %edx
movq %rbx, %rdi
callq 0x2160
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x41ae(%rip), %rbx      # 0x9fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Game.cpp
// Function: Game::checkHero()
bool Game::checkHero(){
	//	iterator used to store the position of searched element
	std::vector<std::string>::iterator it;

	std::string search = "a hero badge";

	//	std::find function call
	it = std::find(container.begin(), container.end(), search);

	if(it != container.end()){
		return true;
	}
	else{
		return false;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1705(%rip), %rsi      # 0x7579
leaq 0x170a(%rip), %rdx      # 0x7585
movq %rsp, %r14
movq %r14, %rdi
callq 0x31cc
movq 0x40(%rbx), %rdi
movq 0x48(%rbx), %rsi
movq %r14, %rdx
callq 0x34c3
movq %rax, %r14
movq 0x48(%rbx), %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x5eb3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2140
cmpq %rbx, %r14
setne %al
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x5edc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2140
movq %rbx, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Game.cpp
// Function: Game::play()
void Game::play(){
	//	Display goal
	this->displayGoal();

	while(steps <= 20 && !hero){
		//	display steps taken and steps remaining
		this->displaySteps();
		//	display map
		displayMap(location->getCarName());
		std::cout << "**********************************************" << std::endl;

		//	special action based on car
		location->action(container);

		//	check hero status
		this->hero = this->checkHero();

		//	break out of loop if your out of steps
		if(steps == 20){
			break;
		}

		//	if you have the hero badge you won the game 
		if(hero){
			break;
		}
		//	display action menu
		this->inGameMenu();
	}

	//	if you lost the game
	if(!hero){
		std::cout << "\nYou ran out of time and the train derailed! You lost!\n" << std::endl;
		std::cout << "***********************************************" << std::endl;
	}
	//	if you won the game
	else{
		std::cout << "\nYou are a hero and saved the train from derailing! Game Won!\n" << std::endl;
		std::cout << "***********************************************" << std::endl;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x5800
cmpl $0x14, (%rbx)
jg 0x5fc5
leaq 0x18(%rsp), %rbp
leaq 0x40(%rbx), %r14
leaq 0x8(%rsp), %r15
movq 0x40b8(%rip), %r12      # 0x9fd0
leaq 0x1a0e(%rip), %r13      # 0x792d
cmpb $0x0, 0x58(%rbx)
jne 0x5fc5
movq %rbx, %rdi
callq 0x59e2
movq 0x38(%rbx), %rsi
movq %r15, %rdi
callq 0x65be
movq %r15, %rdi
callq 0x6174
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5f5c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2140
movl $0x2e, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x2160
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq %rbx, %rdi
callq 0x5e58
movb %al, 0x58(%rbx)
testb %al, %al
jne 0x5fc5
cmpl $0x14, (%rbx)
je 0x5fc5
movq %rbx, %rdi
callq 0x5af0
cmpl $0x15, (%rbx)
jl 0x5f1f
cmpb $0x0, 0x58(%rbx)
je 0x5fe0
movq 0x3ffe(%rip), %rdi      # 0x9fd0
leaq 0x1983(%rip), %rsi      # 0x795c
movl $0x3e, %edx
jmp 0x5ff3
movq 0x3fe9(%rip), %rdi      # 0x9fd0
leaq 0x1906(%rip), %rsi      # 0x78f4
movl $0x37, %edx
callq 0x2160
movq 0x3fd1(%rip), %rbx      # 0x9fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x18ff(%rip), %rsi      # 0x792c
movl $0x2f, %edx
movq %rbx, %rdi
callq 0x2160
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x608a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2140
movq %rbx, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Game.cpp
// Function: Game::~Game()
Game::~Game(){

	//	If you lose the game then set player to engine car to avoid memory leaks
	if(this->hero == false){
		while(location->getRight() != nullptr){
			location = location->getRight();
		}
	}

	//	delete cars from the engine to the caboose
	while(location->getLeft() != nullptr){
		Space* temp = location;
		location = location->getLeft();
		delete temp;
	}
	delete location;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, 0x58(%rdi)
jne 0x60d1
movq 0x38(%rbx), %rdi
callq 0x65b8
testq %rax, %rax
je 0x60d1
movq 0x38(%rbx), %rdi
callq 0x65b8
movq %rax, 0x38(%rbx)
jmp 0x609f
movq %r14, %rdi
callq 0x65b2
movq %rax, 0x38(%rbx)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq 0x38(%rbx), %rdi
callq 0x65b2
movq 0x38(%rbx), %r14
testq %rax, %rax
jne 0x60bc
testq %r14, %r14
je 0x60f1
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
addq $0x40, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x610e
jmp 0x6106
movq %rax, %rdi
callq 0x6169
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/Space.cpp
// Function: Space::Space(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Space::Space(std::string m_name, std::string m_action, std::string m_item){
	this->carName = m_name;
	this->actionName = m_action;
	this->itemName = m_item;
	this->actionTaken = false;
	this->itemTaken = false;
	this->top = nullptr;
	this->bottom = nullptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbp
movq %rdx, %rbx
movq %rdi, %r13
leaq 0x3836(%rip), %rax      # 0x9d18
movq %rax, (%rdi)
addq $0x30, %rdi
leaq 0x40(%r13), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x30(%r13)
xorl %eax, %eax
movq %rax, 0x38(%r13)
movb %al, 0x40(%r13)
leaq 0x50(%r13), %rcx
movq %rcx, (%rsp)
leaq 0x60(%r13), %r12
movq %r12, 0x50(%r13)
movq %rax, 0x58(%r13)
movb %al, 0x60(%r13)
leaq 0x70(%r13), %r14
leaq 0x80(%r13), %r15
movq %r15, 0x70(%r13)
movq %rax, 0x78(%r13)
movb %al, 0x80(%r13)
movq %rdi, 0x10(%rsp)
callq 0x2090
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x2090
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2090
movw $0x0, 0x28(%r13)
xorl %eax, %eax
movq %rax, 0x8(%r13)
movq %rax, 0x18(%r13)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x6589
movq (%r15), %rsi
incq %rsi
callq 0x2140
movq (%rsp), %rdi
movq %r12, %rsi
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rcx
callq 0x2205
movq %rbx, %rdi
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/isimplyexcel[P]text-based-game/validate.cpp
// Function: validate(int, int)
int validate(int min, int max) {
    int choice;
    bool isValid = false;
    do {
        std::cin >> choice;

        if(!std::cin.fail() && (choice >= min && choice <= max)){
            isValid = true;
            std::cin.clear();	//	clear buffer
            std::cin.ignore(256, '\n');	// referenced stack overflow and TA james
        }
        else{
            std::cin.clear();	//	clear buffer
            std::cin.ignore(256, '\n');	// referenced stack overflow and TA james
            std::cout << "Invalid input. Please try again: " << std::endl;
                      //<< min << " and " << max << ": " << std::endl;
        }
    } while(!isValid);

    return choice;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, 0x4(%rsp)
movl %edi, %ebp
xorl %ebx, %ebx
movq 0x399a(%rip), %r14      # 0x9fe0
movq %rsp, %r15
movq 0x3980(%rip), %r12      # 0x9fd0
leaq 0x1364(%rip), %r13      # 0x79bb
movq %r14, %rdi
movq %r15, %rsi
callq 0x20a0
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
testb $0x5, 0x20(%r14,%rax)
jne 0x6688
movl (%rsp), %eax
cmpl %ebp, %eax
setl %cl
cmpl 0x4(%rsp), %eax
setg %al
orb %cl, %al
je 0x66e4
xorl %esi, %esi
callq 0x2180
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
movl $0xa, %edx
callq 0x20b0
movl $0x21, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x2160
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
testb $0x1, %bl
je 0x6657
jmp 0x6701
xorl %esi, %esi
callq 0x2180
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
movl $0xa, %edx
callq 0x20b0
movb $0x1, %bl
jmp 0x66d9
movl (%rsp), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/AngelPn[P]L5R-card_game/src/main.cpp
// Function: main
int main(void){
	GameBoard Legend_of_5_Rings;
	std::cout<< "How many players? Type a number: (2-8): ";
	int no_players= 0;
	while(no_players< 2 || no_players> 8){
		std::cin>> no_players;
		std::cout<< std::endl;
	}
	Legend_of_5_Rings.initializeGameBoard(no_players);
	Legend_of_5_Rings.gameplay();

	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0xead3(%rip), %rbx      # 0x11fd0
leaq 0x8b00(%rip), %rsi      # 0xc004
movl $0x28, %edx
movq %rbx, %rdi
callq 0x31a0
leaq 0xc(%rsp), %r14
movl $0x0, (%r14)
movq 0xeabc(%rip), %r15      # 0x11fe0
movl 0xc(%rsp), %esi
leal -0x9(%rsi), %eax
cmpl $-0x8, %eax
ja 0x3564
movq %r15, %rdi
movq %r14, %rsi
callq 0x30d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x30f0
jmp 0x3524
leaq 0x10(%rsp), %rdi
callq 0x6ca8
leaq 0x10(%rsp), %rdi
callq 0x6f98
leaq 0x10(%rsp), %rdi
callq 0x6c44
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x3592
jmp 0x3592
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6c44
movq %rbx, %rdi
callq 0x3220
nop
// File: /workspace/github_cpp_makefile_star2_O1/AngelPn[P]L5R-card_game/src/DeckBuilder.cpp
// Function: DeckBuilder::~DeckBuilder()
DeckBuilder::~DeckBuilder()
{
	list<BlackCard *>::iterator it = black->begin(),it3;
	list<GreenCard *>::iterator it2 = green->begin(),it4;
	while (it != black->end())
	{
		it3 = it++;
		delete *it3;
		black->remove((*it3));
	}
	while (it2 != green->end())
	{
		it4 = it2++;
		delete *it4;
		green->remove((*it4));
	}
	delete black;
	delete green;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq (%rcx), %r15
movq (%rax), %r14
cmpq %rcx, %r15
je 0x364f
movq (%r15), %r12
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x3636
movq (%rdi), %rax
callq *0x18(%rax)
addq $0x10, %r15
movq 0x8(%rbx), %rdi
movq %r15, %rsi
callq 0x4ba2
movq %r12, %r15
cmpq 0x8(%rbx), %r12
jne 0x3624
cmpq (%rbx), %r14
je 0x36c8
leaq 0xdf2d(%rip), %r12      # 0x11588
leaq 0xdf6e(%rip), %r13      # 0x115d0
movq (%r14), %rbp
movq 0x10(%r14), %r15
testq %r15, %r15
je 0x36b1
movq %r12, (%r15)
movq 0x30(%r15), %rdi
leaq 0x40(%r15), %rax
cmpq %rax, %rdi
je 0x3689
movq (%rax), %rsi
incq %rsi
callq 0x3180
movq %r13, (%r15)
movq 0x8(%r15), %rdi
leaq 0x18(%r15), %rax
cmpq %rax, %rdi
je 0x36a4
movq (%rax), %rsi
incq %rsi
callq 0x3180
movl $0x68, %esi
movq %r15, %rdi
callq 0x3180
addq $0x10, %r14
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x4c34
movq %rbp, %r14
cmpq (%rbx), %rbp
jne 0x3662
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x36fb
movq (%r14), %rdi
cmpq %r14, %rdi
je 0x36ee
movq (%rdi), %r15
movl $0x18, %esi
callq 0x3180
movq %r15, %rdi
cmpq %r14, %r15
jne 0x36d9
movl $0x18, %esi
movq %r14, %rdi
callq 0x3180
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x373b
movq (%rbx), %rdi
cmpq %rbx, %rdi
je 0x3720
movq (%rdi), %r14
movl $0x18, %esi
callq 0x3180
movq %r14, %rdi
cmpq %rbx, %r14
jne 0x370b
movl $0x18, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3180
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq