LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/./serialize.h
// Function: CAutoFile::write(char const*, int)
CAutoFile& write(const char* pch, int nSize)
    {
        if (!file)
            throw std::ios_base::failure("CAutoFile::write : file handle is NULL");
        if (fwrite(pch, 1, nSize, file) != nSize)
            setstate(std::ios::failbit, "CAutoFile::write : write failed");
        return (*this);
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x10124
movq %rdi, %rbx
movslq %edx, %r14
pushq $0x1
popq %rax
movq %rsi, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x3720
cmpq %r14, %rax
je 0x10119
leaq 0x309b(%rip), %rdx      # 0x131a9
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x1017c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
pushq $0x20
popq %rdi
callq 0x31e0
movq %rax, %rbx
callq 0x33b0
leaq 0x8(%rsp), %rdx
movl $0x1, (%rdx)
movq %rax, 0x8(%rdx)
leaq 0x3038(%rip), %rsi      # 0x13182
movq %rbx, %rdi
callq 0x3150
movq 0xce2f(%rip), %rsi      # 0x1cf88
movq 0xce58(%rip), %rdx      # 0x1cfb8
movq %rbx, %rdi
callq 0x3680
movq %rax, %r14
movq %rbx, %rdi
callq 0x32f0
movq %r14, %rdi
callq 0x3690
nop
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/./serialize.h
// Function: CAutoFile::read(char*, int)
CAutoFile& read(char* pch, int nSize)
    {
        if (!file)
            throw std::ios_base::failure("CAutoFile::read : file handle is NULL");
        if (fread(pch, 1, nSize, file) != nSize)
            setstate(std::ios::failbit, feof(file) ? "CAutoFile::read : end of file" : "CAutoFile::read : fread failed");
        return (*this);
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x1082f
movq %rdi, %rbx
movslq %edx, %r14
pushq $0x1
popq %rax
movq %rsi, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x35d0
cmpq %r14, %rax
je 0x10824
movq (%rbx), %rdi
callq 0x3600
testl %eax, %eax
leaq 0x2a2b(%rip), %rax      # 0x13239
leaq 0x2a06(%rip), %rdx      # 0x1321b
cmoveq %rax, %rdx
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x1017c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
pushq $0x20
popq %rdi
callq 0x31e0
movq %rax, %rbx
callq 0x33b0
leaq 0x8(%rsp), %rdx
movl $0x1, (%rdx)
movq %rax, 0x8(%rdx)
leaq 0x29a0(%rip), %rsi      # 0x131f5
movq %rbx, %rdi
callq 0x3150
movq 0xc724(%rip), %rsi      # 0x1cf88
movq 0xc74d(%rip), %rdx      # 0x1cfb8
movq %rbx, %rdi
callq 0x3680
movq %rax, %r14
movq %rbx, %rdi
callq 0x32f0
movq %r14, %rdi
callq 0x3690
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/./serialize.h
// Function: void Unserialize<CAutoFile, CService, long, std::less<CService>, std::allocator<std::pair<CService const, long>>>(CAutoFile&, std::map<CService, long, std::less<CService>, std::allocator<std::pair<CService const, long>>>&, int, int)
void Unserialize(Stream& is, std::map<K, T, Pred, A>& m, int nType, int nVersion)
{
    m.clear();
    unsigned int nSize = ReadCompactSize(is);
    typename std::map<K, T, Pred, A>::iterator mi = m.begin();
    for (unsigned int i = 0; i < nSize; i++)
    {
        std::pair<K, T> item;
        Unserialize(is, item, nType, nVersion);
        mi = m.insert(mi, item);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, 0x4(%rsp)
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0xba5c
movq %r15, %rdi
callq 0x10aff
movq %rax, %r12
movq 0x18(%r14), %rbx
leaq 0x8(%rsp), %r13
subl $0x1, %r12d
jb 0x10c40
movq %r13, %rdi
callq 0x10c50
movq %r15, %rdi
movq %r13, %rsi
movl %ebp, %edx
movl 0x4(%rsp), %ecx
callq 0x10c60
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x10c8e
movq %rax, %rbx
jmp 0x10c0e
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/util.cpp
// Function: vstrprintf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, __va_list_tag*)
string vstrprintf(const std::string &format, va_list ap)
{
    char buffer[50000];
    char* p = buffer;
    int limit = sizeof(buffer);
    int ret;
    loop
    {
        va_list arg_ptr;
        va_copy(arg_ptr, ap);
        ret = vsnprintf(p, limit, format.c_str(), arg_ptr);
        va_end(arg_ptr);
        if (ret >= 0 && ret < limit)
            break;
        if (p != buffer)
            delete[] p;
        limit *= 2;
        p = new char[limit];
        if (p == NULL)
            throw std::bad_alloc();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc388, %rsp           # imm = 0xC388
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, 0x8(%rsp)
leaq 0x30(%rsp), %r12
movl $0xc350, %ebx           # imm = 0xC350
leaq 0x10(%rsp), %r13
movq 0x10(%r14), %rax
movq %rax, 0x20(%rsp)
movups (%r14), %xmm0
movaps %xmm0, 0x10(%rsp)
movslq %ebx, %rbp
movq (%r15), %rdx
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rcx
callq 0x3290
testl %eax, %eax
setns %cl
cmpl %ebp, %eax
setl %dl
testb %dl, %cl
jne 0x10f1b
leaq 0x30(%rsp), %rax
cmpq %rax, %r12
je 0x10f01
movq %r12, %rdi
callq 0x34d0
leal (%rbx,%rbx), %ebp
testl %ebx, %ebx
pushq $-0x1
popq %rax
cmovnsl %ebp, %eax
movslq %eax, %rdi
callq 0x3030
movq %rax, %r12
movl %ebp, %ebx
jmp 0x10ebb
movl %eax, %edx
addq %r12, %rdx
movq 0x8(%rsp), %rbx
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x114e2
leaq 0x30(%rsp), %rax
cmpq %rax, %r12
je 0x10f49
movq %r12, %rdi
callq 0x34d0
movq %rbx, %rax
addq $0xc388, %rsp           # imm = 0xC388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/exrok[P]evdoublebind/./src/evdoublebind.c
// Function: parse_keymap
int parse_keymap(const char * mapstr) {
    const char *c = mapstr;
    int val = 0;
    while (1) {
        switch (*c) {
            case '\0': //fallthrough
            case ',': //fallthrough
                if (KEYMAP[KEYMAP_LEN].tap_key != 0)
                    KEYMAP[KEYMAP_LEN].tap_modifier = val;
                else
                    KEYMAP[KEYMAP_LEN].tap_key = val;
                ++KEYMAP_LEN;
                val = 0;
                if (*c == '\0') {
                    return KEYMAP_LEN;
                }
                break;
            case ':': //fallthrough
                KEYMAP[KEYMAP_LEN].key = val;
                val = 0;
                break;
            case '|': //fallthrough
                KEYMAP[KEYMAP_LEN].tap_key = val;
                val = 0;
                break;
            default:
                if (*c > '9' || *c < '0') {
                    exit(1);
                }
                val = val*10 + (*c - '0');
        }
        c++;
    }
}

// Assembly:
pushq %rax
xorl %edx, %edx
movl 0x303b(%rip), %eax      # 0x4200
leaq 0x2eb4(%rip), %rcx      # 0x4080
movzbl (%rdi), %r8d
movslq %eax, %rsi
testl %r8d, %r8d
je 0x11ea
cmpl $0x7c, %r8d
je 0x1218
cmpl $0x3a, %r8d
je 0x1223
cmpl $0x2c, %r8d
jne 0x122f
imulq $0x6, %rsi, %rax
leaq (%rcx,%rax), %r8
xorl %r9d, %r9d
cmpw $0x0, 0x2(%rax,%rcx)
setne %r9b
movw %dx, 0x2(%r8,%r9,2)
movl %esi, %eax
incl %eax
movl %eax, 0x2ff1(%rip)      # 0x4200
xorl %edx, %edx
cmpb $0x0, (%rdi)
jne 0x1246
jmp 0x124b
imulq $0x6, %rsi, %rsi
movw %dx, 0x2(%rsi,%rcx)
jmp 0x122b
imulq $0x6, %rsi, %rsi
movw %dx, (%rsi,%rcx)
xorl %edx, %edx
jmp 0x1246
leal -0x3a(%r8), %esi
cmpb $-0xb, %sil
jbe 0x124d
imull $0xa, %edx, %esi
addb $-0x30, %r8b
movzbl %r8b, %edx
addl %esi, %edx
incq %rdi
jmp 0x11cc
popq %rcx
retq
pushq $0x1
popq %rdi
callq 0x10a0
// File: /workspace/github_cpp_makefile_star2_O2/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, %ecx
xorps %xmm0, %xmm0
movq %rsp, %rax
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, 0x40(%rax)
movaps %xmm0, 0x50(%rax)
movaps %xmm0, 0x60(%rax)
movaps %xmm0, 0x30(%rax)
movaps %xmm0, (%rax)
andq $0x0, 0x70(%rax)
movw $0x1, %dx
movw %dx, 0x10(%rax)
movw %si, 0x12(%rax)
pushq $0x1
popq %r8
movl %r8d, 0x14(%rax)
movw %dx, 0x28(%rax)
movw %di, 0x2a(%rax)
movl %r8d, 0x2c(%rax)
movw %dx, 0x40(%rax)
movw %di, 0x42(%rax)
movw %dx, 0x58(%rax)
movw %si, 0x5a(%rax)
pushq $0x78
popq %rdx
movl %ecx, %edi
movq %rax, %rsi
callq 0x1030
addq $0x78, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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)
andq $0x0, 0x40(%rsi)
movaps %xmm0, 0x30(%rsi)
movaps %xmm0, (%rsi)
movw $0x1, %cx
movw %cx, 0x10(%rsi)
movw %di, 0x12(%rsi)
movl $0x1, 0x14(%rsi)
movw %cx, 0x28(%rsi)
movw %di, 0x2a(%rsi)
pushq $0x48
popq %rdx
movl %eax, %edi
callq 0x1030
addq $0x48, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x2
popq %rsi
xorl %eax, %eax
callq 0x1080
testl %eax, %eax
js 0x138b
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 0xc72(%rip), %rdi       # 0x2004
callq 0x1255
pushq $0x1
popq %rdi
callq 0x10a0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x158b
leaq 0xa9e(%rip), %rdi       # 0x201c
callq 0x1255
pushq $0x1
popq %rdi
callq 0x10a0
movq %rsi, %rbx
pushq $-0x14
popq %rdi
callq 0x1070
movq 0x10(%rbx), %rdi
callq 0x11bc
movq 0x8(%rbx), %rdi
callq 0x139f
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
pushq $0x3
popq %rbx
movl %ebx, %edi
callq 0x3c15
movl %ebx, %edi
callq 0x3df0
movl %ebx, %edi
callq 0x3fc1
movq 0x8515(%rip), %rdi      # 0xbff0
leaq 0x4617(%rip), %rsi      # 0x80f9
callq 0x3190
xorl %eax, %eax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x3bab
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 0x44ca(%rip), %xmm0     # 0x8050
movq %r12, %rdi
callq 0x41e0
movq (%r15), %rsi
movq (%r14), %rdx
movq %r12, %rdi
callq 0x42b6
movb %al, 0xc(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x4561(%rip), %rdi      # 0x8113
leaq 0x4570(%rip), %rsi      # 0x8129
leaq 0x4576(%rip), %rcx      # 0x8136
pushq $0x26
popq %rdx
callq 0x30f0
// File: /workspace/github_cpp_makefile_star2_O2/redpony[P]libpopt/optimize_test.cc
// Function: void TestOptimizerVariants<SGDOptimizer>(int)
void TestOptimizerVariants(int num_vars) {
  O oa(num_vars);
  const string name = oa.Name();
  cerr << "-------------------------------------------------------------------------\n";
  cerr << "TEST: " << name << endl;
  double o1 = TestOptimizer(&oa);
  O ob(num_vars);
  double o2 = TestPersistentOptimizer(&ob);
  if (o1 != o2) {
    cerr << oa.Name() << ": PERSISTENT/NON-PERSISTENT VARIANTS PERFORMED DIFFERENTLY!\n"
         << o1 << " vs. " << o2 << endl;
    exit(1);
  }
  cerr << oa.Name() << ": SUCCESS\n";
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
leaq 0x38(%rsp), %rsi
movl $0x1, 0x8(%rsi)
movb $0x0, 0xc(%rsi)
leaq 0x7fd2(%rip), %rbx      # 0xbc08
addq $0x10, %rbx
movq %rbx, (%rsi)
movabsq $0x3fb999999999999a, %r14 # imm = 0x3FB999999999999A
movq %r14, 0x10(%rsi)
leaq 0x68(%rsp), %rdi
callq 0x4d32
movq 0x8394(%rip), %rdi      # 0xbff0
leaq 0x45c4(%rip), %rsi      # 0x8227
callq 0x3190
movq 0x8381(%rip), %rdi      # 0xbff0
leaq 0x45fc(%rip), %rsi      # 0x8272
callq 0x3190
leaq 0x68(%rsp), %rsi
movq %rax, %rdi
callq 0x3180
movq %rax, %rdi
callq 0x30c0
leaq 0x38(%rsp), %rdi
callq 0x347c
movsd %xmm0, 0x8(%rsp)
leaq 0x50(%rsp), %rdi
movl $0x1, 0x8(%rdi)
movb $0x0, 0xc(%rdi)
movq %rbx, (%rdi)
movq %r14, 0x10(%rdi)
callq 0x36f9
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jne 0x3d2c
jp 0x3d2c
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x4d32
movq 0x8310(%rip), %rdi      # 0xbff0
leaq 0x18(%rsp), %rsi
callq 0x3180
leaq 0x45cb(%rip), %rsi      # 0x82bc
movq %rax, %rdi
callq 0x3190
leaq 0x18(%rsp), %rdi
callq 0x30a0
leaq 0x50(%rsp), %rdi
callq 0x4e3c
leaq 0x68(%rsp), %rdi
callq 0x30a0
leaq 0x38(%rsp), %rdi
callq 0x4e3c
addq $0x88, %rsp
popq %rbx
popq %r14
retq
movsd %xmm0, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x4d32
movq 0x82a8(%rip), %rdi      # 0xbff0
leaq 0x18(%rsp), %rsi
callq 0x3180
leaq 0x4520(%rip), %rsi      # 0x8279
movq %rax, %rdi
callq 0x3190
movq %rax, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x3270
leaq 0x4540(%rip), %rsi      # 0x82b6
movq %rax, %rdi
callq 0x3190
movq %rax, %rdi
movsd 0x10(%rsp), %xmm0
callq 0x3270
movq %rax, %rdi
callq 0x30c0
leaq 0x18(%rsp), %rdi
callq 0x30a0
pushq $0x1
popq %rdi
callq 0x31c0
jmp 0x3db8
jmp 0x3dac
jmp 0x3dac
movq %rax, %rbx
jmp 0x3dc5
jmp 0x3dd1
movq %rax, %rbx
jmp 0x3dde
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x30a0
leaq 0x50(%rsp), %rdi
callq 0x4e3c
jmp 0x3dd4
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x30a0
leaq 0x38(%rsp), %rdi
callq 0x4e3c
movq %rbx, %rdi
callq 0x32e0
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, (%rdi)
movsd %xmm0, 0x8(%rdi)
testq %rsi, %rsi
je 0x4206
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0x424c
addq $0x28, %rsp
popq %rbx
popq %r14
retq
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r14
leaq 0x3f7b(%rip), %rsi      # 0x8193
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x4366
leaq 0x787d(%rip), %rsi      # 0xbab8
leaq 0x174(%rip), %rdx       # 0x43b6
movq %r14, %rdi
callq 0x32c0
jmp 0x4290
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r14
leaq 0x3f3c(%rip), %rsi      # 0x819a
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x4366
leaq 0x7837(%rip), %rsi      # 0xbab8
leaq 0x12e(%rip), %rdx       # 0x43b6
movq %r14, %rdi
callq 0x32c0
jmp 0x4294
jmp 0x42a3
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x30a0
jmp 0x42ae
movq %rax, %rbx
movq %r14, %rdi
callq 0x3120
movq %rbx, %rdi
callq 0x32e0
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
movq %rsi, %rdx
callq 0x4545
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x42db
sqrtsd %xmm0, %xmm0
jmp 0x42e0
callq 0x3140
movsd %xmm0, (%rsp)
movq (%rbx), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x4545
ucomisd 0x3d95(%rip), %xmm0     # 0x8090
jb 0x4303
sqrtsd %xmm0, %xmm0
jmp 0x4308
callq 0x3140
movsd (%rsp), %xmm1
maxsd 0x3d73(%rip), %xmm1     # 0x8088
mulsd 0x8(%rbx), %xmm1
ucomisd %xmm0, %xmm1
setae %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x45c0
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 0x4651
xorl %r11d, %r11d
movabsq $0x5, %rcx
movq %rdi, %rax
xorl %edx, %edx
divq %rcx
leaq (%rsi,%r10,8), %rax
leaq (%r8,%r9,8), %rbx
xorpd %xmm0, %xmm0
cmpq %r11, %rdx
je 0x45c4
movsd (%rax,%r11,8), %xmm1
mulsd (%rbx,%r11,8), %xmm1
addsd %xmm1, %xmm0
incq %r11
jmp 0x45a6
xorps %xmm0, %xmm0
retq
shlq $0x3, %r9
movq %rdi, %rax
xorl %edx, %edx
divq %rcx
imulq $0x28, %rax, %rcx
subq %rcx, %r9
addq %r9, %r8
shlq $0x3, %r10
subq %rcx, %r10
addq %r10, %rsi
imulq $-0x5, %rax, %rax
movq %rdi, %rcx
leaq (%rax,%rcx), %rdx
cmpq %rdi, %rdx
jae 0x467f
movsd (%rsi,%rcx,8), %xmm1
movsd 0x8(%rsi,%rcx,8), %xmm2
mulsd (%r8,%rcx,8), %xmm1
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
addq $0x5, %rcx
jmp 0x45eb
leaq (%rsi,%r10,8), %rdx
leaq (%r8,%r9,8), %rsi
shlq $0x3, %rcx
shlq $0x3, %rax
xorpd %xmm0, %xmm0
subq $0x1, %rdi
jb 0x467f
movsd (%rdx), %xmm1
mulsd (%rsi), %xmm1
addsd %xmm1, %xmm0
addq %rcx, %rdx
addq %rax, %rsi
jmp 0x4665
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x73a6(%rip), %rax      # 0xbbb0
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0x10(%rdi), %r14
movslq %esi, %r15
leaq 0x30(%rsp), %rdx
andq $0x0, (%rdx)
leaq 0xf(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
callq 0x4966
leaq 0x28(%rbx), %rdi
leaq 0x38(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %r15, %rsi
callq 0x4966
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 0x380d(%rip), %xmm0     # 0x8088
jbe 0x48af
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
jbe 0x48c8
movsd 0x37f9(%rip), %xmm0     # 0x8088
ucomisd %xmm3, %xmm0
jbe 0x48c8
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x48e1
ucomisd %xmm0, %xmm1
jbe 0x48fa
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x3a11(%rip), %rdi      # 0x82c7
leaq 0x386c(%rip), %rsi      # 0x8129
leaq 0x3a12(%rip), %rcx      # 0x82d6
pushq $0x48
jmp 0x4911
leaq 0x3a53(%rip), %rdi      # 0x8322
leaq 0x3853(%rip), %rsi      # 0x8129
leaq 0x39f9(%rip), %rcx      # 0x82d6
pushq $0x49
jmp 0x4911
leaq 0x3a5d(%rip), %rdi      # 0x8345
leaq 0x383a(%rip), %rsi      # 0x8129
leaq 0x39e0(%rip), %rcx      # 0x82d6
pushq $0x4a
jmp 0x4911
leaq 0x3a54(%rip), %rdi      # 0x8355
leaq 0x3821(%rip), %rsi      # 0x8129
leaq 0x39c7(%rip), %rcx      # 0x82d6
pushq $0x4b
popq %rdx
callq 0x30f0
movq %rax, %r15
movq %r14, %rdi
callq 0x4682
jmp 0x4927
movq %rax, %r15
movq %rbx, %rdi
callq 0x4e3c
movq %r15, %rdi
callq 0x32e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %rsi
pushq $0x4
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xc(%r14), %rsi
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x3200
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
leaq 0xc(%rsp), %rsi
movl $0xabcddcba, (%rsi)     # imm = 0xABCDDCBA
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x8(%rdi), %rbx
pushq $0x4
popq %r12
movq %rsi, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x31e0
incl 0x8(%r14)
leaq 0xc(%r14), %rsi
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x31e0
movq (%r14), %rax
movq %r14, %rdi
movq %r15, %rsi
callq *0x20(%rax)
leaq 0xc(%rsp), %r13
andl $0x0, (%r13)
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x31e0
cmpl $0xabcddcba, (%r13)     # imm = 0xABCDDCBA
jne 0x4af3
movq (%r14), %rax
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq *0x10(%rax)
movq 0x753e(%rip), %rdi      # 0xbff0
movq %r15, %rsi
callq 0x3180
leaq 0x3977(%rip), %rsi      # 0x8438
movq %rax, %rdi
callq 0x3190
movl (%rbx), %esi
movq %rax, %rdi
callq 0x32d0
movq %rax, %rdi
callq 0x30c0
leaq 0x10(%rsp), %rdi
callq 0x30a0
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x38fe(%rip), %rdi      # 0x83f8
leaq 0x390b(%rip), %rsi      # 0x840c
leaq 0x3910(%rip), %rcx      # 0x8418
pushq $0x29
popq %rdx
callq 0x30f0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x32e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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
sarq $0x3, %rdx
movq 0x10(%rdi), %rsi
movq 0x28(%rdi), %r8
xorl %r9d, %r9d
movapd 0x34b3(%rip), %xmm0     # 0x8020
movapd 0x383b(%rip), %xmm1     # 0x83b0
xorpd %xmm2, %xmm2
cmpq %r9, %rdx
je 0x4c22
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 0x4bd7
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 0x4c14
ucomisd %xmm5, %xmm2
movsd (%r8,%r9,8), %xmm5
jbe 0x4bfd
mulsd 0x48(%rdi), %xmm5
movsd 0x58(%rdi), %xmm3
maxsd %xmm5, %xmm3
movsd %xmm3, (%r8,%r9,8)
xorpd %xmm3, %xmm3
jmp 0x4c14
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
jmp 0x4b79
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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)
pushq $0x8
popq %rdx
movq %rsi, %rdi
movq %r15, %rsi
callq 0x3200
movq 0x10(%rbx), %rsi
movq (%r15), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
callq 0x3200
movq 0x28(%rbx), %rsi
movq (%r15), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
callq 0x3200
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x8
popq %rdx
movq %rsi, %rdi
movq %r15, %rsi
callq 0x31e0
movq (%r15), %rdx
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rax
subq %rsi, %rax
sarq $0x3, %rax
cmpq %rax, %rdx
jne 0x4cfb
movq 0x30(%r14), %rax
subq 0x28(%r14), %rax
sarq $0x3, %rax
cmpq %rax, %rdx
jne 0x4d14
shlq $0x3, %rdx
movq %rbx, %rdi
callq 0x31e0
movq 0x28(%r14), %rsi
movq 0x8(%rsp), %rdx
shlq $0x3, %rdx
movq %rbx, %rdi
callq 0x31e0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x3753(%rip), %rdi      # 0x8455
leaq 0x3703(%rip), %rsi      # 0x840c
leaq 0x3759(%rip), %rcx      # 0x8469
pushq $0x59
jmp 0x4d2b
leaq 0x377f(%rip), %rdi      # 0x849a
leaq 0x36ea(%rip), %rsi      # 0x840c
leaq 0x3740(%rip), %rcx      # 0x8469
pushq $0x5a
popq %rdx
callq 0x30f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x78(%rdi), %rsi
pushq $0x8
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x80(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x8(%rsp), %rsi
movq $0x8, (%rsi)
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
movq %r14, %rdi
movq %rbx, %rsi
callq 0x57e0
leaq 0xb0(%r14), %rsi
pushq $0x4
popq %r12
movq %rbx, %rdi
movq %r12, %rdx
callq 0x3200
leaq 0xb4(%r14), %rsi
pushq $0x1
popq %r13
movq %rbx, %rdi
movq %r13, %rdx
callq 0x3200
leaq 0xb5(%r14), %rsi
movq %rbx, %rdi
movq %r13, %rdx
callq 0x3200
leaq 0xb8(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xc0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xc8(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xd0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xd8(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xe0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xe8(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0xf0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x108(%r14), %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x3200
leaq 0x110(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x118(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
movq 0x120(%r14), %rsi
movq 0x128(%r14), %rdx
subq %rsi, %rdx
movq %rbx, %rdi
callq 0x3200
movq 0x138(%r14), %rsi
movq 0x140(%r14), %rdx
subq %rsi, %rdx
movq %rbx, %rdi
callq 0x3200
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x4
popq %rdx
movq %rsi, %rdi
movq %r14, %rsi
callq 0x3200
leaq 0x8(%r14), %rsi
pushq $0x8
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x10(%r14), %rsi
pushq $0x1
popq %r12
movq %rbx, %rdi
movq %r12, %rdx
callq 0x3200
leaq 0x11(%r14), %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x3200
leaq 0x18(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x20(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x28(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x30(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x38(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x40(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x48(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x50(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x58(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x60(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
leaq 0x68(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3200
addq $0x70, %r14
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3200
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x4
popq %rdx
movq %rsi, %rdi
movq %r14, %rsi
callq 0x31e0
leaq 0x8(%r14), %rsi
pushq $0x8
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x10(%r14), %rsi
pushq $0x1
popq %r12
movq %rbx, %rdi
movq %r12, %rdx
callq 0x31e0
leaq 0x11(%r14), %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x31e0
leaq 0x18(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x20(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x28(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x30(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x38(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x40(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x48(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x50(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x58(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x60(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
leaq 0x68(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x31e0
addq $0x70, %r14
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x31e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x6d84
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x6c9a
jnp 0x6d84
movq 0x8(%rsp), %rax
movq %rcx, %r10
xorq $0x1, %r10
movq %rax, %r11
xorq $0x1, %r11
orq %r10, %r11
jne 0x6ce2
movl %edi, %eax
andl $0x3, %eax
leaq (%rsi,%rdx,8), %rcx
leaq (%r8,%r9,8), %r10
xorl %r11d, %r11d
cmpq %r11, %rax
je 0x6d14
movsd (%rcx,%r11,8), %xmm1
mulsd %xmm0, %xmm1
addsd (%r10,%r11,8), %xmm1
movsd %xmm1, (%r10,%r11,8)
incq %r11
jmp 0x6cc2
leaq (%rsi,%rdx,8), %rdx
leaq (%r8,%r9,8), %rsi
shlq $0x3, %rcx
shlq $0x3, %rax
subq $0x1, %rdi
jb 0x6d84
movsd (%rdx), %xmm1
mulsd %xmm0, %xmm1
addsd (%rsi), %xmm1
movsd %xmm1, (%rsi)
addq %rcx, %rdx
addq %rax, %rsi
jmp 0x6cf2
leaq (%r8,%r9,8), %rcx
addq $0x18, %rcx
leaq (%rsi,%rdx,8), %rdx
addq $0x18, %rdx
cmpq %rdi, %rax
jae 0x6d84
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
jmp 0x6d24
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rsi, %rbx
movl %edi, %r14d
leaq 0x2bfb(%rip), %rsi      # 0x5004
leaq -0x58(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x255a
leaq 0x2c00(%rip), %rsi      # 0x5020
leaq -0x38(%rbp), %rdi
leaq -0xd0(%rbp), %rdx
callq 0x255a
leaq -0x128(%rbp), %r15
leaq -0x58(%rbp), %rsi
leaq -0x38(%rbp), %rdx
movq %r15, %rdi
callq 0x2596
leaq -0x38(%rbp), %rdi
callq 0x20d0
leaq -0x58(%rbp), %rdi
callq 0x20d0
movslq %r14d, %rax
leaq -0xa8(%rbp), %r14
leaq -0x90(%rbp), %rcx
andl $0x0, (%rcx)
andq $0x0, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
andq $0x0, 0x20(%rcx)
movq %rax, (%r14)
movq %rbx, 0x8(%r14)
movq %r15, 0x28(%rcx)
movq %r14, 0x30(%rcx)
leaq -0x98(%rbp), %rbx
movq %rbx, %rdi
callq 0x25de
testb %al, %al
je 0x24c7
leaq -0x98(%rbp), %rdi
callq 0x4000
leaq -0x128(%rbp), %rdi
callq 0x27e6
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq -0xd0(%rbp), %rdi
movq %r15, (%rdi)
movq %rbx, 0x8(%rdi)
movq %r14, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
callq 0x269a
movl %eax, %edi
callq 0x21d0
jmp 0x24ee
movq %rax, %rbx
leaq -0x98(%rbp), %rdi
callq 0x4000
leaq -0x128(%rbp), %rdi
callq 0x27e6
jmp 0x252a
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x20d0
jmp 0x251c
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x20d0
jmp 0x252a
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
pushq %rax
movq %rdi, %rbx
movq 0x30(%rdi), %rcx
movq 0x38(%rdi), %rax
movq 0x50(%rcx), %r15
cmpq $0x2, (%rax)
jb 0x2607
movq 0x8(%rax), %rax
movq 0x8(%rax), %r14
jmp 0x260a
xorl %r14d, %r14d
cmpq $0x1, %r15
je 0x261d
testq %r14, %r14
jne 0x261d
testq %r15, %r15
sete %al
jmp 0x268f
testq %r14, %r14
je 0x2654
movq %rbx, %rdi
movq %r14, %rsi
callq 0x281e
testb %al, %al
je 0x263b
movq %rbx, %rdi
callq 0x2872
jmp 0x268d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x28d6
testb %al, %al
je 0x2654
movq %rbx, %rdi
callq 0x292a
jmp 0x268d
movq 0x30(%rbx), %rdi
cmpq $0x1, %r15
jne 0x266b
movq 0x40(%rdi), %rsi
addq $0x10, %rsi
movq %rbx, %rdi
jmp 0x267e
movq %r14, %rsi
callq 0x2c5e
testq %rax, %rax
je 0x268d
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2a8e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x325c
movq 0x8(%rbx), %r14
leaq 0x29c2(%rip), %rsi      # 0x507c
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x255a
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
callq 0x31d2
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0x20d0
movq 0x8(%rbx), %r15
leaq 0x8(%r15), %rax
cmpq %rax, %r14
je 0x2725
addq $0x40, %r14
leaq 0x297d(%rip), %rsi      # 0x5074
movq %r14, %rdi
callq 0x31c2
testb %al, %al
je 0x272a
movq (%rbx), %rsi
addq $0x20, %rsi
movq 0x58c7(%rip), %rdi      # 0x7fd8
callq 0x2150
movq %rax, %rdi
callq 0x20e0
xorl %eax, %eax
jmp 0x27bd
movb $0x1, %r14b
jmp 0x2744
leaq 0x294f(%rip), %rsi      # 0x5080
movq %r14, %rdi
callq 0x31c2
movl %eax, %r14d
xorb $0x1, %r14b
movq 0x8(%rbx), %r15
leaq 0x293a(%rip), %rsi      # 0x5085
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x255a
leaq -0x40(%rbp), %rsi
movq %r15, %rdi
callq 0x31d2
movq %rax, %r15
leaq -0x40(%rbp), %rdi
callq 0x20d0
movq 0x8(%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r15
je 0x2794
addq $0x40, %r15
leaq 0x28ec(%rip), %rsi      # 0x5074
movq %r15, %rdi
callq 0x31c2
testb %al, %al
je 0x279e
movq %rbx, %rdi
callq 0x32cc
jmp 0x27a9
movq %rbx, %rdi
movq %r15, %rsi
callq 0x374c
movq 0x10(%rbx), %rax
cmpq $0x2, (%rax)
setae %al
andb %al, %r14b
movzbl %r14b, %eax
negl %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x27cc
jmp 0x27da
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x20d0
jmp 0x27dd
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2260
nop
// File: /workspace/github_cpp_makefile_star2_O2/moya-lang[P]Arguments/./Arguments.h
// Function: Moya::System::Arguments::Parser::parseHelpCommand()
void parseHelpCommand()
        {
            const size_t numberOfArguments = arguments.getNumberOfArguments();
            if (numberOfArguments == 2)
                insert({ "/", "help" });

            if (numberOfArguments != 3 || syntax.commands.size() < 2)
                return;

            const char *commandName = arguments[2];
            const Command *command = syntax.findCommandByName(commandName);
            if (command || isVersionCommandName(commandName)) {
                insert({ "/", "help" });
                insert({ "/command", command ? command->identifier : "version" });
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %r14
movq 0x38(%rdi), %rax
movq (%rax), %rcx
cmpq $0x3, %rcx
je 0x2984
cmpq $0x2, %rcx
jne 0x2a48
leaq 0x2724(%rip), %rsi      # 0x507c
leaq 0x2721(%rip), %rdx      # 0x5080
leaq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0x2f74
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2d0c
leaq -0x80(%rbp), %rdi
callq 0x2cec
jmp 0x2a48
movq 0x30(%r14), %rdi
cmpq $0x2, 0x50(%rdi)
jb 0x2a48
movq 0x8(%rax), %rax
movq 0x10(%rax), %r15
movq %r15, %rsi
callq 0x2c5e
movq %rax, %rbx
testq %rax, %rax
jne 0x29be
movq %r14, %rdi
movq %r15, %rsi
callq 0x281e
testb %al, %al
je 0x2a48
leaq 0x26b7(%rip), %rsi      # 0x507c
leaq 0x26b4(%rip), %rdx      # 0x5080
leaq -0x80(%rbp), %r15
movq %r15, %rdi
callq 0x2f74
movq %r14, %rdi
movq %r15, %rsi
callq 0x2d0c
leaq -0x80(%rbp), %rdi
callq 0x2cec
testq %rbx, %rbx
je 0x29ff
leaq -0x40(%rbp), %rdi
movq %rbx, %rsi
callq 0x21f0
jmp 0x2a13
leaq 0x266e(%rip), %rsi      # 0x5074
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x255a
leaq 0x266b(%rip), %rsi      # 0x5085
leaq -0x80(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0x2fba
leaq -0x80(%rbp), %rsi
movq %r14, %rdi
callq 0x2d0c
leaq -0x80(%rbp), %rdi
callq 0x2cec
leaq -0x40(%rbp), %rdi
callq 0x20d0
testq %rbx, %rbx
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x2a85
movq %rax, %r14
leaq -0x80(%rbp), %rdi
callq 0x2cec
jmp 0x2a69
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0x20d0
testq %rbx, %rbx
jmp 0x2a85
jmp 0x2a79
movq %rax, %r14
leaq -0x80(%rbp), %rdi
callq 0x2cec
movq %r14, %rdi
callq 0x2260
nop