LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/sgalkina[P]data_structures/src/test_map.h
// Function: long gtl::benchmark_operation<gtl::vector_map<int, int>, gtl::addition<gtl::vector_map<int, int>>>(gtl::vector_map<int, int>&)
clock_t benchmark_operation(T & map) {
  U op;
  size_t n_runs = 100;
  clock_t min_time = LONG_MAX;
  for (size_t i = 0; i < n_runs; ++i) {
    clock_t start_time = std::clock();
    op(map);
    clock_t end_time = std::clock();
    clock_t t = (end_time - start_time) % CLOCKS_PER_SEC;
    if (t < min_time) min_time = t;
  }
  return min_time;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movabsq $0x7fffffffffffffff, %rbx # imm = 0x7FFFFFFFFFFFFFFF
pushq $0x64
popq %r13
leaq 0x7(%rsp), %r15
movl $0xf4240, %ebp          # imm = 0xF4240
subq $0x1, %r13
jb 0x5bfd
callq 0x1080
movq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
callq 0x5de2
callq 0x1080
subq %r12, %rax
cqto
idivq %rbp
cmpq %rbx, %rdx
cmovlq %rdx, %rbx
jmp 0x5bce
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_O2/sgalkina[P]data_structures/src/test_map.h
// Function: gtl::mixed<gtl::vector_map<int, int>>::operator()(gtl::vector_map<int, int>&)
void operator() (T & map) {
    for (size_t i = 0; i < 10*n_operations; ++i) {
      map.lookup(rand() % max_number);
    }
    for (size_t i = 0; i < 3*n_operations; ++i) {
      int el = rand() % max_number;
      map.add(el, 0);
    }
    for (size_t i = 0; i < n_operations; ++i) {
      int el = rand() % max_number;
      map.remove(el);
    }
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
xorl %r15d, %r15d
leaq 0xc(%rsp), %r14
movq 0x7249(%rip), %rax      # 0xd0e8
imulq $0xa, %rax, %rcx
cmpq %rcx, %r15
jae 0x5ecc
callq 0x1040
cltq
xorl %edx, %edx
divq 0x7228(%rip)            # 0xd0e0
movl %edx, 0xc(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3dbc
incq %r15
jmp 0x5e98
xorl %r15d, %r15d
leaq 0x8(%rsp), %r14
leaq (%rax,%rax,2), %rcx
cmpq %rcx, %r15
jae 0x5f0a
callq 0x1040
cltq
xorl %edx, %edx
divq 0x71f3(%rip)            # 0xd0e0
movl %edx, 0x8(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x3a84
incq %r15
movq 0x71e0(%rip), %rax      # 0xd0e8
jmp 0x5ed4
xorl %r15d, %r15d
leaq 0x4(%rsp), %r14
cmpq %rax, %r15
jae 0x5f42
callq 0x1040
cltq
xorl %edx, %edx
divq 0x71b9(%rip)            # 0xd0e0
movl %edx, 0x4(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3ac8
incq %r15
movq 0x71a8(%rip), %rax      # 0xd0e8
jmp 0x5f12
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/sgalkina[P]data_structures/src/memcheck.cpp
// Function: memcheck::~memcheck()
memcheck::~memcheck()
  {
    assert(value_ != memcheck::DESTRUCTOR_VALUE && "Double free");
    assert(value_ == memcheck::CONSTRUCTOR_VALUE && "Not initialized memory");
    value_ = memcheck::DESTRUCTOR_VALUE;
    --counter;
  }

// Assembly:
pushq %rax
movl (%rdi), %eax
cmpl $0xcafebabe, %eax       # imm = 0xCAFEBABE
jne 0x6c27
movl $0xdeadbeef, (%rdi)     # imm = 0xDEADBEEF
decq 0x64e3(%rip)            # 0xd108
popq %rax
retq
cmpl $0xdeadbeef, %eax       # imm = 0xDEADBEEF
jne 0x6c47
leaq 0x16e4(%rip), %rdi      # 0x8319
leaq 0x1713(%rip), %rsi      # 0x834f
leaq 0x171d(%rip), %rcx      # 0x8360
pushq $0x11
jmp 0x6c5e
leaq 0x1728(%rip), %rdi      # 0x8376
leaq 0x16fa(%rip), %rsi      # 0x834f
leaq 0x1704(%rip), %rcx      # 0x8360
pushq $0x12
popq %rdx
callq 0x1070
// File: /workspace/github_cpp_makefile_star2_O2/zyLiu6707[P]Arknights-Pull-Simulation/./utils.h
// Function: get_random_seed()
uint_fast64_t get_random_seed() {
  std::random_device rd;  // uses RDRND or /dev/urandom
                          // if you want use a specific token, do not use
                          // "/dev/random" on Linux, which is much slower
  std::mt19937_64 mt64(rd());
  auto random_seed = mt64();
  return random_seed;
}

// Assembly:
pushq %rbx
subq $0x1d50, %rsp           # imm = 0x1D50
leaq 0x9c8(%rsp), %rbx
movq %rbx, %rdi
callq 0x4562
movq %rbx, %rdi
callq 0x2220
movl %eax, %esi
movq %rsp, %rdi
callq 0x4b12
movq %rsp, %rdi
callq 0x45b8
movq %rax, %rbx
leaq 0x9c8(%rsp), %rdi
callq 0x4632
movq %rbx, %rax
addq $0x1d50, %rsp           # imm = 0x1D50
popq %rbx
retq
jmp 0x2470
movq %rax, %rbx
leaq 0x9c8(%rsp), %rdi
callq 0x4632
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O2/zyLiu6707[P]Arknights-Pull-Simulation/./error_flag.h
// Function: ErrorFlag::check_err() const
bool check_err() const {
    return err_redundant_identical_ctrl_arg ||

           err_redundant_total_pull_time_ctrl_arg ||
           err_invalid_value_for_total_pull_time_ctrl_arg ||
           err_invalid_value_for_total_pull_time_long_name_ctrl_arg ||
           err_missing_value_for_total_pull_time_ctrl_arg ||
           err_missing_value_for_total_pull_time_long_name_ctrl_arg ||

           err_redundant_pity_ctrl_arg ||
           err_invalid_value_for_pity_ctrl_arg ||
           err_invalid_value_for_pity_long_name_ctrl_arg ||
           err_missing_value_for_pity_ctrl_arg ||
           err_missing_value_for_pity_long_name_ctrl_arg ||

           err_redundant_num_rate_up_ctrl_arg ||
           err_invalid_value_for_num_rate_up_ctrl_arg ||
           err_invalid_value_for_num_rate_up_long_name_ctrl_arg ||
           err_missing_value_for_num_rate_up_ctrl_arg ||
           err_missing_value_for_num_rate_up_long_name_ctrl_arg ||

           err_redundant_current_pull_ctrl_arg ||
           err_invalid_value_for_current_pull_ctrl_arg ||
           err_invalid_value_for_current_pull_long_name_ctrl_arg ||
           err_missing_value_for_current_pull_ctrl_arg ||
           err_missing_value_for_current_pull_long_name_ctrl_arg ||

           err_conflict_ctrl_arg_flag ||
           err_unexpected_value_for_ctrl_arg_limited ||
           err_unexpected_value_for_ctrl_arg_standard ||
           err_unexpected_arguments_at_the_beginning ||
           err_help_ctrl_arg_with_other_args ||
           err_invalid_ctrl_args;
  }

// Assembly:
movb $0x1, %al
cmpb $0x0, (%rdi)
jne 0x46f6
cmpb $0x0, 0x1(%rdi)
jne 0x46f6
cmpb $0x0, 0x2(%rdi)
jne 0x46f6
cmpb $0x0, 0x3(%rdi)
jne 0x46f6
cmpb $0x0, 0x4(%rdi)
jne 0x46f6
cmpb $0x0, 0x5(%rdi)
jne 0x46f6
cmpb $0x0, 0x6(%rdi)
jne 0x46f6
cmpb $0x0, 0x7(%rdi)
jne 0x46f6
cmpb $0x0, 0x8(%rdi)
jne 0x46f6
cmpb $0x0, 0x9(%rdi)
jne 0x46f6
cmpb $0x0, 0xa(%rdi)
jne 0x46f6
cmpb $0x0, 0xb(%rdi)
jne 0x46f6
cmpb $0x0, 0xc(%rdi)
jne 0x46f6
cmpb $0x0, 0xd(%rdi)
jne 0x46f6
cmpb $0x0, 0xe(%rdi)
jne 0x46f6
cmpb $0x0, 0xf(%rdi)
jne 0x46f6
cmpb $0x0, 0x10(%rdi)
jne 0x46f6
cmpb $0x0, 0x11(%rdi)
jne 0x46f6
cmpb $0x0, 0x12(%rdi)
jne 0x46f6
cmpb $0x0, 0x13(%rdi)
jne 0x46f6
cmpb $0x0, 0x14(%rdi)
jne 0x46f6
cmpb $0x0, 0x15(%rdi)
jne 0x46f6
cmpb $0x0, 0x16(%rdi)
jne 0x46f6
cmpb $0x0, 0x17(%rdi)
jne 0x46f6
cmpb $0x0, 0x18(%rdi)
jne 0x46f6
cmpb $0x0, 0x19(%rdi)
jne 0x46f6
movb 0x1a(%rdi), %al
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/vlpov_motionfield2.cpp
// Function: tiff_save(VLPovImage<double> const&, char const*, char const*)
static void tiff_save(const VLPovImage<double> &img, const char *fname, const char *desc)
{
    // convert to float
    float *data = new float[img.width()*img.height()];
    std::copy(img.data(), img.data()+img.width()*img.height(), data);
    //for (int i=0; i<img.width()*img.height(); ++i) {
    //    data[i] = img.data()[i];
    //}
    struct tiff_hdr th;
    tiff_head(&th, img.width(), img.height(), /*colors=*/1, /*bytes_per_sample=*/sizeof(*data), /*isfloat=*/true, desc);
    FILE *f = fopen(fname, "wb");
    if(f == NULL) {
        fprintf(stderr, "Error: cannot open file '%s' for writing\n", fname);
        return;
    }
    fwrite (&th, sizeof th, 1, f);
    fwrite(data, img.width()*img.height()*sizeof(*data), 1, f);
    fclose(f);
    delete [] data;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3d0, %rsp            # imm = 0x3D0
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
movslq (%rdi), %rax
movslq 0x4(%rdi), %r13
imulq %rax, %r13
leaq (,%r13,4), %rax
testl %r13d, %r13d
pushq $-0x1
popq %rdi
cmovnsq %rax, %rdi
callq 0x2040
movq %rax, %rbx
movq 0x8(%r14), %rdi
leaq (%rdi,%r13,8), %rsi
movq %rax, %rdx
callq 0x3bc6
movl (%r14), %esi
movl 0x4(%r14), %edx
movq %rsp, %rdi
pushq $0x4
popq %rcx
pushq $0x1
popq %r8
movq %r12, %r9
callq 0x33ba
leaq 0x521a(%rip), %rsi      # 0x84b0
movq %r15, %rdi
callq 0x21a0
testq %rax, %rax
je 0x32fb
movq %rax, %r12
movq %rsp, %rdi
pushq $0x1
popq %r15
movl $0x3d0, %esi            # imm = 0x3D0
movq %r15, %rdx
movq %rax, %rcx
callq 0x22d0
movslq (%r14), %rax
movslq 0x4(%r14), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %rcx
callq 0x22d0
movq %r12, %rdi
callq 0x2150
movq %rbx, %rdi
callq 0x21c0
addq $0x3d0, %rsp            # imm = 0x3D0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x9cb6(%rip), %rax      # 0xcfb8
movq (%rax), %rdi
leaq 0x51a7(%rip), %rsi      # 0x84b3
movq %r15, %rdx
xorl %eax, %eax
callq 0x21f0
jmp 0x32ea
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/vlpov_motionfield2.cpp
// Function: tiff_save(VLPovImage<unsigned char> const&, char const*, char const*)
static void tiff_save(const VLPovImage<unsigned char> &img, const char *fname, const char *desc)
{
    struct tiff_hdr th;
    tiff_head(&th, img.width(), img.height(), /*colors=*/1, /*bytes_per_sample=*/sizeof(img(0,0)), /*isfloat=*/false, desc);
    FILE *f = fopen(fname, "wb");
    if(f == NULL) {
        fprintf(stderr, "Error: cannot open file '%s' for writing\n", fname);
        return;
    }
    fwrite (&th, sizeof th, 1, f);
    fwrite(img.data(), img.width()*img.height()*sizeof(img(0,0)), 1, f);
    fclose(f);                          
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x3d0, %rsp            # imm = 0x3D0
movq %rdx, %r9
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %esi
movl 0x4(%rdi), %edx
movq %rsp, %rdi
pushq $0x1
popq %rcx
xorl %r8d, %r8d
callq 0x33ba
leaq 0x5169(%rip), %rsi      # 0x84b0
movq %r14, %rdi
callq 0x21a0
testq %rax, %rax
je 0x339d
movq %rax, %r15
movq %rsp, %rdi
pushq $0x1
popq %r14
movl $0x3d0, %esi            # imm = 0x3D0
movq %r14, %rdx
movq %rax, %rcx
callq 0x22d0
movq 0x8(%rbx), %rdi
movslq (%rbx), %rax
movslq 0x4(%rbx), %rsi
imulq %rax, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0x22d0
movq %r15, %rdi
callq 0x2150
addq $0x3d0, %rsp            # imm = 0x3D0
popq %rbx
popq %r14
popq %r15
retq
movq 0x9c14(%rip), %rax      # 0xcfb8
movq (%rax), %rdi
leaq 0x5105(%rip), %rsi      # 0x84b3
movq %r14, %rdx
xorl %eax, %eax
callq 0x21f0
jmp 0x3390
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/./vlpov.hpp
// Function: VLPovImage<double>::resize(int, int)
void resize(int w, int h) {
        delete [] _data;
        if (w > 0 && h > 0) {
            _data = new T[w*h];
            _width = w; _height = h;
        } else {
            _width = _height = 0;
            _data = 0;
        }
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x404c
callq 0x21c0
testl %r14d, %r14d
setle %al
testl %ebp, %ebp
setle %cl
orb %al, %cl
jne 0x406c
movl %ebp, %edi
imull %r14d, %edi
shlq $0x3, %rdi
callq 0x2040
jmp 0x4073
xorl %eax, %eax
xorl %r14d, %r14d
xorl %ebp, %ebp
movq %rax, 0x8(%rbx)
movl %r14d, (%rbx)
movl %ebp, 0x4(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/occlusionmap.cpp
// Function: vlpov_occlusionmap_stereo(VLPovImage<double> const&, VLPovImage<double> const&, double, VLPovImage<unsigned char>&)
void vlpov_occlusionmap_stereo(const VLPovImage<double> &m1x, const VLPovImage<double> &m2x,
                               double t,
                               VLPovImage<unsigned char> &occ1)
{
    int width1 = m1x.width();
    int height1 = m1x.height();
    int width2 = m2x.width();
    int height2 = m2x.height();
    
    occ1.resize(width1, height1);
    
    for(int y1 = 0; y1 < height1; ++y1) {
        for(int x1 = 0; x1 < width1; ++x1) {
            double x2 = x1 + m1x(x1,y1);
            double y2 = y1;
            
            // check for visibility
            if (x2 < -0.5 || x2 > width2-0.5 ||
                y2 < -0.5 || y2 > height2-0.5) {
                occ1(x1,y1) = 0;
                continue;
            }
            
            double x1b = x2 + m2x.linear_at(x2,y2);
            // check for occlusion
            if (std::abs(x1 - x1b) > t) {
                occ1(x1,y1) = 0;
                continue;
            }
            
            // point is visible
            occ1(x1,y1) = 255;
        }
    }
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movsd %xmm0, 0x30(%rsp)
movq %rdi, %r15
movl (%rdi), %r12d
movl 0x4(%rdi), %ebp
cvtsi2sdl (%rsi), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rsi, 0x28(%rsp)
cvtsi2sdl 0x4(%rsi), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rdx, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x508e
movsd 0x38a7(%rip), %xmm4     # 0x8800
xorl %r13d, %r13d
testl %r12d, %r12d
cmovlel %r13d, %r12d
movsd 0x10(%rsp), %xmm0
addsd %xmm4, %xmm0
movsd %xmm0, 0x10(%rsp)
testl %ebp, %ebp
cmovlel %r13d, %ebp
movl %ebp, 0x1c(%rsp)
movsd 0x8(%rsp), %xmm0
addsd %xmm4, %xmm0
movsd %xmm0, 0x8(%rsp)
xorpd %xmm1, %xmm1
movsd 0x306f(%rip), %xmm2     # 0x8008
cmpl 0x1c(%rsp), %r13d
je 0x507e
xorpd %xmm3, %xmm3
movslq %r13d, %rbp
xorl %r14d, %r14d
movsd %xmm1, 0x20(%rsp)
cmpl %r14d, %r12d
je 0x5072
movq 0x8(%r15), %rax
movslq (%r15), %rcx
imulq %rbp, %rcx
addq %r14, %rcx
movsd (%rax,%rcx,8), %xmm0
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm4
ja 0x503a
ucomisd 0x10(%rsp), %xmm0
ja 0x503a
ucomisd 0x8(%rsp), %xmm1
ja 0x503a
movq 0x28(%rsp), %rdi
movsd %xmm3, 0x40(%rsp)
movsd %xmm0, 0x38(%rsp)
callq 0x50da
movsd 0x40(%rsp), %xmm3
addsd 0x38(%rsp), %xmm0
movapd %xmm3, %xmm1
subsd %xmm0, %xmm1
andpd 0x37f4(%rip), %xmm1     # 0x8810
movl (%rbx), %ecx
imull %r13d, %ecx
addl %r14d, %ecx
ucomisd 0x30(%rsp), %xmm1
movq 0x8(%rbx), %rax
movslq %ecx, %rcx
jbe 0x504c
movb $0x0, (%rax,%rcx)
jmp 0x5050
movslq (%rbx), %rax
imulq %rbp, %rax
addq 0x8(%rbx), %rax
movb $0x0, (%r14,%rax)
jmp 0x5066
movb $-0x1, (%rax,%rcx)
movsd 0x37a8(%rip), %xmm4     # 0x8800
movsd 0x20(%rsp), %xmm1
movsd 0x2fa2(%rip), %xmm2     # 0x8008
addsd %xmm2, %xmm3
incq %r14
jmp 0x4fb4
addsd %xmm2, %xmm1
incl %r13d
jmp 0x4f99
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/./vlpov.hpp
// Function: VLPovImage<double>::linear_at(double, double) const
const T linear_at(double fx, double fy) const {
        const double nfx = fx<0?0:(fx>_width-1?_width-1:fx);
        const double nfy = fy<0?0:(fy>_height-1?_height-1:fy);
        const unsigned int x = (unsigned int)nfx;
        const unsigned int y = (unsigned int)nfy;
        const double dx = nfx - x;
        const double dy = nfy - y;
        const unsigned int nx = dx>0?x+1:x;
        const unsigned int ny = dy>0?y+1:y;
        const T Icc = (*this)(x,y);
        const T Inc = (*this)(nx,y);
        const T Icn = (*this)(x,ny);
        const T Inn = (*this)(nx,ny);
        return Icc + dx*(Inc-Icc + dy*(Icc+Inn-Icn-Inc)) + dy*(Icn-Icc);
    }

// Assembly:
xorpd %xmm2, %xmm2
ucomisd %xmm0, %xmm2
xorpd %xmm3, %xmm3
ja 0x50f4
movl (%rdi), %eax
decl %eax
cvtsi2sd %eax, %xmm3
minsd %xmm0, %xmm3
ucomisd %xmm1, %xmm2
ja 0x5107
movl 0x4(%rdi), %eax
decl %eax
cvtsi2sd %eax, %xmm2
minsd %xmm1, %xmm2
cvttsd2si %xmm3, %rax
cvttsd2si %xmm2, %rcx
movl %eax, %edx
cvtsi2sd %rdx, %xmm0
movl %ecx, %edx
cvtsi2sd %rdx, %xmm1
subsd %xmm0, %xmm3
subsd %xmm1, %xmm2
xorpd %xmm0, %xmm0
xorl %edx, %edx
ucomisd %xmm0, %xmm3
seta %dl
addl %eax, %edx
xorl %esi, %esi
ucomisd %xmm0, %xmm2
seta %sil
addl %ecx, %esi
movq 0x8(%rdi), %r8
movl (%rdi), %edi
imull %edi, %ecx
leal (%rcx,%rax), %r9d
movslq %r9d, %r9
movsd (%r8,%r9,8), %xmm1
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%r8,%rcx,8), %xmm4
imull %edi, %esi
addl %esi, %eax
cltq
movsd (%r8,%rax,8), %xmm0
addl %edx, %esi
movslq %esi, %rax
movsd (%r8,%rax,8), %xmm5
addsd %xmm1, %xmm5
subsd %xmm0, %xmm5
subsd %xmm4, %xmm5
subsd %xmm1, %xmm4
mulsd %xmm2, %xmm5
addsd %xmm4, %xmm5
mulsd %xmm3, %xmm5
addsd %xmm1, %xmm5
subsd %xmm1, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm5, %xmm0
retq
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/povread.cpp
// Function: vlpov_povread(char const*, VLPovCamera&)
int vlpov_povread(const char* file, VLPovCamera &cam)
{
    size_t file_len = strlen(file);
    char *info_file = new char[file_len+5];
    const char *info_suffix = ".txt";
    std::copy(file, file+file_len, info_file);
    std::copy(info_suffix, info_suffix+5, info_file+file_len);
    int retval = vlpov_get_cam(info_file, cam);
    delete [] info_file;
    return retval;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r12
callq 0x2070
movq %rax, %r15
leaq 0x5(%rax), %rdi
callq 0x2040
movq %rax, %r14
testq %r15, %r15
je 0x51dd
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x2100
movb $0x0, 0x4(%r14,%r15)
movl $0x7478742e, (%r14,%r15) # imm = 0x7478742E
movq %r14, %rdi
movq %rbx, %rsi
callq 0x520e
movl %eax, %ebx
movq %r14, %rdi
callq 0x21c0
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/./vlpov.hpp
// Function: VLPovImage<double>::load(char const*)
int load(const char *filename) {
        if (_width <= 0 || _height <= 0) {
            return -1;
        }
        unsigned int siz = _width*_height;
        std::FILE *const nfile = std::fopen(filename,"rb");
        if (!nfile) {
            return -1;
        }
        std::fseek(nfile,0,SEEK_END);
        const long fsiz = (unsigned int)std::ftell(nfile)/sizeof(T);
        if (fsiz < siz) {
            std::fclose(nfile);
            return -1;
        }
        std::fseek(nfile,0,SEEK_SET);
        size_t nr = std::fread(_data,sizeof(T),siz,nfile);
        std::fclose(nfile);
        if (nr != siz) {
            return -1;
        }
        if (!endianness()) {
            invert_endianness();
        }
        return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl (%rdi), %ebp
pushq $-0x1
popq %rbx
testl %ebp, %ebp
jle 0x599b
movq %rdi, %r14
movl 0x4(%rdi), %r15d
testl %r15d, %r15d
jle 0x599b
leaq 0x31d9(%rip), %rax      # 0x8afe
movq %rsi, %rdi
movq %rax, %rsi
callq 0x21a0
testq %rax, %rax
je 0x599b
movq %rax, %r12
imull %ebp, %r15d
pushq $0x2
popq %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0x2170
movq %r12, %rdi
callq 0x2030
shrl $0x3, %eax
cmpl %r15d, %eax
jae 0x5963
movq %r12, %rdi
callq 0x2150
jmp 0x599b
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2170
movq 0x8(%r14), %rdi
pushq $0x8
popq %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x2200
movq %rax, %r13
movq %r12, %rdi
callq 0x2150
cmpq %r15, %r13
jne 0x599b
movq %r14, %rdi
callq 0x5cac
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/./small.hpp
// Function: boost::numeric::ublas::diagonal(double, double, double)
inline matrix33
diagonal(double d0, double d1, double d2) {
    matrix33 D;
    D(0,0) =  d0; D(0,1) = 0.0; D(0,2) = 0.0;
    D(1,0) = 0.0; D(1,1) =  d1; D(1,2) = 0.0;
    D(2,0) = 0.0; D(2,1) = 0.0; D(2,2) =  d2;

    return D;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movsd %xmm2, 0x18(%rsp)
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
callq 0x39fe
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5bba
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
pushq $0x1
popq %r14
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x5bba
andq $0x0, (%rax)
pushq $0x2
popq %r15
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x5bba
andq $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x5bba
andq $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x5bba
movsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x5bba
andq $0x0, (%rax)
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x5bba
andq $0x0, (%rax)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x5bba
andq $0x0, (%rax)
movq %rbx, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x5bba
movsd 0x18(%rsp), %xmm0
movsd %xmm0, (%rax)
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/./vlpov.hpp
// Function: VLPovImage<double>::invert_endianness()
void invert_endianness() {
        unsigned int size = _width * _height;
        switch (sizeof(T)) {
            case 1:
                break;
            case 2:
                for (unsigned short *ptr = (unsigned short*)_data+size; ptr>(unsigned short*)_data; ) {
                    const unsigned short val = *(--ptr);
                    *ptr = (unsigned short)((val>>8)|((val<<8)));
                }
                break;
            case 4:
                for (unsigned int *ptr = (unsigned int*)_data+size; ptr>(unsigned int*)_data; ) {
                    const unsigned int val = *(--ptr);
                    *ptr = (val>>24)|((val>>8)&0xff00)|((val<<8)&0xff0000)|(val<<24);
                }
                break;
            default:
                for (T* ptr = _data+size; ptr>_data; ) {
                    unsigned char *pb = (unsigned char*)(--ptr), *pe = pb + sizeof(T);
                    for (int i = 0; i<(int)sizeof(T)/2; ++i) std::swap(*(pb++),*(--pe));
                }
                break;
        }
        
    }

// Assembly:
movl 0x4(%rdi), %eax
imull (%rdi), %eax
movq 0x8(%rdi), %rsi
leaq (%rsi,%rax,8), %rcx
pushq $-0x1
popq %rax
cmpq %rsi, %rcx
jbe 0x5cf0
leaq -0x8(%rcx), %rdx
movq %rax, %rsi
movq %rdx, %r8
cmpl $-0x5, %esi
je 0x5ce7
movb (%r8), %r9b
movb (%rcx,%rsi), %r10b
movb %r10b, (%r8)
incq %r8
movb %r9b, (%rcx,%rsi)
decq %rsi
jmp 0x5ccc
movq 0x8(%rdi), %rsi
movq %rdx, %rcx
jmp 0x5cbd
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/devernay[P]vlpovutils/./small.hpp
// Function: boost::numeric::ublas::matrix33_from_columns(boost::numeric::ublas::vector3 const&, boost::numeric::ublas::vector3 const&, boost::numeric::ublas::vector3 const&)
inline matrix33
matrix33_from_columns(const vector3 &m0, const vector3 &m1, const vector3 &m2) {
    matrix33 M;
    M(0,0) = m0[0]; M(0,1) = m1[0]; M(0,2) = m2[0];
    M(1,0) = m0[1]; M(1,1) = m1[1]; M(1,2) = m2[1];
    M(2,0) = m0[2]; M(2,1) = m1[2]; M(2,2) = m2[2];

    return M;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x39fe
movq %r12, %rdi
xorl %esi, %esi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
xorl %esi, %esi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
pushq $0x1
popq %r13
movq %rbx, %rdi
xorl %esi, %esi
movq %r13, %rdx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r14, %rdi
xorl %esi, %esi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
pushq $0x2
popq %rbp
movq %rbx, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r12, %rdi
movq %r13, %rsi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
movq %r13, %rsi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r14, %rdi
movq %r13, %rsi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
movq %rbp, %rsi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x496c
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %rbp, %rdx
callq 0x5bba
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
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_O2/sehe[P]spirit-v2-json/test.cpp
// Function: main
int main(int argc, char** argv) {
    
    if (argc < 2)
        return -1;
    
    std::ifstream inputfile(argv[1]);
    std::string to_parse;
    int count;

    inputfile.seekg(0, std::ios::end);   
    to_parse.reserve(inputfile.tellg());
    inputfile.seekg(0, std::ios::beg);

    to_parse.assign((std::istreambuf_iterator<char>(inputfile)),
                     std::istreambuf_iterator<char>());
    
    steady_clock::time_point start_time = steady_clock::now();
    for (unsigned i = 0; i < ntimes; ++i) {
        JSON::Value parsed = JSON::parse(to_parse);
    }
    steady_clock::time_point end_time = steady_clock::now();
    microseconds us = duration_cast<microseconds>(end_time - start_time);
    std::cout << "[+] Finished successfully with an average of: " << (us.count() / ntimes) << " us\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
cmpl $0x2, %edi
jge 0x47b6
pushq $-0x1
popq %rax
jmp 0x48b2
movq 0x8(%rsi), %rsi
leaq 0x50(%rsp), %rbx
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x44a0
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
pushq $0x2
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4320
leaq 0x50(%rsp), %rdi
callq 0x4460
movq %rsp, %rdi
movq %rax, %rsi
callq 0x43b0
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
movq 0x50(%rsp), %rax
movq -0x18(%rax), %rax
movq 0x138(%rsp,%rax), %rsi
movq %rsp, %rdi
pushq $-0x1
popq %rdx
xorl %ecx, %ecx
movl %edx, %r8d
callq 0x48e4
pushq $0xa
popq %rbp
callq 0x4300
leaq 0x20(%rsp), %r14
movq %rax, %rbx
movq %rsp, %r15
subl $0x1, %ebp
jb 0x4859
movq %r14, %rdi
movq %r15, %rsi
callq 0x528b
movq %r14, %rdi
callq 0x4b66
jmp 0x483f
callq 0x4300
movq %rax, %r14
movq 0x4a768(%rip), %rdi     # 0x4efd0
leaq 0x207e5(%rip), %rsi     # 0x25054
callq 0x4260
subq %rbx, %r14
movq %rax, %rdi
movl $0x2710, %ecx           # imm = 0x2710
movq %r14, %rax
cqto
idivq %rcx
movq %rax, %rsi
callq 0x4250
leaq 0x207ed(%rip), %rsi     # 0x25083
movq %rax, %rdi
callq 0x4260
movq %rsp, %rdi
callq 0x4100
leaq 0x50(%rsp), %rdi
callq 0x4080
xorl %eax, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x48c6
jmp 0x48c6
jmp 0x48c6
movq %rsp, %rdi
movq %rax, %rbx
callq 0x4100
leaq 0x50(%rsp), %rdi
callq 0x4080
movq %rbx, %rdi
callq 0x4470
nop
// File: /workspace/github_cpp_makefile_star2_O2/sehe[P]spirit-v2-json/json.cpp
// Function: JSON::Object::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Value& Object::operator[](std::string const& key)
    {
        auto match = std::find_if(begin(values), end(values), [&key](Entry const& e) { return key == e.first; });
        if (match != end(values))
            return match->second;

        values.push_back({ key, Undefined{} });
        return values.back().second;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq 0x8(%rdi), %r12
movq (%rdi), %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %r12, 0x8(%rsp)
subq %r15, %r12
pushq $0x50
popq %rcx
movq %r12, %rax
cqto
idivq %rcx
movq %rax, %r13
sarq $0x2, %r13
testq %r13, %r13
jle 0x4e4b
movq %r14, %rdi
movq %r15, %rsi
callq 0x81a3
testb %al, %al
jne 0x4e8a
leaq 0x50(%r15), %rbp
movq %r14, %rdi
movq %rbp, %rsi
callq 0x81a3
testb %al, %al
jne 0x4eb0
leaq 0xa0(%r15), %rbp
movq %r14, %rdi
movq %rbp, %rsi
callq 0x81a3
testb %al, %al
jne 0x4eb0
leaq 0xf0(%r15), %rbp
movq %r14, %rdi
movq %rbp, %rsi
callq 0x81a3
testb %al, %al
jne 0x4eb0
addq $0x140, %r15            # imm = 0x140
decq %r13
addq $-0x140, %r12           # imm = 0xFEC0
jmp 0x4dd9
movq %r12, %rax
cqto
pushq $0x50
popq %rcx
idivq %rcx
cmpq $0x1, %rax
je 0x4e9a
cmpq $0x2, %rax
je 0x4e7b
cmpq $0x3, %rax
jne 0x4e8f
movq %r14, %rdi
movq %r15, %rsi
callq 0x81a3
testb %al, %al
jne 0x4e8a
addq $0x50, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x81a3
testb %al, %al
je 0x4e96
movq %r15, %rbp
jmp 0x4eb0
movq 0x8(%rsp), %rbp
jmp 0x4eb0
addq $0x50, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x81a3
movq 0x8(%rsp), %rbp
testb %al, %al
cmovneq %r15, %rbp
cmpq 0x8(%rbx), %rbp
jne 0x4ee8
leaq 0x10(%rsp), %r15
movq %r14, %rsi
movq %r15, %rdi
callq 0x4330
andl $0x0, 0x20(%r15)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x81d2
leaq 0x10(%rsp), %rdi
callq 0x4c1a
movq 0x8(%rbx), %rbp
addq $-0x50, %rbp
addq $0x20, %rbp
movq %rbp, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %rax, %rbx
callq 0x4c1a
movq %rbx, %rdi
callq 0x4470
nop
// File: /workspace/github_cpp_makefile_star2_O2/sehe[P]spirit-v2-json/json.cpp
// Function: JSON::to_string(boost::variant<JSON::Literal<JSON::tag_undefined>, JSON::Literal<JSON::tag_null>, JSON::Bool, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, long, long double> const&)
std::string to_string(Value const& json) {
        std::string text;
        auto out = std::back_inserter(text);

        static const generator<decltype(out)> g;
        karma::generate(out, g, json);

        return text;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x10(%rdi), %rax
movq %rdi, (%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movb 0x4a472(%rip), %al      # 0x4f5d8
testb %al, %al
je 0x5187
leaq 0x4a16f(%rip), %rsi     # 0x4f2e0
movq %rsp, %rdi
movq %r14, %rdx
callq 0x6c4d
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x4a44a(%rip), %rdi     # 0x4f5d8
callq 0x4490
testl %eax, %eax
je 0x516a
leaq 0x4a142(%rip), %rdi     # 0x4f2e0
callq 0x5fa8
leaq 0x1a20(%rip), %rdi      # 0x6bca
leaq 0x4a12f(%rip), %rsi     # 0x4f2e0
leaq 0x4a0b8(%rip), %rdx     # 0x4f270
callq 0x4220
leaq 0x4a414(%rip), %rdi     # 0x4f5d8
callq 0x4170
jmp 0x516a
leaq 0x4a406(%rip), %rdi     # 0x4f5d8
movq %rax, %r14
callq 0x4160
jmp 0x51df
movq %rax, %r14
movq %rbx, %rdi
callq 0x4100
movq %r14, %rdi
callq 0x4470
// File: /workspace/github_cpp_makefile_star2_O2/sehe[P]spirit-v2-json/json.cpp
// Function: JSON::operator<<(std::ostream&, boost::variant<JSON::Literal<JSON::tag_undefined>, JSON::Literal<JSON::tag_null>, JSON::Bool, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, long, long double> const&)
std::ostream& operator<<(std::ostream& os, Value const& v)
    {
        boost::spirit::ostream_iterator out(os);

        static const generator<decltype(out)> g;
        karma::generate(out, g, v);

        return os;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
andq $0x0, 0x10(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movb 0x4a6cb(%rip), %al      # 0x4f8d8
testb %al, %al
je 0x5230
leaq 0x4a3c8(%rip), %rsi     # 0x4f5e0
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x7927
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
leaq 0x4a6a1(%rip), %rdi     # 0x4f8d8
callq 0x4490
testl %eax, %eax
je 0x5211
leaq 0x4a399(%rip), %rdi     # 0x4f5e0
callq 0x6c82
leaq 0x2651(%rip), %rdi      # 0x78a4
leaq 0x4a386(%rip), %rsi     # 0x4f5e0
leaq 0x4a00f(%rip), %rdx     # 0x4f270
callq 0x4220
leaq 0x4a66b(%rip), %rdi     # 0x4f8d8
callq 0x4170
jmp 0x5211
leaq 0x4a65d(%rip), %rdi     # 0x4f8d8
movq %rax, %rbx
callq 0x4160
movq %rbx, %rdi
callq 0x4470
// File: /workspace/github_cpp_makefile_star2_O2/sehe[P]spirit-v2-json/json.cpp
// Function: JSON::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Value parse(std::string const& input) {
        auto f(begin(input)), saved = f, l(end(input));

        Value parsed;
        if (!tryParseJson(f, l, parsed))
        {
            std::cerr << "whoops at position #" << std::distance(saved, f) << "\n";
        }

        return parsed;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq (%rsi), %r14
movq %rdi, %rbx
movq %rsp, %rdi
movq %r14, (%rdi)
movq 0x8(%rsi), %rsi
andl $0x0, (%rbx)
addq %r14, %rsi
movq %rbx, %rdx
callq 0x795b
testb %al, %al
jne 0x52e2
movq 0x49d38(%rip), %rdi     # 0x4eff0
leaq 0x2e5c1(%rip), %rsi     # 0x33880
callq 0x4260
movq (%rsp), %rsi
subq %r14, %rsi
movq %rax, %rdi
callq 0x4250
leaq 0x2f3ac(%rip), %rsi     # 0x34686
movq %rax, %rdi
callq 0x4260
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
movq %rax, %r14
callq 0x4b66
movq %r14, %rdi
callq 0x4470
// File: /workspace/github_cpp_makefile_star2_O2/sehe[P]spirit-v2-json/json.cpp
// Function: JSON::readFrom[abi:cxx11](std::istream&)
Value readFrom(std::istream& is)
    {
        is.unsetf(std::ios::skipws);
        boost::spirit::istream_iterator it(is), pte;

        Value parsed;
        if (!tryParseJson(it, pte, parsed))
        {
            std::cerr << "whoops"; // TODO
        }

        return parsed;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq (%rsi), %rax
leaq 0x38(%rsp), %r14
movq %rdi, %rbx
movq %r14, %rdi
movq -0x18(%rax), %rax
andl $0xffffefff, 0x18(%rsi,%rax) # imm = 0xFFFFEFFF
callq 0x1c57c
leaq 0x20(%rsp), %rsi
andq $0x0, 0x10(%rsp)
andl $0x0, (%rbx)
vxorps %xmm0, %xmm0, %xmm0
andq $0x0, 0x10(%rsi)
vmovaps %xmm0, (%rsp)
vmovaps %xmm0, (%rsi)
movq %r14, %rdi
movq %rbx, %rdx
callq 0x7b16
leaq 0x20(%rsp), %rdi
movl %eax, %ebp
callq 0x1e728
testb %bpl, %bpl
jne 0x5376
movq 0x49c86(%rip), %rdi     # 0x4eff0
leaq 0x2e524(%rip), %rsi     # 0x33895
callq 0x4260
movq %rsp, %rdi
callq 0x1e728
leaq 0x38(%rsp), %rdi
callq 0x1e728
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
jmp 0x53a6
leaq 0x20(%rsp), %rdi
movq %rax, %r14
callq 0x1e728
movq %rbx, %rdi
callq 0x4b66
movq %rsp, %rdi
callq 0x1e728
leaq 0x38(%rsp), %rdi
callq 0x1e728
movq %r14, %rdi
callq 0x4470
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: applyFrequencies(std::unordered_map<unsigned long, std::pair<unsigned long, bool>, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, std::pair<unsigned long, bool>>>>&, std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>&)
void applyFrequencies(std::unordered_map<uint64_t, hash_coord>& freqHashTable, std::vector<cdf_coord>& cdf)
// Update cdf with the frequencies from the hash table
{
    uint64_t partialSum = 0;
    for (unsigned index = 0, limit = cdf.size(); index < limit; ++index) {
        uint64_t currSum = freqHashTable[cdf[index].first].first;
        partialSum += currSum;
        cdf[index].second = partialSum;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
movq 0x8(%rbx), %rax
subq %rsi, %rax
movabsq $0xffffffff0, %r15      # imm = 0xFFFFFFFF0
andq %rax, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
cmpq %r12, %r15
je 0x34d9
addq %r12, %rsi
movq %r14, %rdi
callq 0x50b8
addq (%rax), %r13
movq (%rbx), %rsi
movq %r13, 0x8(%rsi,%r12)
addq $0x10, %r12
jmp 0x34b8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: computeFreqHashTable(std::vector<unsigned long, std::allocator<unsigned long>>&, std::vector<unsigned long, std::allocator<unsigned long>>&)
std::unordered_map<uint64_t, hash_coord> computeFreqHashTable(std::vector<uint64_t>& xs, std::vector<uint64_t>& ys) 
// Return the hash table with the frequencies of the resulted sums
// This is used by all algorithms
{
    // Hash with the frequencies of each sum
    assert(xs.size() == ys.size());
    std::unordered_map<uint64_t, hash_coord> count_;
    for (unsigned index = 0; index < xs.size(); ++index) {
        for (unsigned ptr = 0; ptr < ys.size(); ++ptr) {
            // TODO: assuming that the value is still a 32-bit unsigned value
            // This serves only to the theoretical part of the algorithm
            uint64_t sum = xs[index] + ys[ptr];
            ++count_[sum].first;
        }
    }
    return count_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
movq %rdx, %rdi
subq %rsi, %rdi
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq %rcx, %r8
subq %rax, %r8
cmpq %r8, %rdi
jne 0x35a9
leaq 0x30(%rbx), %rdi
movq %rdi, (%rbx)
movq $0x1, 0x8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movl $0x3f800000, 0x20(%rbx) # imm = 0x3F800000
movups %xmm0, 0x28(%rbx)
xorl %r13d, %r13d
movq %rsp, %r12
subq %rsi, %rdx
movl %r13d, %r13d
sarq $0x3, %rdx
cmpq %r13, %rdx
jbe 0x3597
xorl %ebp, %ebp
movl %ebp, %ebp
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rbp, %rdx
jbe 0x358b
movq (%r15), %rcx
movq (%rax,%rbp,8), %rax
addq (%rcx,%r13,8), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x50b8
incq (%rax)
incl %ebp
movq (%r14), %rax
movq 0x8(%r14), %rcx
jmp 0x3552
incl %r13d
movq (%r15), %rsi
movq 0x8(%r15), %rdx
jmp 0x3541
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3ac8(%rip), %rdi      # 0x7078
leaq 0x3ad8(%rip), %rsi      # 0x708f
leaq 0x3adf(%rip), %rcx      # 0x709d
pushq $0x43
popq %rdx
callq 0x3100
movq %rax, %r14
movq %rbx, %rdi
callq 0x4678
movq %r14, %rdi
callq 0x32c0
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: preprocessing_sorting(std::unordered_map<unsigned long, std::pair<unsigned long, bool>, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, std::pair<unsigned long, bool>>>>&, std::vector<unsigned long, std::allocator<unsigned long>>&, std::vector<unsigned long, std::allocator<unsigned long>>&)
std::vector<cdf_coord> preprocessing_sorting(std::unordered_map<uint64_t, hash_coord>& count_, std::vector<uint64_t>& xs, std::vector<uint64_t>& ys)
// Solve the task with sorting
{
    std::vector<cdf_coord> final_(count_.size());
    unsigned index = 0;
    for (auto elem: count_)
        final_[index++] = std::make_pair(elem.first, 0);
    return final_;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rsi), %rsi
leaq 0x7(%rsp), %rdx
callq 0x4576
addq $0x10, %r14
movq (%rbx), %rax
xorl %ecx, %ecx
movq (%r14), %r14
testq %r14, %r14
je 0x361a
movq 0x8(%r14), %rdx
movl %ecx, %esi
incl %ecx
shlq $0x4, %rsi
movq %rdx, (%rax,%rsi)
andq $0x0, 0x8(%rax,%rsi)
jmp 0x35fa
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: solveWithSorting(std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>&)
void solveWithSorting(std::vector<cdf_coord>& cdf)
{
    auto start = high_resolution_clock::now();
    std::sort(cdf.begin(), cdf.end(), [](auto left, auto right) {
       return left.first < right.first; 
    });
    auto stop = high_resolution_clock::now();
    std::cout << "Solving with Sorting took: " << duration_cast<milliseconds>(stop - start).count() << " ms" << std::endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x3030
movq %rax, %rbx
movq (%r14), %r15
movq 0x8(%r14), %r14
cmpq %r14, %r15
je 0x36a2
movq %r14, %r12
subq %r15, %r12
movq %r12, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x4276
cmpq $0x101, %r12            # imm = 0x101
jl 0x3697
leaq 0x100(%r15), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x44f9
cmpq %r14, %r12
je 0x36a2
movq %r12, %rdi
callq 0x4552
addq $0x10, %r12
jmp 0x3684
movq %r15, %rdi
movq %r14, %rsi
callq 0x44f9
callq 0x3030
movq %rax, %r14
movq 0x790f(%rip), %rdi      # 0xafc0
leaq 0x3a55(%rip), %rsi      # 0x710d
callq 0x31c0
movq %rax, %rdi
subq %rbx, %r14
movl $0xf4240, %ecx          # imm = 0xF4240
movq %r14, %rax
cqto
idivq %rcx
movq %rax, %rsi
callq 0x31a0
leaq 0x3a4a(%rip), %rsi      # 0x7129
movq %rax, %rdi
callq 0x31c0
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x30c0
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: collectChain(unsigned long)
std::vector<uint64_t> collectChain(uint64_t index) 
// Collect the chain into a vector
{
    std::vector<uint64_t> ret;
    for (uint32_t ptr = adj[index]; ptr; ptr = list[ptr].next)
        ret.push_back(list[ptr].sum);
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rdi)
movups %xmm0, (%rdi)
shlq $0x3, %rsi
addq 0x7a72(%rip), %rsi      # 0xb1b0
movl (%rsi), %r14d
testq %r14, %r14
je 0x376d
shlq $0x4, %r14
movq 0x7a77(%rip), %rsi      # 0xb1c8
addq %r14, %rsi
movq %rbx, %rdi
callq 0x45d4
movq 0x7a65(%rip), %rax      # 0xb1c8
leaq (%rax,%r14), %rsi
addq $0x8, %rsi
jmp 0x373e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x509a
movq %r14, %rdi
callq 0x32c0
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: solveWithCdf(std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>&)
void solveWithCdf(std::vector<cdf_coord>& cdf)
// Insertion sort for partially sorted cdf
{
    
    auto start = high_resolution_clock::now();
    int size = cdf.size();
    for (unsigned index = 1, limit = cdf.size(); index < limit; ++index) {
        unsigned ptr = index;
        cdf_coord curr = cdf[index];
        while ((ptr > 0) && (cdf[ptr - 1].first > curr.first)) {
            cdf[ptr] = cdf[ptr - 1];
            --ptr;
        }
        cdf[ptr] = curr;
    }
    
    auto stop = high_resolution_clock::now();
    std::cout << "Solving with CDF approximation took: " << duration_cast<milliseconds>(stop - start).count() << " ms" << std::endl;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x3030
movq %rax, %rbx
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x4, %rcx
movl %ecx, %ecx
leaq 0x18(%rax), %rdx
pushq $0x1
popq %rsi
cmpq %rcx, %rsi
jae 0x3cbc
movq %rsi, %rdi
shlq $0x4, %rdi
movups (%rax,%rdi), %xmm0
movq (%rax,%rdi), %r8
movq %rdx, %r9
movq %rsi, %rdi
testq %rdi, %rdi
je 0x3ca9
leal -0x1(%rdi), %r10d
shlq $0x4, %r10
movq (%rax,%r10), %r11
cmpq %r8, %r11
jbe 0x3ca9
addq %rax, %r10
movq %r11, -0x8(%r9)
movq 0x8(%r10), %r10
movq %r10, (%r9)
addq $-0x10, %r9
decq %rdi
jmp 0x3c7c
movl %edi, %edi
shlq $0x4, %rdi
movups %xmm0, (%rax,%rdi)
incq %rsi
addq $0x10, %rdx
jmp 0x3c62
callq 0x3030
movq %rax, %r14
movq 0x72f5(%rip), %rdi      # 0xafc0
leaq 0x3500(%rip), %rsi      # 0x71d2
callq 0x31c0
movq %rax, %rdi
subq %rbx, %r14
movl $0xf4240, %ecx          # imm = 0xF4240
movq %r14, %rax
cqto
idivq %rcx
movq %rax, %rsi
callq 0x31a0
leaq 0x3430(%rip), %rsi      # 0x7129
movq %rax, %rdi
callq 0x31c0
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x30c0
// File: /workspace/github_cpp_makefile_star2_O2/stoianmihail[P]XY-sorting/algorithm.cpp
// Function: generator(unsigned long)
static std::vector<uint64_t> generator(uint64_t maxValue)
// generates a sorted array of MAX_N unsigned ints without duplicates
{
    std::vector<uint64_t> numbers;
    std::generate_n(std::back_inserter(numbers), 10000, randomNumberBetween(1, maxValue));
    std::sort(std::begin(numbers), std::end(numbers));
    return numbers;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x2740, %rsp           # imm = 0x2740
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x1, 0x13a8(%rsp)
movq %rsi, 0x13b0(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x4b04
leaq 0x10(%rsp), %rdi
callq 0x3210
leaq 0x13b8(%rsp), %rdi
movl %eax, %esi
callq 0x4c3c
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x4b5a
leaq 0x10(%rsp), %rdi
leaq 0x13a8(%rsp), %rsi
movl $0x1398, %edx           # imm = 0x1398
callq 0x3160
movl $0xffffd8f0, %ebp       # imm = 0xFFFFD8F0
leaq 0x20(%rsp), %r15
leaq 0x8(%rsp), %r12
testl %ebp, %ebp
je 0x40fd
movq %r14, %rdi
movq %r15, %rsi
callq 0x472c
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4974
incl %ebp
jmp 0x40da
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
callq 0x4c73
movq %rbx, %rax
addq $0x2740, %rsp           # imm = 0x2740
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x412d
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x4b5a
jmp 0x4130
movq %rax, %r14
movq %rbx, %rdi
callq 0x509a
movq %r14, %rdi
callq 0x32c0
// File: /workspace/github_cpp_makefile_star2_O2/mortennobel[P]glMatrix-vs-GLM-Benchmark/Timer.cpp
// Function: Timer::getElapsedTimeInMicroSec()
double Timer::getElapsedTimeInMicroSec()
{
#ifdef WIN32
    if(!stopped)
        QueryPerformanceCounter(&endCount);

    startTimeInMicroSec = startCount.QuadPart * (1000000.0 / frequency.QuadPart);
    endTimeInMicroSec = endCount.QuadPart * (1000000.0 / frequency.QuadPart);
#else
    if(!stopped)
        gettimeofday(&endCount, NULL);

    startTimeInMicroSec = (startCount.tv_sec * 1000000.0) + startCount.tv_usec;
    endTimeInMicroSec = (endCount.tv_sec * 1000000.0) + endCount.tv_usec;
#endif

    return endTimeInMicroSec - startTimeInMicroSec;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, 0x10(%rdi)
jne 0x12d9
leaq 0x28(%rbx), %rdi
xorl %esi, %esi
callq 0x1100
cvtsi2sdq 0x18(%rbx), %xmm1
cvtsi2sdq 0x20(%rbx), %xmm0
movsd 0x1d1b(%rip), %xmm2     # 0x3008
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
cvtsi2sdq 0x28(%rbx), %xmm0
cvtsi2sdq 0x30(%rbx), %xmm3
mulsd %xmm2, %xmm0
addsd %xmm3, %xmm0
movsd %xmm0, 0x8(%rbx)
subsd %xmm1, %xmm0
popq %rbx
retq