LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/exrok[P]evdoublebind/./src/evdoublebind.c
// Function: tap_mod_key
int tap_mod_key(__u16 key_code, __u16 mod_code, int fd){
    struct input_event buf[] = {{{0,0}, .type = EV_KEY, .code = mod_code, .value = 1},
                         {{0,0}, .type = EV_KEY, .code = key_code, .value = 1},
                         {{0,0}, .type = EV_KEY, .code = key_code, .value = 0},
                         {{0,0}, .type = EV_KEY, .code = mod_code, .value = 0},
                         {{0,0}, .type = EV_SYN, .code = SYN_REPORT, .value = 0}};
    return write(fd, buf, sizeof(buf));
}

// Assembly:
subq $0x78, %rsp
movl %edx, %eax
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, 0x10(%rcx)
movaps %xmm0, 0x20(%rcx)
movaps %xmm0, 0x40(%rcx)
movaps %xmm0, 0x50(%rcx)
movaps %xmm0, 0x60(%rcx)
movaps %xmm0, 0x30(%rcx)
movaps %xmm0, (%rcx)
movq $0x0, 0x70(%rcx)
movw $0x1, %dx
movw %dx, 0x10(%rcx)
movw %si, 0x12(%rcx)
movl $0x1, %r8d
movl %r8d, 0x14(%rcx)
movw %dx, 0x28(%rcx)
movw %di, 0x2a(%rcx)
movl %r8d, 0x2c(%rcx)
movw %dx, 0x40(%rcx)
movw %di, 0x42(%rcx)
movw %dx, 0x58(%rcx)
movw %si, 0x5a(%rcx)
movl $0x78, %edx
movl %eax, %edi
movq %rcx, %rsi
callq 0x1030
addq $0x78, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/exrok[P]evdoublebind/./src/evdoublebind.c
// Function: tap_key
int tap_key(__u16 key_code, int fd){
    struct input_event buf[] = {{{0,0}, .type = EV_KEY, .code = key_code, .value = 1},
                         {{0,0}, .type = EV_KEY, .code = key_code, .value = 0},
                         {{0,0}, .type = EV_SYN, .code = SYN_REPORT, .value = 0}};
    return write(fd, buf, sizeof(buf));
}

