LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionHttp.cxx
// Function: TelevisionHttp::TelevisionHttp()
TelevisionHttp::TelevisionHttp() : gif{nullptr}, gif_length{0}, no_data_count{0}
{
  gif_compressor = new GifCompressor();
  gif_compressor->set_width(width);
  gif_compressor->set_height(height);

  image = (uint8_t *)malloc(width * height);

  memset(filename, 0, sizeof(filename));
  memset(query_string, 0, sizeof(query_string));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x8370
leaq 0x20(%rbx), %r14
movq %r14, %rdi
callq 0x708c
leaq 0x681d(%rip), %rax      # 0xebd8
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x150(%rbx)
movups %xmm0, 0x160(%rbx)
movups %xmm0, 0x16c(%rbx)
movups %xmm0, 0x38(%rbx)
movl $0x20, %edi
callq 0x41c0
movq %rax, %r12
movq %rax, %rdi
callq 0x4c9c
movq %r12, 0x48(%rbx)
movl 0x8(%rbx), %eax
movw %ax, 0x6(%r12)
movl 0xc(%rbx), %ecx
movw %cx, 0x8(%r12)
imull %eax, %ecx
movslq %ecx, %rdi
callq 0x4270
movq %rax, 0x30(%rbx)
addq $0x50, %rbx
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x4110
movq %rax, %r15
movl $0x20, %esi
movq %r12, %rdi
callq 0x41d0
jmp 0x8447
movq %rax, %r15
movq %r14, %rdi
callq 0x709c
jmp 0x8454
movq %rax, %r15
movq %rbx, %rdi
callq 0x8390
movq %r15, %rdi
callq 0x4330
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionHttp.cxx
// Function: TelevisionHttp::init()
int TelevisionHttp::init()
{
  if (net_open(port) != 0) { return -1; }
  if (read_http() != 0) { return -1; }
  if (send_index_html() != 0) { return -1; }

  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x20, %rdi
movl 0x28(%rbx), %esi
callq 0x70d8
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x850f
movq %rbx, %rdi
callq 0x8518
testl %eax, %eax
jne 0x850f
movq %rbx, %rdi
callq 0x86bc
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionHttp.cxx
// Function: TelevisionHttp::refresh()
bool TelevisionHttp::refresh()
{
  gif_compressor->compress(image, ColorTable::get_table());

  gif = gif_compressor->get_gif_data();
  gif_length = gif_compressor->get_gif_length();

  pause();

  return true;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rsi
movq 0x48(%rdi), %rdi
leaq 0x68ed(%rip), %rdx      # 0xf1d0
callq 0x4cfe
movq 0x48(%rbx), %rax
movq 0x10(%rax), %rcx
movq %rcx, 0x38(%rbx)
movl 0x1c(%rax), %eax
movl %eax, 0x40(%rbx)
movq %rbx, %rdi
callq 0x8ed8
movb $0x1, %al
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionHttp.cxx
// Function: TelevisionHttp::send_gif()
int TelevisionHttp::send_gif()
{
  std::string header =
    "HTTP/1.1 200 OK\n"
    "Content-Type: image/gif\n"
    "Cache-Control: no-cache, must-revalidate\n"
    "Pragma: no-cache\n"
    "Content-Length: " + std::to_string(gif_length) + "\n\n";

  net_send((uint8_t *)header.c_str(), header.size());
  net_send(gif, gif_length);

  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movl 0x40(%rdi), %r13d
movl %r13d, %ebp
negl %ebp
cmovsl %r13d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x8b68
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x8b5f
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x8b65
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x8b68
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x8b2c
addl $-0x3, %r14d
jmp 0x8b68
addl $-0x2, %r14d
jmp 0x8b68
decl %r14d
shrl $0x1f, %r13d
movl %r13d, %esi
addl %r14d, %esi
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x48(%rsp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x4210
movq (%r15), %rdi
addq %r13, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x9025
leaq 0x25c4(%rip), %rcx      # 0xb169
movl $0x72, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4200
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8bde
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x8be5
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x24eb(%rip), %rsi      # 0xb0f3
callq 0x4340
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8c34
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x8c3b
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x8c6a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x41d0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8c81
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x41d0
leaq 0x20(%rbx), %r14
movq 0x8(%rsp), %rsi
movl 0x10(%rsp), %edx
movq %r14, %rdi
callq 0x719c
movq 0x38(%rbx), %rsi
movl 0x40(%rbx), %edx
movq %r14, %rdi
callq 0x719c
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8cbc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41d0
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x8cec
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x41d0
jmp 0x8cec
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8d17
movq 0x58(%rsp), %rsi
jmp 0x8d0f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8d17
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41d0
movq %rbx, %rdi
callq 0x4330
nop
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionHttp.cxx
// Function: TelevisionHttp::send_404()
int TelevisionHttp::send_404()
{
  const char *page = "<p>Not found</p>";

  std::string header =
    "HTTP/1.1 404 Not Found\n"
    "Content-Type: text/html\n"
    "Content-Length: " + std::to_string(strlen(page)) + "\n\n";

  net_send((uint8_t *)header.c_str(), header.size());
  net_send((uint8_t *)page, strlen(page));

  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x48(%rsp), %r14
movl $0x2, %esi
movq %r14, %rdi
xorl %edx, %edx
callq 0x4210
movq (%r14), %rax
movw $0x3631, (%rax)         # imm = 0x3631
leaq 0x2493(%rip), %rcx      # 0xb1ed
movl $0x3f, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4200
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8d94
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x8d9c
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2334(%rip), %rsi      # 0xb0f3
callq 0x4340
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8deb
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x8df2
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x8e21
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x41d0
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x8e38
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x41d0
addq $0x20, %rbx
movq 0x8(%rsp), %rsi
movl 0x10(%rsp), %edx
movq %rbx, %rdi
callq 0x719c
leaq 0x2388(%rip), %rsi      # 0xb1dc
movq %rbx, %rdi
movl $0x10, %edx
callq 0x719c
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x8e78
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41d0
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x8ea5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x41d0
jmp 0x8ea5
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x8ed0
movq 0x58(%rsp), %rsi
jmp 0x8ec8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x8ed0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41d0
movq %rbx, %rdi
callq 0x4330
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/Television.h
// Function: Television::pause()
void pause()
  {
    struct timeval now;

    gettimeofday(&now, NULL);
    long time_diff = now.tv_usec - refresh_time.tv_usec;
    while (time_diff < 0) { now.tv_sec--; time_diff += 1000000; }
    time_diff += (now.tv_sec - refresh_time.tv_sec) * 1000000;

#if 0
    struct timespec now;
    clock_gettime(CLOCK_MONOTONIC, &now);
    long time_diff = now.tv_nsec - refresh_time.tv_nsec;
    while (time_diff < 0) { now.tv_sec--; time_diff += 1000000000; }
    time_diff += (now.tv_sec - refresh_time.tv_sec) * 1000000000;
    time_diff = time_diff / 1000;
#endif

    // 1,000,000 us / 60 fps = 16667
    // 1,000,000 us / 30 fps = 33333
    // FIXME: The TV should be 60fps, but for some reason 33333
    // is coming out at 60fps in the TIA.
    if (time_diff < 33333)
    {
      usleep(33333 - time_diff);
    }

    refresh_time = now;
  }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x4320
movq (%r14), %rcx
movq 0x8(%r14), %rdi
movq 0x18(%rbx), %rsi
addq $0x10, %rbx
movq %rdi, %r8
subq %rsi, %r8
jns 0x8f5b
cmpq $-0xf423f, %r8          # imm = 0xFFF0BDC1
movq $-0xf4240, %rax         # imm = 0xFFF0BDC0
cmovgeq %r8, %rax
addq %rsi, %rax
xorl %r8d, %r8d
cmpq %rdi, %rax
setne %r8b
subq %rdi, %rax
subq %r8, %rax
movabsq $0x431bde82d7b634db, %rdx # imm = 0x431BDE82D7B634DB
mulq %rdx
shrq $0x12, %rdx
addq %r8, %rdx
imulq $0xf4240, %rdx, %r8     # imm = 0xF4240
addq %rdi, %r8
notq %rdx
addq %rdx, %rcx
subq %rsi, %r8
addq $0xf4240, %r8           # imm = 0xF4240
movq %rcx, 0x8(%rsp)
subq (%rbx), %rcx
imulq $0xf4240, %rcx, %rax    # imm = 0xF4240
addq %r8, %rax
cmpq $0x8234, %rax           # imm = 0x8234
jg 0x8f81
movl $0x8235, %edi           # imm = 0x8235
subl %eax, %edi
callq 0x42d0
movq 0x8(%rsp), %rax
movq %rax, (%rbx)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::TelevisionVNC()
TelevisionVNC::TelevisionVNC() :
  needs_full_image{true},
  needs_color_table{true},
  image_page{0}
{
  image_packet_length = sizeof(ImagePacket) + (width * height * 4);
  image_packet[0] = (ImagePacket *)malloc(image_packet_length);
  image_packet[1] = (ImagePacket *)malloc(image_packet_length);

  memset(image_packet[0], 0, image_packet_length);
  memset(image_packet[1], 0, image_packet_length);

  image_packet[0]->number_of_rectangles = htons(1);
  image_packet[0]->width = htons(width);
  image_packet[0]->height = htons(height);
  image_packet[0]->encoding_type = htonl(ENCODING_RAW);

  image_packet[1]->number_of_rectangles = htons(1);
  image_packet[1]->width = htons(width);
  image_packet[1]->height = htons(height);
  image_packet[1]->encoding_type = htonl(ENCODING_RAW);

  diff_buffer_length = width * height * 4;
  diff_buffer = (uint8_t *)malloc(diff_buffer_length);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x8370
leaq 0x20(%rbx), %rdi
callq 0x708c
leaq 0x5b8d(%rip), %rax      # 0xecd8
movq %rax, (%rbx)
movw $0x101, 0x2c(%rbx)      # imm = 0x101
xorl %eax, %eax
movl %eax, 0x48(%rbx)
movl 0x8(%rbx), %r13d
movl 0xc(%rbx), %ebp
movl %r13d, %eax
imull %ebp, %eax
leal 0x10(,%rax,4), %ecx
shll $0x2, %eax
movl %eax, 0x4(%rsp)
movl %ecx, 0x30(%rbx)
movslq %ecx, %r15
movq %r15, %rdi
callq 0x4270
movq %rax, %r14
movq %rax, 0x38(%rbx)
movq %r15, %rdi
callq 0x4270
movq %rax, %r12
movq %rax, 0x40(%rbx)
movq %r14, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x4110
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x4110
movw $0x100, %ax             # imm = 0x100
rolw $0x8, %r13w
movw %ax, 0x2(%r14)
movw %r13w, 0x8(%r14)
rolw $0x8, %bp
movw %bp, 0xa(%r14)
xorl %ecx, %ecx
movl %ecx, 0xc(%r14)
movw %ax, 0x2(%r12)
movw %r13w, 0x8(%r12)
movw %bp, 0xa(%r12)
movl %ecx, 0xc(%r12)
movl 0x4(%rsp), %eax
movl %eax, 0x58(%rbx)
movslq %eax, %rdi
callq 0x4270
movq %rax, 0x50(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x8390
movq %r14, %rdi
callq 0x4330
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::init()
int TelevisionVNC::init()
{
  if (net_open(port) != 0) { return -1; }

  if (send_protocol_version() != 0) { return -1; }
  if (get_client_protocol_version() != 0) { return -1; }
  if (send_security() != 0) { return -1; }
  if (get_client_init() != 0) { return -1; }
  if (send_server_init() != 0) { return -1; }
  //if (send_color_table() != 0) { return -1; }

  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
leaq 0x20(%rdi), %r15
movl 0x28(%rdi), %esi
movq %r15, %rdi
callq 0x70d8
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x92f4
movq %r14, %rdi
callq 0x9300
testl %eax, %eax
jne 0x92f4
movq %r14, %rdi
callq 0x9332
testl %eax, %eax
jne 0x92f4
leaq 0xc(%rsp), %rsi
movl $0x1000000, (%rsi)      # imm = 0x1000000
movq %r15, %rdi
movl $0x4, %edx
callq 0x719c
movq %r14, %rdi
callq 0x9396
testl %eax, %eax
jne 0x92f4
movq %r14, %rdi
callq 0x93ec
xorl %ebx, %ebx
negl %eax
sbbl %ebx, %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::get_client_init()
int TelevisionVNC::get_client_init()
{
  uint8_t init[1] = { 0 };

  if (net_recv(init, sizeof(init)) != 1)
  {
    printf("Error: Client init improper response.\n");
    return -1;
  }

  printf("Client init response %d\n", init[0]);

  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0xf(%rsp), %rsi
movb $0x0, (%rsi)
addq $0x20, %rdi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x72e2
cmpl $0x1, %eax
jne 0x93d2
movzbl 0xf(%rsp), %esi
leaq 0x20a6(%rip), %rdi      # 0xb46d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x4050
jmp 0x93e3
leaq 0x22a2(%rip), %rdi      # 0xb67b
callq 0x4300
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::refresh()
bool TelevisionVNC::refresh()
{
  pause();

  send_image_diff();

  image_page ^= 1;

  return true;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x8ed8
movq %rbx, %rdi
callq 0x949a
xorb $0x1, 0x48(%rbx)
movb $0x1, %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::print_pixel_format(unsigned char*)
void TelevisionVNC::print_pixel_format(uint8_t *buffer)
{
  buffer += 4;

  printf("  bits_per_pixel: %d\n", buffer[0]);
  printf("           depth: %d\n", buffer[1]);
  printf("      big_endian: %d\n", buffer[2]);
  printf("     true_colour: %d\n", buffer[3]);
  printf("         red_max: %d\n", (buffer[4] << 8) | buffer[5]);
  printf("       green_max: %d\n", (buffer[6] << 8) | buffer[7]);
  printf("        blue_max: %d\n", (buffer[8] << 8) | buffer[9]);
  printf("       red_shift: %d\n", buffer[10]);
  printf("     green_shift: %d\n", buffer[11]);
  printf("      blue_shift: %d\n", buffer[12]);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movzbl 0x4(%rsi), %esi
leaq 0x1a70(%rip), %rdi      # 0xb4b9
xorl %eax, %eax
callq 0x4050
movzbl 0x5(%rbx), %esi
leaq 0x1a74(%rip), %rdi      # 0xb4cf
xorl %eax, %eax
callq 0x4050
movzbl 0x6(%rbx), %esi
leaq 0x1a78(%rip), %rdi      # 0xb4e5
xorl %eax, %eax
callq 0x4050
movzbl 0x7(%rbx), %esi
leaq 0x1a7c(%rip), %rdi      # 0xb4fb
xorl %eax, %eax
callq 0x4050
movzwl 0x8(%rbx), %eax
rolw $0x8, %ax
movzwl %ax, %esi
leaq 0x1a79(%rip), %rdi      # 0xb511
xorl %eax, %eax
callq 0x4050
movzwl 0xa(%rbx), %eax
rolw $0x8, %ax
movzwl %ax, %esi
leaq 0x1a76(%rip), %rdi      # 0xb527
xorl %eax, %eax
callq 0x4050
movzwl 0xc(%rbx), %eax
rolw $0x8, %ax
movzwl %ax, %esi
leaq 0x1a73(%rip), %rdi      # 0xb53d
xorl %eax, %eax
callq 0x4050
movzbl 0xe(%rbx), %esi
leaq 0x1a77(%rip), %rdi      # 0xb553
xorl %eax, %eax
callq 0x4050
movzbl 0xf(%rbx), %esi
leaq 0x1a7b(%rip), %rdi      # 0xb569
xorl %eax, %eax
callq 0x4050
movzbl 0x10(%rbx), %esi
leaq 0x1a7f(%rip), %rdi      # 0xb57f
xorl %eax, %eax
popq %rbx
jmp 0x4050
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::print_encoding(unsigned char*)
void TelevisionVNC::print_encoding(uint8_t *buffer)
{
  int *i = (int *)buffer;
  int encoding = htonl(*i);

  switch (encoding)
  {
    case 0: printf("  %d Raw\n", encoding); break;
    case 1: printf("  %d CopyRect\n", encoding); break;
    case 2: printf("  %d RRE\n", encoding); break;
    case 4: printf("  %d CoRRE\n", encoding); break;
    case 5: printf("  %d Hextile\n", encoding); break;
    case 7: printf("  %d tight\n", encoding); break;
    case 8: printf("  %d zlibhex\n", encoding); break;
    case 15: printf("  %d TRLE\n", encoding); break;
    case 16: printf("  %d ZRLE\n", encoding); break;
    case 17: printf("  %d Hitachi ZYWRLE\n", encoding); break;
    case -239: printf("  %d Cursor\n", encoding); break;
    case -223: printf("  %d DesktopSize\n", encoding); break;
    default: printf("  %d Unknown\n", encoding); break;
  }
}

// Assembly:
movl (%rsi), %esi
bswapl %esi
cmpl $0x11, %esi
ja 0x9b2f
leaq 0x18f0(%rip), %rax      # 0xb408
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x1a6d(%rip), %rdi      # 0xb595
xorl %esi, %esi
jmp 0x9bea
cmpl $0xffffff11, %esi       # imm = 0xFFFFFF11
je 0x9bde
cmpl $0xffffff21, %esi       # imm = 0xFFFFFF21
jne 0x9b54
leaq 0x1ada(%rip), %rdi      # 0xb624
movl $0xffffff21, %esi       # imm = 0xFFFFFF21
jmp 0x9bea
leaq 0x1adb(%rip), %rdi      # 0xb636
jmp 0x9bea
leaq 0x1a85(%rip), %rdi      # 0xb5ec
movl $0xf, %esi
jmp 0x9bea
leaq 0x1a82(%rip), %rdi      # 0xb5f7
movl $0x10, %esi
jmp 0x9bea
leaq 0x1a35(%rip), %rdi      # 0xb5b8
movl $0x4, %esi
jmp 0x9bea
leaq 0x1a0e(%rip), %rdi      # 0xb59f
movl $0x1, %esi
jmp 0x9bea
leaq 0x1a0f(%rip), %rdi      # 0xb5ae
movl $0x2, %esi
jmp 0x9bea
leaq 0x1a17(%rip), %rdi      # 0xb5c4
movl $0x5, %esi
jmp 0x9bea
leaq 0x1a23(%rip), %rdi      # 0xb5de
movl $0x8, %esi
jmp 0x9bea
leaq 0x1a09(%rip), %rdi      # 0xb5d2
movl $0x7, %esi
jmp 0x9bea
leaq 0x1a2b(%rip), %rdi      # 0xb602
movl $0x11, %esi
jmp 0x9bea
leaq 0x1a32(%rip), %rdi      # 0xb617
movl $0xffffff11, %esi       # imm = 0xFFFFFF11
xorl %eax, %eax
jmp 0x4050
nop
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionVNC.cxx
// Function: TelevisionVNC::send_color_table()
int TelevisionVNC::send_color_table()
{
  struct
  {
    uint8_t message_type;
    uint8_t padding;
    uint16_t first_colour;
    uint16_t number_of_colours;
    uint16_t table[128 * 3];
  } packet;

  memset(&packet, 0, sizeof(packet));

  if (sizeof(packet) != 768 + 6)
  {
    printf("Error: sizeof() error  %s:%d\n", __FILE__, __LINE__);
    return -1;
  }

  packet.message_type = 1;
  packet.number_of_colours = htons(128);

  for (int n = 0; n < 128; n++)
  {
    uint32_t color = ColorTable::get_color(n);
    uint16_t red = color >> 16;
    uint16_t green = (color >> 8) & 0xff;
    uint16_t blue = color & 0xff;

    int index = n * 3;
    packet.table[index + 0] = htons(red);
    packet.table[index + 1] = htons(green);
    packet.table[index + 2] = htons(blue);
  }

  if (net_send((const uint8_t *)&packet, sizeof(packet)) != sizeof(packet))
  {
    printf("Error: Send packet %s:%d\n", __FILE__, __LINE__);
    return -1;
  }

  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x310, %rsp            # imm = 0x310
movq %rdi, %rbx
leaq 0xa(%rsp), %r15
xorl %r14d, %r14d
movl $0x306, %edx            # imm = 0x306
movq %r15, %rdi
xorl %esi, %esi
callq 0x4110
movb $0x1, (%r15)
movw $0x8000, 0x4(%r15)      # imm = 0x8000
leaq 0x14(%rsp), %r15
movl %r14d, %edi
callq 0x4ae4
movl %eax, %ecx
shrl $0x10, %ecx
rolw $0x8, %cx
movw %cx, -0x4(%r15)
movl %eax, %ecx
andl $0xff00, %ecx           # imm = 0xFF00
movw %cx, -0x2(%r15)
shll $0x8, %eax
movw %ax, (%r15)
incq %r14
addq $0x6, %r15
cmpq $0x80, %r14
jne 0x9c50
addq $0x20, %rbx
leaq 0xa(%rsp), %rsi
movq %rbx, %rdi
movl $0x306, %edx            # imm = 0x306
callq 0x719c
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x306, %ecx            # imm = 0x306
je 0x9ccb
leaq 0x17d3(%rip), %rdi      # 0xb486
leaq 0x17e6(%rip), %rsi      # 0xb4a0
movl $0x16d, %edx            # imm = 0x16D
xorl %eax, %eax
callq 0x4050
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x310, %rsp            # imm = 0x310
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionSDL.cxx
// Function: TelevisionSDL::TelevisionSDL()
TelevisionSDL::TelevisionSDL()
{
  SDL_Init(SDL_INIT_EVERYTHING);

  window = SDL_CreateWindow(
    "Debug",
    SDL_WINDOWPOS_UNDEFINED,
    SDL_WINDOWPOS_UNDEFINED,
    width,
    height,
    0);

  background_rect.x = 0;
  background_rect.y = 0;
  background_rect.w = width;
  background_rect.h = height;

  // NOTE: It's possible to write directly to the surface, but requires
  // SDL_LockSurface() so it seems this might be a little simpler for now.
  image = (uint32_t *)malloc(width * height * 4);

  //SDL_RenderClear(renderer);
  screen = SDL_GetWindowSurface(window);

  background_color = SDL_MapRGB(screen->format, 50, 50, 100);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x8370
leaq 0x5015(%rip), %rax      # 0xed60
movq %rax, (%rbx)
movl $0xf231, %edi           # imm = 0xF231
callq 0x4160
movl 0x8(%rbx), %ecx
movl 0xc(%rbx), %r8d
leaq 0x19be(%rip), %rdi      # 0xb724
movl $0x1fff0000, %esi       # imm = 0x1FFF0000
movl $0x1fff0000, %edx       # imm = 0x1FFF0000
xorl %r9d, %r9d
callq 0x4060
movq %rax, %r14
movq %rax, 0x28(%rbx)
movq $0x0, 0x38(%rbx)
movl 0x8(%rbx), %eax
movl 0xc(%rbx), %ecx
movl %eax, 0x40(%rbx)
movl %ecx, 0x44(%rbx)
imull %ecx, %eax
shll $0x2, %eax
movslq %eax, %rdi
callq 0x4270
movq %rax, 0x50(%rbx)
movq %r14, %rdi
callq 0x4260
movq %rax, 0x20(%rbx)
movq 0x8(%rax), %rdi
movl $0x32, %esi
movl $0x32, %edx
movl $0x64, %ecx
callq 0x40f0
movl %eax, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x8390
movq %r14, %rdi
callq 0x4330
nop
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionSDL.cxx
// Function: TelevisionSDL::~TelevisionSDL()
TelevisionSDL::~TelevisionSDL()
{
  free(image);

  if (screen != NULL) { SDL_FreeSurface(screen); }
  if (window != NULL) { SDL_DestroyWindow(window); }

  SDL_Quit();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x4f6d(%rip), %rax      # 0xed60
movq %rax, (%rdi)
movq 0x50(%rdi), %rdi
callq 0x4230
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x9e0d
callq 0x4180
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x9e1b
callq 0x4030
callq 0x4070
movq %rbx, %rdi
popq %rbx
jmp 0x8390
movq %rax, %rdi
callq 0x7561
nop
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionSDL.cxx
// Function: TelevisionSDL::refresh()
bool TelevisionSDL::refresh()
{
  pause();

#if 0
  SDL_Rect rect;
  rect.x = 0;
  rect.y = 0;
  rect.w = width;
  rect.h = height;
#endif

  // Copy the drawn image to the screen.
  SDL_LockSurface(screen);
  memcpy(screen->pixels, image, width * height * 4);
  SDL_UnlockSurface(screen);

  SDL_UpdateWindowSurface(window);

  return true;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x8ed8
movq 0x20(%rbx), %rdi
callq 0x4280
movq 0x20(%rbx), %rax
movq 0x20(%rax), %rdi
movq 0x50(%rbx), %rsi
movl 0x8(%rbx), %eax
imull 0xc(%rbx), %eax
shll $0x2, %eax
movslq %eax, %rdx
callq 0x4140
movq 0x20(%rbx), %rdi
callq 0x42e0
movq 0x28(%rbx), %rdi
callq 0x41e0
movb $0x1, %al
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/mikeakohn[P]cloudtari/build/../src/TelevisionSDL.cxx
// Function: TelevisionSDL::handle_events()
int TelevisionSDL::handle_events()
{
  SDL_Event event;

  if (SDL_PollEvent(&event))
  {
    switch(event.type)
    {
      case SDL_KEYDOWN:
        if (event.key.keysym.sym == SDLK_ESCAPE) { return KEY_QUIT; }
        if (event.key.keysym.sym == SDLK_TAB) { return KEY_SELECT_DOWN; }
        if (event.key.keysym.sym == SDLK_RETURN) { return KEY_RESET_DOWN; }
        if (event.key.keysym.sym == SDLK_LEFT) { return KEY_LEFT_DOWN; }
        if (event.key.keysym.sym == SDLK_RIGHT) { return KEY_RIGHT_DOWN; }
        if (event.key.keysym.sym == SDLK_UP) { return KEY_UP_DOWN; }
        if (event.key.keysym.sym == SDLK_DOWN) { return KEY_DOWN_DOWN; }
        if (event.key.keysym.sym == SDLK_SPACE) { return KEY_FIRE_DOWN; }
        break;

      case SDL_KEYUP:
        if (event.key.keysym.sym == SDLK_TAB) { return KEY_SELECT_UP; }
        if (event.key.keysym.sym == SDLK_RETURN) { return KEY_RESET_UP; }
        if (event.key.keysym.sym == SDLK_LEFT) { return KEY_LEFT_UP; }
        if (event.key.keysym.sym == SDLK_RIGHT) { return KEY_RIGHT_UP; }
        if (event.key.keysym.sym == SDLK_UP) { return KEY_UP_UP; }
        if (event.key.keysym.sym == SDLK_DOWN) { return KEY_DOWN_UP; }
        if (event.key.keysym.sym == SDLK_SPACE) { return KEY_FIRE_UP; }
        break;

        break;
      case SDL_QUIT:
        return KEY_QUIT;
    }
  }

#if 0
  const Uint8 *keystate = SDL_GetKeyboardState(NULL);

  //if (keystate[SDLK_ESCAPE])
  if (keystate[SDL_SCANCODE_ESCAPE])
  {
    return -1;
  }
#endif

  return 0;
}

// Assembly:
subq $0x38, %rsp
movq %rsp, %rdi
callq 0x4130
testl %eax, %eax
je 0x9f6c
movl $0x1, %eax
movl (%rsp), %ecx
cmpl $0x100, %ecx            # imm = 0x100
je 0x9f6e
cmpl $0x301, %ecx            # imm = 0x301
je 0x9eee
cmpl $0x300, %ecx            # imm = 0x300
jne 0x9f6c
movl 0x14(%rsp), %ecx
cmpl $0x1f, %ecx
jg 0x9f1a
cmpl $0x9, %ecx
je 0x9f52
cmpl $0xd, %ecx
je 0x9f59
cmpl $0x1b, %ecx
je 0x9f6e
jmp 0x9f6c
movl 0x14(%rsp), %eax
cmpl $0x4000004e, %eax       # imm = 0x4000004E
jle 0x9f3c
addl $0xbfffffb1, %eax       # imm = 0xBFFFFFB1
cmpl $0x3, %eax
ja 0x9f6c
leaq 0x17ea(%rip), %rcx      # 0xb6f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x9, %eax
jmp 0x9f6e
leal -0x4000004f(%rcx), %eax
cmpl $0x3, %eax
ja 0x9f60
leaq 0x17d8(%rip), %rcx      # 0xb704
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x8, %eax
jmp 0x9f6e
cmpl $0x9, %eax
je 0x9f73
cmpl $0xd, %eax
je 0x9f8f
cmpl $0x20, %eax
jne 0x9f6c
movl $0xf, %eax
jmp 0x9f6e
movl $0x2, %eax
jmp 0x9f6e
movl $0x4, %eax
jmp 0x9f6e
cmpl $0x20, %ecx
jne 0x9f6c
movl $0xe, %eax
jmp 0x9f6e
xorl %eax, %eax
addq $0x38, %rsp
retq
movl $0x3, %eax
jmp 0x9f6e
movl $0xd, %eax
jmp 0x9f6e
movl $0xb, %eax
jmp 0x9f6e
movl $0x7, %eax
jmp 0x9f6e
movl $0x5, %eax
jmp 0x9f6e
movl $0xc, %eax
jmp 0x9f6e
movl $0xa, %eax
jmp 0x9f6e
movl $0x6, %eax
jmp 0x9f6e
nop
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH18_ToolsForLargePrograms/examples/spec.cc
// Function: main
int main()
{
    try {
		cout << "f: " << std::boolalpha << noexcept(f()) << endl;
		cout << "g: " << std::boolalpha << noexcept(g()) << endl;
		cout << "h: " << std::boolalpha << noexcept(h()) << endl;
		cout << "i: " << std::boolalpha << noexcept(i()) << endl;
        f();
    } catch (exception &e) {
        cout << "caught " << e.what() << endl;
    }
	
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x2d10(%rip), %rbx      # 0x3fc8
leaq 0xd45(%rip), %rsi       # 0x2004
movl $0x3, %edx
movq %rbx, %rdi
callq 0x10c0
movq (%rbx), %rax
movq -0x18(%rax), %rax
orl $0x1, 0x18(%rbx,%rax)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x10f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1080
movq 0x2cb2(%rip), %rbx      # 0x3fc8
leaq 0xceb(%rip), %rsi       # 0x2008
movl $0x3, %edx
movq %rbx, %rdi
callq 0x10c0
movq (%rbx), %rax
movq -0x18(%rax), %rax
orl $0x1, 0x18(%rbx,%rax)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1080
movq 0x2c57(%rip), %rbx      # 0x3fc8
leaq 0xc94(%rip), %rsi       # 0x200c
movl $0x3, %edx
movq %rbx, %rdi
callq 0x10c0
movq (%rbx), %rax
movq -0x18(%rax), %rax
orl $0x1, 0x18(%rbx,%rax)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x10f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1080
movq 0x2bf9(%rip), %rbx      # 0x3fc8
leaq 0xc3a(%rip), %rsi       # 0x2010
movl $0x3, %edx
movq %rbx, %rdi
callq 0x10c0
movq (%rbx), %rax
movq -0x18(%rax), %rax
orl $0x1, 0x18(%rbx,%rax)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1080
callq 0x125c
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x1489
movq %rbx, %rdi
callq 0x1050
movq %rax, %rbx
movq 0x2b86(%rip), %rdi      # 0x3fc8
leaq 0xbcb(%rip), %rsi       # 0x2014
movl $0x7, %edx
callq 0x10c0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
movq 0x2b65(%rip), %rdi      # 0x3fc8
movq %rax, %rsi
callq 0x10b0
movq %rax, %rdi
callq 0x1060
callq 0x10e0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
callq 0x10e0
movq %rbx, %rdi
callq 0x1110
movq %rax, %rdi
callq 0x1499
// File: /workspace/github_cpp_makefile_star2_O1/aalto-speech[P]ftk/src/defs.hh
// Function: add_log_domain_probs(double, double)
static flt_type add_log_domain_probs(flt_type a, flt_type b) {
    flt_type delta = a - b;
    if (delta > 0) {
      b = a;
      delta = -delta;
    }
    return b + log1p(exp(delta));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movapd %xmm0, %xmm4
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
movapd 0x213af(%rip), %xmm0    # 0x27020
xorpd %xmm2, %xmm0
movapd %xmm0, %xmm3
cmpltsd %xmm2, %xmm3
andpd %xmm3, %xmm4
andnpd %xmm1, %xmm3
orpd %xmm3, %xmm4
movapd %xmm4, -0x10(%rbp)
minsd %xmm2, %xmm0
callq 0x4660
callq 0x46e0
addsd -0x10(%rbp), %xmm0
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: operator<<(std::ostream&, ROAGroup)
ostream& operator<<(ostream& os, ROAGroup g)
{
  set<int>* ASes = g.getASes();

  for( set<int>::iterator i = ASes->begin(); i != ASes->end(); ++i){
    int as = *i;
    PrefixRange* r = g.getByAS( as );
    
    os<<"AS:"<<as<<"={"<<endl;
    os<<*r<<endl;
    os<<"}"<<endl;

  }
  return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x60(%rsi), %r15
leaq 0x50(%rsi), %r12
cmpq %r12, %r15
je 0x291c
movq %rsi, %r14
movslq 0x20(%r15), %r13
movl %r13d, 0x4(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdi
movq %r13, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %rcx
movq (%rsi,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0x281a
movq (%rdx), %r8
movq %rdx, %rax
cmpl %r13d, 0x8(%r8)
je 0x281a
movq %r8, %r9
movq (%r8), %r8
testq %r8, %r8
je 0x2818
movslq 0x8(%r8), %rsi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0x281a
movq %r9, %rax
cmpl %r13d, %esi
jne 0x27ed
jmp 0x281a
xorl %eax, %eax
testq %rax, %rax
je 0x292e
cmpq $0x0, (%rax)
je 0x292e
movq %r14, %rdi
leaq 0x4(%rsp), %rsi
callq 0x7402
movq (%rax), %rbp
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x67da(%rip), %rsi      # 0x9026
callq 0x2280
movq %rbx, %rdi
movl %r13d, %esi
callq 0x2340
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
leaq 0x67d2(%rip), %rsi      # 0x9040
callq 0x2280
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x25da
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x6762(%rip), %rsi      # 0x903e
callq 0x2280
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
movq %r15, %rdi
callq 0x2290
movq %rax, %r15
cmpq %r12, %rax
jne 0x27b8
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x685c(%rip), %rdi      # 0x9191
leaq 0x6744(%rip), %rsi      # 0x9080
leaq 0x6858(%rip), %rcx      # 0x919b
movl $0x2d9, %edx            # imm = 0x2D9
callq 0x2150
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: operator<<(std::ostream&, UnknownToInvalidDowngrade)
ostream& operator<<(ostream& os, UnknownToInvalidDowngrade g) //LEOCOM: should be a const &, but I can do that until I fix replace range
{

  for(unordered_map<int,PrefixRange*>::iterator i = g.getExceptions()->begin(); i != g.getExceptions()->end(); ++i){
    int as = i->first;
    PrefixRange* exception =  i->second;

    os<<"[";
      os<<"R:{";
        os<<"AS:"<<g.getROA()->getAS();
        os<<",";
        os<<"Prefix:"<<g.getROA()->getPrefix()<<"-"<<g.getROA()->getMaxlen();
      os<<"},";
      os<<"R.UnknownToKnown:{";
        os<<*g.getUnknownToKnown(); 
      os<<"},";
      os<<"Except:{";
        os<<"AS:"<<as;
      os<<",";
        os<<"Prefix:"<<*exception;
      os<<"}";
    os<<"]";
    os<<endl;
  }
  return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x58(%rsi), %r13
testq %r13, %r13
je 0x2b38
movq %rsi, %r14
leaq 0x30(%rsi), %rax
movq %rax, 0x8(%rsp)
movl 0x8(%r13), %r12d
movq 0x10(%r13), %rax
movq %rax, 0x10(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x66b0(%rip), %rsi      # 0x9043
callq 0x2280
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x669e(%rip), %rsi      # 0x9045
callq 0x2280
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x666b(%rip), %rsi      # 0x9026
callq 0x2280
movl 0xc(%r14), %esi
movq %rbx, %rdi
callq 0x2340
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x666f(%rip), %rbp      # 0x904a
movq %rbp, %rsi
callq 0x2280
movl $0x7, %edx
movq %rbx, %rdi
leaq 0x663a(%rip), %rsi      # 0x902c
callq 0x2280
movl (%r14), %eax
movl %eax, (%rsp)
movl 0x4(%r14), %eax
movl %eax, 0x4(%rsp)
movq %rbx, %rdi
movq %rsp, %rsi
callq 0x2598
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x6615(%rip), %rsi      # 0x9034
callq 0x2280
movl 0x8(%r14), %esi
movq %rbx, %rdi
callq 0x2340
movl $0x2, %edx
movq %rbx, %rdi
leaq 0x660a(%rip), %r15      # 0x9049
movq %r15, %rsi
callq 0x2280
movl $0x12, %edx
movq %rbx, %rdi
leaq 0x65f6(%rip), %rsi      # 0x904c
callq 0x2280
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x25da
movl $0x2, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2280
movl $0x8, %edx
movq %rbx, %rdi
leaq 0x65d8(%rip), %rsi      # 0x905f
callq 0x2280
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x658b(%rip), %rsi      # 0x9026
callq 0x2280
movq %rbx, %rdi
movl %r12d, %esi
callq 0x2340
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x2280
movl $0x7, %edx
movq %rbx, %rdi
leaq 0x6562(%rip), %rsi      # 0x902c
callq 0x2280
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0x25da
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x6553(%rip), %rsi      # 0x903e
callq 0x2280
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x676c(%rip), %rsi      # 0x926b
callq 0x2280
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2170
movq (%r13), %r13
testq %r13, %r13
jne 0x2977
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: UnknownToKnown(PrefixRange const*, ROA, PrefixRange*)
void UnknownToKnown(const PrefixRange* oldUnknown, ROA rNew, PrefixRange* unknownToKnown){
  bool argDense = true;
  assert(unknownToKnown->empty());

  unknownToKnown->addROA( rNew.getPrefix(), IPAddr::numBits);

  // unknownToKnown =  R.known INTERSECTS old
  unknownToKnown->denseIntersectWith( *oldUnknown, argDense);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movslq 0x14(%rdx), %rax
testq %rax, %rax
setle %cl
jle 0x318f
movq (%rbx), %rcx
cmpq $0x0, 0x28(%rcx)
jne 0x31c8
addq $0x60, %rcx
movl $0x1, %edi
movq %rdi, %rdx
cmpq %rdi, %rax
je 0x3189
leaq 0x1(%rdx), %rdi
cmpq $0x0, (%rcx)
leaq 0x38(%rcx), %rcx
je 0x3173
cmpq %rax, %rdx
setae %cl
testb %cl, %cl
je 0x31c8
movl (%rsi), %ecx
movq %rsp, %rax
movl %ecx, (%rax)
movl 0x4(%rsi), %ecx
movl %ecx, 0x4(%rax)
movq %rbx, %rdi
movq %rax, %rsi
movl $0x20, %edx
callq 0x4fb8
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x4c96
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x5e99(%rip), %rdi      # 0x9068
leaq 0x5eaa(%rip), %rsi      # 0x9080
leaq 0x5ead(%rip), %rcx      # 0x908a
movl $0x380, %edx            # imm = 0x380
callq 0x2150
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: std::ostream& operator<<<IPAddr>(std::ostream&, IntervalList<IPAddr> const&)
ostream& operator<< (ostream& os, const IntervalList<T> & l)
{
  typename map<T, T>::const_iterator it = l.m.begin();
  if (it==l.m.end()) {
    os << "empty ";
  }
  while (it!=l.m.end()) {
    os << "["<<it->first<<"-" << it->second<<"] ";
    ++it;
  }
  return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rsi), %r15
addq $0x8, %r14
cmpq %r14, %r15
jne 0x4c03
leaq 0x4773(%rip), %rsi      # 0x9369
movl $0x6, %edx
movq %rbx, %rdi
callq 0x2280
cmpq %r14, %r15
je 0x4c84
leaq 0x4425(%rip), %rbp      # 0x9034
movq %rsp, %r12
leaq 0x4757(%rip), %r13      # 0x9370
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x441b(%rip), %rsi      # 0x9043
callq 0x2280
movl 0x20(%r15), %eax
movl %eax, 0x4(%rsp)
movq %rbx, %rdi
leaq 0x4(%rsp), %rsi
callq 0x250c
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x2280
movl 0x24(%r15), %eax
movl %eax, (%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x250c
movl $0x2, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2280
movq %r15, %rdi
callq 0x2290
movq %rax, %r15
cmpq %r14, %rax
jne 0x4c19
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: PrefixRange::complement()
PrefixRange complement() {
    PrefixRange ret(bound, endLength);

    for (int i = bound.getLength(); i<=endLength; i++) { 
      lists[i-bound.getLength()].subtractFromInterval(bound.getPrefix(), bound.endAddress(i), ret.lists[i-bound.getLength()]);
    }
    return ret;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movl 0x10(%rsi), %esi
movq %rax, 0x8(%rdi)
callq 0x62f4
movl 0xc(%r14), %r13d
cmpl 0x10(%r14), %r13d
jg 0x4de8
movslq %r13d, %rax
imulq $0x38, %rax, %r15
movl $0x20, %ebp
subl %r13d, %ebp
movq %rsp, %r12
movslq 0xc(%r14), %rcx
imulq $-0x38, %rcx, %rax
movq (%r14), %rdi
addq %rax, %rdi
movl 0x8(%r14), %edx
movl %edx, 0x4(%rsp)
cmpl %r13d, %ecx
jle 0x4d7f
movl $0x0, (%rsp)
jmp 0x4db8
testl %ecx, %ecx
js 0x4dfa
testl %ecx, %ecx
je 0x4da7
negb %cl
movl $0x1, %r8d
shll %cl, %r8d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl %ebp, %ecx
shll %cl, %esi
addl %r8d, %esi
addl %edx, %esi
jb 0x4e19
movl %esi, (%rsp)
jmp 0x4db8
testl %r13d, %r13d
je 0x4db5
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %ebp, %ecx
shll %cl, %edx
movl %edx, (%rsp)
addq %r15, %rdi
addq (%rbx), %rax
addq %r15, %rax
leaq 0x4(%rsp), %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x647c
leal 0x1(%r13), %eax
addq $0x38, %r15
decl %ebp
cmpl 0x10(%r14), %r13d
movl %eax, %r13d
jl 0x4d5b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x44d5(%rip), %rdi      # 0x92d6
leaq 0x4278(%rip), %rsi      # 0x9080
leaq 0x44d3(%rip), %rcx      # 0x92e2
movl $0x4f, %edx
callq 0x2150
leaq 0x444d(%rip), %rdi      # 0x926d
leaq 0x4259(%rip), %rsi      # 0x9080
leaq 0x4448(%rip), %rcx      # 0x9276
movl $0x1c, %edx
callq 0x2150
movq %rax, %r14
movq %rbx, %rdi
callq 0x4e4c
movq %r14, %rdi
callq 0x2360
nop
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: PrefixRange::PrefixRange(PrefixRange const&)
PrefixRange( const PrefixRange& original ) : bound(original.bound), endLength(original.endLength), len(original.len) {
    
    //copy everything in lists
    lists = new IntervalList<IPAddr>[len]; 
     for (int i = 0; i<len; i++){
       IntervalList<IPAddr> list = IntervalList<IPAddr>( original.lists[i] );
       lists[i] = list;
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x8(%rsi), %eax
movl %eax, 0x8(%rdi)
movl 0xc(%rsi), %eax
movl %eax, 0xc(%rdi)
movl 0x10(%rsi), %eax
movl %eax, 0x10(%rdi)
movslq 0x14(%rsi), %r15
movl $0x38, %ecx
movq %r15, %rax
mulq %rcx
seto %cl
addq $0x8, %rax
movq $-0x1, %rdi
cmovbq %rdi, %rax
movl %r15d, 0x14(%r14)
testb %cl, %cl
cmoveq %rax, %rdi
callq 0x2030
leaq 0x8(%rax), %rcx
movq %r15, (%rax)
testq %r15, %r15
je 0x4f3b
addq $0x10, %rax
imulq $0x38, %r15, %rdx
xorl %esi, %esi
movl $0x0, (%rax)
movq %rsi, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rsi, 0x20(%rax)
movl $0x1, 0x28(%rax)
addq $0x38, %rax
addq $-0x38, %rdx
jne 0x4f14
movq %rcx, (%r14)
cmpl $0x0, 0x14(%r14)
jle 0x4f96
xorl %r12d, %r12d
movq %rsp, %r15
xorl %r13d, %r13d
movq (%rbx), %rbp
leaq (%r12,%rbp), %rsi
movq %r15, %rdi
callq 0x6614
movl 0x30(%rbp,%r12), %eax
movl %eax, 0x30(%rsp)
movq (%r14), %rbp
leaq (%r12,%rbp), %rdi
movq %r15, %rsi
callq 0x67be
movl 0x30(%rsp), %eax
movl %eax, 0x30(%rbp,%r12)
movq %r15, %rdi
callq 0x6422
incq %r13
movslq 0x14(%r14), %rax
addq $0x38, %r12
cmpq %rax, %r13
jl 0x4f4e
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6422
movq %rbx, %rdi
callq 0x2360
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: PrefixRange::addROA(IPPrefix, int)
void addROA(IPPrefix prefix, int maxLength) {
    int endIndex = min(maxLength, endLength);
    if (prefix.isSubPrefixOf(bound)){
      for (int i=prefix.getLength(); i<=endIndex; i++)
        lists[i-bound.getLength()].add(prefix.getPrefix(), prefix.endAddress(i));
    } else if (bound.isSubPrefixOf(prefix)) {
      for (int i=bound.getLength(); i<=endIndex; i++)
        lists[i-bound.getLength()].add(bound.getPrefix(), bound.endAddress(i));
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movl 0x10(%rdi), %eax
cmpl %edx, %eax
cmovll %eax, %ebx
movl 0x8(%rdi), %eax
movl 0xc(%rdi), %r13d
movl 0x4(%rsi), %r12d
cmpl %r12d, %r13d
jg 0x50a7
movl (%r15), %edx
movl %r13d, %ecx
negb %cl
shrl %cl, %edx
shll %cl, %edx
testl %r13d, %r13d
cmovel %r13d, %edx
cmpl %eax, %edx
jne 0x50a7
cmpl %ebx, %r12d
jg 0x515d
incl %ebx
movl $0x20, %ebp
subl %r12d, %ebp
leaq 0xc(%rsp), %r13
movl %r12d, %eax
subl 0xc(%r14), %eax
cltq
imulq $0x38, %rax, %rdi
addq (%r14), %rdi
movl (%r15), %eax
movl %eax, 0x14(%rsp)
movl 0x4(%r15), %ecx
cmpl %r12d, %ecx
jle 0x5047
movl $0x0, 0xc(%rsp)
jmp 0x5087
testl %ecx, %ecx
js 0x516c
je 0x5075
negb %cl
movl $0x1, %esi
shll %cl, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %ebp, %ecx
shll %cl, %edx
addl %eax, %edx
addl %esi, %edx
cmpl %eax, %edx
jb 0x518b
movl %edx, 0xc(%rsp)
jmp 0x5087
testl %r12d, %r12d
je 0x5083
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %ebp, %ecx
shll %cl, %eax
movl %eax, 0xc(%rsp)
leaq 0x14(%rsp), %rsi
movq %r13, %rdx
callq 0x6a4c
incl %r12d
decl %ebp
cmpl %r12d, %ebx
jne 0x501d
jmp 0x515d
cmpl %r13d, %r12d
jg 0x515d
movl %r12d, %ecx
negb %cl
shrl %cl, %eax
shll %cl, %eax
testl %r12d, %r12d
cmovel %r12d, %eax
cmpl (%r15), %eax
setne %al
cmpl %ebx, %r13d
setg %cl
orb %al, %cl
jne 0x515d
incl %ebx
movl $0x20, %ebp
subl %r13d, %ebp
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movl 0x8(%r14), %eax
movl 0xc(%r14), %ecx
movl %r13d, %edx
subl %ecx, %edx
movslq %edx, %rdx
imulq $0x38, %rdx, %rdi
addq (%r14), %rdi
movl %eax, 0x10(%rsp)
cmpl %ecx, %r13d
jge 0x5112
movl $0x0, 0x8(%rsp)
jmp 0x5148
testl %ecx, %ecx
js 0x516c
je 0x5136
negb %cl
movl $0x1, %esi
shll %cl, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %ebp, %ecx
shll %cl, %edx
addl %esi, %edx
addl %eax, %edx
jb 0x518b
movl %edx, 0x8(%rsp)
jmp 0x5148
testl %r13d, %r13d
je 0x5144
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %ebp, %ecx
shll %cl, %eax
movl %eax, 0x8(%rsp)
movq %r15, %rsi
movq %r12, %rdx
callq 0x6a4c
incl %r13d
decl %ebp
cmpl %r13d, %ebx
jne 0x50e8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4163(%rip), %rdi      # 0x92d6
leaq 0x3f06(%rip), %rsi      # 0x9080
leaq 0x4161(%rip), %rcx      # 0x92e2
movl $0x4f, %edx
callq 0x2150
leaq 0x40db(%rip), %rdi      # 0x926d
leaq 0x3ee7(%rip), %rsi      # 0x9080
leaq 0x40d6(%rip), %rcx      # 0x9276
movl $0x1c, %edx
callq 0x2150
// File: /workspace/github_cpp_makefile_star2_O1/BUSEC[P]RPKI_Downgrade_Detector/./exp.cpp
// Function: ROAGroup::ROAGroup(ROAGroup const&)
ROAGroup(const ROAGroup& original){
      
      known = new PrefixRange( *original.known );
      ases = original.ases;

      unordered_map<int, PrefixRange*> origMap =  original.AStoROA;

      for( set<int>::iterator j = ases.begin(); j!= ases.end(); ++j){
        int as = *j;

        AStoROA[as] = new PrefixRange( *origMap[as] );
      }

    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x30(%rdi), %rax
movq %rax, (%rdi)
movq $0x1, 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movl $0x3f800000, 0x20(%rdi) # imm = 0x3F800000
movups %xmm0, 0x28(%rdi)
leaq 0x48(%rdi), %r13
leaq 0x50(%rdi), %r14
movl $0x0, 0x50(%rdi)
xorl %eax, %eax
movq %rax, 0x58(%rdi)
movq %r14, 0x60(%rdi)
movq %r14, 0x68(%rdi)
movq %rax, 0x70(%rdi)
movl $0x18, %edi
movq %r13, 0x8(%rsp)
callq 0x2230
movq %rax, %r12
movq 0x38(%r15), %rsi
movq %rax, %rdi
callq 0x4ea8
movq %r12, 0x38(%rbx)
leaq 0x48(%r15), %rsi
movq %r13, %rdi
callq 0x6bdc
xorl %eax, %eax
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
movq 0x8(%r15), %rcx
movq %rcx, 0x8(%rdi)
movq %rax, 0x10(%rdi)
movq 0x18(%r15), %rcx
movq %rcx, 0x18(%rdi)
movups 0x20(%r15), %xmm0
movups %xmm0, 0x20(%rdi)
movq %rax, 0x30(%rdi)
movq %rsp, %rdx
movq %rdi, (%rdx)
movq %r15, %rsi
callq 0x6ea0
movq 0x60(%rbx), %r15
cmpq %r14, %r15
je 0x52c0
leaq 0x10(%rsp), %r12
movq %rsp, %r13
movl 0x20(%r15), %eax
movl %eax, (%rsp)
movl $0x18, %edi
callq 0x2230
movq %rax, %rbp
movq %r12, %rdi
movq %r13, %rsi
callq 0x7402
movq (%rax), %rsi
movq %rbp, %rdi
callq 0x4ea8
movq %rbx, %rdi
movq %r13, %rsi
callq 0x7402
movq %rbp, (%rax)
movq %r15, %rdi
callq 0x2290
movq %rax, %r15
cmpq %r14, %rax
jne 0x5278
leaq 0x10(%rsp), %rdi
callq 0x70b2
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x52ed
movq %rax, %r15
movl $0x18, %esi
movq %r12, %rdi
callq 0x2240
jmp 0x5311
movq %rax, %r15
jmp 0x5311
movq %rax, %r15
movl $0x18, %esi
movq %rbp, %rdi
callq 0x2240
jmp 0x5307
movq %rax, %r15
leaq 0x10(%rsp), %rdi
callq 0x70b2
movq 0x8(%rsp), %rdi
callq 0x704e
movq %rbx, %rdi
callq 0x70b2
movq %r15, %rdi
callq 0x2360
nop