LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::Config::from_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::vector<ConfigItem> from_file(const std::string &name) {
        std::ifstream input{name};
        if(!input.good())
            throw FileError::Missing(name);

        return from_config(input);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
movl $0x8, %edx
callq 0x5490
movq (%r12), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x48(%rsp,%rax)
jne 0x17c9a
movq (%r15), %rax
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
callq 0x50b0
movq %rbx, %rax
addq $0x230, %rsp            # imm = 0x230
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x5170
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x193be
xorl %ebp, %ebp
leaq 0x17b23(%rip), %rsi     # 0x2f800
leaq 0x3fd6(%rip), %rdx      # 0x1bcba
movq %rbx, %rdi
callq 0x54d0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x17d0e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x17d0e
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x17d20
movq %rbx, %rdi
callq 0x5230
jmp 0x17d20
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x50b0
movq %r14, %rdi
callq 0x5510
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::App::get_subcommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
App *get_subcommand(std::string subcom) const {
        for(const App_p &subcomptr : subcommands_)
            if(subcomptr->check_name(subcom))
                return subcomptr.get();
        throw OptionNotFound(subcom);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq 0x158(%rdi), %r14
movq 0x160(%rdi), %rax
movq %rax, 0x10(%rsp)
cmpq %rax, %r14
sete %r13b
je 0x19c10
leaq 0x28(%rsp), %r15
movq (%r14), %r12
movq %r15, 0x18(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rbp
movq %rbp, %rdi
callq 0x1eb20
movq %r12, %rdi
movq %rbp, %rsi
callq 0x1507e
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x19bed
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x52c0
testb %bpl, %bpl
je 0x19bfa
movq (%r14), %rax
movq %rax, 0x8(%rsp)
testb %bpl, %bpl
jne 0x19c10
addq $0x8, %r14
cmpq 0x10(%rsp), %r14
sete %r13b
jne 0x19baa
jmp 0x19c10
testb $0x1, %r13b
jne 0x19c2a
movq 0x8(%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x19f26
xorl %ebp, %ebp
leaq 0x15c6b(%rip), %rsi     # 0x2f8d8
leaq 0x2046(%rip), %rdx      # 0x1bcba
movq %r14, %rdi
callq 0x54d0
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x19c9e
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x19c9e
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x19cc7
movq %r14, %rdi
callq 0x5230
jmp 0x19cc7
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x19cc7
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %rbx, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::App::get_option(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Option *get_option(std::string option_name) {
        for(Option_p &opt : options_) {
            if(opt->check_name(option_name)) {
                return opt.get();
            }
        }
        throw OptionNotFound(option_name);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq 0x98(%rdi), %r14
movq 0xa0(%rdi), %rax
movq %rax, 0x10(%rsp)
cmpq %rax, %r14
sete %r13b
je 0x19d68
leaq 0x28(%rsp), %r15
movq (%r14), %r12
movq %r15, 0x18(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rbp
movq %rbp, %rdi
callq 0x1eb20
movq %r12, %rdi
movq %rbp, %rsi
callq 0x1a0f0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x19d45
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x52c0
testb %bpl, %bpl
je 0x19d52
movq (%r14), %rax
movq %rax, 0x8(%rsp)
testb %bpl, %bpl
jne 0x19d68
addq $0x8, %r14
cmpq 0x10(%rsp), %r14
sete %r13b
jne 0x19d02
jmp 0x19d68
testb $0x1, %r13b
jne 0x19d82
movq 0x8(%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x19f26
xorl %ebp, %ebp
leaq 0x15b13(%rip), %rsi     # 0x2f8d8
leaq 0x1eee(%rip), %rdx      # 0x1bcba
movq %r14, %rdi
callq 0x54d0
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x19df6
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x19df6
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x19e1f
movq %r14, %rdi
callq 0x5230
jmp 0x19e1f
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x19e1f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %rbx, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> CLI::detail::rjoin<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string rjoin(const T &v, std::string delim = ",") {
    std::ostringstream s;
    for(size_t start = 0; start < v.size(); start++) {
        if(start > 0)
            s << delim;
        s << v[v.size() - start - 1];
    }
    return s.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x53e0
movq 0x8(%r15), %rax
cmpq (%r15), %rax
je 0x1bd60
movq $-0x20, %r13
xorl %ebp, %ebp
movq %rsp, %r12
testq %rbp, %rbp
je 0x1bd34
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0x5320
movq 0x8(%r15), %rax
movq (%rax,%r13), %rsi
movq 0x8(%rax,%r13), %rdx
movq %r12, %rdi
callq 0x5320
movq 0x8(%r15), %rax
subq (%r15), %rax
incq %rbp
sarq $0x5, %rax
addq $-0x20, %r13
cmpq %rax, %rbp
jb 0x1bd20
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5480
movq 0x14244(%rip), %rsi     # 0x2ffb8
movq %rsp, %rdi
callq 0x5190
leaq 0x70(%rsp), %rdi
callq 0x5100
movq %rbx, %rax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1bd9d
movq %rax, %rbx
movq 0x14211(%rip), %rsi     # 0x2ffb8
movq %rsp, %rdi
callq 0x5190
leaq 0x70(%rsp), %rdi
callq 0x5100
movq %rbx, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::App::get_groups[abi:cxx11]() const
std::vector<std::string> get_groups() const {
        std::vector<std::string> groups;

        for(const Option_p &opt : options_) {
            // Add group if it is not already in there
            if(std::find(groups.begin(), groups.end(), opt->get_group()) == groups.end()) {
                groups.push_back(opt->get_group());
            }
        }

        return groups;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x98(%rsi), %r14
movq 0xa0(%rsi), %r15
cmpq %r15, %r14
je 0x1c519
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
movq (%r14), %rdx
callq 0x1c5b8
cmpq 0x8(%rbx), %rax
jne 0x1c513
movq (%r14), %rsi
movq %rbx, %rdi
callq 0xe21c
addq $0x8, %r14
jmp 0x1c4ee
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
jmp 0x1c524
movq %rax, %r14
movq %rbx, %rdi
callq 0x7172
movq %r14, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::FormatterBase::get_label(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
std::string get_label(std::string key) const {
        if(labels_.find(key) == labels_.end())
            return key;
        else
            return labels_.at(key);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x10(%rsi), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x1c916
addq $0x18, %r12
cmpq %r12, %rax
je 0x1c847
movq %r15, %rdi
movq %r14, %rsi
callq 0x1c8c2
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x1eb20
jmp 0x1c884
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%r14), %rdx
leaq 0x10(%r14), %rax
cmpq %rax, %rdx
je 0x1c866
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x1c86c
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::detail::format_help(std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long)
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
    name = "  " + name;
    out << std::setw(static_cast<int>(wid)) << std::left << name;
    if(!description.empty()) {
        if(name.length() >= wid)
            out << "\n" << std::setw(static_cast<int>(wid)) << "";
        out << description;
    }
    out << "\n";
    return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x67ec(%rip), %rsi      # 0x23760
movq %rsp, %r13
movq %r13, %rdi
movq %r12, %rdx
callq 0xbe64
movq %r12, %rdi
movq %r13, %rsi
callq 0x5370
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1cfa8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x52c0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movslq %r15d, %r13
movq %r13, 0x10(%rbx,%rcx)
movq -0x18(%rax), %rax
movl $0xffffff4f, %ecx       # imm = 0xFFFFFF4F
andl 0x18(%rbx,%rax), %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%rbx,%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %rbx, %rdi
callq 0x5320
cmpq $0x0, 0x8(%r14)
je 0x1d02a
cmpq %r15, 0x8(%r12)
jb 0x1d01b
leaq 0x676c(%rip), %rsi      # 0x2375d
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5320
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %r13, 0x10(%rbx,%rax)
leaq 0x674d(%rip), %rsi      # 0x2375e
movq %rbx, %rdi
xorl %edx, %edx
callq 0x5320
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x5320
leaq 0x672c(%rip), %rsi      # 0x2375d
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5320
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::detail::split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char)
inline std::vector<std::string> split(const std::string &s, char delim) {
    std::vector<std::string> elems;
    // Check to see if empty string, give consistent result
    if(s.empty())
        elems.emplace_back("");
    else {
        std::stringstream ss;
        ss.str(s);
        std::string item;
        while(std::getline(ss, item, delim)) {
            elems.push_back(item);
        }
    }
    return elems;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
cmpq $0x0, 0x8(%rsi)
je 0x1dc07
movl %edx, %ebp
movq %rsi, %r14
leaq 0x28(%rsp), %rdi
callq 0x5210
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0x5440
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movsbl %bpl, %ebp
leaq 0x28(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x5550
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1dbd0
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe21c
jmp 0x1dba8
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1dbe7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x123aa(%rip), %rsi     # 0x2ff98
leaq 0x28(%rsp), %rdi
callq 0x5240
leaq 0xa8(%rsp), %rdi
callq 0x5100
jmp 0x1dc16
leaq 0x5b50(%rip), %rsi      # 0x2375e
movq %rbx, %rdi
callq 0x1e282
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1dc30
movq %rax, %r14
jmp 0x1dc4f
movq %rax, %r14
jmp 0x1dc6d
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1dc4f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x12342(%rip), %rsi     # 0x2ff98
leaq 0x28(%rsp), %rdi
callq 0x5240
leaq 0xa8(%rsp), %rdi
callq 0x5100
movq %rbx, %rdi
callq 0x7172
movq %r14, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: bool CLI::detail::lexical_cast<int, (CLI::detail::enabler)0>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int&)
bool lexical_cast(std::string input, T &output) {
    try {
        size_t n = 0;
        long long output_ll = std::stoll(input, &n, 0);
        output = static_cast<T>(output_ll);
        return n == input.size() && static_cast<long long>(output) == output_ll;
    } catch(const std::invalid_argument &) {
        return false;
    } catch(const std::out_of_range &) {
        return false;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %r12
callq 0x5060
movq %rax, %rbx
movl (%rax), %ebp
movl $0x0, (%rax)
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x5090
movq (%r13), %rcx
subq %r12, %rcx
je 0x1f13f
movl (%rbx), %edx
cmpl $0x22, %edx
je 0x1f14b
testl %edx, %edx
jne 0x1f11d
movl %ebp, (%rbx)
movl %eax, (%r15)
xorq 0x8(%r14), %rcx
movslq %eax, %rdx
xorq %rax, %rdx
orq %rcx, %rdx
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x46e9(%rip), %rdi      # 0x2382f
callq 0x51d0
leaq 0x46dd(%rip), %rdi      # 0x2382f
callq 0x5410
cmpl $0x0, (%rbx)
jne 0x1f15e
movl %ebp, (%rbx)
cmpl $0x2, %edx
je 0x1f168
cmpl $0x1, %edx
jne 0x1f179
movq %rax, %rdi
callq 0x5140
callq 0x54b0
xorl %eax, %eax
jmp 0x1f130
movq %rax, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: bool CLI::detail::lexical_cast<unsigned long, (CLI::detail::enabler)0>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long&)
bool lexical_cast(std::string input, T &output) {
    if(!input.empty() && input.front() == '-')
        return false; // std::stoull happily converts negative values to junk without any errors.

    try {
        size_t n = 0;
        unsigned long long output_ll = std::stoull(input, &n, 0);
        output = static_cast<T>(output_ll);
        return n == input.size() && static_cast<unsigned long long>(output) == output_ll;
    } catch(const std::invalid_argument &) {
        return false;
    } catch(const std::out_of_range &) {
        return false;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
cmpq $0x0, 0x8(%rdi)
je 0x1f285
movq (%r14), %rax
cmpb $0x2d, (%rax)
jne 0x1f285
xorl %eax, %eax
jmp 0x1f2c8
movq (%r14), %r12
callq 0x5060
movq %rax, %rbx
movl (%rax), %ebp
movl $0x0, (%rax)
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x53d0
movq (%r13), %rcx
subq %r12, %rcx
je 0x1f2d7
movl (%rbx), %edx
cmpl $0x22, %edx
je 0x1f2e3
testl %edx, %edx
jne 0x1f2be
movl %ebp, (%rbx)
movq %rax, (%r15)
cmpq 0x8(%r14), %rcx
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4557(%rip), %rdi      # 0x23835
callq 0x51d0
leaq 0x454b(%rip), %rdi      # 0x23835
callq 0x5410
cmpl $0x0, (%rbx)
jne 0x1f2f6
movl %ebp, (%rbx)
cmpl $0x2, %edx
je 0x1f300
cmpl $0x1, %edx
jne 0x1f312
movq %rax, %rdi
callq 0x5140
callq 0x54b0
jmp 0x1f281
movq %rax, %rdi
callq 0x5510
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/HexViewer.cpp
// Function: HexViewer::setStyle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
void HexViewer::setStyle(const std::string& _style, bool _colors)
{
    if (_style == "hexyl")
    {
        m_style = new Hexyl(_colors);
    }
    else if (_style == "hexdump")
    {
        m_style = new HexDump;
    }
    else
    {
        throw std::runtime_error("Can't load theme");
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3ca0(%rip), %rsi      # 0x23087
movq %r14, %rdi
callq 0x50d0
testl %eax, %eax
je 0x1f41d
leaq 0x5169(%rip), %rsi      # 0x24563
movq %r14, %rdi
callq 0x50d0
testl %eax, %eax
jne 0x1f43e
movl $0x38, %edi
callq 0x52b0
movq %rax, %r14
movq %rax, %rdi
callq 0x1f7b4
jmp 0x1f436
movl $0x28, %edi
callq 0x52b0
movq %rax, %r14
movzbl %bpl, %esi
movq %rax, %rdi
callq 0x20298
movq %r14, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movl $0x10, %edi
callq 0x5170
movq %rax, %r14
leaq 0x5119(%rip), %rsi      # 0x2456b
movq %rax, %rdi
callq 0x5130
movq 0x10b8f(%rip), %rsi     # 0x2fff0
movq 0x10b48(%rip), %rdx     # 0x2ffb0
movq %r14, %rdi
callq 0x54d0
movq %rax, %rbx
movq %r14, %rdi
callq 0x5230
jmp 0x1f497
movq %rax, %rbx
movl $0x28, %esi
jmp 0x1f48f
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x52c0
movq %rbx, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/HexViewer.cpp
// Function: HexViewer::print(int, unsigned long)
void HexViewer::print(int _offset, size_t _length)
{
    DataProcessing dataProcessing(*m_printer, *m_style, *m_file);

    if (_offset)
    {
        dataProcessing.setOffset(_offset);
    }

    if (_length)
    {
        dataProcessing.setLength(_length);
    }

    dataProcessing.process();
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq (%rdi), %rdx
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rcx
movq %rsp, %rdi
callq 0x21b44
testl %ebp, %ebp
je 0x1f552
movq %rsp, %rdi
movl %ebp, %esi
callq 0x21ba6
testq %rbx, %rbx
je 0x1f562
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x21bd2
movq %rsp, %rdi
callq 0x21bd8
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1f581
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x52c0
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1f5a2
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x52c0
movq %rbx, %rdi
callq 0x5510
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/StringBuffer/StringBuffer.cpp
// Function: StringBuffer::inputString(char const*, unsigned long)
StringBuffer& StringBuffer::inputString(const char* _string, size_t _size)
{
    if (_size >= m_size)
    {
        std::cout << _string;
        
        return *this;
    }
    
    if (_size+m_position > m_size)
    {
        std::cout << m_buffer;

        m_position = 0;
    }
    
    std::copy(_string, _string+_size, m_buffer+m_position);

    m_position          += _size;
    m_buffer[m_position] = 0;

    return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
jbe 0x1f64e
movq %rdx, %r15
movq 0x8(%rbx), %rcx
addq %rdx, %rcx
cmpq %rax, %rcx
jbe 0x1f6b5
movq (%rbx), %r12
testq %r12, %r12
je 0x1f68f
movq %r12, %rdi
callq 0x5160
movq 0x10987(%rip), %rdi     # 0x2ffc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x5320
jmp 0x1f6ad
testq %r14, %r14
je 0x1f66f
movq %r14, %rdi
callq 0x5160
movq 0x10966(%rip), %rdi     # 0x2ffc8
movq %r14, %rsi
movq %rax, %rdx
callq 0x5320
jmp 0x1f6dc
movq 0x10952(%rip), %rax     # 0x2ffc8
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
leaq (%rax,%rcx), %rdi
movl 0x20(%rax,%rcx), %esi
orl $0x1, %esi
callq 0x54c0
jmp 0x1f6dc
movq 0x10932(%rip), %rax     # 0x2ffc8
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
leaq (%rax,%rcx), %rdi
movl 0x20(%rax,%rcx), %esi
orl $0x1, %esi
callq 0x54c0
movq $0x0, 0x8(%rbx)
testq %r15, %r15
je 0x1f6cc
movq (%rbx), %rdi
addq 0x8(%rbx), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x54a0
addq 0x8(%rbx), %r15
movq %r15, 0x8(%rbx)
movq (%rbx), %rax
movb $0x0, (%rax,%r15)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/Style/HexDump/HexDump.cpp
// Function: HexDump::row(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned short, std::allocator<unsigned short>> const&)
std::string HexDump::row(const std::string& _position, const std::vector<unsigned short>& _bytes)
{
    m_rowBuffer.clear();

    m_rowBuffer << _position << "  ";
    
    for (size_t i = 0; i < 16; ++i)
    {
        if (i)
        {
            if (i % 8 == 0)
            {
                m_rowBuffer << "  ";
            }
            else
            {
                m_rowBuffer << " ";
            }
        }

        m_rowBuffer << getByte(_bytes[i]);
    }
    
    m_rowBuffer << "  |";
    
    for (size_t i = 0; i < 16; ++i)
    {
        m_rowBuffer << getText(_bytes[i]);
    }

    m_rowBuffer << "|" << "\n";

    return m_rowBuffer.get();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, 0x10(%rsp)
leaq 0x20(%rsi), %r14
movq %r14, %rdi
callq 0x1f75c
movq %r14, %rdi
movq %r13, %rsi
callq 0x1f6ec
leaq 0x3b1e(%rip), %r13      # 0x23760
movq %rax, %rdi
movq %r13, %rsi
callq 0x1f5d8
xorl %ebp, %ebp
leaq 0x3b0b(%rip), %rbx      # 0x23761
testq %rbp, %rbp
je 0x1fc6e
testb $0x7, %bpl
movq %rbx, %rsi
cmoveq %r13, %rsi
movq %r14, %rdi
callq 0x1f5d8
movq (%r15), %rax
movzwl (%rax,%rbp,2), %esi
shll $0x6, %esi
addq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0x1f6ec
incq %rbp
cmpq $0x10, %rbp
jne 0x1fc56
leaq 0x48ef(%rip), %rsi      # 0x24584
movq %r14, %rdi
callq 0x1f5d8
xorl %ebx, %ebx
movq (%r15), %rax
movzwl (%rax,%rbx,2), %eax
movq 0x8(%r12), %rcx
shll $0x6, %eax
leaq (%rcx,%rax), %rsi
addq $0x20, %rsi
movq %r14, %rdi
callq 0x1f6ec
incq %rbx
cmpq $0x10, %rbx
jne 0x1fc9f
leaq 0x48b8(%rip), %rsi      # 0x24586
movq %r14, %rdi
callq 0x1f5d8
leaq 0x3a80(%rip), %rsi      # 0x2375d
movq %rax, %rdi
callq 0x1f5d8
movq %r14, %rdi
callq 0x1f76c
leaq 0xf(%rsp), %rdx
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7672
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/Style/Hexyl/Hexyl.cpp
// Function: Repeat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long)
static std::string Repeat(const std::string& _string, size_t _length)
{
    std::stringstream fs;

    for (size_t i = 0; i < _length; ++i)
    {
        fs << _string;
    }

    return fs.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x5210
testq %r14, %r14
je 0x20e00
leaq 0x10(%rsp), %r12
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x5320
decq %r14
jne 0x20dec
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x5480
movq 0xf184(%rip), %rsi      # 0x2ff98
movq %rsp, %rdi
callq 0x5240
leaq 0x80(%rsp), %rdi
callq 0x5100
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x20e3d
movq %rax, %rbx
movq 0xf151(%rip), %rsi      # 0x2ff98
movq %rsp, %rdi
callq 0x5240
leaq 0x80(%rsp), %rdi
callq 0x5100
movq %rbx, %rdi
callq 0x5510
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/Style/Hexyl/Hexyl.cpp
// Function: Hexyl::position[abi:cxx11](unsigned long)
inline std::string Hexyl::position(size_t _position)
{
    std::stringstream position;

    if (m_colourful)
    {
        position << "\x1b[38;5;242m" << std::setfill('0') << std::setw(8) << std::hex << _position << "\x1b[0m";
    }
    else
    {
        position << std::setfill('0') << std::setw(8) << std::hex << _position;
    }

    return position.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x5210
leaq 0x10(%rsp), %r15
cmpb $0x1, 0x20(%r12)
jne 0x20fa9
leaq 0x36a0(%rip), %rsi      # 0x245b9
movl $0xb, %edx
movq %r15, %rdi
callq 0x5320
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%r15,%rax), %r12
cmpb $0x0, 0xf1(%rsp,%rax)
jne 0x20f5b
movq %r12, %rdi
movl $0x20, %esi
callq 0x52a0
movb %al, 0xe0(%r12)
movb $0x1, 0xe1(%r12)
movb $0x30, 0xe0(%r12)
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x8, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movq %r15, %rdi
movq %r14, %rsi
callq 0x51f0
leaq 0x361a(%rip), %rsi      # 0x245b4
movl $0x4, %edx
movq %rax, %rdi
callq 0x5320
jmp 0x21016
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%r15,%rax), %r12
cmpb $0x0, 0xf1(%rsp,%rax)
jne 0x20fde
movq %r12, %rdi
movl $0x20, %esi
callq 0x52a0
movb %al, 0xe0(%r12)
movb $0x1, 0xe1(%r12)
movb $0x30, 0xe0(%r12)
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x8, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movq %r15, %rdi
movq %r14, %rsi
callq 0x51f0
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x5480
movq 0xef6e(%rip), %rsi      # 0x2ff98
movq %rsp, %rdi
callq 0x5240
leaq 0x80(%rsp), %rdi
callq 0x5100
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0xef3d(%rip), %rsi      # 0x2ff98
movq %rsp, %rdi
callq 0x5240
leaq 0x80(%rsp), %rdi
callq 0x5100
movq %rbx, %rdi
callq 0x5510
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/FileStream/LocalFile/LocalFile.cpp
// Function: LocalFile::size()
inline size_t LocalFile::size()
{
    size_t currentPosition = tell();

    m_file.seekg(0, std::ios_base::end);

    size_t fileSize = tell();

    m_file.seekg(currentPosition, std::ios_base::beg);

    return fileSize;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, %r14
leaq 0x8(%rbx), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x53f0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
movq %rax, %rbx
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x53f0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/DataProcessing/DataProcessing.cpp
// Function: DataProcessing::setOffset(int)
void DataProcessing::setOffset(int _offset)
{
    if (_offset < 0)
    {
        _offset = static_cast<int>(m_file.size())+_offset;

        if (_offset < 0)
        {
            _offset = 0;
        }
    }

    m_offset = _offset;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
testl %esi, %esi
jns 0x21bc5
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
addl %ebp, %eax
xorl %ebp, %ebp
testl %eax, %eax
cmovgl %eax, %ebp
movl %ebp, %eax
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/JoshCplusplus[P]Chemistry-Atom-Simulator-/main.cc
// Function: print_board()
void print_board(){
	for(int i = 0; i < x_size*y_size; i++){
		if(i % 31 == 0 && i > 0) cout << endl;
		cout << board[i];
	}
	cout << endl;
	usleep(300000);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
xorl %r14d, %r14d
movq 0x65f9(%rip), %rbx      # 0x9fd0
leaq 0x6c52(%rip), %r15      # 0xa630
xorl %r12d, %r12d
xorl %r13d, %r13d
testq %r14, %r14
je 0x3a36
movl %r12d, %eax
imulq $0x8421085, %rax, %rax  # imm = 0x8421085
shrq $0x20, %rax
movl %r12d, %ecx
subl %eax, %ecx
shrl %ecx
addl %eax, %ecx
shrl $0x4, %ecx
movl %ecx, %eax
shll $0x5, %eax
subl %ecx, %eax
addl %r13d, %eax
jne 0x3a36
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq (%r14,%r15), %rsi
movq 0x8(%r14,%r15), %rdx
movq %rbx, %rdi
callq 0x2180
decl %r13d
incl %r12d
addq $0x20, %r14
cmpq $0x3a20, %r14           # imm = 0x3A20
jne 0x39e4
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movl $0x493e0, %edi          # imm = 0x493E0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x21d0
// File: /workspace/github_cpp_makefile_star2_O1/JoshCplusplus[P]Chemistry-Atom-Simulator-/./atom.h
// Function: molecule::molecule(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
molecule(string name1, string atom1, string atom2, double energy1,string newmessage){
		name = name1;
		madeof = make_pair(atom1,atom2);
		energy = energy1;
		message = newmessage;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, -0x48(%rbp)
movsd %xmm0, -0x40(%rbp)
movq %rcx, %r13
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x38(%rbp)
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, -0x30(%rbp)
leaq 0x30(%rdi), %rcx
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x50(%rdi), %rcx
movq %rcx, 0x40(%rdi)
movq %rax, 0x48(%rdi)
movb %al, 0x50(%rdi)
leaq 0x68(%rdi), %r12
leaq 0x78(%rdi), %r15
movq %r15, 0x68(%rdi)
movq %rax, 0x70(%rdi)
movb %al, 0x78(%rdi)
callq 0x20a0
leaq -0x88(%rbp), %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x541e
leaq 0x40(%rbx), %r14
leaq -0x88(%rbp), %rsi
movq -0x30(%rbp), %rdi
callq 0x21a0
leaq -0x68(%rbp), %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0x21a0
movq (%r13), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4cf0
callq 0x2140
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d02
callq 0x2140
movsd -0x40(%rbp), %xmm0
movsd %xmm0, 0x60(%rbx)
movq %r12, %rdi
movq -0x48(%rbp), %rsi
callq 0x20a0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4d29
movq %rax, %r14
movq (%r12), %rdi
cmpq %r15, %rdi
je 0x4d3a
callq 0x2140
movq -0x30(%rbp), %rdi
callq 0x4f04
movq (%rbx), %rdi
cmpq -0x38(%rbp), %rdi
je 0x4d51
callq 0x2140
movq %r14, %rdi
callq 0x2230
nop
// File: /workspace/github_cpp_makefile_star2_O1/ivanzamanov[P]kmeans/src/extractor/extractor.cpp
// Function: main
int main(int argc, char** argv) {
	if(argc < 3) {
		printf("Not enough arguments\n");
		printf("Usage: %s <input_file> <output_dir> <output_count_offset>\n", argv[0]);
		return 1;
	}

	char* inputPath = argv[1];
	int inputFD = open(inputPath, O_RDONLY);
	if(inputFD < 0) {
		printf("Cannot open file %s\n", inputPath);
		return 1;
	}

	struct stat fileStat;
	if(fstat(inputFD, &fileStat) != 0) {
		printf("Cannot stat file %s\n", inputPath);
		return 1;
	}

	outputDir = argv[2];
	articleCount = 0;
	articleIndexOffset = strtol(argv[3], NULL, 0);
	
	processFile(inputFD, &fileStat);

	printf("Articles parsed: %d\n", articleCount);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rsi, %rbx
cmpl $0x2, %edi
jg 0x1247
leaq 0xe67(%rip), %rdi       # 0x209d
callq 0x10f0
movq (%rbx), %rsi
leaq 0xdbf(%rip), %rdi       # 0x2004
jmp 0x127e
movq 0x8(%rbx), %r14
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x1090
testl %eax, %eax
js 0x1274
movl %eax, %ebp
movq %rsp, %rsi
movl %eax, %edi
callq 0x1100
testl %eax, %eax
je 0x1298
leaq 0xde2(%rip), %rdi       # 0x2054
jmp 0x127b
leaq 0xdc4(%rip), %rdi       # 0x203f
movq %r14, %rsi
xorl %eax, %eax
callq 0x1040
movl $0x1, %ebx
movl %ebx, %eax
addq $0x90, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x10(%rbx), %rax
movq %rax, 0x2e05(%rip)      # 0x40a8
movl $0x0, 0x2e0b(%rip)      # 0x40b8
movq 0x18(%rbx), %rdi
xorl %ebx, %ebx
xorl %esi, %esi
xorl %edx, %edx
callq 0x10d0
movl %eax, 0x2dfa(%rip)      # 0x40bc
movl %ebp, %edi
callq 0x12df
movl 0x2de9(%rip), %esi      # 0x40b8
leaq 0xd93(%rip), %rdi       # 0x2069
xorl %eax, %eax
callq 0x1040
jmp 0x128a
// File: /workspace/github_cpp_makefile_star2_O1/ivanzamanov[P]kmeans/src/extractor/extractor.cpp
// Function: processFile(int, stat*)
void processFile(int inputFD, struct stat* const fileStat) {
	char* fullData = 0;
	readFullData(inputFD, &fullData);

	matcher* startMarker;
	matcher* endMarker;
	build_matcher("<BODY>", startMarker);
	build_matcher("</BODY>", endMarker);
	article_match* lastArticleMatch = 0;
	int lastArticleEndPos = 0;

	// Read articles while found
	do {
		char* offsetData = fullData + lastArticleEndPos;
		// Try to find an article
		lastArticleMatch = get_match(offsetData, *startMarker, *endMarker);
		if(lastArticleMatch != 0) {
			// Found an article, save it
			save_article(lastArticleMatch, offsetData, articleCount + articleIndexOffset);
			articleCount++;
			// Move offset after the article's end.
			lastArticleEndPos = lastArticleEndPos + lastArticleMatch->end;
			delete lastArticleMatch;
		}
	} while(lastArticleMatch != 0);

	delete fullData;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
callq 0x1846
leaq 0xd7f(%rip), %rdi       # 0x207e
leaq 0x18(%rsp), %rsi
callq 0x14b4
leaq 0xd75(%rip), %rdi       # 0x2085
leaq 0x10(%rsp), %rsi
callq 0x14b4
xorl %ebp, %ebp
movslq %ebp, %r14
addq 0x8(%rsp), %r14
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x1383
movq %rax, %rbx
testq %rax, %rax
je 0x1366
movl 0x2d78(%rip), %edx      # 0x40bc
addl 0x2d6e(%rip), %edx      # 0x40b8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13dc
incl 0x2d5d(%rip)            # 0x40b8
addl 0x4(%rbx), %ebp
movq %rbx, %rdi
callq 0x10b0
testq %rbx, %rbx
jne 0x131c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x137a
callq 0x10b0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ivanzamanov[P]kmeans/src/extractor/extractor.cpp
// Function: get_match(char const*, matcher const&, matcher const&)
article_match* get_match(const char* data, const matcher& startMarker, const matcher& endMarker) {
	// Search for the start marker
	int start = search(data, startMarker);
	int end = -1;
	if(start >= 0) {
			// Search for the end marker after the start
			end = search(data + start, endMarker);
			end = end + start;
			if(end > start) {
				// Found, return a reference
				article_match* result = new article_match(start + startMarker.n, end);
				return result;
			}
	}
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq 0x1664
testl %eax, %eax
js 0x13cf
movl %eax, %ebp
movl %eax, %eax
addq %rax, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x1664
testl %eax, %eax
jle 0x13cf
movl %eax, %r14d
addl %ebp, %r14d
movl $0x8, %edi
callq 0x10c0
movl 0x8(%rbx), %ecx
addl %ebp, %ecx
movl %ecx, (%rax)
movl %r14d, 0x4(%rax)
jmp 0x13d1
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ivanzamanov[P]kmeans/src/extractor/extractor.cpp
// Function: save_article(article_match*, char const*, int)
void save_article(article_match* match, const char* data, int articleIndex) {
	int startPos = match->start;
	int endPos = match->end;
	int length = endPos - startPos;
	char* articleData = new char[length + 1];
	articleData[length] = 0;
	for (int i = 0; i < length; i++) {
		articleData[i] = data[startPos + i];
	}
	
	char* outputFile = new char[strlen(outputDir) + 100];
	int pathLength = sprintf(outputFile, "%s/article-%05d", outputDir, articleIndex);
	outputFile[pathLength] = 0;
	int fd = open(outputFile, O_CREAT | O_WRONLY, 0644);
	write(fd, articleData, length);
	close(fd);
	delete articleData;
	delete outputFile;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r15
movslq (%rdi), %r12
movslq 0x4(%rdi), %r13
movq %r13, %rbx
subq %r12, %rbx
leal 0x1(%rbx), %eax
cmpl $-0x1, %ebx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmovgel %eax, %ecx
movslq %ecx, %rdi
callq 0x1030
movq %rax, %r14
movb $0x0, (%rax,%rbx)
testl %ebx, %ebx
jle 0x1434
addq %r12, %r15
notl %r12d
addl %r13d, %r12d
incq %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x10a0
movq 0x2c6d(%rip), %r12      # 0x40a8
movq %r12, %rdi
callq 0x1070
leaq 0x64(%rax), %rdi
callq 0x1030
movq %rax, %r15
leaq 0xc37(%rip), %rsi       # 0x208d
movq %rax, %rdi
movq %r12, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1050
cltq
movb $0x0, (%r15,%rax)
movq %r15, %rdi
movl $0x41, %esi
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x1090
movl %eax, %ebp
movl %eax, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1060
movl %ebp, %edi
callq 0x1110
movq %r14, %rdi
callq 0x10b0
movq %r15, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10b0
// File: /workspace/github_cpp_makefile_star2_O1/ivanzamanov[P]kmeans/src/common/matcher.cpp
// Function: search(char const*, matcher const&)
int search(char const* string, const matcher& matcher) {
	unsigned int i = 0;
	unsigned int n = 0;
	while(*string != 0) {
		i++;
		int c = (int)*string;
		string++;
		if(c < matcher.min_char || c > matcher.max_char) {
			n = 0;
			continue;
		}
		n = matcher.table[n][c - matcher.min_char];
		if(n == matcher.n) {
			return i - n;
		}
	}
	return -1;
}

// Assembly:
pushq %rbp
pushq %rbx
movb (%rdi), %bl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb %bl, %bl
je 0x16d6
movsbq 0xc(%rsi), %rcx
movb 0xd(%rsi), %dl
movq 0x10(%rsi), %r8
movl 0x8(%rsi), %esi
xorl %r11d, %r11d
movl $0x1, %r9d
movl $0x2, %ebp
cmpb %cl, %bl
jl 0x16bd
cmpb %dl, %bl
jg 0x16bd
movsbq %bl, %rbx
movl %r11d, %r11d
movq (%r8,%r11,8), %r11
subq %rcx, %rbx
movl (%r11,%rbx,4), %r11d
movl %r9d, %ebx
subl %r11d, %ebx
xorl %ebp, %ebp
cmpl %esi, %r11d
sete %bpl
cmovel %ebx, %r10d
jmp 0x16c0
xorl %r11d, %r11d
testb $0x1, %bpl
jne 0x16d3
movb (%rdi,%r9), %bl
incq %r9
testb %bl, %bl
jne 0x1689
jmp 0x16d6
movl %r10d, %eax
popq %rbx
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/j-faria[P]kima/examples/multi_instrument/kima_setup.cpp
// Function: main
int main(int argc, char** argv)
{
    // set the RV data files from multiple instruments
    datafiles = {"HD106252_ELODIE.txt",
                 "HD106252_HET.txt",
                 "HD106252_HJS.txt",
                 "HD106252_Lick.txt"
                };

    // note: all files should have the same structure, and be in the same units
    load_multi(datafiles, "ms", 2);

    // could also do (but not both!)
    //char* datafile = "HD106252_joined.txt";
    // load_multi(datafile, "ms", 1);

    Sampler<RVmodel> sampler = setup<RVmodel>(argc, argv);
    sampler.run(100);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x6b8, %rsp            # imm = 0x6B8
movq %rsi, %r15
movl %edi, %ebp
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2463d(%rip), %rsi     # 0x45391
leaq 0x24649(%rip), %rdx     # 0x453a4
movq %rsp, %r14
movq %r14, %rdi
callq 0x18682
leaq 0x20(%rsp), %rbx
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2462a(%rip), %rsi     # 0x453a5
leaq 0x24633(%rip), %rdx     # 0x453b5
movq %rbx, %rdi
callq 0x18682
leaq 0x40(%rsp), %rbx
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x24617(%rip), %rsi     # 0x453b6
leaq 0x24620(%rip), %rdx     # 0x453c6
movq %rbx, %rdi
callq 0x18682
leaq 0x60(%rsp), %rbx
leaq 0x70(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x24604(%rip), %rsi     # 0x453c7
leaq 0x2460e(%rip), %rdx     # 0x453d8
movq %rbx, %rdi
callq 0x18682
leaq 0x80(%rsp), %r12
leaq 0x3277f(%rip), %rdi     # 0x53560
movq %rsp, %rsi
movq %r12, %rdx
callq 0x35506
movq $-0x80, %rbx
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x20e08
movq (%r13), %rsi
incq %rsi
callq 0x6460
addq $-0x20, %r13
addq $0x20, %rbx
jne 0x20df3
movq %rsp, %rdx
movl $0x2, (%rdx)
leaq 0x3273e(%rip), %rdi     # 0x53560
leaq 0x1e6c0(%rip), %rsi     # 0x3f4e9
callq 0x21079
movq %rsp, %rbx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x21153
movq %rbx, %rdi
movl $0x64, %esi
callq 0x21224
movq %rsp, %rdi
callq 0x21402
xorl %eax, %eax
addq $0x6b8, %rsp            # imm = 0x6B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movq %rsp, %rdi
callq 0x21402
jmp 0x20ece
movq %rax, %r15
movq %rsp, %rsi
movq %r12, %rdi
callq 0x6892
movb $0x1, %al
jmp 0x20e99
jmp 0x20e8a
jmp 0x20e8a
movq %rax, %r15
xorl %eax, %eax
jmp 0x20e99
movq %rax, %r15
xorl %eax, %eax
movq %r14, %rbx
cmpq %rbx, %r14
sete %cl
orb %al, %cl
jne 0x20ece
addq $-0x10, %rbx
movq %rsp, %r14
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x20ebe
movq (%rbx), %rsi
incq %rsi
callq 0x6460
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %r14, %rbx
movq %rax, %rbx
jne 0x20eaa
movq %r15, %rdi
callq 0x6710
// File: /workspace/github_cpp_makefile_star2_O1/akitsu-sanae[P]adtpp/src/adt.cpp
// Function: convert_to_dtor_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string convert_to_dtor_name(std::string str) {
    // remove template parameter
    // ex) std::vector<double> ==> std::vector
    while (true) {
        int temp_count = 0;
        auto temp_start = std::string::npos;
        auto temp_end = std::string::npos;
        for (auto it=std::begin(str); it!=std::end(str); it++) {
            if (*it == '<') {
                if (temp_count == 0)
                    temp_start = it - std::begin(str);
                temp_count++;
            }
            if (*it == '>') {
                temp_count--;
                if (temp_count == 0)
                    temp_end = it - std::begin(str);
            }
        }
        if (temp_start == std::string::npos)
            break;
        if (temp_end == std::string::npos)
                break;
        str.erase(temp_start, temp_end);
    }

    // remove namespace
    // ex) std::vector ==> vector
    auto found = str.find_last_of(':');
    if (found != std::string::npos)
        str.erase(0, found+1);
    return str;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x255b
movq (%rbx), %rcx
movq $-0x1, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
movq $-0x1, %rdx
movq %rsi, %r9
movl %r8d, %r10d
testl %r8d, %r8d
cmoveq %rdi, %rsi
movb (%rcx,%rdi), %r11b
xorl %r8d, %r8d
cmpb $0x3c, %r11b
sete %r8b
cmovneq %r9, %rsi
addl %r10d, %r8d
cmpb $0x3e, %r11b
jne 0x2551
decl %r8d
jne 0x2551
xorl %r8d, %r8d
movq %rdi, %rdx
incq %rdi
cmpq %rdi, %rax
jne 0x251d
jmp 0x2569
movq $-0x1, %rdx
movq $-0x1, %rsi
cmpq $-0x1, %rsi
je 0x2582
cmpq $-0x1, %rdx
je 0x2582
movq %rbx, %rdi
callq 0x2050
jmp 0x24fe
movq %rbx, %rdi
movl $0x3a, %esi
movq $-0x1, %rdx
callq 0x22e0
cmpq $-0x1, %rax
je 0x25ac
incq %rax
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x2050
leaq 0x10(%r14), %rcx
movq %rcx, (%r14)
movq (%rbx), %rdx
leaq 0x10(%rbx), %rax
cmpq %rax, %rdx
je 0x25cb
movq %rdx, (%r14)
movq (%rax), %rcx
movq %rcx, 0x10(%r14)
jmp 0x25d1
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%rbx), %rcx
movq %rcx, 0x8(%r14)
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/akitsu-sanae[P]adtpp/src/main.cpp
// Function: trim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void trim(std::string& input) {
    auto start = std::begin(input);
    while (std::isspace(*start))
        start++;
    auto last = std::end(input);
    while (std::isspace(*(last-1)))
        last--;
    input = std::string{start, last};
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq (%rdi), %r15
leaq -0x1(%r15), %r14
movsbl 0x1(%r14), %edi
incq %r14
callq 0x2040
testl %eax, %eax
jne 0x6d0b
movq 0x8(%rbx), %rax
addq %rax, %r15
incq %r15
movsbl -0x2(%r15), %edi
callq 0x2040
decq %r15
testl %eax, %eax
jne 0x6d26
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x7afa
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21f0
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x6d72
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq