LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/leonn[P]neuralNet/source/trainingdata.cpp
// Function: TrainingData::getTargetOutputs(std::vector<double, std::allocator<double>>&)
unsigned TrainingData::getTargetOutputs(vector<double> &targetOutputVals){
    targetOutputVals.clear();

    string line;
    getline(trainingDataFile, line);
    stringstream ss(line);

    string label;
    ss>> label;
    if (label.compare("out:") == 0) {
        long double oneValue;
        while (ss >> oneValue) {
            targetOutputVals.push_back(oneValue);
        }
    }

    return targetOutputVals.size();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
cmpq %rax, 0x8(%rsi)
je 0x5355
movq %rax, 0x8(%rbx)
leaq -0x48(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %edx
leaq -0x58(%rbp), %rsi
movq %r14, %rdi
callq 0x2360
leaq -0x218(%rbp), %rdi
leaq -0x58(%rbp), %rsi
movl $0x18, %edx
callq 0x22e0
leaq -0x68(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq -0x218(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x2270
leaq 0xdf7(%rip), %rsi       # 0x61c4
leaq -0x78(%rbp), %rdi
callq 0x2090
testl %eax, %eax
jne 0x5441
leaq -0x218(%rbp), %r14
leaq -0x90(%rbp), %r15
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x2250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x543d
fldt -0x90(%rbp)
fstpl -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x5430
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x53ec
movq %rbx, %rdi
movq %r12, %rdx
callq 0x3226
jmp 0x53ec
leaq -0x48(%rbp), %r15
movq (%rbx), %r14
movq 0x8(%rbx), %rbx
movq -0x78(%rbp), %rdi
cmpq %r13, %rdi
je 0x5456
callq 0x21f0
movq 0x3b63(%rip), %rsi      # 0x8fc0
leaq -0x218(%rbp), %rdi
callq 0x2180
leaq -0x198(%rbp), %rdi
callq 0x20a0
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x5483
callq 0x21f0
subq %r14, %rbx
shrq $0x3, %rbx
movl %ebx, %eax
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x54a9
jmp 0x54a2
movq %rax, %rbx
jmp 0x54d9
jmp 0x54a9
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r13, %rdi
je 0x54ba
callq 0x21f0
movq 0x3aff(%rip), %rsi      # 0x8fc0
leaq -0x218(%rbp), %rdi
callq 0x2180
leaq -0x198(%rbp), %rdi
callq 0x20a0
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x54eb
callq 0x21f0
movq %rbx, %rdi
callq 0x2340
nop
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::acceptor::accept_connections()
bool accept_connections()
         {
            try
            {
               session_ = boost::shared_ptr<bridge>(new bridge(io_service_, delay_));

               acceptor_.async_accept(session_->downstream_socket(),
                    boost::bind(&acceptor::handle_accept,
                         this,
                         boost::asio::placeholders::error));
            }
            catch(std::exception& e)
            {
               std::cerr << "acceptor exception: " << e.what() << std::endl;
               return false;
            }

            return true;
         }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl $0x40e0, %edi           # imm = 0x40E0
callq 0x7330
movq %rax, %r15
movq (%rbx), %rsi
movzwl 0x8(%rbx), %edx
movq %rax, %rdi
callq 0xf772
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0xf806
leaq 0x60(%rbx), %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0xf89c
movq 0x10(%rsp), %r15
testq %r15, %r15
je 0x8ac0
lock
decl 0x8(%r15)
jne 0x8ac0
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
lock
decl 0xc(%r15)
jne 0x8ac0
movq (%r15), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq (%r14), %rdx
testq %rdx, %rdx
je 0x8b09
addq $0x10, %rdx
leaq 0x6e1b(%rip), %rax      # 0xf8ee
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
movq $0x0, 0x8(%r8)
movq %rbx, 0x10(%r8)
movq 0x10(%rbx), %rdi
leaq 0x18(%rbx), %rsi
addq $0x30, %rbx
xorl %ecx, %ecx
movq %rbx, %r9
callq 0x101e2
movb $0x1, %al
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0xeadd(%rip), %rdi      # 0x175ed
leaq 0xeade(%rip), %rsi      # 0x175f5
leaq 0xec84(%rip), %rcx      # 0x177a2
movl $0x2d8, %edx            # imm = 0x2D8
callq 0x7220
jmp 0x8b4c
movq %rdx, %r14
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xd398
jmp 0x8b52
movq %rdx, %r14
movq %rax, %rbx
movq %r15, %rdi
callq 0x7300
jmp 0x8b52
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x8baf
movq %rbx, %rdi
callq 0x7170
movq %rax, %rbx
movq 0x1b486(%rip), %rdi     # 0x23ff0
leaq 0xeb80(%rip), %rsi      # 0x176f1
movl $0x14, %edx
callq 0x7360
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
movq 0x1b465(%rip), %rdi     # 0x23ff0
movq %rax, %rsi
callq 0x7320
movq %rax, %rdi
callq 0x71a0
callq 0x74f0
xorl %eax, %eax
jmp 0x8aff
movq %rax, %rbx
callq 0x74f0
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
nop
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::acceptor::handle_accept(boost::system::error_code const&)
void handle_accept(const boost::system::error_code& error)
         {
            if (!error)
            {
               session_->start(upstream_host_,upstream_port_);

               if (!accept_connections())
               {
                  std::cerr << "Failure during call to accept." << std::endl;
               }
            }
            else
            {
               std::cerr << "Error: " << error.message() << std::endl;
            }
         }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
cmpb $0x0, 0x4(%rsi)
je 0xf980
movq %rsi, %r14
movq 0x146e7(%rip), %rbx     # 0x23ff0
leaq 0x7790(%rip), %rsi      # 0x170a0
movl $0x7, %edx
movq %rbx, %rdi
callq 0x7360
movq 0x8(%r14), %rsi
movl (%r14), %edx
movq (%rsi), %rax
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq *0x20(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x7360
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7230
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf9a5
callq 0x7300
jmp 0xf9a5
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
testq %rdi, %rdi
je 0xf9f6
leaq 0x78(%rbx), %rsi
movzwl 0x70(%rbx), %edx
callq 0x1122c
movq %rbx, %rdi
callq 0x8a50
testb %al, %al
je 0xf9ad
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x1463c(%rip), %rbx     # 0x23ff0
leaq 0x7e6a(%rip), %rsi      # 0x17825
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x7360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x7230
leaq 0x7bf0(%rip), %rdi      # 0x175ed
leaq 0x7bf1(%rip), %rsi      # 0x175f5
leaq 0x7d97(%rip), %rcx      # 0x177a2
movl $0x2d8, %edx            # imm = 0x2D8
callq 0x7220
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfa2b
callq 0x7300
movq %rbx, %rdi
callq 0x7520
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::start(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned short)
void start(const std::string& upstream_host, unsigned short upstream_port)
      {
         // Attempt connection to remote server (upstream side)
         upstream_socket_.async_connect(
              ip::tcp::endpoint(
                   boost::asio::ip::address::from_string(upstream_host),
                   upstream_port),
               boost::bind(&bridge::handle_upstream_connect,
                    shared_from_this(),
                    boost::asio::placeholders::error));
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movl %edx, %ebp
movq %rdi, %rbx
movq (%rsi), %r14
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xa8c0
leaq 0x88(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x12b24
cmpb $0x1, 0x4(%r15)
je 0x11322
movzwl %bp, %edx
leaq 0x6c(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xb492
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116aa
leaq 0x236(%rip), %rsi       # 0x114ce
leaq -0x186c(%rip), %r8      # 0xfa33
leaq 0x28(%rsp), %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x113e9
addq $0x60, %rbx
leaq 0x6c(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x1137c
movq 0x40(%rsp), %rbx
testq %rbx, %rbx
je 0x112ec
lock
decl 0x8(%rbx)
jne 0x112ec
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x112ec
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq 0x10(%rsp), %rbx
testq %rbx, %rbx
je 0x11314
lock
decl 0x8(%rbx)
jne 0x11314
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x11314
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
addq $0xa8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0xb98e
movq %rbx, %rdi
callq 0x924b
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0xd398
jmp 0x11362
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x8dd2
jmp 0x1136c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xd398
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::handle_upstream_read(boost::system::error_code const&, unsigned long const&)
void handle_upstream_read(const boost::system::error_code& error,
                                const size_t& bytes_transferred)
      {
         if (!error)
         {
            async_write(downstream_socket_,
                 boost::asio::buffer(upstream_data_,bytes_transferred),
                 boost::bind(&bridge::handle_downstream_write,
                      shared_from_this(),
                      boost::asio::placeholders::error));
         }
         else
            close();
      }

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
cmpb $0x0, 0x4(%rsi)
je 0x12e27
movq %rbx, %rdi
addq $0x58, %rsp
popq %rbx
popq %r14
jmp 0x1302a
leaq 0x20b2(%rbx), %rax
movq (%rdx), %rcx
movl $0x2000, %edx           # imm = 0x2000
cmpq %rdx, %rcx
cmovbq %rcx, %rdx
movq %rax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116aa
leaq 0xdba(%rip), %rsi       # 0x13c18
leaq -0x3432(%rip), %r8      # 0xfa33
leaq 0x30(%rsp), %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x113e9
addq $0x10, %rbx
leaq 0x50(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x13d20
movq 0x48(%rsp), %rbx
testq %rbx, %rbx
je 0x12ebc
lock
decl 0x8(%rbx)
jne 0x12ebc
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x12ebc
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq 0x18(%rsp), %rbx
testq %rbx, %rbx
je 0x12ee4
lock
decl 0x8(%rbx)
jne 0x12ee4
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x12ee4
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
addq $0x58, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xd398
jmp 0x12efe
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xd398
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::handle_downstream_read(boost::system::error_code const&, unsigned long const&)
void handle_downstream_read(const boost::system::error_code& error,
                                  const size_t& bytes_transferred)
      {
         if (!error)
         {
            async_write(upstream_socket_,
                  boost::asio::buffer(downstream_data_,bytes_transferred),
                  boost::bind(&bridge::handle_upstream_write,
                        shared_from_this(),
                        boost::asio::placeholders::error));
         }
         else
            close();
      }

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
cmpb $0x0, 0x4(%rsi)
je 0x12f39
movq %rbx, %rdi
addq $0x58, %rsp
popq %rbx
popq %r14
jmp 0x1302a
leaq 0xb2(%rbx), %rax
movq (%rdx), %rcx
movl $0x2000, %edx           # imm = 0x2000
cmpq %rdx, %rcx
cmovbq %rcx, %rdx
movq %rax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116aa
leaq 0x1ab6(%rip), %rsi      # 0x14a26
leaq -0x3544(%rip), %r8      # 0xfa33
leaq 0x30(%rsp), %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x113e9
addq $0x60, %rbx
leaq 0x50(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x13d20
movq 0x48(%rsp), %rbx
testq %rbx, %rbx
je 0x12fce
lock
decl 0x8(%rbx)
jne 0x12fce
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x12fce
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq 0x18(%rsp), %rbx
testq %rbx, %rbx
je 0x12ff6
lock
decl 0x8(%rbx)
jne 0x12ff6
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x12ff6
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
addq $0x58, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xd398
jmp 0x13010
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xd398
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::close()
void close()
      {
         boost::mutex::scoped_lock lock(mutex_);

         if (downstream_socket_.is_open())
         {
            downstream_socket_.close();
         }

         if (upstream_socket_.is_open())
         {
            upstream_socket_.close();
         }
      }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x40b8(%rdi), %rax
movq %rsp, %rdi
movq %rax, (%rdi)
movb $0x0, 0x8(%rdi)
callq 0x14e6e
cmpl $-0x1, 0x18(%rbx)
je 0x13057
leaq 0x10(%rbx), %rdi
callq 0x15df0
cmpl $-0x1, 0x68(%rbx)
je 0x13069
addq $0x60, %rbx
movq %rbx, %rdi
callq 0x15df0
cmpb $0x1, 0x8(%rsp)
jne 0x13079
movq (%rsp), %rdi
callq 0x158b4
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
cmpb $0x1, 0x8(%rsp)
jne 0x13092
movq (%rsp), %rdi
callq 0x158b4
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::handle_downstream_write(boost::system::error_code const&)
void handle_downstream_write(const boost::system::error_code& error)
      {
         if (!error)
         {
            upstream_socket_.async_read_some(
                 boost::asio::buffer(upstream_data_,max_data_length),
                 boost::bind(&bridge::handle_upstream_read,
                      shared_from_this(),
                      boost::asio::placeholders::error,
                      boost::asio::placeholders::bytes_transferred));
         }
         else
            close();
      }

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
cmpb $0x0, 0x4(%rsi)
je 0x13c37
movq %rbx, %rdi
addq $0x48, %rsp
popq %rbx
popq %r14
jmp 0x1302a
leaq 0x20b2(%rbx), %rax
movq %rax, 0x10(%rsp)
movq $0x2000, 0x18(%rsp)     # imm = 0x2000
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116aa
leaq -0xe59(%rip), %rsi      # 0x12e08
leaq -0x4235(%rip), %r8      # 0xfa33
leaq -0xd57(%rip), %r9       # 0x12f18
leaq 0x20(%rsp), %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x12d20
addq $0x60, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x20(%rsp), %rsi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x130a2
movq 0x38(%rsp), %rbx
testq %rbx, %rbx
je 0x13cc3
lock
decl 0x8(%rbx)
jne 0x13cc3
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x13cc3
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq 0x8(%rsp), %rbx
testq %rbx, %rbx
je 0x13ceb
lock
decl 0x8(%rbx)
jne 0x13ceb
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x13ceb
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xd398
jmp 0x13d05
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xd398
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
nop
// File: /workspace/github_cpp_makefile_star2_O1/kn-sumanth[P]tcpproxy_server/tcpproxy_server.cpp
// Function: tcp_proxy::bridge::handle_upstream_write(boost::system::error_code const&)
void handle_upstream_write(const boost::system::error_code& error)
      {
         if (!error)
         {
            boost::this_thread::sleep(boost::posix_time::milliseconds(delay_));
            downstream_socket_.async_read_some(
                 boost::asio::buffer(downstream_data_,max_data_length),
                 boost::bind(&bridge::handle_downstream_read,
                      shared_from_this(),
                      boost::asio::placeholders::error,
                      boost::asio::placeholders::bytes_transferred));
         }
         else
            close();
      }

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
cmpb $0x0, 0x4(%rsi)
je 0x14a45
movq %rbx, %rdi
addq $0x48, %rsp
popq %rbx
popq %r14
jmp 0x1302a
movzwl 0xb0(%rbx), %eax
imulq $0x3e8, %rax, %rax      # imm = 0x3E8
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
callq 0x14b48
leaq 0xb2(%rbx), %rax
movq %rax, 0x10(%rsp)
movq $0x2000, 0x18(%rsp)     # imm = 0x2000
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116aa
leaq -0x1b70(%rip), %rsi     # 0x12f1a
leaq -0x505e(%rip), %r8      # 0xfa33
leaq -0x1b80(%rip), %r9      # 0x12f18
leaq 0x20(%rsp), %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x12d20
addq $0x10, %rbx
leaq 0x40(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x20(%rsp), %rsi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x130a2
movq 0x38(%rsp), %rbx
testq %rbx, %rbx
je 0x14aec
lock
decl 0x8(%rbx)
jne 0x14aec
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x14aec
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq 0x8(%rsp), %rbx
testq %rbx, %rbx
je 0x14b14
lock
decl 0x8(%rbx)
jne 0x14b14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
lock
decl 0xc(%rbx)
jne 0x14b14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xd398
jmp 0x14b2e
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xd398
movq %rbx, %rdi
callq 0x7520
movq %rax, %rdi
callq 0x883c
// File: /workspace/github_cpp_makefile_star2_O1/myudelson[P]hmm-scalable/trainhmm.cpp
// Function: readline(_IO_FILE*)
static char* readline(FILE *fid) {
	int length = 0;
	
	if(fgets(line,max_line_length,fid) == NULL)
		return NULL;
	
	while(strrchr(line,'\n') == NULL && strrchr(line,'\r') == NULL) // do take both line endings
	{
		max_line_length *= 2;
		line = (char *) realloc(line, (size_t)max_line_length);
		length = (int) strlen(line);
		if(fgets(line+length,max_line_length-length,fid) == NULL)
			break;
	}
	return line;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x3c1df(%rip), %rdi     # 0x45c58
movl 0x3c1d1(%rip), %esi     # 0x45c50
movq %rbx, %rdx
callq 0x43f0
testq %rax, %rax
je 0x9af5
movq 0x3c1c5(%rip), %r14     # 0x45c58
movq %r14, %rdi
movl $0xa, %esi
callq 0x4280
testq %rax, %rax
jne 0x9af5
movq %r14, %rdi
movl $0xd, %esi
callq 0x4280
testq %rax, %rax
jne 0x9af5
movslq 0x3c192(%rip), %r15     # 0x45c50
addq %r15, %r15
movl %r15d, 0x3c188(%rip)    # 0x45c50
movq %r14, %rdi
movq %r15, %rsi
callq 0x4420
movq %rax, %r14
movq %rax, 0x3c17b(%rip)     # 0x45c58
movq %rax, %rdi
callq 0x4110
cltq
addq %rax, %r14
subl %eax, %r15d
movq %r14, %rdi
movl %r15d, %esi
jmp 0x9a7f
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/myudelson[P]hmm-scalable/./StripedArray.h
// Function: StripedArray<double>::get(int)
T StripedArray<T>::get(NDAT idx) {
	if(idx>(this->size-1)) {
		fprintf(stderr, "Exception! Element index %u exceeds array size %u\n",idx,this->size);
		return (T)0;
	}
	NDAT idx_stripe = idx / this->stripe_size;
	NDAT idx_within = idx % this->stripe_size;
//	if(idx_within>(this->size_last_stripe-1)) {
//		fprintf(stderr, "Exception! Element index in last stripe %d exceeds sltipe size %d\n",idx_within,this->size_last_stripe);
//		return NULL;
//	}
	return this->stripes[idx_stripe][idx_within];
}

// Assembly:
movl %esi, %eax
movl (%rdi), %ecx
cmpl %esi, %ecx
jle 0x9b79
cltd
idivl 0x4(%rdi)
movq 0x10(%rdi), %rcx
cltq
movq (%rcx,%rax,8), %rax
movslq %edx, %rcx
movsd (%rax,%rcx,8), %xmm0
retq
pushq %rax
movq 0x3b457(%rip), %rdx     # 0x44fd8
movq (%rdx), %rdi
leaq 0x2e232(%rip), %rsi     # 0x37dbd
movl %eax, %edx
xorl %eax, %eax
callq 0x4360
xorps %xmm0, %xmm0
addq $0x8, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/PeterDenton[P]Nu-Pert/src/Figures.cpp
// Function: Figures::Phases()
void Phases()
{
	std::ofstream data[2];
	data[0].open("data/Phases_NO.txt");
	data[1].open("data/Phases_IO.txt");

	double a;

	for (int i = 0; i < 2; i++)
	{
		set_ordering(i == 0);
		for (double Yrho = -40; Yrho <= 40; Yrho += 0.02)
		{
			a = Yrho * Y_to_a;
			data[i] << Yrho << " " << Hat::phi(a) << " " << Check::psi(a) << std::endl;
		} // Yrho
		data[i].close();
	} // i, ordering
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x420, %rsp            # imm = 0x420
xorl %r14d, %r14d
leaq (%rsp,%r14), %rdi
addq $0x20, %rdi
callq 0x2280
addq $0x200, %r14            # imm = 0x200
cmpq $0x400, %r14            # imm = 0x400
jne 0xd802
leaq 0x26e2(%rip), %rsi      # 0xff08
leaq 0x20(%rsp), %rdi
movl $0x10, %edx
callq 0x2050
leaq 0x220(%rsp), %rdi
leaq 0x26d7(%rip), %rsi      # 0xff1b
movl $0x10, %edx
callq 0x2050
leaq 0x1adb(%rip), %rax      # 0xf330
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
xorl %r12d, %r12d
leaq 0x23f5(%rip), %rbx      # 0xfc5e
xorl %edi, %edi
testq %r12, %r12
sete %dil
callq 0x3a4b
movq %r12, %rax
shlq $0x9, %rax
leaq (%rsp,%rax), %r14
addq $0x20, %r14
movsd 0x25ca(%rip), %xmm1     # 0xfe58
movq %r14, %rdi
movsd %xmm1, 0x8(%rsp)
movapd %xmm1, %xmm0
callq 0x2260
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x8(%rsp), %xmm0
mulsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
callq 0x6e86
movq %r15, %rdi
callq 0x2260
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x18(%rsp), %xmm0
callq 0x2a00
movq %r15, %rdi
callq 0x2260
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movsd 0x8(%rsp), %xmm1
addsd 0x2540(%rip), %xmm1     # 0xfe70
movsd 0x2530(%rip), %xmm0     # 0xfe68
ucomisd %xmm1, %xmm0
jae 0xd88e
movq %r14, %rdi
callq 0x2210
leaq 0x1(%r12), %rax
testq %r12, %r12
movq %rax, %r12
je 0xd869
movq 0x6666(%rip), %rax      # 0x13fc8
movq (%rax), %r14
movq 0x18(%rax), %r15
movq $-0x400, %r12           # imm = 0xFC00
leaq 0x318(%rsp), %rbx
movq %r14, -0xf8(%rbx)
movq -0x18(%r14), %rax
movq %r15, -0xf8(%rbx,%rax)
leaq -0xf0(%rbx), %rdi
callq 0x2150
movq %rbx, %rdi
callq 0x20a0
addq $-0x200, %rbx           # imm = 0xFE00
addq $0x200, %r12            # imm = 0x200
jne 0xd978
addq $0x420, %rsp            # imm = 0x420
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xd9e8
movq %rax, %rbx
testq %r14, %r14
je 0xda3f
leaq -0x1e0(%rsp), %r15
leaq (%r15,%r14), %rdi
callq 0x2220
addq $-0x200, %r14           # imm = 0xFE00
jne 0xd9d2
jmp 0xda3f
jmp 0xd9e8
movq %rax, %rbx
movq 0x65d6(%rip), %rax      # 0x13fc8
movq (%rax), %r15
movq 0x18(%rax), %r12
movq $-0x400, %r13           # imm = 0xFC00
leaq 0x318(%rsp), %r14
movq %r15, -0xf8(%r14)
movq -0x18(%r15), %rax
movq %r12, -0xf8(%r14,%rax)
leaq -0xf0(%r14), %rdi
callq 0x2150
movq %r14, %rdi
callq 0x20a0
addq $-0x200, %r14           # imm = 0xFE00
addq $0x200, %r13            # imm = 0x200
jne 0xda08
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/test/src/voidPointer.cpp
// Function: main
int main()
{
	Dummy d1(1, "one");
	
	Dummy* d2 = new Dummy(2, "two");
	delete d2;

	dummyFunc((void*) new Dummy(3, "THREE"));

	cout << "\n\033[0;34mVoid Pointer Test: ";

	bool pass = true;

	if (pass)
	{
		cout << "\033[0;32mOK\033[0m" << endl;
	}
	else
	{
		cout << "\033[0;31mFAIL\033[0m" << endl;
	}

	return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0xda3(%rip), %rdx       # 0x200a
movq %rsp, %rdi
movl $0x1, %esi
callq 0x13a6
movl $0x28, %edi
callq 0x1080
movq %rax, %r14
leaq 0xd86(%rip), %rdx       # 0x200e
movq %rax, %rdi
movl $0x2, %esi
callq 0x13a6
movq 0x8(%r14), %rdi
movq %r14, %rax
addq $0x18, %rax
cmpq %rax, %rdi
je 0x12b0
movq (%rax), %rsi
incq %rsi
callq 0x1090
movl $0x28, %esi
movq %r14, %rdi
callq 0x1090
movl $0x28, %edi
callq 0x1080
movq %rax, %r14
leaq 0xd41(%rip), %rdx       # 0x2012
movq %rax, %rdi
movl $0x3, %esi
callq 0x13a6
movq %r14, %rdi
callq 0x120c
movq 0x2ceb(%rip), %rdi      # 0x3fd8
leaq 0xd24(%rip), %rsi       # 0x2018
movl $0x1b, %edx
callq 0x10a0
movq 0x2cd3(%rip), %rbx      # 0x3fd8
leaq 0xd28(%rip), %rsi       # 0x2034
movl $0xd, %edx
movq %rbx, %rdi
callq 0x10a0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x1070
movsbl %al, %esi
movq 0x2ca1(%rip), %rdi      # 0x3fd8
callq 0x1030
movq %rax, %rdi
callq 0x1050
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x135f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x1090
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x136b
movq %rax, %rbx
movl $0x28, %esi
movq %r14, %rdi
callq 0x1090
jmp 0x1382
jmp 0x137f
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x139d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x1090
movq %rbx, %rdi
callq 0x10d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]asyncore_cpp/net/test/test_redisprotocol.cc
// Function: main
int main(){
	net::protocol::RedisProtocol p;

	test(p, "*3\r\n$3\r\nSET\r\n$4\r\ncity\r\n$5\r\nSofia\r\n");

	test(p, "*2\r\n$3\r\nGET\r\n$4\r\ncity\r\n");

	test(p, "*92\r\n$3\r\nGET\r\n$4\r\ncity\r\n");
	test(p, "$2\r\n$3\r\nGET\r\n$4\r\ncity\r\n");
	test(p, "*2\r\n*3\r\nGET\r\n$4\r\ncity\r\n");

#if 0
	using Status = net::protocol::RedisProtocol::Status;

	const char *data = "*3\r\n$3\r\nSET\r\n$4\r\ncity\r\n$5\r\nSofia\r\n";

	for(int i = 0; i < 2500000; ++i){
		const auto &status = p(data);

		if (status == Status::BUFFER_NOT_READ)
			std::cout << "problem" << std::endl;
	}
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
leaq -0x20(%rbp), %rbx
movq %rbx, %rdi
callq 0x1390
leaq 0xcec(%rip), %rsi       # 0x2004
movq %rbx, %rdi
callq 0x13cf
leaq 0xd00(%rip), %rsi       # 0x2027
leaq -0x20(%rbp), %rdi
callq 0x13cf
leaq 0xd08(%rip), %rsi       # 0x203f
leaq -0x20(%rbp), %rdi
callq 0x13cf
leaq 0xd11(%rip), %rsi       # 0x2058
leaq -0x20(%rbp), %rdi
callq 0x13cf
leaq 0xd19(%rip), %rsi       # 0x2070
leaq -0x20(%rbp), %rdi
callq 0x13cf
movq -0x20(%rbp), %rdi
testq %rdi, %rdi
je 0x136e
callq 0x10a0
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
movq -0x20(%rbp), %rdi
testq %rdi, %rdi
je 0x1388
callq 0x10a0
movq %rbx, %rdi
callq 0x1110
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]asyncore_cpp/net/test/test_redisprotocol.cc
// Function: void test<net::protocol::RedisProtocol>(net::protocol::RedisProtocol&, char const*)
void test(PROTOCOL &p, const char *data){
	using Status = typename PROTOCOL::Status;

	const Status status = p(data);

	std::cout	<< "Result status: " << test_status(status) << std::endl
			<< std::endl
	;

	if (status == Status::OK)
		p.print();

	std::cout	<< "---(eof)---" << std::endl
			<< std::endl
	;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
testq %rsi, %rsi
je 0x13f3
movq %rsi, %r14
movq %rsi, %rdi
callq 0x1050
jmp 0x13fc
leaq 0xcd0(%rip), %r14       # 0x20ca
xorl %eax, %eax
leaq -0x30(%rbp), %rsi
movq %rax, (%rsi)
movq %r14, 0x8(%rsi)
movq %rbx, %rdi
callq 0x166a
movl %eax, %r15d
movq 0x2bbf(%rip), %r14      # 0x3fd8
leaq 0xc78(%rip), %rsi       # 0x2098
movl $0xf, %edx
movq %r14, %rdi
callq 0x10d0
cmpl $0x1, %r15d
leaq 0xc7f(%rip), %rax       # 0x20b7
leaq 0xc7d(%rip), %rcx       # 0x20bc
cmoveq %rax, %rcx
testl %r15d, %r15d
leaq 0xc67(%rip), %r12       # 0x20b4
cmovneq %rcx, %r12
movq %r12, %rdi
callq 0x1050
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x10d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
testl %r15d, %r15d
jne 0x14c5
movq %rbx, %rdi
callq 0x1600
leaq 0xbdc(%rip), %rsi       # 0x20a8
movl $0xb, %edx
movq %r14, %rdi
callq 0x10d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Living::dec_hp(int)
void Living::dec_hp(int dmg){
    HealthPower -= dmg;
    cout << name << " was hit for " << dmg << " points of damage." << endl;
    if(HealthPower <= 0){
        cout << name << " just fainted. :(" << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
subl %esi, 0x2c(%rdi)
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rdx
movq 0xf6d2(%rip), %rdi      # 0x13fd0
callq 0x31c0
movq %rax, %r15
leaq 0x9963(%rip), %rsi      # 0xe270
movl $0xd, %edx
movq %rax, %rdi
callq 0x31c0
movq %r15, %rdi
movl %r14d, %esi
callq 0x3210
movq %rax, %r14
leaq 0x994f(%rip), %rsi      # 0xe27e
movl $0x12, %edx
movq %rax, %rdi
callq 0x31c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
cmpl $0x0, 0x2c(%rbx)
jle 0x4974
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq 0xf64d(%rip), %rdi      # 0x13fd0
callq 0x31c0
movq %rax, %rbx
leaq 0x98ff(%rip), %rsi      # 0xe291
movl $0x11, %edx
movq %rax, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3100
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::Hero(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int, int, int, int)
Hero::Hero(string nam, int hp, int mp, int str, int ag, int dex)
    :Living(nam,hp),MagicPower(mp),Strength(str),Agility(ag),Dexterity(dex){
    Money = 500;
    exp = 0;
    NextLvlExp = 20;
    Armor_Equiped = NULL;
    Weapon_Equiped = NULL;
    Defense = 5;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, -0x2c(%rbp)
movl %r8d, %r15d
movl %ecx, %r12d
movl %edx, %r13d
movq %rdi, %rbx
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x47b8
leaq 0xeedf(%rip), %rax      # 0x138f8
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
leaq 0x18(%rbx), %rax
movq %rax, 0x8(%rbx)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
callq 0x47b8
movl 0x10(%rbp), %r14d
movl %r13d, 0x2c(%rbx)
movl $0x1, 0x28(%rbx)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x4a5f
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
leaq 0xef82(%rip), %rax      # 0x139e8
movq %rax, (%rbx)
movl %r12d, 0x34(%rbx)
movl %r15d, 0x38(%rbx)
movl -0x2c(%rbp), %eax
movl %eax, 0x3c(%rbx)
movl %r14d, 0x40(%rbx)
leaq 0x68(%rbx), %rax
movq %rax, 0x70(%rbx)
movq %rax, 0x68(%rbx)
xorl %eax, %eax
movq %rax, 0x78(%rbx)
leaq 0x80(%rbx), %rcx
movq %rcx, 0x88(%rbx)
movq %rcx, 0x80(%rbx)
movq %rax, 0x90(%rbx)
leaq 0x98(%rbx), %rcx
movq %rcx, 0xa0(%rbx)
movq %rcx, 0x98(%rbx)
movq %rax, 0xa8(%rbx)
leaq 0xb0(%rbx), %rcx
movq %rcx, 0xb8(%rbx)
movq %rcx, 0xb0(%rbx)
movq %rax, 0xc0(%rbx)
movq $0x1f4, 0x48(%rbx)      # imm = 0x1F4
movl $0x14, 0x50(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%rbx)
movl $0x5, 0x44(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x4b29
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
nop
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::buy_Weapon(Weapon*)
void Hero::buy_Weapon(Weapon * w){
    if(Money < w->get_price()){
        cout << "Not enough money!" << endl;
        return;
    }

    Money -= w->get_price();
    Weapons.push_front(w);
    cout << "You succesfully bought a new WEAPON: " << w->get_name() << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x48(%rdi), %r15d
movq %rsi, %rdi
callq 0xc7bc
cmpl %eax, %r15d
jge 0x4c02
movq 0xf413(%rip), %rbx      # 0x13fd0
leaq 0x96df(%rip), %rsi      # 0xe2a3
movl $0x11, %edx
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3100
movq %rbx, %rdi
callq 0xc7bc
subl %eax, 0x48(%r14)
movq 0x68(%r14), %r15
movl $0x18, %edi
callq 0x3180
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x3050
incq 0x78(%r14)
movq 0xf39a(%rip), %r14      # 0x13fd0
leaq 0x9678(%rip), %rsi      # 0xe2b5
movl $0x25, %edx
movq %r14, %rdi
callq 0x31c0
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0xc78e
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x31c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cab
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cd2
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::buy_Armor(Armor*)
void Hero::buy_Armor(Armor * a){
    if(Money < a->get_price()){
        cout << "Not enough money!" << endl;
        return;
    }

    Money -= a->get_price();
    Armors.push_front(a);
    cout << "You succesfully bought a new ARMOR: " << a->get_name() << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x48(%rdi), %r15d
movq %rsi, %rdi
callq 0xc7bc
cmpl %eax, %r15d
jge 0x4d4a
movq 0xf2cb(%rip), %rbx      # 0x13fd0
leaq 0x9597(%rip), %rsi      # 0xe2a3
movl $0x11, %edx
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3100
movq %rbx, %rdi
callq 0xc7bc
subl %eax, 0x48(%r14)
movq 0x98(%r14), %r15
movl $0x18, %edi
callq 0x3180
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x3050
incq 0xa8(%r14)
movq 0xf24c(%rip), %r14      # 0x13fd0
leaq 0x9550(%rip), %rsi      # 0xe2db
movl $0x24, %edx
movq %r14, %rdi
callq 0x31c0
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0xc78e
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x31c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4df9
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e20
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::buy_Potion(Potion*)
void Hero::buy_Potion(Potion * p){
    if(Money < p->get_price()){
        cout << "Not enough money!" << endl;
        return;
    }

    Money -= p->get_price();
    Potions.push_front(p);
    cout << "You succesfully bought a new POTION: " << p->get_name() << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x48(%rdi), %r15d
movq %rsi, %rdi
callq 0xc7bc
cmpl %eax, %r15d
jge 0x4e98
movq 0xf17d(%rip), %rbx      # 0x13fd0
leaq 0x9449(%rip), %rsi      # 0xe2a3
movl $0x11, %edx
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3100
movq %rbx, %rdi
callq 0xc7bc
subl %eax, 0x48(%r14)
movq 0xb0(%r14), %r15
movl $0x18, %edi
callq 0x3180
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x3050
incq 0xc0(%r14)
movq 0xf0fe(%rip), %r14      # 0x13fd0
leaq 0x9427(%rip), %rsi      # 0xe300
movl $0x25, %edx
movq %r14, %rdi
callq 0x31c0
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0xc78e
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x31c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4f47
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4f6e
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::buy_Spell(Spell*)
void Hero::buy_Spell(Spell * s){
    if(Money < s->get_price()){
        cout << "Not enough money!" << endl;
        return;
    }

    Money -= s->get_price();
    Spells.push_front(s);
    cout << "You succesfully bought a new SPELL: " << s->get_name() << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x48(%rdi), %r15d
movq %rsi, %rdi
callq 0xc7bc
cmpl %eax, %r15d
jge 0x4fe6
movq 0xf02f(%rip), %rbx      # 0x13fd0
leaq 0x92fb(%rip), %rsi      # 0xe2a3
movl $0x11, %edx
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3100
movq %rbx, %rdi
callq 0xc7bc
subl %eax, 0x48(%r14)
movq 0x80(%r14), %r15
movl $0x18, %edi
callq 0x3180
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x3050
incq 0x90(%r14)
movq 0xefb0(%rip), %r14      # 0x13fd0
leaq 0x92ff(%rip), %rsi      # 0xe326
movl $0x24, %edx
movq %r14, %rdi
callq 0x31c0
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0xc78e
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x31c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5095
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50bc
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::display_Weapons()
void Hero::display_Weapons(){
    list<Weapon*>::iterator it;

    for(it = Weapons.begin(); it != Weapons.end(); ++it){
        cout << (*it)->get_name() << endl;
        cout << "Damage: " << (*it)->get_damage() << endl;
        cout << "Hands needed: " << (*it)->get_handsNeeded() << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x68(%rdi), %r12
addq $0x68, %rbx
cmpq %rbx, %r12
je 0x5d58
movq 0xe38e(%rip), %r15      # 0x13fd0
leaq 0x879a(%rip), %r13      # 0xe3e3
movq 0x10(%r12), %rsi
leaq -0x48(%rbp), %rdi
callq 0xc78e
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r15, %rdi
callq 0x31c0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5caa
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movl $0x8, %edx
movq %r15, %rdi
leaq 0x84c5(%rip), %rsi      # 0xe17e
callq 0x31c0
movq 0x10(%r12), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movl $0xe, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r12), %rdi
movq (%rdi), %rax
callq *(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq (%r12), %r12
cmpq %rbx, %r12
jne 0x5c49
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5d83
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
nop
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::display_Armors()
void Hero::display_Armors(){
    list<Armor*>::iterator it;

    for(it = Armors.begin(); it != Armors.end(); ++it){
        cout << (*it)->get_name() << endl;
        cout << "Defense: " << (*it)->get_protection() << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x98(%rdi), %r14
addq $0x98, %rbx
cmpq %rbx, %r14
je 0x5e7f
movq 0xe212(%rip), %r15      # 0x13fd0
leaq 0x8606(%rip), %r12      # 0xe3cb
movq 0x10(%r14), %rsi
leaq -0x48(%rbp), %rdi
callq 0xc78e
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r15, %rdi
callq 0x31c0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5e25
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movl $0x9, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x31c0
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq (%r14), %r14
cmpq %rbx, %r14
jne 0x5dc5
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5eaa
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220
// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Heroes.cpp
// Function: Hero::display_Potions()
void Hero::display_Potions(){
    list<Potion*>::iterator it;

    if(Potions.empty()){
        cout << "You don't have any Potions" << endl;
        return;
    }

    for(it = Potions.begin(); it != Potions.end(); ++it){
        cout << (*it)->get_name() << endl;
        cout << "Stat: " << (*it)->get_statname();
        cout << "% " << (*it)->get_buff() << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0xb0(%rdi), %r13
addq $0xb0, %rbx
cmpq %rbx, %r13
je 0x5ffe
leaq -0x48(%rbp), %r14
movq 0xe0e8(%rip), %r15      # 0x13fd0
movq 0x10(%r13), %rsi
movq %r14, %rdi
callq 0xc78e
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r15, %rdi
callq 0x31c0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5f47
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movl $0x6, %edx
movq %r15, %rdi
leaq 0x84b7(%rip), %rsi      # 0xe40d
callq 0x31c0
movq 0x10(%r13), %rsi
movq %r14, %rdi
callq 0xcda4
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r15, %rdi
callq 0x31c0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5f90
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movl $0x2, %edx
movq %r15, %rdi
leaq 0x8475(%rip), %rsi      # 0xe414
callq 0x31c0
movq 0x10(%r13), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %r15, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq (%r13), %r13
cmpq %rbx, %r13
jne 0x5ee8
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xdfcb(%rip), %rbx      # 0x13fd0
leaq 0x83e6(%rip), %rsi      # 0xe3f2
movl $0x1a, %edx
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3100
jmp 0x6050
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x606c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220