// Assembly:
subq $0x48, %rsp
movl %esi, %eax
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, 0x20(%rsi)
movaps %xmm0, 0x30(%rsi)
movaps %xmm0, (%rsi)
movq $0x0, 0x40(%rsi)
movw $0x1, %cx
movw %cx, 0x10(%rsi)
movw %di, 0x12(%rsi)
movl $0x1, 0x14(%rsi)
movw %cx, 0x28(%rsi)
movw %di, 0x2a(%rsi)
movl $0x48, %edx
movl %eax, %edi
callq 0x1030
addq $0x48, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/exrok[P]evdoublebind/./src/evdoublebind.c
// Function: open_input
int open_input(char * path) {
    int fd = open(path, O_RDWR);
    if (fd < 0) {
        perror("Error: Opening Keyboard");
        exit(1);
    }
    unsigned int key_repeat[2] = {2048,2048};
    ioctl(fd, EVIOCSREP, &key_repeat);
    return fd;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl $0x2, %esi
xorl %eax, %eax
callq 0x1080
testl %eax, %eax
js 0x13b6
movl %eax, %ebx
movabsq $0x80000000800, %rax    # imm = 0x80000000800
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movl $0x40084503, %esi       # imm = 0x40084503
movl %ebx, %edi
xorl %eax, %eax
callq 0x1040
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
leaq 0xc47(%rip), %rdi       # 0x2004
callq 0x1267
movl $0x1, %edi
callq 0x10a0
// File: /workspace/github_cpp_makefile_star2_O1/exrok[P]evdoublebind/./src/evdoublebind.c
// Function: main
int main(int argc, char *argv[]) {
    if (argc < 3) {
        perror("\
Error: Missing Arguments\n\
Consult `evdoublebind-make-config -h` for config details\n\
Usage: \n\
  evdoublebind <Keyboard> <Mapping>");
        exit(1);
    };
    nice(-20);
    int found = parse_keymap(argv[2]);
    map_events(argv[1]);
}

// Assembly:
pushq %rbx
cmpl $0x2, %edi
jg 0x168a
leaq 0x9a1(%rip), %rdi       # 0x201c
callq 0x1267
movl $0x1, %edi
callq 0x10a0
movq %rsi, %rbx
movl $0xffffffec, %edi       # imm = 0xFFFFFFEC
callq 0x1070
movq 0x10(%rbx), %rdi
callq 0x11bc
movq 0x8(%rbx), %rdi
callq 0x13cc
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/optimize_test.cc
// Function: main
int main() {
  int n = 3;
  TestOptimizerVariants<SGDOptimizer>(n);
  TestOptimizerVariants<LBFGSOptimizer>(n);
  TestOptimizerVariants<RPropOptimizer>(n);
  cerr << "ALL OPTIMIZERS SUCCEEDED\n";
  return 0;
}

// Assembly:
pushq %rax
movl $0x3, %edi
callq 0x3ed6
movl $0x3, %edi
callq 0x414f
movl $0x3, %edi
callq 0x4452
movq 0x923c(%rip), %rdi      # 0xcff0
leaq 0x536e(%rip), %rsi      # 0x9129
movl $0x19, %edx
callq 0x31f0
xorl %eax, %eax
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./optimize.h
// Function: Optimizer::Optimize(double const&, std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>>*)
void Optimize(const double& obj,
                const std::vector<double>& g,
                std::vector<double>* x) {
    assert(g.size() == x->size());
    OptimizeImpl(obj, g, x);
    scitbx::lbfgs::traditional_convergence_test<double> converged(g.size());
    has_converged_ = converged(&(*x)[0], &g[0]);
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq 0x8(%rdx), %rax
subq (%rdx), %rax
movq 0x8(%rcx), %rcx
subq (%r15), %rcx
cmpq %rcx, %rax
jne 0x3e37
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq %r15, %rcx
callq *0x28(%rax)
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x3, %rsi
leaq 0x8(%rsp), %r12
movsd 0x526e(%rip), %xmm0     # 0x9080
movq %r12, %rdi
callq 0x479a
movq (%r15), %rsi
movq (%r14), %rdx
movq %r12, %rdi
callq 0x489a
movb %al, 0xc(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x5305(%rip), %rdi      # 0x9143
leaq 0x5314(%rip), %rsi      # 0x9159
leaq 0x531a(%rip), %rcx      # 0x9166
movl $0x26, %edx
callq 0x3110
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::traditional_convergence_test<double, unsigned long>::traditional_convergence_test(unsigned long, double)
explicit
      traditional_convergence_test(
        SizeType n,
        FloatType eps = FloatType(1.e-5))
      : n_(n), eps_(eps)
      {
        if (n_ == 0) {
          throw error_improper_input_parameter("n = 0.");
        }
        if (eps_ < FloatType(0)) {
          throw error_improper_input_parameter("eps < 0.");
        }
      }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, (%rdi)
movsd %xmm0, 0x8(%rdi)
testq %rsi, %rsi
je 0x47c4
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0x4813
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x28, %edi
callq 0x30d0
movq %rax, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x49e2(%rip), %rsi      # 0x91c3
leaq 0x49e1(%rip), %rdx      # 0x91c9
movq %rsp, %rdi
callq 0x49c8
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x4936
leaq 0x82a6(%rip), %rsi      # 0xcaa8
leaq 0x18f(%rip), %rdx       # 0x4998
movq %rbx, %rdi
callq 0x32e0
jmp 0x4860
movl $0x28, %edi
callq 0x30d0
movq %rax, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x499a(%rip), %rsi      # 0x91ca
leaq 0x499b(%rip), %rdx      # 0x91d2
movq %rsp, %rdi
callq 0x49c8
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x4936
leaq 0x8257(%rip), %rsi      # 0xcaa8
leaq 0x140(%rip), %rdx       # 0x4998
movq %rbx, %rdi
callq 0x32e0
jmp 0x4864
jmp 0x4881
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x487d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x31d0
xorl %eax, %eax
jmp 0x4886
movq %rax, %r14
movb $0x1, %al
testb %al, %al
je 0x4892
movq %rbx, %rdi
callq 0x3150
movq %r14, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::traditional_convergence_test<double, unsigned long>::operator()(double const*, double const*) const
bool
      operator()(const FloatType* x, const FloatType* g) const
      {
        FloatType xnorm = std::sqrt(detail::ddot(n_, x, x));
        FloatType gnorm = std::sqrt(detail::ddot(n_, g, g));
        if (gnorm <= eps_ * std::max(FloatType(1), xnorm)) return true;
        return false;
      }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
movq $0x1, (%rsp)
movl $0x1, %ecx
xorl %edx, %edx
movq %rsi, %r8
xorl %r9d, %r9d
callq 0x4b49
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x48d4
sqrtsd %xmm0, %xmm0
jmp 0x48d9
callq 0x3170
movsd %xmm0, 0x10(%rsp)
movq (%rbx), %rdi
movq $0x1, (%rsp)
movl $0x1, %ecx
movq %r14, %rsi
xorl %edx, %edx
movq %r14, %r8
xorl %r9d, %r9d
callq 0x4b49
ucomisd 0x47b9(%rip), %xmm0     # 0x90c0
jb 0x490f
sqrtsd %xmm0, %xmm0
jmp 0x4914
callq 0x3170
movsd 0x10(%rsp), %xmm1
maxsd 0x4796(%rip), %xmm1     # 0x90b8
mulsd 0x8(%rbx), %xmm1
ucomisd %xmm0, %xmm1
setae %al
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: double scitbx::lbfgs::detail::ddot<double, unsigned long>(unsigned long, double const*, unsigned long, unsigned long, double const*, unsigned long, unsigned long)
FloatType ddot(
      SizeType n,
      const FloatType* dx,
      SizeType ix0,
      SizeType incx,
      const FloatType* dy,
      SizeType iy0,
      SizeType incy)
    {
      SizeType i, ix, iy, m;
      FloatType dtemp(0);
      if (n == 0) return FloatType(0);
      if (!(incx == 1 && incy == 1)) {
        ix = 0;
        iy = 0;
        for (i = 0; i < n; i++) {
          dtemp += dx[ix0+ix] * dy[iy0+iy];
          ix += incx;
          iy += incy;
        }
        return dtemp;
      }
      m = n % 5;
      for (i = 0; i < m; i++) {
        dtemp += dx[ix0+i] * dy[iy0+i];
      }
      for (; i < n;) {
        dtemp += dx[ix0+i] * dy[iy0+i]; i++;
        dtemp += dx[ix0+i] * dy[iy0+i]; i++;
        dtemp += dx[ix0+i] * dy[iy0+i]; i++;
        dtemp += dx[ix0+i] * dy[iy0+i]; i++;
        dtemp += dx[ix0+i] * dy[iy0+i]; i++;
      }
      return dtemp;
    }

// Assembly:
testq %rdi, %rdi
je 0x4bb1
pushq %rbx
movq %rdx, %r10
movq 0x10(%rsp), %rax
movq %rcx, %rdx
xorq $0x1, %rdx
movq %rax, %r11
xorq $0x1, %r11
orq %rdx, %r11
jne 0x4bb5
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq %rdi, %rax
mulq %rcx
shrq $0x2, %rdx
leaq (%rdx,%rdx,4), %rdx
movq %rdi, %rax
subq %rdx, %rax
je 0x4be5
leaq (%rsi,%r10,8), %rdx
leaq (%r8,%r9,8), %r11
xorpd %xmm0, %xmm0
xorl %ebx, %ebx
movsd (%rdx,%rbx,8), %xmm1
mulsd (%r11,%rbx,8), %xmm1
addsd %xmm1, %xmm0
incq %rbx
cmpq %rax, %rbx
jb 0x4b98
jmp 0x4beb
xorps %xmm0, %xmm0
retq
leaq (%rsi,%r10,8), %rdx
leaq (%r8,%r9,8), %rsi
shlq $0x3, %rax
shlq $0x3, %rcx
xorpd %xmm0, %xmm0
movsd (%rdx), %xmm1
mulsd (%rsi), %xmm1
addsd %xmm1, %xmm0
addq %rax, %rsi
addq %rcx, %rdx
decq %rdi
jne 0x4bc9
jmp 0x4c8c
xorl %eax, %eax
xorpd %xmm0, %xmm0
cmpq %rdi, %rax
jae 0x4c8c
shlq $0x3, %r9
movq %rdi, %rax
mulq %rcx
shrq $0x2, %rdx
leaq (,%rdx,8), %rax
leaq (%rax,%rax,4), %rax
subq %rax, %r9
addq %r9, %r8
shlq $0x3, %r10
subq %rax, %r10
addq %r10, %rsi
leaq (%rdx,%rdx,4), %rax
negq %rax
movq %rdi, %rcx
movsd (%rsi,%rcx,8), %xmm1
mulsd (%r8,%rcx,8), %xmm1
movsd 0x8(%rsi,%rcx,8), %xmm2
addsd %xmm0, %xmm1
mulsd 0x8(%r8,%rcx,8), %xmm2
addsd %xmm1, %xmm2
movsd 0x10(%rsi,%rcx,8), %xmm0
mulsd 0x10(%r8,%rcx,8), %xmm0
addsd %xmm2, %xmm0
movsd 0x18(%rsi,%rcx,8), %xmm1
mulsd 0x18(%r8,%rcx,8), %xmm1
addsd %xmm0, %xmm1
movsd 0x20(%rsi,%rcx,8), %xmm0
mulsd 0x20(%r8,%rcx,8), %xmm0
addsd %xmm1, %xmm0
leaq (%rax,%rcx), %rdx
addq $0x5, %rdx
addq $0x5, %rcx
cmpq %rdi, %rdx
jb 0x4c28
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./optimize.h
// Function: RPropOptimizer::RPropOptimizer(int, double, double, double, double, double)
explicit RPropOptimizer(int num_vars,
                          double eta_plus = 1.2,
                          double eta_minus = 0.5,
                          double delta_0 = 0.1,
                          double delta_max = 50.0,
                          double delta_min = 1e-6) :
      prev_g_(num_vars, 0.0),
      delta_ij_(num_vars, delta_0),
      eta_plus_(eta_plus),
      eta_minus_(eta_minus),
      delta_max_(delta_max),
      delta_min_(delta_min) {
    assert(eta_plus > 1.0);
    assert(eta_minus > 0.0 && eta_minus < 1.0);
    assert(delta_max > 0.0);
    assert(delta_min > 0.0);
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movsd %xmm4, 0x28(%rsp)
movsd %xmm3, 0x20(%rsp)
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
movq %rdi, %rbx
movsd %xmm2, 0x38(%rsp)
movl $0x1, 0x8(%rdi)
movb $0x0, 0xc(%rdi)
leaq 0x7e68(%rip), %rax      # 0xcba0
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0x10(%rdi), %r14
movslq %esi, %r15
leaq 0x30(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0xf(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
callq 0x4ece
leaq 0x28(%rbx), %rdi
leaq 0x38(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %r15, %rsi
callq 0x4ece
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x40(%rbx)
movsd 0x18(%rsp), %xmm3
movsd %xmm3, 0x48(%rbx)
movsd 0x20(%rsp), %xmm2
movsd %xmm2, 0x50(%rbx)
movsd 0x28(%rsp), %xmm1
movsd %xmm1, 0x58(%rbx)
ucomisd 0x430c(%rip), %xmm0     # 0x90b8
jbe 0x4de0
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
jbe 0x4dff
movsd 0x42f8(%rip), %xmm0     # 0x90b8
ucomisd %xmm3, %xmm0
jbe 0x4dff
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x4e1e
ucomisd %xmm0, %xmm1
jbe 0x4e3d
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x4510(%rip), %rdi      # 0x92f7
leaq 0x436b(%rip), %rsi      # 0x9159
leaq 0x4511(%rip), %rcx      # 0x9306
movl $0x48, %edx
callq 0x3110
leaq 0x454c(%rip), %rdi      # 0x9352
leaq 0x434c(%rip), %rsi      # 0x9159
leaq 0x44f2(%rip), %rcx      # 0x9306
movl $0x49, %edx
callq 0x3110
leaq 0x4550(%rip), %rdi      # 0x9375
leaq 0x432d(%rip), %rsi      # 0x9159
leaq 0x44d3(%rip), %rcx      # 0x9306
movl $0x4a, %edx
callq 0x3110
leaq 0x4541(%rip), %rdi      # 0x9385
leaq 0x430e(%rip), %rsi      # 0x9159
leaq 0x44b4(%rip), %rcx      # 0x9306
movl $0x4b, %edx
callq 0x3110
movq %rax, %r15
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4e78
movq 0x20(%rbx), %rsi
subq %rdi, %rsi
callq 0x31d0
jmp 0x4e78
movq %rax, %r15
movq %rbx, %rdi
callq 0x54ee
movq %r15, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/optimize.cc
// Function: Optimizer::Save(std::ostream*) const
void Optimizer::Save(ostream* out) const {
  out->write((const char*)&eval_, sizeof(eval_));
  out->write((const char*)&has_converged_, sizeof(has_converged_));
  SaveImpl(out);
  unsigned int magic = 0xABCDDCBA;  // should be uint32_t
  out->write((const char*)&magic, sizeof(magic));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %rsi
movl $0x4, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xc(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3230
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
leaq 0x4(%rsp), %rsi
movl $0xabcddcba, (%rsi)     # imm = 0xABCDDCBA
movl $0x4, %edx
movq %rbx, %rdi
callq 0x3230
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/optimize.cc
// Function: Optimizer::Load(std::istream*)
void Optimizer::Load(istream* in) {
  in->read((char*)&eval_, sizeof(eval_));
  ++eval_;
  in->read((char*)&has_converged_, sizeof(has_converged_));
  LoadImpl(in);
  unsigned int magic = 0;           // should be uint32_t
  in->read((char*)&magic, sizeof(magic));
  assert(magic == 0xABCDDCBA);
  cerr << Name() << " EVALUATION #" << eval_ << endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x8(%rdi), %rbx
movl $0x4, %edx
movq %rsi, %rdi
movq %rbx, %rsi
callq 0x3220
incl 0x8(%r14)
leaq 0xc(%r14), %rsi
movl $0x1, %edx
movq %r15, %rdi
callq 0x3220
movq (%r14), %rax
movq %r14, %rdi
movq %r15, %rsi
callq *0x20(%rax)
leaq 0x4(%rsp), %r12
movl $0x0, (%r12)
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x3220
cmpl $0xabcddcba, (%r12)     # imm = 0xABCDDCBA
jne 0x5149
movq (%r14), %rax
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq *0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x7f1e(%rip), %rdi      # 0xcff0
callq 0x31f0
movq %rax, %r14
leaq 0x4387(%rip), %rsi      # 0x9468
movl $0xd, %edx
movq %rax, %rdi
callq 0x31f0
movl (%rbx), %esi
movq %r14, %rdi
callq 0x32f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3130
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x513d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31d0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x42d8(%rip), %rdi      # 0x9428
leaq 0x42e5(%rip), %rsi      # 0x943c
leaq 0x42ea(%rip), %rcx      # 0x9448
movl $0x29, %edx
callq 0x3110
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5186
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31d0
movq %rbx, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/optimize.cc
// Function: RPropOptimizer::OptimizeImpl(double const&, std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>>*)
void RPropOptimizer::OptimizeImpl(const double& obj,
                              const vector<double>& g,
                              vector<double>* x) {
  for (int i = 0; i < g.size(); ++i) {
    const double g_i = g[i];
    const double sign_i = (signbit(g_i) ? -1.0 : 1.0);
    const double prod = g_i * prev_g_[i];
    if (prod > 0.0) {
      const double dij = min(delta_ij_[i] * eta_plus_, delta_max_);
      (*x)[i] -= dij * sign_i;
      delta_ij_[i] = dij;
      prev_g_[i] = g_i;
    } else if (prod < 0.0) {
      delta_ij_[i] = max(delta_ij_[i] * eta_minus_, delta_min_);
      prev_g_[i] = 0.0;
    } else {
      (*x)[i] -= delta_ij_[i] * sign_i;
      prev_g_[i] = g_i;
    }
  }
}

// Assembly:
movq (%rdx), %rax
movq 0x8(%rdx), %rdx
subq %rax, %rdx
je 0x5295
sarq $0x3, %rdx
movq 0x10(%rdi), %rsi
movq 0x28(%rdi), %r8
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %r9d, %r9d
movapd 0x3e4b(%rip), %xmm0     # 0x9030
movapd 0x41f3(%rip), %xmm1     # 0x93e0
xorpd %xmm2, %xmm2
movsd (%rax,%r9,8), %xmm3
movapd %xmm3, %xmm4
andpd %xmm0, %xmm4
orpd %xmm1, %xmm4
movsd (%rsi,%r9,8), %xmm5
mulsd %xmm3, %xmm5
ucomisd %xmm2, %xmm5
jbe 0x5246
movsd (%r8,%r9,8), %xmm5
mulsd 0x40(%rdi), %xmm5
movsd 0x50(%rdi), %xmm6
minsd %xmm5, %xmm6
movq (%rcx), %r10
movsd (%r10,%r9,8), %xmm5
mulsd %xmm6, %xmm4
subsd %xmm4, %xmm5
movsd %xmm5, (%r10,%r9,8)
movsd %xmm6, (%r8,%r9,8)
jmp 0x5283
ucomisd %xmm5, %xmm2
movsd (%r8,%r9,8), %xmm5
jbe 0x526c
mulsd 0x48(%rdi), %xmm5
movsd 0x58(%rdi), %xmm3
maxsd %xmm5, %xmm3
movsd %xmm3, (%r8,%r9,8)
xorpd %xmm3, %xmm3
jmp 0x5283
movq (%rcx), %r10
movsd (%r10,%r9,8), %xmm6
mulsd %xmm4, %xmm5
subsd %xmm5, %xmm6
movsd %xmm6, (%r10,%r9,8)
movsd %xmm3, (%rsi,%r9,8)
incq %r9
cmpq %r9, %rdx
jne 0x51f1
retq
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/optimize.cc
// Function: RPropOptimizer::SaveImpl(std::ostream*) const
void RPropOptimizer::SaveImpl(ostream* out) const {
  const size_t n = prev_g_.size();
  out->write((const char*)&n, sizeof(n));
  out->write((const char*)&prev_g_[0], sizeof(double) * n);
  out->write((const char*)&delta_ij_[0], sizeof(double) * n);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %rax
subq 0x10(%rdi), %rax
movq %rsi, %r14
sarq $0x3, %rax
leaq 0x8(%rsp), %r15
movq %rax, (%r15)
movl $0x8, %edx
movq %rsi, %rdi
movq %r15, %rsi
callq 0x3230
movq 0x10(%rbx), %rsi
movq (%r15), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
callq 0x3230
movq 0x28(%rbx), %rsi
movq (%r15), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
callq 0x3230
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/optimize.cc
// Function: RPropOptimizer::LoadImpl(std::istream*)
void RPropOptimizer::LoadImpl(istream* in) {
  size_t n;
  in->read((char*)&n, sizeof(n));
  assert(n == prev_g_.size());
  assert(n == delta_ij_.size());
  in->read((char*)&prev_g_[0], sizeof(double) * n);
  in->read((char*)&delta_ij_[0], sizeof(double) * n);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movl $0x8, %edx
movq %rsi, %rdi
movq %r15, %rsi
callq 0x3220
movq (%r15), %rdx
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rax
subq %rsi, %rax
sarq $0x3, %rax
cmpq %rax, %rdx
jne 0x5371
movq 0x30(%r14), %rax
subq 0x28(%r14), %rax
sarq $0x3, %rax
cmpq %rax, %rdx
jne 0x5390
shlq $0x3, %rdx
movq %rbx, %rdi
callq 0x3220
movq 0x28(%r14), %rsi
movq 0x8(%rsp), %rdx
shlq $0x3, %rdx
movq %rbx, %rdi
callq 0x3220
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x410d(%rip), %rdi      # 0x9485
leaq 0x40bd(%rip), %rsi      # 0x943c
leaq 0x4113(%rip), %rcx      # 0x9499
movl $0x59, %edx
callq 0x3110
leaq 0x4133(%rip), %rdi      # 0x94ca
leaq 0x409e(%rip), %rsi      # 0x943c
leaq 0x40f4(%rip), %rcx      # 0x9499
movl $0x5a, %edx
callq 0x3110
nop
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::minimizer<double, unsigned long>::serialize(std::ostream*) const
void serialize(std::ostream* out) const {
        out->write((const char*)&n_, sizeof(n_)); // sanity check
        out->write((const char*)&m_, sizeof(m_)); // sanity check
        SizeType fs = sizeof(FloatType);
        out->write((const char*)&fs, sizeof(fs)); // sanity check

        mcsrch_instance.serialize(out);
        out->write((const char*)&iflag_, sizeof(iflag_));
        out->write((const char*)&requests_f_and_g_, sizeof(requests_f_and_g_));
        out->write((const char*)&requests_diag_, sizeof(requests_diag_));
        out->write((const char*)&iter_, sizeof(iter_));
        out->write((const char*)&nfun_, sizeof(nfun_));
        out->write((const char*)&stp_, sizeof(stp_));
        out->write((const char*)&stp1, sizeof(stp1));
        out->write((const char*)&ftol, sizeof(ftol));
        out->write((const char*)&ys, sizeof(ys));
        out->write((const char*)&point, sizeof(point));
        out->write((const char*)&npt, sizeof(npt));
        out->write((const char*)&info, sizeof(info));
        out->write((const char*)&bound, sizeof(bound));
        out->write((const char*)&nfev, sizeof(nfev));
        out->write((const char*)&w_[0], sizeof(FloatType) * w_.size());
        out->write((const char*)&scratch_array_[0], sizeof(FloatType) * scratch_array_.size());
      }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x78(%rdi), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x80(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
movq %rsp, %rsi
movq $0x8, (%rsi)
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
movq %r14, %rdi
movq %rbx, %rsi
callq 0x601e
leaq 0xb0(%r14), %rsi
movl $0x4, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xb4(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xb5(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xb8(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xc0(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xc8(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xd0(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xd8(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xe0(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xe8(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0xf0(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x108(%r14), %rsi
movl $0x4, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x110(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x118(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
movq 0x120(%r14), %rsi
movq 0x128(%r14), %rdx
subq %rsi, %rdx
movq %rbx, %rdi
callq 0x3230
movq 0x138(%r14), %rsi
movq 0x140(%r14), %rdx
subq %rsi, %rdx
movq %rbx, %rdi
callq 0x3230
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::detail::mcsrch<double, unsigned long>::serialize(std::ostream*) const
void serialize(std::ostream* out) const {
          out->write((const char*)&infoc,sizeof(infoc));
          out->write((const char*)&dginit,sizeof(dginit));
          out->write((const char*)&brackt,sizeof(brackt));
          out->write((const char*)&stage1,sizeof(stage1));
          out->write((const char*)&finit,sizeof(finit));
          out->write((const char*)&dgtest,sizeof(dgtest));
          out->write((const char*)&width,sizeof(width));
          out->write((const char*)&width1,sizeof(width1));
          out->write((const char*)&stx,sizeof(stx));
          out->write((const char*)&fx,sizeof(fx));
          out->write((const char*)&dgx,sizeof(dgx));
          out->write((const char*)&sty,sizeof(sty));
          out->write((const char*)&fy,sizeof(fy));
          out->write((const char*)&dgy,sizeof(dgy));
          out->write((const char*)&stmin,sizeof(stmin));
          out->write((const char*)&stmax,sizeof(stmax));
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x4, %edx
movq %rsi, %rdi
movq %r14, %rsi
callq 0x3230
leaq 0x8(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x10(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x11(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x18(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x20(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x28(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x30(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x38(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x40(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x48(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x50(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x58(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x60(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
leaq 0x68(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3230
addq $0x70, %r14
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3230
nop
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::detail::mcsrch<double, unsigned long>::deserialize(std::istream*) const
void deserialize(std::istream* in) const {
          in->read((char*)&infoc, sizeof(infoc));
          in->read((char*)&dginit, sizeof(dginit));
          in->read((char*)&brackt, sizeof(brackt));
          in->read((char*)&stage1, sizeof(stage1));
          in->read((char*)&finit, sizeof(finit));
          in->read((char*)&dgtest, sizeof(dgtest));
          in->read((char*)&width, sizeof(width));
          in->read((char*)&width1, sizeof(width1));
          in->read((char*)&stx, sizeof(stx));
          in->read((char*)&fx, sizeof(fx));
          in->read((char*)&dgx, sizeof(dgx));
          in->read((char*)&sty, sizeof(sty));
          in->read((char*)&fy, sizeof(fy));
          in->read((char*)&dgy, sizeof(dgy));
          in->read((char*)&stmin, sizeof(stmin));
          in->read((char*)&stmax, sizeof(stmax));
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x4, %edx
movq %rsi, %rdi
movq %r14, %rsi
callq 0x3220
leaq 0x8(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x10(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x11(%r14), %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x18(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x20(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x28(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x30(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x38(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x40(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x48(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x50(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x58(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x60(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
leaq 0x68(%r14), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3220
addq $0x70, %r14
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3220
nop
// File: /workspace/github_cpp_makefile_star2_O1/redpony[P]libpopt/./lbfgs.h
// Function: void scitbx::lbfgs::detail::daxpy<double, unsigned long>(unsigned long, double, double const*, unsigned long, unsigned long, double*, unsigned long, unsigned long)
void daxpy(
      SizeType n,
      FloatType da,
      const FloatType* dx,
      SizeType ix0,
      SizeType incx,
      FloatType* dy,
      SizeType iy0,
      SizeType incy)
    {
      SizeType i, ix, iy, m;
      if (n == 0) return;
      if (da == FloatType(0)) return;
      if  (!(incx == 1 && incy == 1)) {
        ix = 0;
        iy = 0;
        for (i = 0; i < n; i++) {
          dy[iy0+iy] += da * dx[ix0+ix];
          ix += incx;
          iy += incy;
        }
        return;
      }
      m = n % 4;
      for (i = 0; i < m; i++) {
        dy[iy0+i] += da * dx[ix0+i];
      }
      for (; i < n;) {
        dy[iy0+i] += da * dx[ix0+i]; i++;
        dy[iy0+i] += da * dx[ix0+i]; i++;
        dy[iy0+i] += da * dx[ix0+i]; i++;
        dy[iy0+i] += da * dx[ix0+i]; i++;
      }
    }

// Assembly:
testq %rdi, %rdi
je 0x7a74
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x797e
jnp 0x7a74
movq 0x8(%rsp), %rax
movq %rcx, %r10
xorq $0x1, %r10
movq %rax, %r11
xorq $0x1, %r11
orq %r10, %r11
jne 0x79c9
movq %rdi, %rcx
andq $0x3, %rcx
je 0x79ff
leaq (%rsi,%rdx,8), %r10
leaq (%r8,%r9,8), %r11
xorl %eax, %eax
movsd (%r10,%rax,8), %xmm1
mulsd %xmm0, %xmm1
addsd (%r11,%rax,8), %xmm1
movsd %xmm1, (%r11,%rax,8)
incq %rax
cmpq %rax, %rcx
jne 0x79a9
jmp 0x7a01
testq %rdi, %rdi
je 0x7a74
leaq (%rsi,%rdx,8), %rdx
leaq (%r8,%r9,8), %rsi
shlq $0x3, %rax
shlq $0x3, %rcx
movsd (%rdx), %xmm1
mulsd %xmm0, %xmm1
addsd (%rsi), %xmm1
movsd %xmm1, (%rsi)
addq %rax, %rsi
addq %rcx, %rdx
decq %rdi
jne 0x79e2
jmp 0x7a74
xorl %eax, %eax
cmpq %rdi, %rax
jae 0x7a74
leaq (%r8,%r9,8), %rcx
addq $0x18, %rcx
leaq (%rsi,%rdx,8), %rdx
addq $0x18, %rdx
movsd -0x18(%rdx,%rax,8), %xmm1
mulsd %xmm0, %xmm1
addsd -0x18(%rcx,%rax,8), %xmm1
movsd %xmm1, -0x18(%rcx,%rax,8)
movsd -0x10(%rdx,%rax,8), %xmm1
mulsd %xmm0, %xmm1
addsd -0x10(%rcx,%rax,8), %xmm1
movsd %xmm1, -0x10(%rcx,%rax,8)
movsd -0x8(%rdx,%rax,8), %xmm1
mulsd %xmm0, %xmm1
addsd -0x8(%rcx,%rax,8), %xmm1
movsd %xmm1, -0x8(%rcx,%rax,8)
movsd (%rdx,%rax,8), %xmm1
mulsd %xmm0, %xmm1
addsd (%rcx,%rax,8), %xmm1
movsd %xmm1, (%rcx,%rax,8)
addq $0x4, %rax
cmpq %rdi, %rax
jb 0x7a16
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/moya-lang[P]Arguments/Example1.cpp
// Function: parseArguments(int, char const**)
void parseArguments(int argc, const char **argv)
{
    Syntax syntax("My simple command-line tool", "1.0.0.1");
    Arguments arguments(argc, argv);
    Parser parser(syntax, arguments);
    if (parser.parse())
        return;

    Help help(syntax, parser, arguments);
    exit(help.run());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rsi, %rbx
movl %edi, %r14d
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x3c3e(%rip), %rsi      # 0x6004
leaq 0x3c52(%rip), %rdx      # 0x601f
leaq -0x68(%rbp), %rdi
callq 0x51f8
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x3c3b(%rip), %rsi      # 0x6020
leaq 0x3c3b(%rip), %rdx      # 0x6027
leaq -0x48(%rbp), %rdi
callq 0x51f8
leaq -0xc0(%rbp), %r15
leaq -0x68(%rbp), %rsi
leaq -0x48(%rbp), %rdx
movq %r15, %rdi
callq 0x25fc
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x2421
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x2436
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2150
movslq %r14d, %rax
leaq -0x110(%rbp), %r14
movq %rax, (%r14)
movq %rbx, 0x8(%r14)
leaq -0xf8(%rbp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %r15, 0x28(%rax)
movq %r14, 0x30(%rax)
leaq -0x100(%rbp), %rbx
movq %rbx, %rdi
callq 0x267e
testb %al, %al
je 0x24e9
leaq -0x100(%rbp), %rdi
callq 0x4fe0
leaq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0x5090
movq -0x20(%rbx), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x24b8
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24d7
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x2150
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x138(%rbp), %rdi
movq %r15, (%rdi)
movq %rbx, 0x8(%rdi)
movq %r14, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
callq 0x2776
movl %eax, %edi
callq 0x21b0
jmp 0x2510
movq %rax, %rbx
leaq -0x100(%rbp), %rdi
callq 0x4fe0
leaq -0xc0(%rbp), %rdi
callq 0x2920
jmp 0x255f
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x254a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
jmp 0x254a
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x255f
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/moya-lang[P]Arguments/./Arguments.h
// Function: Moya::System::Arguments::Parser::parse()
bool parse()
        {
            const size_t numberOfCommands = syntax.commands.size();
            const char *commandName = arguments[1];

            if (!commandName && numberOfCommands != 1)
                return numberOfCommands == 0;

            if (commandName && isVersionCommandName(commandName)) {
                parseVersionCommand();
                return false;
            }

            if (commandName && isHelpCommandName(commandName)) {
                parseHelpCommand();
                return false;
            }

            if (numberOfCommands == 1)
                return parseParameters(syntax.commands.front());

            const Command *command = syntax.findCommandByName(commandName);
            return command ? parseParameters(*command) : false;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x30(%rdi), %rcx
movq 0x38(%rdi), %rax
movq 0x50(%rcx), %r15
cmpq $0x2, (%rax)
jb 0x26ab
movq 0x8(%rax), %rax
movq 0x8(%rax), %r14
jmp 0x26ae
xorl %r14d, %r14d
cmpq $0x1, %r15
je 0x26c4
testq %r14, %r14
jne 0x26c4
testq %r15, %r15
sete %al
jmp 0x2767
testq %r14, %r14
je 0x26fe
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2a16
testb %al, %al
je 0x26e5
movq %rbx, %rdi
callq 0x2a66
jmp 0x2765
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2af2
testb %al, %al
je 0x26fe
movq %rbx, %rdi
callq 0x2b42
jmp 0x2765
movq 0x30(%rbx), %r12
addq $0x40, %r12
cmpq $0x1, %r15
jne 0x2719
movq (%r12), %rsi
addq $0x10, %rsi
movq %rbx, %rdi
jmp 0x2752
movq %rbx, -0x30(%rbp)
movq %r12, %r13
movq (%r13), %r13
cmpq %r12, %r13
je 0x2743
leaq 0x10(%r13), %rbx
leaq 0x30(%r13), %rdi
movq %r14, %rsi
callq 0x2090
testl %eax, %eax
cmoveq %rbx, %r15
jne 0x2720
jmp 0x2746
xorl %r15d, %r15d
testq %r15, %r15
je 0x2765
movq -0x30(%rbp), %rdi
movq %r15, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2d94
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/moya-lang[P]Arguments/./Arguments.h
// Function: Moya::System::Arguments::Help::run()
int run()
        {
            computeMaxIntroLengths();

            const auto commandIdentifier = parser.find("/");

            bool explicitHelp = false;
            if (commandIdentifier != parser.end()) {

                if (commandIdentifier->second == "version") {
                    std::cout << syntax.programVersion << std::endl;
                    return 0;
                }

                if (commandIdentifier->second == "help")
                    explicitHelp = true;
            }

            const auto commandHelp = parser.find("/command");
            if (commandHelp != parser.end()) {
                if (commandHelp->second == "version")
                    printGenericHelp();
                else
                    printCommandHelp(commandHelp->second);
            }
            else
                printGenericHelp();

            const bool implicitHelp = arguments.getNumberOfArguments() <= 1;
            return (explicitHelp || implicitHelp) ? 0 : -1;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
callq 0x3740
movq 0x8(%rbx), %r14
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x38df(%rip), %rsi      # 0x607f
leaq 0x38d9(%rip), %rdx      # 0x6080
leaq -0x40(%rbp), %rdi
callq 0x51f8
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
callq 0x36a2
movq %rax, %r14
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x27d4
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2150
movq 0x8(%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x2813
addq $0x40, %r14
leaq 0x3888(%rip), %rsi      # 0x6074
movq %r14, %rdi
callq 0x2090
testl %eax, %eax
je 0x28a7
leaq 0x3880(%rip), %rsi      # 0x6083
movq %r14, %rdi
callq 0x2090
testl %eax, %eax
setne %r12b
jmp 0x2816
movb $0x1, %r12b
movq 0x8(%rbx), %r14
leaq -0x40(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x3863(%rip), %rsi      # 0x608b
leaq 0x3864(%rip), %rdx      # 0x6093
callq 0x51f8
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
callq 0x36a2
movq %rax, %r14
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x2858
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2150
movq 0x8(%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r14
je 0x2889
addq $0x40, %r14
leaq 0x3804(%rip), %rsi      # 0x6074
movq %r14, %rdi
callq 0x2090
testl %eax, %eax
je 0x2889
movq %rbx, %rdi
movq %r14, %rsi
callq 0x40ae
jmp 0x2891
movq %rbx, %rdi
callq 0x37ba
movq 0x10(%rbx), %rax
cmpq $0x2, (%rax)
setae %al
andb %al, %r12b
movzbl %r12b, %eax
negl %eax
jmp 0x28ea
movq (%rbx), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0x671f(%rip), %rdi      # 0x8fd8
callq 0x2190
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x28fb
jmp 0x2915
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x2918
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2150
jmp 0x2918
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/moya-lang[P]Arguments/./Arguments.h
// Function: Moya::System::Arguments::Parser::areAllRequiredParametersSpecified(Moya::System::Arguments::Command const&) const
bool areAllRequiredParametersSpecified(const Command &command) const
        {
            for (const Parameter &parameter : command.parameters)
                if (parameter.isRequired && find("/" + parameter.identifier) == end())
                    return false;

            return true;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %r14
subq $-0x80, %r15
leaq 0x8(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %r15, %rbx
movq (%rbx), %rbx
cmpq %r15, %rbx
je 0x3668
movb 0x70(%rbx), %r12b
cmpb $0x1, %r12b
jne 0x3642
leaq 0x10(%rbx), %rdx
leaq -0x50(%rbp), %r13
movq %r13, %rdi
leaq 0x2a57(%rip), %rsi      # 0x607f
callq 0x34bd
movq %r14, %rdi
movq %r13, %rsi
callq 0x36a2
cmpq -0x30(%rbp), %rax
sete %r13b
jmp 0x3645
xorl %r13d, %r13d
testb %r12b, %r12b
je 0x3663
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3663
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2150
testb %r13b, %r13b
je 0x3604
cmpq %r15, %rbx
sete %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3699
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x2220
nop
// File: /workspace/github_cpp_makefile_star2_O1/moya-lang[P]Arguments/./Arguments.h
// Function: Moya::System::Arguments::Help::computeMaxIntroLengths()
void computeMaxIntroLengths()
        {
            for (const Command &command : syntax.commands) {

                size_t commandIntroLength = 2 * margin + command.name.length();
                if (maxCommandIntroLength < commandIntroLength)
                    maxCommandIntroLength = commandIntroLength;

                for (const Parameter &parameter : command.parameters) {

                    size_t parameterIntroLength = 2 * margin + parameter.name.length();
                    if (parameter.hasValue)
                        parameterIntroLength += 3 + parameter.identifier.length();

                    if (maxParameterIntroLength < parameterIntroLength)
                        maxParameterIntroLength = parameterIntroLength;
                }
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movq 0x40(%rax), %rcx
addq $0x40, %rax
cmpq %rax, %rcx
je 0x37b8
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rsi
movq 0x38(%rcx), %r8
addq $0x6, %r8
cmpq %r8, %rdx
jae 0x3770
movq %r8, 0x18(%rdi)
movq %r8, %rdx
leaq 0x90(%rcx), %r8
movq 0x90(%rcx), %r9
cmpq %r8, %r9
je 0x37b0
movq 0x38(%r9), %r10
cmpb $0x1, 0x71(%r9)
jne 0x379b
movq 0x18(%r9), %r11
addq %r11, %r10
addq $0x9, %r10
jmp 0x379f
addq $0x6, %r10
cmpq %r10, %rsi
jae 0x37ab
movq %r10, 0x20(%rdi)
movq %r10, %rsi
movq (%r9), %r9
jmp 0x377e
movq (%rcx), %rcx
cmpq %rax, %rcx
jne 0x375c
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/moya-lang[P]Arguments/./Arguments.h
// Function: Moya::System::Arguments::Help::getApplicationName[abi:cxx11]() const
std::string getApplicationName() const
        {
            const char *applicationName = strrchr(arguments[0], '/');
            if (applicationName)
                return applicationName + 1;

            applicationName = strrchr(arguments[0], '\\');
            if (applicationName)
                return applicationName + 1;

            return arguments[0];
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x10(%rsi), %r15
movq (%r15), %r12
movq 0x8(%r15), %rax
movq (%rax), %rdi
movl $0x2f, %esi
callq 0x2170
testq %rax, %rax
jne 0x4d1d
movq 0x8(%r15), %rax
movq (%rax), %rdi
movl $0x5c, %esi
callq 0x2170
testq %rax, %rax
je 0x4d55
movq %rax, %r14
leaq 0x1(%rax), %r15
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r15, %rdi
callq 0x20c0
leaq (%r14,%rax), %rdx
incq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x51f8
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
testq %r12, %r12
je 0x4d63
movq 0x8(%r15), %rax
movq (%rax), %rsi
jmp 0x4d65
xorl %esi, %esi
leaq -0x21(%rbp), %rdx
movq %rbx, %rdi
callq 0x25be
jmp 0x4d45
nop
// File: /workspace/github_cpp_makefile_star2_O1/SamKG[P]Flush-Reload-Sidechannel/sender.cpp
// Function: main
int main(int argc, char **argv)
{
	// Put your covert channel setup code here
	int fd = open("sender",O_RDONLY);
	mapped = (char*) mmap(NULL, 0x20000, PROT_READ, MAP_PRIVATE, fd, 0);
	int mult = 15;
	sendbit_arr[0] = ADDR_0 + mult*CACHE_LINE_SIZE;
	sendbit_arr[1] = ADDR_1 + mult*CACHE_LINE_SIZE;
	sendbit_arr[2] = ADDR_2 + mult*CACHE_LINE_SIZE;
	sendbit_arr[3] = ADDR_3 + mult*CACHE_LINE_SIZE;
	sendbit_arr[4] = ADDR_4 + mult*CACHE_LINE_SIZE;
	sendbit_arr[5] = ADDR_5 + mult*CACHE_LINE_SIZE;
	sendbit_arr[6] = ADDR_6 + mult*CACHE_LINE_SIZE;
	sendbit_arr[7] = ADDR_7 + mult*CACHE_LINE_SIZE;
	sendbit_arr[8] = ADDR_8 + mult*CACHE_LINE_SIZE;
	printf("Please type a message.\n");
	
	bool sending = true;
	while (sending) {
		char text_buf[128];
		fgets(text_buf, sizeof(text_buf), stdin);
		clock_t begin = clock();
		for (int i = 0 ; i < 128 ; i++){
			if (text_buf[i] == '\0'){
				break;
			}
			int c = text_buf[i];	
			CYCLES start_t = get_highres_time();
			while(get_highres_time() - start_t < SLOT_HIT_CUTOFF*TIME_SLOT*SENDER_PULSE){//pulse for 1000 cycles
				send_bit(c,0);
				send_bit(c,1);
				send_bit(c,2);
				send_bit(c,3);
				send_bit(c,4);
				send_bit(c,5);
				send_bit(c,6);
				send_bit(c,7);
				send_bit(c,8);
			}
			start_t = get_highres_time();
        		while(get_highres_time() - start_t <= TIME_SLOT*100){
			}
		}		
		clock_t end = clock();
		printf("TOTAL TIME SPENT: %f\n",((double)end - begin)/CLOCKS_PER_SEC);
		// Put your covert channel code here
	}

	printf("Sender finished.\n");

	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
leaq 0x10e4(%rip), %rdi      # 0xc010
xorl %esi, %esi
xorl %eax, %eax
callq 0x1050
movl $0x20000, %esi          # imm = 0x20000
xorl %edi, %edi
movl $0x1, %edx
movl $0x2, %ecx
movl %eax, %r8d
xorl %r9d, %r9d
callq 0x1080
movq %rax, 0x3118(%rip)      # 0xe070
movq $0x1536, 0x311d(%rip) # imm = 0x1536
movq $0x26bd, 0x311a(%rip) # imm = 0x26BD
movq $0x3844, 0x3117(%rip) # imm = 0x3844
movq $0x49cb, 0x3114(%rip) # imm = 0x49CB
movq $0x5b52, 0x3111(%rip) # imm = 0x5B52
movq $0x6cd9, 0x310e(%rip) # imm = 0x6CD9
movq $0x7e60, 0x310b(%rip) # imm = 0x7E60
movq $0x8fe7, 0x3108(%rip) # imm = 0x8FE7
movq $0xa16e, 0x3105(%rip) # imm = 0xA16E
leaq 0x106b(%rip), %rdi      # 0xc02d
callq 0x1060
movq 0x3012(%rip), %r12      # 0xdfe0
leaq 0x10(%rsp), %rbx
leaq 0x103d(%rip), %r14      # 0xc017
movq (%r12), %rdx
movq %rbx, %rdi
movl $0x80, %esi
callq 0x1070
callq 0x1040
movq %rax, %r15
xorl %r13d, %r13d
cmpb $0x0, 0x10(%rsp,%r13)
je 0xb042
callq 0xb096
movq %rax, 0x8(%rsp)
callq 0xb096
subq 0x8(%rsp), %rax
cmpq $0x4e20, %rax           # imm = 0x4E20
jb 0xb008
callq 0xb096
movq %rax, 0x8(%rsp)
callq 0xb096
subq 0x8(%rsp), %rax
cmpq $0x3d091, %rax          # imm = 0x3D091
jb 0xb024
incq %r13
cmpq $0x80, %r13
jne 0xaff6
callq 0x1040
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r15, %xmm1
subsd %xmm1, %xmm0
divsd 0xfa5(%rip), %xmm0      # 0xc008
movq %r14, %rdi
movb $0x1, %al
callq 0x1030
jmp 0xafda
nop
// File: /workspace/github_cpp_makefile_star2_O1/GodOfProgramming[P]cspec/src/benchmark.cpp
// Function: cspec::Benchmark::Benchmark(char const*)
Benchmark::Benchmark(const char* name): Name(name)
	{
		if (!gBenchmarkInitalized) {
			Benchmarks = std::make_unique<std::deque<Benchmark*>>();
			gBenchmarkInitalized = true;
		}

		Benchmarks->push_back(this);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0xa491(%rip), %rax      # 0x11fe0
addq $0x10, %rax
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
cmpb $0x0, 0xa8e7(%rip)      # 0x12448
jne 0x7bba
movl $0x50, %edi
callq 0x73c0
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movq %rax, %rdi
xorl %esi, %esi
callq 0x75b0
leaq 0x8(%rsp), %r15
movq $0x0, (%r15)
movq 0xa3dd(%rip), %rdi      # 0x11f80
movq %r14, %rsi
callq 0x7250
movq %r15, %rdi
callq 0x7810
movb $0x1, 0xa88e(%rip)      # 0x12448
movq 0xa3bf(%rip), %rax      # 0x11f80
movq (%rax), %rdi
leaq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
callq 0x7580
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movl $0x50, %esi
movq %r14, %rdi
callq 0x7400
movq %rbx, %rdi
callq 0x7790
nop
// File: /workspace/github_cpp_makefile_star2_O1/GodOfProgramming[P]cspec/src/cspec.cpp
// Function: cspec::RunTest(cspec::TestBlock&)
void RunTest(TestBlock& test)
  {
    try {
      test.run();
    } catch (InvalidExpectationException e) {
      print('\n', e.File, " (", e.Line, "): ", "Expectations can only be executed within it blocks", '\n');
    }
  }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq (%rdi), %rax
callq *0x10(%rax)
addq $0x20, %rsp
popq %rbx
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x8243
movq %rbx, %rdi
callq 0x7170
movups (%rax), %xmm0
leaq 0x18(%rsp), %rcx
movaps %xmm0, -0x8(%rcx)
movb $0xa, %al
leaq 0xf(%rsp), %rdi
movb %al, (%rdi)
leaq 0xe(%rsp), %rdx
movb %al, (%rdx)
movq %rdx, (%rsp)
leaq 0x5e7a(%rip), %rdx      # 0xe096
leaq 0x5e76(%rip), %r8       # 0xe099
leaq 0x5e73(%rip), %r9       # 0xe09d
leaq 0x10(%rsp), %rsi
callq 0x7370
callq 0x7700
jmp 0x81df
movq %rax, %rbx
callq 0x7700
movq %rbx, %rdi
callq 0x7790
movq %rax, %rdi
callq 0x7d83