LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/ctz[P]openssl-bench/bench.cc
// Function: LatencyOutput::LatencyOutput(char const*)
LatencyOutput(const char *which) : m_output(nullptr) {
    const char *file_prefix = getenv("BENCH_LATENCY");
    if (file_prefix) {
      std::ostringstream thread_id;
      thread_id << std::this_thread::get_id();
      char filename[128] = {0};
      snprintf(filename, sizeof(filename), "%s-%s-%s-latency.tsv", file_prefix,
               which, thread_id.str().c_str());
      m_output = fopen(filename, "w+");
    }
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rsi, %r14
movq %rdi, %rbx
movq $0x0, (%rdi)
leaq 0x1222(%rip), %rdi      # 0x7580
callq 0x3340
testq %rax, %rax
je 0x6466
movq %rax, %r15
leaq 0xa0(%rsp), %rdi
callq 0x3380
callq 0x3250
testq %rax, %rax
je 0x6398
leaq 0xa0(%rsp), %rdi
movq %rax, %rsi
callq 0x31e0
jmp 0x63b1
leaq 0x1207(%rip), %rsi      # 0x75a6
leaq 0xa0(%rsp), %rdi
movl $0x24, %edx
callq 0x32f0
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
leaq 0xa8(%rsp), %rsi
movq %rsp, %rdi
callq 0x3440
leaq 0x10(%rsp), %r12
movq -0x10(%r12), %r9
leaq 0x118b(%rip), %rdx      # 0x758e
leaq 0x20(%rsp), %rdi
movl $0x80, %esi
movq %r15, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x3450
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x6431
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x116b(%rip), %rsi      # 0x75a3
leaq 0x20(%rsp), %rdi
callq 0x3310
movq %rax, (%rbx)
movq 0x3b94(%rip), %rsi      # 0x9fe0
leaq 0xa0(%rsp), %rdi
callq 0x31a0
leaq 0x110(%rsp), %rdi
callq 0x3110
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x6477
movq %rax, %rbx
movq 0x3b5f(%rip), %rsi      # 0x9fe0
leaq 0xa0(%rsp), %rdi
callq 0x31a0
leaq 0x110(%rsp), %rdi
callq 0x3110
movq %rbx, %rdi
callq 0x34c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/ctz[P]openssl-bench/bench.cc
// Function: Context::enable_resume()
void enable_resume() {
    SSL_CTX_sess_set_new_cb(m_ctx, new_session_cb);
    SSL_CTX_set_session_cache_mode(m_ctx, SSL_SESS_CACHE_BOTH);
    SSL_CTX_set_session_id_context(m_ctx, (const uint8_t *)"localhost",
                                   strlen("localhost"));
    SSL_CTX_sess_set_cache_size(m_ctx, 1024 * 1024);
  }

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
leaq -0xe97(%rip), %rsi      # 0x56b7
callq 0x3290
movq (%rbx), %rdi
movl $0x3, %edx
movl $0x2c, %esi
xorl %ecx, %ecx
callq 0x3260
movq (%rbx), %rdi
leaq 0xed0(%rip), %rsi       # 0x7441
movl $0x9, %edx
callq 0x3460
movq (%rbx), %rdi
movl $0x100000, %edx         # imm = 0x100000
movl $0x2a, %esi
xorl %ecx, %ecx
popq %rbx
jmp 0x3260
// File: /workspace/github_cpp_makefile_star2_O1/ctz[P]openssl-bench/bench.cc
// Function: Conn::show_kx()
void show_kx() {
    printf("negotiated v=%s cs=%s kx=%s\n", SSL_get_cipher_version(m_ssl),
           SSL_get_cipher(m_ssl),
#ifdef BORINGSSL
           OBJ_nid2ln(SSL_get_negotiated_group(m_ssl))
#else
           // OpenSSL 3.5.0 broke the working of OBJ_nid2ln by not registering
           // NIDs for built-in groups.
           SSL_group_to_name(m_ssl, SSL_get_negotiated_group(m_ssl))
#endif
    );
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq (%rdi), %rdi
callq 0x3170
movq %rax, %rdi
callq 0x3200
movq %rax, %rbx
movq (%r14), %rdi
callq 0x3170
movq %rax, %rdi
callq 0x32e0
movq %rax, %r15
movq (%r14), %r14
movq %r14, %rdi
movl $0x86, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3130
movq %r14, %rdi
movl %eax, %esi
callq 0x3370
leaq 0x10d7(%rip), %rdi      # 0x76ba
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x3050
// File: /workspace/github_cpp_makefile_star2_O1/ctz[P]openssl-bench/bench.cc
// Function: Conn::get_session()
SSL_SESSION *get_session() {
    ragged_close();
    if (m_one_session) {
      SSL_SESSION_up_ref(m_one_session);
      return m_one_session;
    }
    return SSL_get1_session(m_ssl);
  }

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
movl $0x3, %esi
callq 0x3080
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x661d
callq 0x3090
movq 0x30(%rbx), %rax
popq %rbx
retq
movq (%rbx), %rdi
popq %rbx
jmp 0x3510
// File: /workspace/github_cpp_makefile_star2_O1/ctz[P]openssl-bench/bench.cc
// Function: Context::dump_sess_stats()
void dump_sess_stats() {
    printf(
        "connects: %ld, connects-good: %ld, accepts: %ld, accepts-good: %ld\n",
        long(SSL_CTX_sess_connect(m_ctx)),
        long(SSL_CTX_sess_connect_good(m_ctx)),
        long(SSL_CTX_sess_accept(m_ctx)),
        long(SSL_CTX_sess_accept_good(m_ctx)));
    printf("sessions: %ld, hits: %ld, misses: %ld\n",
           long(SSL_CTX_sess_number(m_ctx)), long(SSL_CTX_sess_hits(m_ctx)),
           long(SSL_CTX_sess_misses(m_ctx)));
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
movl $0x15, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
movq %rax, %r14
movq (%rbx), %rdi
movl $0x16, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
movq %rax, %r15
movq (%rbx), %rdi
movl $0x18, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
movq %rax, %r12
movq (%rbx), %rdi
movl $0x19, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
leaq 0x1013(%rip), %rdi      # 0x775a
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x3050
movq (%rbx), %rdi
movl $0x14, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
movq %rax, %r14
movq (%rbx), %rdi
movl $0x1b, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
movq %rax, %r15
movq (%rbx), %rdi
movl $0x1d, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3260
leaq 0x1004(%rip), %rdi      # 0x779e
movq %r14, %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3050
nop
// File: /workspace/github_cpp_makefile_star2_O1/ctz[P]openssl-bench/bench.cc
// Function: Conn::Conn(Conn&&)
Conn(Conn &&other)
      : m_ssl(other.m_ssl), m_reads_from(nullptr),
        m_writes_to(other.m_writes_to), m_one_session(other.m_one_session) {
    SSL_set_app_data(m_ssl, this);
    other.m_ssl = nullptr;
    m_read_buffer.swap(other.m_read_buffer);
    install_read_bio();
    other.m_writes_to = nullptr;
    other.m_one_session = nullptr;
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rdi
movq %rdi, (%rbx)
leaq 0x8(%rbx), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movups %xmm0, 0x18(%rbx)
movq 0x28(%rsi), %rax
movq %rax, 0x28(%rbx)
movq 0x30(%rsi), %rax
movq %rax, 0x30(%rbx)
xorl %esi, %esi
movq %rbx, %rdx
callq 0x30b0
movq $0x0, (%r14)
movups 0x8(%rbx), %xmm0
movq 0x18(%rbx), %rax
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq 0x10(%r14), %rcx
movq %rcx, 0x10(%rbx)
movq 0x18(%r14), %rcx
movq %rcx, 0x18(%rbx)
movups %xmm0, 0x8(%r14)
movq %rax, 0x18(%r14)
movq %rbx, %rdi
callq 0x5f8e
addq $0x28, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%r15), %rdi
testq %rdi, %rdi
je 0x6ae0
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
callq 0x32c0
movq %r14, %rdi
callq 0x34c0
// File: /workspace/github_cpp_makefile_star2_O1/kodejuice[P]chip8-emulator/./chip8.cc
// Function: Chip8::load_program(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool Chip8::load_program(string file) {
	FILE *f = fopen(file.c_str(), "rb");

	if (f == NULL) 
		return printf("Error: Couldn't open '%s'\n", file.c_str()), false;

	// get file size
	fseek(f, 0L, SEEK_END);
	program_size = ftell(f);
	fseek(f, 0L, SEEK_SET);

	// allocate memory for ROM (buffer)
	byte* rom = (byte*) malloc(sizeof(byte) * program_size);

	// read program into buffer
	fread(rom, sizeof(byte), program_size, f);

	// load program from buffer into memory
	for (int i=PC, j=0; i < int(PC + program_size); ++i, ++j) {
		memory[i] = rom[j];
	}

	free(rom);
	fclose(f);

	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rdi
leaq 0x2bb4(%rip), %rsi      # 0x5220
callq 0x22c0
movq %rax, %rbx
testq %rax, %rax
je 0x2719
movq %rbx, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x2290
movq %rbx, %rdi
callq 0x2030
movq %rax, 0x1028(%r14)
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2290
movq 0x1028(%r14), %r12
movq %r12, %rdi
callq 0x2300
movq %rax, %r15
movl $0x1, %esi
movq %rax, %rdi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x2320
movzwl 0x1002(%r14), %eax
movl 0x1028(%r14), %ecx
addl %eax, %ecx
cmpl %ecx, %eax
jge 0x2707
movq %r15, %rcx
movb (%rcx), %dl
movb %dl, (%r14,%rax)
movzwl 0x1002(%r14), %edx
addl 0x1028(%r14), %edx
incq %rax
movslq %edx, %rdx
incq %rcx
cmpq %rdx, %rax
jl 0x26e4
movq %r15, %rdi
callq 0x22d0
movq %rbx, %rdi
callq 0x2260
jmp 0x272a
movq (%r15), %rsi
leaq 0x2b00(%rip), %rdi      # 0x5223
xorl %eax, %eax
callq 0x2070
testq %rbx, %rbx
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/kodejuice[P]chip8-emulator/./debug/disassembler.cc
// Function: Chip8::disassemble[abi:cxx11]()
string Chip8::disassemble() {

	byte lsb, msb;
	string str = "";

	for (int i=PC; i < (PC + program_size); i+=2) {
		msb = memory[i], lsb = memory[i+1];

		str += decode(i, msb, lsb) + "\n";
	}

	return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
leaq 0x259d(%rip), %rdx      # 0x523d
movq %rdx, %rsi
callq 0x40c6
movzwl 0x1002(%r14), %r15d
movq 0x1028(%r14), %rax
addq %r15, %rax
cmpq %r15, %rax
jbe 0x2d98
leaq 0x18(%rsp), %rbp
leaq 0x28(%rsp), %r12
leaq 0x2568(%rip), %r13      # 0x523c
movzbl (%r14,%r15), %edx
movzbl 0x1(%r14,%r15), %ecx
movq %r12, %rdi
movl %r15d, %esi
callq 0x2e0a
movq %r12, %rdi
movq %r13, %rsi
callq 0x23d0
movq %rbp, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2d18
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x2d1f
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x2130
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d60
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2280
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2d7c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2280
addq $0x2, %r15
movzwl 0x1002(%r14), %eax
addq 0x1028(%r14), %rax
cmpq %r15, %rax
ja 0x2cd4
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x2dea
movq %rax, %r14
jmp 0x2dce
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2dce
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2280
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2dea
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2280
movq (%rbx), %rdi
cmpq (%rsp), %rdi
je 0x2e02
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2280
movq %r14, %rdi
callq 0x23a0
// File: /workspace/github_cpp_makefile_star2_O1/kodejuice[P]chip8-emulator/main.cc
// Function: getfilename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string getfilename(const string filepath) {
	string filename = filepath;

	// Remove directory if present.
	// Do this before extension removal incase directory has a period character.
	const size_t last_slash_idx = filename.find_last_of("\\/");
	if (std::string::npos != last_slash_idx)
		filename.erase(0, last_slash_idx + 1);

	// Remove extension if present.
	const size_t period_idx = filename.rfind('.');
	if (std::string::npos != period_idx)
	    filename.erase(period_idx);

	return filename;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rax, %rsi
callq 0x4036
leaq 0x17f6(%rip), %rsi      # 0x541e
movl $0x2, %ecx
movq %rbx, %rdi
movq $-0x1, %rdx
callq 0x23f0
cmpq $-0x1, %rax
je 0x3c52
incq %rax
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x20e0
movq %rbx, %rdi
movl $0x2e, %esi
movq $-0x1, %rdx
callq 0x23e0
cmpq $-0x1, %rax
je 0x3c80
movq 0x8(%rbx), %rcx
cmpq %rax, %rcx
jb 0x3c89
movq %rax, 0x8(%rbx)
movq (%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x17ff(%rip), %rdi      # 0x548f
leaq 0x17e4(%rip), %rsi      # 0x547b
movq %rax, %rdx
xorl %eax, %eax
callq 0x2330
jmp 0x3ca3
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x3cb9
movq (%r15), %rsi
incq %rsi
callq 0x2280
movq %r14, %rdi
callq 0x23a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Couragewang[P]50_clss/TcpServer.cc
// Function: main
int main(int argc, char *argv[])
{
    if(argc != 2){
        Usage(argv[0]);
        exit(1);
    }

    dict.insert(std::pair<std::string, std::string>("apple", "苹果"));
    dict.insert(std::pair<std::string, std::string>("banana", "香蕉"));
    dict.insert(std::pair<std::string, std::string>("peach", "桃子"));
    dict.insert(std::pair<std::string, std::string>("lemon", "柠檬"));

    int port = atoi(argv[1]);
    TcpServer *tsp = new TcpServer(port);
    tsp->InitServer();
    tsp->Start();
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %rbx
cmpl $0x2, %edi
jne 0x26cc
leaq 0x1a9e(%rip), %rsi      # 0x4012
leaq 0x1a9d(%rip), %rdx      # 0x4018
leaq -0x60(%rbp), %r14
movq %r14, %rdi
callq 0x2740
leaq 0x3c42(%rip), %rdi      # 0x61d0
movq %r14, %rsi
callq 0x3342
leaq -0x30(%rbp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x25a8
callq 0x21b0
leaq -0x50(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x25bb
callq 0x21b0
leaq 0x1a5d(%rip), %rsi      # 0x401f
leaq 0x1a5d(%rip), %rdx      # 0x4026
movq %r14, %rdi
callq 0x27ec
leaq 0x3bf8(%rip), %rdi      # 0x61d0
movq %r14, %rsi
callq 0x3342
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x25ee
callq 0x21b0
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x25fc
callq 0x21b0
leaq 0x1a2a(%rip), %rsi      # 0x402d
leaq 0x1a29(%rip), %rdx      # 0x4033
movq %r14, %rdi
callq 0x2740
leaq 0x3bb7(%rip), %rdi      # 0x61d0
movq %r14, %rsi
callq 0x3342
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x262f
callq 0x21b0
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x263d
callq 0x21b0
leaq 0x19f6(%rip), %rsi      # 0x403a
leaq 0x19f5(%rip), %rdx      # 0x4040
movq %r14, %rdi
callq 0x2740
leaq 0x3b76(%rip), %rdi      # 0x61d0
movq %r14, %rsi
callq 0x3342
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x2670
callq 0x21b0
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x267e
callq 0x21b0
movq 0x8(%rbx), %rdi
callq 0x22b0
movl %eax, %ebx
movl $0xb8, %edi
callq 0x21e0
movq %rax, %r14
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
movl %ebx, 0x4(%rax)
leaq 0x8(%rax), %rdi
movl $0x5, %esi
callq 0x2b28
movq %r14, %rdi
callq 0x2862
movq %r14, %rdi
callq 0x298e
xorl %eax, %eax
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rsi
leaq -0x80(%rbp), %rdi
leaq -0x60(%rbp), %rdx
callq 0x20d0
leaq -0x80(%rbp), %rdi
callq 0x24dc
leaq -0x80(%rbp), %rdi
callq 0x2100
movl $0x1, %edi
callq 0x2240
movq %rax, %rbx
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x2715
jmp 0x272e
movq %rax, %rbx
jmp 0x272e
movq %rax, %rbx
movq %r14, %rdi
callq 0x21b0
jmp 0x272e
jmp 0x2722
jmp 0x2722
jmp 0x2722
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x27b6
movq %rbx, %rdi
callq 0x2300
// File: /workspace/github_cpp_makefile_star2_O1/Couragewang[P]50_clss/./TcpServer.hpp
// Function: TcpServer::InitServer()
void InitServer()
        {
            listen_sock = socket(AF_INET, SOCK_STREAM, 0);
            if(listen_sock < 0){
                std::cerr << "socket error" << std::endl;
                exit(2);
            }

            int opt = 1;
            setsockopt(listen_sock, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));

            struct sockaddr_in local;
            bzero(&local, sizeof(local));
            local.sin_family = AF_INET;
            local.sin_port = htons(port);
            local.sin_addr.s_addr = htonl(INADDR_ANY);
            //local.sin_addr.s_addr = inet_addr(ip.c_str());
            if(bind(listen_sock, (struct sockaddr*)&local, sizeof(local)) < 0){
                std::cerr << "bind error" << std::endl;
                exit(3);
            }
            if(listen(listen_sock, 5) < 0){
                std::cout << "listen error" << std::endl;
                exit(4);
            }
            signal(SIGCHLD, SIG_IGN);
            pool.InitThreadPool();
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl $0x2, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x2080
movl %eax, (%rbx)
testl %eax, %eax
js 0x291f
leaq -0x14(%rbp), %rcx
movl $0x1, (%rcx)
movl %eax, %edi
movl $0x1, %esi
movl $0x2, %edx
movl $0x4, %r8d
callq 0x2310
leaq -0x24(%rbp), %r14
movl $0x10, %esi
movq %r14, %rdi
callq 0x22f0
movw $0x2, (%r14)
movzwl 0x4(%rbx), %eax
rolw $0x8, %ax
movw %ax, 0x2(%r14)
movl $0x0, 0x4(%r14)
movl (%rbx), %edi
movq %r14, %rsi
movl $0x10, %edx
callq 0x2060
testl %eax, %eax
js 0x2944
movl (%rbx), %edi
movl $0x5, %esi
callq 0x2200
testl %eax, %eax
js 0x2969
movl $0x1, %esi
movl $0x11, %edi
callq 0x2220
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x2cfa
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x36ca(%rip), %rdi      # 0x5ff0
leaq 0x171a(%rip), %rsi      # 0x4047
callq 0x21d0
movq %rax, %rdi
callq 0x2110
movl $0x2, %edi
callq 0x2240
movq 0x36a5(%rip), %rdi      # 0x5ff0
leaq 0x1702(%rip), %rsi      # 0x4054
callq 0x21d0
movq %rax, %rdi
callq 0x2110
movl $0x3, %edi
callq 0x2240
movq 0x3660(%rip), %rdi      # 0x5fd0
leaq 0x16e8(%rip), %rsi      # 0x405f
callq 0x21d0
movq %rax, %rdi
callq 0x2110
movl $0x4, %edi
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O1/Couragewang[P]50_clss/./TcpServer.hpp
// Function: TcpServer::Start()
void Start()
        {
            struct sockaddr_in peer;
            socklen_t len;
            for(;;){
                len = sizeof(peer);
                int sock = accept(listen_sock, (struct sockaddr*)&peer, &len);
                if(sock < 0){
                    std::cerr << "accept error" << std::endl;
                    continue;
                }
                std::cout << "Get a new client " << sock << std::endl;

                Task t;
                t.InitTask(sock, TcpServer::Service);
                pool.PushTask(t);
              //  int port_ = ntohs(peer.sin_port);
              //  std::string ip_ = inet_ntoa(peer.sin_addr);

              //  pthread_t tid;
              //  Arg *arg = new Arg;
              //  arg->sock = sock;
              //  arg->ip = ip_;
              //  arg->port = port_;
              //  arg->tsp = this;
              //  pthread_create(&tid, NULL, HandlerRequest, (void *)arg);


                //pid_t id = fork();
                //if(id < 0){
                //    std::cerr << "fork error" << std::endl;
                //    close(sock);
                //    //TODO
                //    continue;
                //}
                //else if( id == 0 ){
                //    close(listen_sock);
                //    Service(sock, ip_, port_);
                //    exit(0);
                //}
                //else{
                //    //child
                //    close(sock);
                //}
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movq %rax, -0x38(%rbp)
movq 0x363f(%rip), %r13      # 0x5ff0
movq 0x3618(%rip), %r15      # 0x5fd0
movl $0x10, -0x2c(%rbp)
movl (%rbx), %edi
leaq -0x58(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0x20a0
testl %eax, %eax
js 0x2a3f
movl %eax, %r12d
movl $0x11, %edx
movq %r15, %rdi
leaq 0x1695(%rip), %rsi      # 0x4079
callq 0x2210
movq %r15, %rdi
movl %r12d, %esi
callq 0x22e0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2130
movl %r12d, -0x48(%rbp)
leaq 0x413(%rip), %rax       # 0x2e3c
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x2f98
jmp 0x29b8
movl $0xc, %edx
movq %r13, %rdi
leaq 0x161e(%rip), %rsi      # 0x406c
callq 0x2210
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2130
jmp 0x29b8
// File: /workspace/github_cpp_makefile_star2_O1/Couragewang[P]50_clss/./ThreadPool.hpp
// Function: ThreadPool::ThreadRountie(void*)
static void *ThreadRountie(void *arg)
        {
            pthread_detach(pthread_self());
            ThreadPool *tp = (ThreadPool*)arg;
            for( ; ; ){
                tp->LockQueue();
                while(tp->IsEmpty()){
                    tp->IdleThread();
                }
                Task t;
                tp->PopTask(t);
                tp->UnlockQueue();
                t.Run();
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x21a0
movq %rax, %rdi
callq 0x2150
leaq 0x58(%rbx), %r14
leaq 0x80(%rbx), %r15
leaq 0x8(%rbx), %rax
movq %rax, -0x30(%rbp)
movq %r14, %rdi
callq 0x2270
movq 0x50(%rbx), %rax
movq %rax, %rcx
subq 0x30(%rbx), %rcx
shrq $0x3, %rcx
cmpq $0x1, %rax
adcq $-0x1, %rcx
movq 0x38(%rbx), %rdx
subq 0x40(%rbx), %rdx
shlq $0x5, %rcx
sarq $0x4, %rdx
addq %rcx, %rdx
movq 0x18(%rbx), %rax
movq 0x28(%rbx), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq %rdx, %rcx
jne 0x2dc8
movq %r15, %rdi
movq %r14, %rsi
callq 0x2290
jmp 0x2d7d
movl (%rax), %r13d
movq 0x8(%rax), %r12
movq -0x30(%rbp), %rdi
callq 0x2de8
movq %r14, %rdi
callq 0x2160
movl %r13d, %edi
callq *%r12
jmp 0x2d75
// File: /workspace/github_cpp_makefile_star2_O1/Couragewang[P]50_clss/./TcpServer.hpp
// Function: TcpServer::Service(int)
static void Service(int sock)
        {
            while(1){
                char buf[1024];
                ssize_t s = read(sock, buf, sizeof(buf)-1);
                if(s > 0){
                    buf[s] = 0;
                    auto it = dict.find(buf);
                    if(it == dict.end()){
                        write(sock, "NULL", strlen("NULL"));
                        continue;
                    }
                    write(sock, (it->second).c_str(), (it->second).size());
                }
                else if(s == 0){
                    std::cout << "client quit!" << std::endl;
                    break;
                }
                else{
                    std::cerr << "read error" << std::endl;
                    break;
                }
            }
            close(sock);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x428, %rsp            # imm = 0x428
movl %edi, -0x2c(%rbp)
leaq -0x40(%rbp), %r13
leaq -0x450(%rbp), %r14
movl $0x3ff, %edx            # imm = 0x3FF
movl -0x2c(%rbp), %edi
movq %r14, %rsi
callq 0x2250
movq %rax, %r15
testq %rax, %rax
jle 0x2ee4
movb $0x0, -0x450(%rbp,%r15)
movq %r13, -0x50(%rbp)
movq %r14, %rdi
callq 0x20f0
leaq (%rax,%rbp), %rdx
addq $-0x450, %rdx           # imm = 0xFBB0
leaq -0x50(%rbp), %r12
movq %r12, %rdi
movq %r14, %rbx
movq %r14, %rsi
callq 0x32a8
leaq 0x3321(%rip), %rdi      # 0x61d0
movq %r12, %rsi
callq 0x2ffe
movq %rax, %r14
movq -0x50(%rbp), %rdi
movq %r13, %r12
cmpq %r13, %rdi
je 0x2ecb
callq 0x21b0
leaq 0x3306(%rip), %rax      # 0x61d8
cmpq %rax, %r14
je 0x2efe
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
movl -0x2c(%rbp), %edi
jmp 0x2f0d
je 0x2f1a
movl $0xa, %edx
movq 0x30fe(%rip), %rbx      # 0x5ff0
movq %rbx, %rdi
leaq 0x11a1(%rip), %rsi      # 0x409d
jmp 0x2f30
movl $0x4, %edx
movl -0x2c(%rbp), %edi
leaq 0x117e(%rip), %rsi      # 0x408b
callq 0x20b0
movq %r12, %r13
movq %rbx, %r14
jmp 0x2f5c
movl $0xc, %edx
movq 0x30aa(%rip), %rbx      # 0x5fd0
movq %rbx, %rdi
leaq 0x1160(%rip), %rsi      # 0x4090
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2130
testq %r15, %r15
jg 0x2e5e
movl -0x2c(%rbp), %edi
callq 0x2340
addq $0x428, %rsp            # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x2f90
callq 0x21b0
movq %rbx, %rdi
callq 0x2300
// File: /workspace/github_cpp_makefile_star2_O1/Couragewang[P]50_clss/./ThreadPool.hpp
// Function: ThreadPool::PushTask(Task const&)
void PushTask(const Task &t)
        {
            LockQueue();
            task_queue.push(t);
            WakeupOneThread();
            UnlockQueue();
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
leaq 0x58(%rdi), %rbx
movq %rbx, %rdi
callq 0x2270
movq 0x38(%r14), %rax
movq 0x48(%r14), %rcx
addq $-0x10, %rcx
cmpq %rcx, %rax
je 0x2fd3
movups (%r15), %xmm0
movups %xmm0, (%rax)
addq $0x10, 0x38(%r14)
jmp 0x2fdf
leaq 0x8(%r14), %rdi
movq %r15, %rsi
callq 0x309c
subq $-0x80, %r14
movq %r14, %rdi
callq 0x2030
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2160
nop
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/bit_extractor.cpp
// Function: operator<<(std::ostream&, bit_code)
std::ostream& operator<<(std::ostream& os, const bit_code bc) {
   
   unsigned int n    = bc.mSize;
   unsigned int mask = 1 << (n-1);
      
   os << "0b";
   while (n) {
      if (bc.mValue & mask) {
         os << "1";
      }
      else {
         os << "0";
      }
      mask >>= 1;
      --n;
   }
   
   return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x49d0(%rip), %rsi      # 0x7004
movl $0x2, %edx
callq 0x21a0
movq %r14, %r15
shrq $0x20, %r15
je 0x267f
movl %r15d, %ecx
decb %cl
movl $0x1, %ebp
shll %cl, %ebp
leaq 0x49af(%rip), %r12      # 0x7009
leaq 0x49a6(%rip), %r13      # 0x7007
testl %r14d, %ebp
movq %r13, %rsi
cmoveq %r12, %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x21a0
shrl %ebp
decl %r15d
jne 0x2661
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/hex_out.cpp
// Function: hex_bulk_output(std::ostream&, int, unsigned char*, unsigned long)
void hex_bulk_output(std::ostream &os, const int width, uint8_t *p, size_t size) {
   int column = 0;
   for (uint32_t i=0;i<size;++i) {
      os << std::hex << std::setw(2) << std::setfill('0') << (uint32_t)p[i] << " ";
      
      if (width == ++column) {
         os << std::endl;
         column = 0;
      }
   }
   os << std::endl;
 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq %rdi, %rbx
testq %rcx, %rcx
je 0x2785
movq %rcx, %r14
xorl %ebp, %ebp
movl $0x1, %r12d
xorl %r15d, %r15d
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rcx
movq $0x2, 0x10(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r13
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x2715
movq %r13, %rdi
movl $0x20, %esi
callq 0x2150
movb %al, 0xe0(%r13)
movb $0x1, 0xe1(%r13)
movb $0x30, 0xe0(%r13)
movq 0x10(%rsp), %rax
movzbl (%rax,%rbp), %esi
movq %rbx, %rdi
callq 0x20d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4deb(%rip), %rsi      # 0x7528
callq 0x21a0
incl %r15d
cmpl 0xc(%rsp), %r15d
jne 0x2776
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20e0
xorl %r15d, %r15d
movl %r12d, %ebp
incl %r12d
cmpq %r14, %rbp
jb 0x26c5
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/klv.cpp
// Function: klv_item::parse_value()
bool klv_item::parse_value() {
   int rval = 0;

   switch (mKey[4]) {
   case KLV_RC_DICTIONARY:
      break;
   case KLV_RC_GROUP:
      if (mKey[5] == KLV_GROUP_UNIVERSAL_SET) {
         if (mKLVList) {
            delete mKLVList;
         }

         mKLVList = new std::list<std::shared_ptr<klv_item>>;
         
         // Initialize Bit Extractor
         bit_extractor be(mValue, mLength, BE_BIG_ENDIAN);
         // Need a KLV parser instance
         klv_parser klvp;
         
         klvp.set_verbosity(true);
         klvp.set_validation(true);
         
         bool klv_ret_val;
         do {
            auto p_klvi = std::shared_ptr<klv_item>(new klv_item);
            klv_ret_val = klvp.get_klv_item(*p_klvi, be);
            if (klv_ret_val) {
               mKLVList->push_back(p_klvi);
            }
            std::cout << "    Bytes left: " << be.get_bytes_left() << std::endl;
         } while (true == klv_ret_val);
      }
      else if (mKey[6] == KLV_GROUP_GLOBAL_SET) {
         
      }
      else if (mKey[6] == KLV_GROUP_LOCAL_SET) {
         
      }
      else if (mKey[6] == KLV_GROUP_VARIABLE_LENGTH_PACK) {
         
      }
      else if (mKey[6] == KLV_GROUP_FIXED_LENGTH_PACK) {
         
      }
      break;
   case KLV_RC_WRAPPER:
      break;           
   case KLV_RC_LABEL:
      break;            
   }
   
   return rval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpb $0x2, 0x4(%rdi)
jne 0x2942
movq %rdi, %rbx
cmpb $0x1, 0x5(%rdi)
jne 0x2942
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x2833
movq %r14, %rdi
callq 0x3bf4
movl $0x18, %esi
movq %r14, %rdi
callq 0x2170
movl $0x18, %edi
callq 0x2160
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x20(%rbx)
movq 0x18(%rbx), %rax
movl 0x10(%rbx), %ecx
leaq 0x10(%rsp), %r14
movq %rax, (%r14)
movl %ecx, 0x8(%r14)
movb $0x0, 0xc(%r14)
movl $0x0, 0x10(%r14)
movb $0x1, 0x14(%r14)
movq 0x775c(%rip), %r13      # 0x9fd8
leaq 0x4788(%rip), %rbp      # 0x700b
movl $0x28, %edi
callq 0x2160
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x0, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movq %rax, (%rsp)
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x3d62
movq (%rsp), %rsi
movq %r14, %rdx
callq 0x297a
movl %eax, %r12d
testb %al, %al
je 0x28e0
movq 0x20(%rbx), %r15
movq %r15, %rdi
movq %rsp, %rsi
callq 0x3e18
movq %rax, %rdi
movq %r15, %rsi
callq 0x2050
incq 0x10(%r15)
movl $0x10, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x21a0
movl 0x18(%rsp), %esi
subl 0x20(%rsp), %esi
movq %r13, %rdi
callq 0x20d0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20e0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2939
callq 0x3c3c
testb %r12b, %r12b
jne 0x2883
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2965
callq 0x3c3c
movq %rbx, %rdi
callq 0x2250
nop
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/./bit_extractor.hpp
// Function: bit_extractor::show_bits(unsigned char)
unsigned int show_bits(unsigned char n) {
      unsigned int rval = 0;

      unsigned char *p = mBuffer + mContextBytePos; 
      
      const unsigned char comp_bit_pos = 8 - mContextBitPos;


      rval |= ((unsigned int)*p++ >> mContextBitPos);
      //std::cout << "R0: " << std::hex << rval << std::endl;
      rval |= ((unsigned int)*p++ << comp_bit_pos);
      //std::cout << "R1: " << std::hex << rval << std::endl;
      rval |= ((unsigned int)*p++ << (comp_bit_pos+8));
      //std::cout << "R2: " << std::hex << rval << std::endl;
      rval |= ((unsigned int)*p++ << (comp_bit_pos+16));
      //std::cout << "R3: " << std::hex << rval << std::endl;
      
      if (mContextBitPos) {
         rval |= ((unsigned int)*p++ << (comp_bit_pos+24));
         //std::cout << "R4: " << std::hex << rval << std::endl;
      }
      
      unsigned int mask = g_mask[n-1]; 
      
      rval &= mask;

      if (mEndianess) {
         unsigned int temp1 = 0;
         unsigned int temp2 = 0;
         unsigned int temp3 = 0;
         unsigned int temp4 = 0;

         if (n == 16) {
            temp1 = rval >> 8;

            rval = temp1 | ((rval & 0xFF) << 8);
         }
         else if (n == 24) {
            temp1 = rval & 0xFF;     // First byte
            temp2 = rval & 0xFF0000; // Third byte

            rval  = (temp1 << 16) | (rval & 0xFF00) | (temp2 >> 16);  
         }
         else if (n == 32) {
            temp1 = rval & 0xFF;        // First byte
            temp2 = rval & 0xFF00;      // Second byte            
            temp3 = rval & 0xFF0000;    // Third byte
            temp4 = rval & 0xFF000000;  // Fourth byte
            
            rval = (temp1 << 24) | (temp2 << 8) | (temp3 >> 8) | (temp4 >> 24);
         }
      }

      return rval;
   }

// Assembly:
pushq %rbp
pushq %rbx
movq (%rdi), %r9
movl 0x10(%rdi), %r10d
movb 0xc(%rdi), %r8b
movb $0x8, %dl
subb %r8b, %dl
movzbl (%r9,%r10), %r11d
movl %r8d, %ecx
shrl %cl, %r11d
movzbl 0x1(%r9,%r10), %ebx
movl %edx, %ecx
shll %cl, %ebx
movzbl 0x2(%r9,%r10), %ebp
movb $0x10, %cl
subb %r8b, %cl
shll %cl, %ebp
movzbl 0x3(%r9,%r10), %eax
movb $0x18, %cl
subb %r8b, %cl
shll %cl, %eax
orl %r11d, %ebx
orl %ebp, %eax
orl %ebx, %eax
testb %r8b, %r8b
je 0x3d0a
movzbl 0x4(%r9,%r10), %r8d
addb $0x18, %dl
movl %edx, %ecx
shll %cl, %r8d
orl %r8d, %eax
movzbl %sil, %ecx
leaq 0x643b(%rip), %rdx      # 0xa150
andl -0x4(%rdx,%rcx,4), %eax
cmpb $0x1, 0x14(%rdi)
jne 0x3d5f
cmpb $0x20, %sil
je 0x3d5d
cmpl $0x18, %ecx
je 0x3d3e
cmpl $0x10, %ecx
jne 0x3d5f
movl %eax, %ecx
shrl $0x8, %ecx
shll $0x8, %eax
movzwl %ax, %eax
orl %ecx, %eax
jmp 0x3d5f
movl $0xff, %ecx
movl %eax, %edx
andl %ecx, %edx
shll $0x10, %edx
movl %eax, %esi
andl $0xff00, %esi           # imm = 0xFF00
orl %edx, %esi
shrl $0x10, %eax
andl %ecx, %eax
orl %esi, %eax
jmp 0x3d5f
bswapl %eax
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/./mxf_base.hpp
// Function: mxf_file::build_klv_list()
bool build_klv_list() {
      bool rval = true;
      if (m_p_data) {
         // Initialize Bit Extractor
         bit_extractor be(m_p_data, m_file_size, BE_BIG_ENDIAN);
         // Need a KLV parser instance
         klv_parser klvp;

         klvp.set_verbosity(true);
         klvp.set_validation(true);

         bool klv_ret_val;
         do {
            auto p_klvi = std::shared_ptr<klv_item>(new klv_item);
            klv_ret_val = klvp.get_klv_item(*p_klvi, be);
            
            if (klv_ret_val) {
               m_klv_list.push_back(p_klvi);
            }
            //std::cout << "  Bytes left: " << be.get_bytes_left() << std::endl; 
         } while (true == klv_ret_val);
      }
      return rval;
   }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x1a0(%rdi), %rax
testq %rax, %rax
je 0x4228
movq %rdi, %rbx
movl 0x198(%rdi), %ecx
leaq 0x20(%rsp), %r14
movq %rax, (%r14)
movl %ecx, 0x8(%r14)
movb $0x0, 0xc(%r14)
movl $0x0, 0x10(%r14)
movb $0x1, 0x14(%r14)
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x3bec
movq %r15, %rdi
movl $0x1, %esi
callq 0x296e
movq %r15, %rdi
movl $0x1, %esi
callq 0x2974
leaq 0x1b0(%rbx), %r13
leaq 0x8(%rsp), %rbp
movl $0x28, %edi
callq 0x2160
movq %rax, %r12
movq %rax, %rdi
callq 0x27bc
movq %r12, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x3d62
movq 0x8(%rsp), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x297a
movl %eax, %r12d
testb %al, %al
je 0x4219
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3e18
movq %rax, %rdi
movq %r13, %rsi
callq 0x2050
incq 0x1c0(%rbx)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4212
callq 0x3c3c
testb %r12b, %r12b
jne 0x41a8
jmp 0x4228
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4228
callq 0x3c3c
movb $0x1, %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x28, %esi
movq %r12, %rdi
callq 0x2170
jmp 0x425d
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x425d
callq 0x3c3c
movq %rbx, %rdi
callq 0x2250
nop
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/./dictionary.hpp
// Function: Dictionary<16>::find[abi:cxx11](Key<16> const&)
std::string find(const Key<T> &x) {
      std::string rval = "NULL";
      bool found = true;
      // Find the root
      auto it = mRootNodes.find(x[0]);
      if (it != mRootNodes.end()) {
         DictionaryNode *current_node = it->second;
         for (int i=1;i<T;i++) {
            // Test if there is a pass-all vertex
            auto pa_it = current_node->mChildrenNodes.find(0xFFFF);
            // Test if there is a matching vertex
            auto it = current_node->mChildrenNodes.find(x[i]);

            // If there is a matching node - take it
            if (it != current_node->mChildrenNodes.end()) {              
               current_node = it->second;
            }
            // Else if there is a pass-all node - take it
            else if (pa_it != current_node->mChildrenNodes.end()) { 
               current_node = pa_it->second;
            }
            // No Match
            else {
               found = false;
               break;
            }
         }
         if (found) {
            rval = current_node->mValue;
         }
      }
      return rval;
   }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
leaq 0x2e34(%rip), %rsi      # 0x7401
leaq 0x2e31(%rip), %rdx      # 0x7405
callq 0x61a6
movzbl (%r14), %eax
movq 0x10(%r15), %rdx
addq $0x8, %r15
movq %r15, %rcx
testq %rdx, %rdx
je 0x4608
movq %r15, %rcx
xorl %esi, %esi
cmpw %ax, 0x20(%rdx)
setb %sil
cmovaeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x45f0
movq %r15, %rdx
cmpq %r15, %rcx
je 0x461b
cmpw %ax, 0x20(%rcx)
cmovaq %r15, %rcx
movq %rcx, %rdx
cmpq %r15, %rdx
je 0x46d6
movq 0x28(%rdx), %rsi
movb $0x1, %al
movl $0x1, %ecx
movq 0x30(%rsi), %r8
leaq 0x28(%rsi), %rdx
movq %rdx, %rdi
testq %r8, %r8
je 0x4660
movq %r8, %r9
movq %rdx, %rdi
xorl %r10d, %r10d
cmpw $-0x1, 0x20(%r9)
setne %r10b
cmoveq %r9, %rdi
movq 0x10(%r9,%r10,8), %r9
testq %r9, %r9
jne 0x4645
movzbl (%r14,%rcx), %r9d
movq %rdx, %r10
testq %r8, %r8
je 0x468a
movq %rdx, %r10
xorl %r11d, %r11d
cmpw %r9w, 0x20(%r8)
setb %r11b
cmovaeq %r8, %r10
movq 0x10(%r8,%r11,8), %r8
testq %r8, %r8
jne 0x4670
movq %rdx, %r8
cmpq %rdx, %r10
je 0x469e
cmpw %r9w, 0x20(%r10)
cmovaq %rdx, %r10
movq %r10, %r8
cmpq %rdx, %r8
jne 0x46ab
movq %rdi, %r8
cmpq %rdx, %rdi
je 0x46c4
movq 0x28(%r8), %rsi
xorl %edx, %edx
testb %dl, %dl
jne 0x46ca
incq %rcx
cmpq $0x10, %rcx
jne 0x462f
jmp 0x46ca
movb $0x1, %dl
xorl %eax, %eax
jmp 0x46b1
testb $0x1, %al
je 0x46d6
movq %rbx, %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x46fc
movq (%r12), %rsi
incq %rsi
callq 0x2170
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O1/salleaffaire[P]MXFParser/./mxf_base.hpp
// Function: mxf_file::decode_partition_pack(klv_item&)
int decode_partition_pack(klv_item &klv) {
      int rval = 0;
      switch (klv.mKey[13]) {
      case 0x02:
         decode_header_partition_pack(klv);
         break;
      case 0x03:
         decode_body_partition_pack(klv);
         break;
      case 0x04:
         decode_footer_partition_pack(klv);
         break;
      }
      return rval;
   }

// Assembly:
pushq %rax
movzbl 0xd(%rsi), %eax
cmpl $0x4, %eax
je 0x4726
cmpl $0x3, %eax
je 0x471f
cmpl $0x2, %eax
jne 0x472b
callq 0x4730
jmp 0x472b
callq 0x4ed4
jmp 0x472b
callq 0x56a2
xorl %eax, %eax
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yhirose[P]fizzbuzzlang/fzbz.cc
// Function: eval_ternary(peg::AstBase<peg::EmptyType> const&, std::shared_ptr<Environment>)
Value eval_ternary(const Ast& ast, shared_ptr<Environment> env) {
  auto cond = eval(*ast.nodes[0], env).get<bool>();
  auto val1 = eval(*ast.nodes[1], env);
  auto val2 = eval(*ast.nodes[2], env);
  return cond ? val1 : val2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0xc0(%rsi), %rax
movq (%rax), %rsi
movq (%rdx), %rax
movq %rax, -0x60(%rbp)
movq 0x8(%rdx), %rax
movq %rax, -0x58(%rbp)
testq %rax, %rax
je 0x9a42
movq 0x5653c(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0x9a3e
incl 0x8(%rax)
jmp 0x9a42
lock
incl 0x8(%rax)
leaq -0x88(%rbp), %rdi
leaq -0x60(%rbp), %rdx
callq 0x9c01
leaq -0x88(%rbp), %rdi
callq 0xec8e
movl %eax, %r15d
leaq -0x88(%rbp), %rsi
movzbl 0x20(%rsi), %eax
leaq 0x5607d(%rip), %rcx     # 0x5faf0
leaq -0xb0(%rbp), %rdi
callq *(%rcx,%rax,8)
movb $-0x1, -0x68(%rbp)
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x9a8f
callq 0x13612
movq 0xc0(%r12), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %rax, -0x50(%rbp)
movq 0x8(%r14), %rax
movq %rax, -0x48(%rbp)
testq %rax, %rax
je 0x9ac4
movq 0x564ba(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0x9ac0
incl 0x8(%rax)
jmp 0x9ac4
lock
incl 0x8(%rax)
leaq -0x88(%rbp), %r13
leaq -0x50(%rbp), %rdx
movq %r13, %rdi
callq 0x9c01
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x9ae5
callq 0x13612
movq 0xc0(%r12), %rax
movq 0x20(%rax), %rsi
movq (%r14), %rax
movq %rax, -0x40(%rbp)
movq 0x8(%r14), %rax
movq %rax, -0x38(%rbp)
testq %rax, %rax
je 0x9b1a
movq 0x56464(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0x9b16
incl 0x8(%rax)
jmp 0x9b1a
lock
incl 0x8(%rax)
leaq -0xb0(%rbp), %r14
leaq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x9c01
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x9b3b
callq 0x13612
testb %r15b, %r15b
cmovneq %r13, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3bbf4
leaq -0xb0(%rbp), %rsi
movzbl 0x20(%rsi), %eax
leaq -0x29(%rbp), %rdi
leaq 0x55f8d(%rip), %r14     # 0x5faf0
callq *(%r14,%rax,8)
leaq -0x88(%rbp), %rsi
movzbl 0x20(%rsi), %eax
leaq -0xb0(%rbp), %rdi
callq *(%r14,%rax,8)
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9bcf
jmp 0x9bcf
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0xed08
jmp 0x9bb8
movq %rax, %rbx
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x9bb8
callq 0x13612
leaq -0x88(%rbp), %rdi
callq 0xed08
jmp 0x9bf9
movq %rax, %rbx
movq -0x48(%rbp), %rdi
jmp 0x9bef
movq %rax, %rdi
callq 0xf084
movq %rax, %rbx
leaq -0x88(%rbp), %rdi
callq 0xed08
jmp 0x9beb
movq %rax, %rbx
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x9bf9
callq 0x13612
movq %rbx, %rdi
callq 0x9420
// File: /workspace/github_cpp_makefile_star2_O1/yhirose[P]fizzbuzzlang/fzbz.cc
// Function: eval_multiplicative(peg::AstBase<peg::EmptyType> const&, std::shared_ptr<Environment>)
Value eval_multiplicative(const Ast& ast, shared_ptr<Environment> env) {
  auto l = eval(*ast.nodes[0], env).get<long>();
  for (size_t i = 1; i < ast.nodes.size(); i += 2) {
    auto r = eval(*ast.nodes[i + 1], env).get<long>();
    l = l % r;
  }
  return Value(l);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movq %rsi, -0x38(%rbp)
movq 0xc0(%rsi), %rax
movq (%rax), %rsi
movq (%rdx), %rax
movq %rax, -0x58(%rbp)
movq %rdx, -0x68(%rbp)
movq 0x8(%rdx), %rax
movq %rax, -0x50(%rbp)
testq %rax, %rax
je 0xa04b
movq 0x55f33(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0xa047
incl 0x8(%rax)
jmp 0xa04b
lock
incl 0x8(%rax)
leaq -0x90(%rbp), %rdi
leaq -0x58(%rbp), %rdx
callq 0x9c01
leaq -0x90(%rbp), %rdi
callq 0xeddc
movq %rax, %r12
leaq -0x90(%rbp), %rsi
movzbl 0x20(%rsi), %eax
leaq 0x55a74(%rip), %rcx     # 0x5faf0
leaq -0x29(%rbp), %rdi
callq *(%rcx,%rax,8)
movb $-0x1, -0x70(%rbp)
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0xa095
callq 0x13612
movq %rbx, -0x60(%rbp)
movq -0x38(%rbp), %rcx
movq 0xc0(%rcx), %rax
movq 0xc8(%rcx), %rcx
subq %rax, %rcx
cmpq $0x11, %rcx
jb 0xa16f
movl $0x1, %r14d
movl $0x20, %r15d
leaq -0x90(%rbp), %r13
movq (%rax,%r15), %rsi
movq -0x68(%rbp), %rcx
movq (%rcx), %rax
movq %rax, -0x48(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x40(%rbp)
testq %rax, %rax
je 0xa0fc
movq 0x55e82(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0xa0f8
incl 0x8(%rax)
jmp 0xa0fc
lock
incl 0x8(%rax)
movq %r13, %rdi
leaq -0x48(%rbp), %rdx
callq 0x9c01
movq %r13, %rdi
callq 0xeddc
movq %rax, %rbx
movzbl -0x70(%rbp), %eax
leaq -0x29(%rbp), %rdi
movq %r13, %rsi
leaq 0x559cb(%rip), %rcx     # 0x5faf0
callq *(%rcx,%rax,8)
movb $-0x1, -0x70(%rbp)
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0xa13a
callq 0x13612
movq %r12, %rax
cqto
idivq %rbx
addq $0x2, %r14
movq -0x38(%rbp), %rcx
movq 0xc0(%rcx), %rax
movq 0xc8(%rcx), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x20, %r15
movq %rdx, %r12
cmpq %rcx, %r14
jb 0xa0cb
movq -0x60(%rbp), %rax
movq %r12, (%rax)
movb $0x2, 0x20(%rax)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa1cf
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0xed08
jmp 0xa19f
movq %rax, %rbx
movq -0x50(%rbp), %rdi
jmp 0xa1bd
movq %rax, %rbx
jmp 0xa1b9
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0xed08
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0xa1c7
callq 0x13612
movq %rbx, %rdi
callq 0x9420
movq %rax, %rdi
callq 0xf084
// File: /workspace/github_cpp_makefile_star2_O1/yhirose[P]fizzbuzzlang/fzbz.cc
// Function: interpret(peg::AstBase<peg::EmptyType> const&)
Value interpret(const Ast& ast) {
  auto env = make_shared<Environment>();

  env->set_value("puts", Value(Function([](auto& val) {
                   cout << val.str() << endl;
                   return Value();
                 })));

  return eval(ast, env);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r15
movq %rdi, %r14
movl $0x50, %edi
callq 0x92a0
movq %rax, %rbx
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%rbx)
leaq 0x55682(%rip), %rax     # 0x5fcd8
movq %rax, (%rbx)
leaq 0x28(%rbx), %rax
movl $0x0, 0x28(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x30(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movq %rax, 0x38(%rbx)
movq %rax, 0x40(%rbx)
movq %rcx, 0x48(%rbx)
movaps %xmm0, -0x70(%rbp)
leaq 0x414(%rip), %rax       # 0xaa9c
leaq 0x4bb(%rip), %rcx       # 0xab4a
movq %rax, -0x38(%rbp)
movaps %xmm0, -0x50(%rbp)
movq %rcx, -0x40(%rbp)
movaps %xmm0, -0x60(%rbp)
movb $0x4, -0x30(%rbp)
leaq -0x80(%rbp), %rsi
movq $0x4, (%rsi)
leaq 0x39f45(%rip), %rax     # 0x445fa
movq %rax, 0x8(%rsi)
leaq 0x20(%rbx), %rdi
callq 0x3bf90
leaq -0x88(%rbp), %rdi
movq %rax, (%rdi)
leaq -0x50(%rbp), %rsi
movzbl 0x20(%rsi), %eax
leaq 0x554a5(%rip), %rcx     # 0x5fb80
callq *(%rcx,%rax,8)
leaq -0x50(%rbp), %rsi
movzbl 0x20(%rsi), %eax
leaq 0x55403(%rip), %rcx     # 0x5faf0
leaq -0x80(%rbp), %rdi
callq *(%rcx,%rax,8)
movb $-0x1, -0x30(%rbp)
movq -0x60(%rbp), %rax
testq %rax, %rax
je 0xa70f
leaq -0x70(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rax
addq $0x10, %rax
movq %rax, -0x28(%rbp)
movq %rbx, -0x20(%rbp)
movq 0x5584b(%rip), %rax     # 0x5ff70
cmpb $0x0, (%rax)
je 0xa72f
incl 0x8(%rbx)
jmp 0xa733
lock
incl 0x8(%rbx)
leaq -0x28(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x9c01
movq -0x20(%rbp), %rdi
testq %rdi, %rdi
je 0xa750
callq 0x13612
movq %rbx, %rdi
callq 0x13612
movq %r14, %rax
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa7b0
movq %rax, %r14
movq -0x20(%rbp), %rdi
testq %rdi, %rdi
je 0xa7a0
callq 0x13612
jmp 0xa7a0
jmp 0xa7b0
movq %rax, %r14
leaq -0x50(%rbp), %rdi
callq 0xed08
movq -0x60(%rbp), %rax
testq %rax, %rax
je 0xa7a0
leaq -0x70(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x13612
movq %r14, %rdi
callq 0x9420
movq %rax, %rdi
callq 0xf084