LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/Altius[P]hotspot2/src/resolveOverlapsInSummit-CenteredPeaks.cpp
// Function: PeakfromString(char*, Peak&)
bool PeakfromString(char *s, Peak& d)
{
  char *p = strtok(s, "\t");
  int fieldnum(1);
  if (!p)
    {
    MissingField:
      cerr << "Error:  Missing required field " << fieldnum
	   << " in " << s << "." << endl << endl;
      return false;
    }
  d.chrom = string(p);
  fieldnum++;
  if (!(p = strtok(NULL, "\t")))
    goto MissingField;
  d.beg = atol(p);
  fieldnum++;
  if (!(p = strtok(NULL, "\t")))
    goto MissingField;
  d.end = atol(p);
  fieldnum++;
  if (!(p = strtok(NULL, "\t")))
    goto MissingField;
  d.id = string(p);
  fieldnum++;
  if (!(p = strtok(NULL, "\t")))
    goto MissingField;
  d.score = atof(p);
  d.score_string = string(p);
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x1b6f(%rip), %rsi      # 0x4020
callq 0x2220
testq %rax, %rax
je 0x25c5
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x2b58
movq %r14, %rdi
movq %r15, %rsi
callq 0x21c0
movq %r15, %rdi
callq 0x20c0
leaq 0x1b32(%rip), %rsi      # 0x4020
xorl %edi, %edi
callq 0x2220
testq %rax, %rax
je 0x25c9
movq %rax, %rdi
callq 0x21b0
movq %rax, 0x20(%r14)
leaq 0x1b0f(%rip), %rsi      # 0x4020
xorl %edi, %edi
callq 0x2220
testq %rax, %rax
je 0x25cd
movq %rax, %rdi
callq 0x21b0
movq %rax, 0x28(%r14)
leaq 0x1aec(%rip), %rsi      # 0x4020
xorl %edi, %edi
callq 0x2220
testq %rax, %rax
je 0x25d1
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x2b58
leaq 0x30(%r14), %rdi
movq %r15, %rsi
callq 0x21c0
movq %r15, %rdi
callq 0x20c0
leaq 0x1aac(%rip), %rsi      # 0x4020
xorl %edi, %edi
callq 0x2220
testq %rax, %rax
je 0x25d5
movq %rax, %r15
movq %rax, %rdi
callq 0x21d0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x50(%r14)
leaq 0x8(%rsp), %rbx
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2b58
addq $0x58, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x20c0
movb $0x1, %al
jmp 0x2630
pushq $0x1
jmp 0x25d7
pushq $0x2
jmp 0x25d7
pushq $0x3
jmp 0x25d7
pushq $0x4
jmp 0x25d7
pushq $0x5
popq %rbp
movq 0x3a11(%rip), %rdi      # 0x5ff0
leaq 0x1a3c(%rip), %rsi      # 0x4022
callq 0x2170
movq %rax, %rdi
movl %ebp, %esi
callq 0x2250
leaq 0x1a46(%rip), %rsi      # 0x4042
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2170
leaq 0x1a77(%rip), %rsi      # 0x408d
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20d0
movq %rax, %rdi
callq 0x20d0
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/logic_condition.cpp
// Function: wf::or_condition_t::evaluate(wf::access_interface_t&, bool&)
bool or_condition_t::evaluate(access_interface_t &interface, bool &error)
{
    if ((error) || (left == nullptr) || (right == nullptr))
    {
        error = true;
        return false;
    }

    return left->evaluate(interface, error) | right->evaluate(interface, error);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x0, (%rdx)
movq %rdx, %rbx
jne 0x642d
movq %rdi, %r15
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x642d
cmpq $0x0, 0x18(%r15)
je 0x642d
movq (%rdi), %rax
movq %rbx, %rdx
movq %rsi, %r14
callq *0x10(%rax)
movq 0x18(%r15), %rdi
movl %eax, %ebp
movq %r14, %rsi
movq %rbx, %rdx
movq (%rdi), %rax
callq *0x10(%rax)
orb %bpl, %al
jmp 0x6432
movb $0x1, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/logic_condition.cpp
// Function: wf::or_condition_t::to_string[abi:cxx11]() const
std::string or_condition_t::to_string() const
{
    std::string out = "(";
    if (left != nullptr)
    {
        out.append(left->to_string());
    }
    else
    {
        out.append("nullptr");
    }
    out.append(" | ");
    if (right != nullptr)
    {
        out.append(right->to_string());
    }
    else
    {
        out.append("nullptr");
    }
    out.append(")");
    return out;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
leaq 0x69bf(%rip), %rsi      # 0xce0e
leaq 0x8(%rsp), %rdx
movq %rdi, %rbx
callq 0x61ca
movq 0x8(%r14), %rsi
testq %rsi, %rsi
je 0x6489
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x6498
leaq 0x5bcc(%rip), %rsi      # 0xc05c
movq %rbx, %rdi
callq 0x5360
leaq 0x5bc5(%rip), %rsi      # 0xc064
movq %rbx, %rdi
callq 0x5360
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x64d4
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x64e3
leaq 0x5b81(%rip), %rsi      # 0xc05c
movq %rbx, %rdi
callq 0x5360
leaq 0x68f9(%rip), %rsi      # 0xcde3
movq %rbx, %rdi
callq 0x5360
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x6501
jmp 0x6512
leaq 0x8(%rsp), %rdi
movq %rax, %r14
callq 0x50e0
jmp 0x6515
jmp 0x6512
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
nop
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/logic_condition.cpp
// Function: wf::and_condition_t::evaluate(wf::access_interface_t&, bool&)
bool and_condition_t::evaluate(access_interface_t &interface, bool &error)
{
    if ((error) || (left == nullptr) || (right == nullptr))
    {
        error = true;
        return false;
    }

    return left->evaluate(interface, error) & right->evaluate(interface, error);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x0, (%rdx)
movq %rdx, %rbx
jne 0x65cd
movq %rdi, %r15
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x65cd
cmpq $0x0, 0x18(%r15)
je 0x65cd
movq (%rdi), %rax
movq %rbx, %rdx
movq %rsi, %r14
callq *0x10(%rax)
movq 0x18(%r15), %rdi
movl %eax, %ebp
movq %r14, %rsi
movq %rbx, %rdx
movq (%rdi), %rax
callq *0x10(%rax)
andb %bpl, %al
jmp 0x65d2
movb $0x1, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/logic_condition.cpp
// Function: wf::and_condition_t::to_string[abi:cxx11]() const
std::string and_condition_t::to_string() const
{
    std::string out = "(";
    if (left != nullptr)
    {
        out.append(left->to_string());
    }
    else
    {
        out.append("nullptr");
    }
    out.append(" & ");
    if (right != nullptr)
    {
        out.append(right->to_string());
    }
    else
    {
        out.append("nullptr");
    }
    out.append(")");
    return out;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
leaq 0x681f(%rip), %rsi      # 0xce0e
leaq 0x8(%rsp), %rdx
movq %rdi, %rbx
callq 0x61ca
movq 0x8(%r14), %rsi
testq %rsi, %rsi
je 0x6629
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x6638
leaq 0x5a2c(%rip), %rsi      # 0xc05c
movq %rbx, %rdi
callq 0x5360
leaq 0x5a29(%rip), %rsi      # 0xc068
movq %rbx, %rdi
callq 0x5360
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x6674
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x6683
leaq 0x59e1(%rip), %rsi      # 0xc05c
movq %rbx, %rdi
callq 0x5360
leaq 0x6759(%rip), %rsi      # 0xcde3
movq %rbx, %rdi
callq 0x5360
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x66a1
jmp 0x66b2
leaq 0x8(%rsp), %rdi
movq %rax, %r14
callq 0x50e0
jmp 0x66b5
jmp 0x66b2
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
nop
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/logic_condition.cpp
// Function: wf::not_condition_t::evaluate(wf::access_interface_t&, bool&)
bool not_condition_t::evaluate(access_interface_t &interface, bool &error)
{
    if ((error) || (child == nullptr))
    {
        error = true;
        return false;
    }

    return !child->evaluate(interface, error);
}

// Assembly:
cmpb $0x0, (%rdx)
jne 0x6736
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x6736
pushq %rax
movq (%rdi), %rax
callq *0x10(%rax)
xorb $0x1, %al
addq $0x8, %rsp
retq
xorl %eax, %eax
movb $0x1, (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/logic_condition.cpp
// Function: wf::not_condition_t::to_string[abi:cxx11]() const
std::string not_condition_t::to_string() const
{
    std::string out = "(!";
    if (child != nullptr)
    {
        out.append(child->to_string());
    }
    else
    {
        out.append("nullptr");
    }
    out.append(")");
    return out;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
leaq 0x591f(%rip), %rsi      # 0xc06c
leaq 0x8(%rsp), %rdx
movq %rdi, %rbx
callq 0x61ca
movq 0x8(%r14), %rsi
testq %rsi, %rsi
je 0x6787
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x6796
leaq 0x58ce(%rip), %rsi      # 0xc05c
movq %rbx, %rdi
callq 0x5360
leaq 0x6646(%rip), %rsi      # 0xcde3
movq %rbx, %rdi
callq 0x5360
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x8(%rsp), %rdi
movq %rax, %r14
callq 0x50e0
jmp 0x67c4
jmp 0x67c1
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/test_condition.cpp
// Function: wf::equals_condition_t::evaluate(wf::access_interface_t&, bool&)
bool equals_condition_t::evaluate(access_interface_t &interface, bool &error)
{
    if (error)
    {
        return false;
    }

    auto value = interface.get(_identifier, error);

    if (error)
    {
        return false;
    }

    return value == _value;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
cmpb $0x0, (%rdx)
je 0x69a6
xorl %ebx, %ebx
jmp 0x69df
movq (%rsi), %rax
movq %rdx, %r14
leaq 0x8(%rdi), %rdx
movq %rdi, %rbx
movq %rsp, %rdi
movq %r14, %rcx
callq *0x10(%rax)
cmpb $0x0, (%r14)
je 0x69c6
xorl %ebx, %ebx
jmp 0x69d7
addq $0x28, %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x69fc
movl %eax, %ebx
movq %rsp, %rdi
callq 0x62d0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rsp, %rdi
movq %rax, %rbx
callq 0x62d0
movq %rbx, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/test_condition.cpp
// Function: wf::equals_condition_t::to_string[abi:cxx11]() const
std::string equals_condition_t::to_string() const
{
    std::string out = _identifier;
    out.append(" equals ");
    out.append(wf::to_string(_value));
    return out;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
addq $0x8, %rsi
movq %rdi, %rbx
callq 0x5290
leaq 0x5673(%rip), %rsi      # 0xc0be
movq %rbx, %rdi
callq 0x5360
addq $0x28, %r14
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xad91
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x8(%rsp), %rdi
movq %rax, %r14
callq 0x50e0
jmp 0x6a9a
jmp 0x6a97
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/test_condition.cpp
// Function: wf::contains_condition_t::evaluate(wf::access_interface_t&, bool&)
bool contains_condition_t::evaluate(access_interface_t &interface, bool &error)
{
    if (error)
    {
        return false;
    }

    auto value = interface.get(_identifier, error);

    if (error)
    {
        return false;
    }

    // If the retrieved value or search value is not a string, this can't work.
    if ((!is_string(value)) || (!is_string(_value)))
    {
        error = true;
        return false;
    }

    return get_string(value).find(get_string(_value)) != std::string::npos;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
cmpb $0x0, (%rdx)
je 0x6aeb
xorl %ebx, %ebx
jmp 0x6b83
movq (%rsi), %rax
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x8(%rdi), %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rcx
callq *0x10(%rax)
cmpb $0x0, (%r14)
jne 0x6b77
leaq 0x8(%rsp), %rdi
callq 0xad37
testb %al, %al
je 0x6b73
addq $0x28, %rbx
movq %rbx, %rdi
callq 0xad37
testb %al, %al
je 0x6b73
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xad75
leaq 0x50(%rsp), %rdi
movq %rbx, %rsi
callq 0xad75
leaq 0x30(%rsp), %r14
leaq 0x50(%rsp), %r15
xorl %edx, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x53a0
cmpq $-0x1, %rax
movq %r15, %rdi
setne %bl
callq 0x50e0
movq %r14, %rdi
callq 0x50e0
jmp 0x6b79
movb $0x1, (%r14)
xorl %ebx, %ebx
leaq 0x8(%rsp), %rdi
callq 0x62d0
movl %ebx, %eax
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x30(%rsp), %rdi
movq %rax, %rbx
callq 0x50e0
jmp 0x6ba3
jmp 0x6ba0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x62d0
movq %rbx, %rdi
callq 0x5340
nop
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/condition/test_condition.cpp
// Function: wf::contains_condition_t::to_string[abi:cxx11]() const
std::string contains_condition_t::to_string() const
{
    std::string out = _identifier;
    out.append(" contains ");
    out.append(wf::to_string(_value));
    return out;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
addq $0x8, %rsi
movq %rdi, %rbx
callq 0x5290
leaq 0x54f4(%rip), %rsi      # 0xc0c7
movq %rbx, %rdi
callq 0x5360
addq $0x28, %r14
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xad91
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5390
leaq 0x8(%rsp), %rdi
callq 0x50e0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x8(%rsp), %rdi
movq %rax, %r14
callq 0x50e0
jmp 0x6c22
jmp 0x6c1f
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/lexer/lexer.cpp
// Function: wf::lexer_t::reset()
void lexer_t::reset()
{
    _parse_position = 0;
    _symbol_position = 0;
    _reversed = 0;
    _history.clear();
}

// Assembly:
andq $0x0, 0x38(%rdi)
vxorps %xmm0, %xmm0, %xmm0
leaq 0x40(%rdi), %rax
vmovups %xmm0, 0x28(%rdi)
movq %rax, %rdi
jmp 0x6fd6
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/lexer/lexer.cpp
// Function: wf::lexer_t::parse_symbol()
symbol_t lexer_t::parse_symbol()
{
    if (_reversed)
    {
        auto position = _history.size() - _reversed;
        auto pair = _history.at(position);
        auto symbol = std::get<symbol_t>(pair);

        --_reversed;

        return symbol;
    }
    else
    {
        if (_parse_position >= _size)
        {
            return symbol_t(symbol_t::type_t::END);
        }

        while (std::isspace(_text.at(_parse_position)))
        {
            ++_parse_position;
        }

        _symbol_position = _parse_position;
        symbol_t symbol = _parse_literal();

        _history.push_back({_symbol_position, symbol});

        return symbol;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq 0x38(%rsi), %rcx
movq %rsi, %r14
movq %rdi, %rbx
testq %rcx, %rcx
je 0x7038
movq 0x48(%r14), %rax
leaq 0x40(%r14), %rdi
subq 0x40(%r14), %rax
pushq $0x38
popq %rsi
cqto
idivq %rsi
subq %rcx, %rax
movq %rax, %rsi
callq 0x7112
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x7130
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x7144
decq 0x38(%r14)
jmp 0x70c0
movq 0x28(%r14), %rsi
cmpq (%r14), %rsi
jae 0x7066
leaq 0x8(%r14), %r15
movq %r15, %rdi
callq 0x5380
movsbl (%rax), %edi
callq 0x5040
movq 0x28(%r14), %rsi
testl %eax, %eax
je 0x7072
incq %rsi
movq %rsi, 0x28(%r14)
jmp 0x7045
movq %rbx, %rdi
xorl %esi, %esi
callq 0x848e
jmp 0x70ca
leaq 0x8(%rsp), %r15
movq %rsi, 0x30(%r14)
movq %r14, %rsi
movq %r15, %rdi
callq 0x7156
movq %rbx, %rdi
movq %r15, %rsi
callq 0x84d2
leaq 0x8(%rsp), %rdi
leaq 0x30(%r14), %r15
callq 0x62d0
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x7328
addq $0x40, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7996
leaq 0x18(%rsp), %rdi
callq 0x62d0
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x18(%rsp), %rdi
movq %rax, %r14
callq 0x62d0
jmp 0x70e9
movq %rax, %r14
addq $0x8, %rbx
movq %rbx, %rdi
jmp 0x7104
movq %rax, %r14
leaq 0x8(%rsp), %rdi
jmp 0x7104
leaq 0x18(%rsp), %rdi
movq %rax, %r14
callq 0x62d0
movq %r14, %rdi
callq 0x5340
nop
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/lexer/symbol.cpp
// Function: wf::to_string[abi:cxx11](wf::symbol_t const&)
std::string to_string(const symbol_t &s)
{
    std::string out = "Symbol [";
    switch (s.type)
    {
    case symbol_t::type_t::END:
        out.append("END");
        break;
    case symbol_t::type_t::IDENTIFIER:
        out.append("Identifier: ").append(get_string(s.value));
        break;
    case symbol_t::type_t::LITERAL:
        out.append("Literal: [");
        out.append(to_string(s.value));
        out.append("]");
        break;
    case symbol_t::type_t::OPERATOR:
        out.append("Operator: ").append(get_string(s.value));
        break;
    case symbol_t::type_t::KEYWORD:
        out.append("Keyword: ").append(get_string(s.value));
        break;
    case symbol_t::type_t::STRUCTURAL:
        out.append("Structural: ").append(get_string(s.value));
        break;
    case symbol_t::type_t::SIGNAL:
        out.append("Signal: ").append(get_string(s.value));
        break;
    }
    out.append("]");
    return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
leaq 0x3ce1(%rip), %rsi      # 0xc48f
movq %rsp, %rdx
movq %rdi, %rbx
callq 0x61ca
movl (%r14), %eax
cmpq $0x6, %rax
ja 0x8916
leaq 0x3c1f(%rip), %rcx      # 0xc3ec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3cbb(%rip), %rsi      # 0xc498
jmp 0x8848
leaq 0x3cd9(%rip), %rsi      # 0xc4bf
movq %rbx, %rdi
callq 0x5360
movq %rax, %r15
addq $0x8, %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad75
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0x890e
leaq 0x3c92(%rip), %rsi      # 0xc4a9
movq %rbx, %rdi
callq 0x5360
addq $0x8, %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad91
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x5390
movq %rsp, %rdi
callq 0x50e0
leaq 0x37d5(%rip), %rsi      # 0xc01d
movq %rbx, %rdi
callq 0x5360
jmp 0x8916
leaq 0x3c58(%rip), %rsi      # 0xc4b4
movq %rbx, %rdi
callq 0x5360
movq %rax, %r15
addq $0x8, %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad75
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0x890e
leaq 0x3c0f(%rip), %rsi      # 0xc49c
movq %rbx, %rdi
callq 0x5360
movq %rax, %r15
addq $0x8, %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad75
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0x890e
leaq 0x3c0e(%rip), %rsi      # 0xc4c9
movq %rbx, %rdi
callq 0x5360
movq %rax, %r15
addq $0x8, %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad75
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0x890e
leaq 0x3bed(%rip), %rsi      # 0xc4d6
movq %rbx, %rdi
callq 0x5360
movq %rax, %r15
addq $0x8, %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad75
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
movq %rsp, %rdi
callq 0x50e0
leaq 0x3700(%rip), %rsi      # 0xc01d
movq %rbx, %rdi
callq 0x5360
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x893c
jmp 0x893c
jmp 0x893c
jmp 0x893c
jmp 0x893c
movq %rsp, %rdi
movq %rax, %r14
callq 0x50e0
jmp 0x8958
jmp 0x8955
jmp 0x8955
jmp 0x8955
jmp 0x8955
jmp 0x8955
jmp 0x8955
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/parser/condition_parser.cpp
// Function: wf::condition_parser_t::parse(wf::lexer_t&)
std::shared_ptr<condition_t> condition_parser_t::parse(lexer_t &lexer)
{
    // Peek at the first symbol to see if we consider a catch-all or catch-none condition.
    auto symbol = lexer.parse_symbol();
    lexer.reverse();

    if (symbol.type == symbol_t::type_t::KEYWORD)
    {
        auto keyword = get_string(symbol.value);
        if (keyword == "all")
        {
            _root = std::make_shared<true_condition_t>();
        }
        else if (keyword == "none")
        {
            _root = std::make_shared<false_condition_t>();
        }
        else
        {
            throw std::runtime_error("Condition parser error. Single keyword rules must be 'all' or 'none'.");
        }
    }
    else
    {
        _expression(lexer);
        lexer.reverse();
    }

    std::cout << _root->to_string() << std::endl;

    return _root;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rsi, %r14
movq %rdx, %rsi
movq %rdx, %r15
callq 0x6fde
movq %r15, %rdi
callq 0x733a
cmpl $0x4, 0x30(%rsp)
jne 0x8ccf
leaq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0xad75
leaq 0x352c(%rip), %rsi      # 0xc1d8
leaq 0x10(%rsp), %rdi
callq 0x73a5
testb %al, %al
je 0x8ce4
movq %rsp, %rdi
callq 0x8dde
movq %rsp, %rsi
movq %r14, %rdi
callq 0x96ea
jmp 0x8d0c
movq %r14, %rdi
movq %r15, %rsi
callq 0x8e14
movq %r15, %rdi
callq 0x733a
jmp 0x8d20
leaq 0x34f1(%rip), %rsi      # 0xc1dc
leaq 0x10(%rsp), %rdi
callq 0x73a5
testb %al, %al
je 0x8d73
movq %rsp, %rdi
callq 0x8df9
movq %rsp, %rsi
movq %r14, %rdi
callq 0x98a6
leaq 0x8(%rsp), %rdi
callq 0x67d4
leaq 0x10(%rsp), %rdi
callq 0x50e0
movq (%r14), %rsi
movq (%rsi), %rax
leaq 0x10(%rsp), %rdi
callq *0x18(%rax)
movq 0xb283(%rip), %rdi      # 0x13fb8
leaq 0x10(%rsp), %rsi
callq 0x51d0
movq %rax, %rdi
callq 0x50f0
leaq 0x10(%rsp), %rdi
callq 0x50e0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x94ce
leaq 0x38(%rsp), %rdi
callq 0x62d0
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
pushq $0x10
popq %rdi
callq 0x5100
movq %rax, %r14
leaq 0x3813(%rip), %rsi      # 0xc598
movq %rax, %rdi
callq 0x50a0
movq 0xb25c(%rip), %rsi      # 0x13ff0
movq 0xb20d(%rip), %rdx      # 0x13fa8
movq %r14, %rdi
callq 0x5320
jmp 0x8dba
movq %r14, %rdi
movq %rax, %rbx
callq 0x5180
jmp 0x8dbd
jmp 0x8dba
jmp 0x8dba
jmp 0x8dc9
jmp 0x8dc9
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x50e0
jmp 0x8dcc
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x62d0
movq %rbx, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/parser/condition_parser.cpp
// Function: wf::condition_parser_t::_expression(wf::lexer_t&)
void condition_parser_t::_expression(lexer_t &lexer)
{
    _term(lexer);
    while ((_symbol.type == symbol_t::type_t::OPERATOR) && (get_string(_symbol.value) == "|"))
    {
        auto or_condition = std::make_shared<or_condition_t>();
        or_condition->left = _root;
        _term(lexer);
        or_condition->right = _root;
        _root = or_condition;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x8eda
leaq 0x18(%r14), %r12
leaq 0x8(%rsp), %r13
leaq 0x33a6(%rip), %rbp      # 0xc1e3
cmpl $0x3, 0x10(%r14)
jne 0x8eb6
movq %r13, %rdi
movq %r12, %rsi
callq 0xad75
movq %r13, %rdi
movq %rbp, %rsi
callq 0x73a5
movq %r13, %rdi
movl %eax, %r15d
callq 0x50e0
testb %r15b, %r15b
je 0x8eb6
movq %r13, %rdi
callq 0x8fa0
movq 0x8(%rsp), %rdi
movq %r14, %rsi
addq $0x8, %rdi
callq 0x9502
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8eda
movq 0x8(%rsp), %rdi
movq %r14, %rsi
addq $0x18, %rdi
callq 0x9502
movq %r14, %rdi
movq %r13, %rsi
callq 0x9a44
leaq 0x10(%rsp), %rdi
callq 0x67d4
jmp 0x8e3d
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %rax, %rbx
callq 0x67d4
movq %rbx, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/parser/condition_parser.cpp
// Function: wf::condition_parser_t::_term(wf::lexer_t&)
void condition_parser_t::_term(lexer_t &lexer)
{
    _factor(lexer);
    while ((_symbol.type == symbol_t::type_t::OPERATOR) && (get_string(_symbol.value) == "&"))
    {
        auto and_condition = std::make_shared<and_condition_t>();
        and_condition->left = _root;
        _factor(lexer);
        and_condition->right = _root;
        _root = and_condition;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x8fbc
leaq 0x18(%r14), %r12
leaq 0x8(%rsp), %r13
leaq 0x32de(%rip), %rbp      # 0xc1e1
cmpl $0x3, 0x10(%r14)
jne 0x8f7c
movq %r13, %rdi
movq %r12, %rsi
callq 0xad75
movq %r13, %rdi
movq %rbp, %rsi
callq 0x73a5
movq %r13, %rdi
movl %eax, %r15d
callq 0x50e0
testb %r15b, %r15b
je 0x8f7c
movq %r13, %rdi
callq 0x944c
movq 0x8(%rsp), %rdi
movq %r14, %rsi
addq $0x8, %rdi
callq 0x9502
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8fbc
movq 0x8(%rsp), %rdi
movq %r14, %rsi
addq $0x18, %rdi
callq 0x9502
movq %r14, %rdi
movq %r13, %rsi
callq 0x9bc4
leaq 0x10(%rsp), %rdi
callq 0x67d4
jmp 0x8f03
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %rax, %rbx
callq 0x67d4
movq %rbx, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/wayfire/variant.cpp
// Function: wf::to_string(std::variant<int, char, bool, float, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&)
std::string to_string(const variant_t &v)
{
    std::string out = "variant: [type: ";
    if (is_int(v))
    {
        out.append("int, value: ").append(std::to_string(get_int(v)));
    }
    else if (is_char(v))
    {
        out.append("char, value: ").append(std::to_string(get_char(v)));
    }
    else if (is_bool(v))
    {
        out.append("bool, value: ").append(std::to_string(static_cast<unsigned int>(get_bool(v))));
    }
    else if (is_float(v))
    {
        out.append("float, value: ").append(std::to_string(get_float(v)));
    }
    else if (is_double(v))
    {
        out.append("double, value: ").append(std::to_string(get_double(v)));
    }
    else if (is_string(v))
    {
        out.append("string, value: ").append(get_string(v));
    }
    else
    {
        out.append("invalid. WTF?!?");
    }

    out.append("]");
    return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
leaq 0x1e50(%rip), %rsi      # 0xcbf4
movq %rsp, %rdx
movq %rdi, %rbx
callq 0x61ca
movzbl 0x20(%r14), %eax
cmpq $0x5, %rax
ja 0xaf16
leaq 0x1e17(%rip), %rcx      # 0xcbdc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1e30(%rip), %rsi      # 0xcc05
movq %rbx, %rdi
callq 0x5360
movq %r14, %rdi
movq %rax, %r15
callq 0xad3f
movq %rsp, %rdi
movl %eax, %esi
callq 0xaf5d
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0xaef2
leaq 0x1e34(%rip), %rsi      # 0xcc3d
movq %rbx, %rdi
callq 0x5360
movq %r14, %rdi
movq %rax, %r15
callq 0xad69
movq %rsp, %rdi
callq 0xb01a
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0xaef2
leaq 0x1de5(%rip), %rsi      # 0xcc20
movq %rbx, %rdi
callq 0x5360
movq %r14, %rdi
movq %rax, %r15
callq 0xad53
movzbl %al, %esi
movq %rsp, %rdi
callq 0xafb6
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0xaef2
leaq 0x1dbe(%rip), %rsi      # 0xcc2e
movq %rbx, %rdi
callq 0x5360
movq %r14, %rdi
movq %rax, %r15
callq 0xad5d
movq %rsp, %rdi
callq 0xaff5
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0xaef2
leaq 0x1d73(%rip), %rsi      # 0xcc12
movq %rbx, %rdi
callq 0x5360
movq %r14, %rdi
movq %rax, %r15
callq 0xad49
movsbl %al, %esi
movq %rsp, %rdi
callq 0xaf5d
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
jmp 0xaef2
leaq 0x1d7c(%rip), %rsi      # 0xcc4d
movq %rbx, %rdi
callq 0x5360
movq %rax, %r15
movq %rsp, %rdi
movq %r14, %rsi
callq 0xad75
movq %rsp, %rsi
movq %r15, %rdi
callq 0x5390
movq %rsp, %rdi
callq 0x50e0
leaq 0x111c(%rip), %rsi      # 0xc01d
movq %rbx, %rdi
callq 0x5360
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x1d40(%rip), %rsi      # 0xcc5d
movq %rbx, %rdi
callq 0x5360
jmp 0xaefa
jmp 0xaf31
jmp 0xaf31
jmp 0xaf31
jmp 0xaf31
jmp 0xaf31
movq %rsp, %rdi
movq %rax, %r14
callq 0x50e0
jmp 0xaf4d
jmp 0xaf4a
jmp 0xaf4a
jmp 0xaf4a
jmp 0xaf4a
jmp 0xaf4a
jmp 0xaf4a
movq %rax, %r14
movq %rbx, %rdi
callq 0x50e0
movq %r14, %rdi
callq 0x5340
// File: /workspace/github_cpp_makefile_star2_O2/WayfireWM[P]wf-utils/main.cpp
// Function: test_access_interface_t::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool&)
virtual wf::variant_t get(const std::string &identifier, bool &error) override
    {
        error = false;
        if (_test != nullptr)
        {
            if (identifier == "property_a")
            {
                return _test->property_a;
            }
            else if (identifier == "property_b")
            {
                return _test->get_property_b();
            }
            else if (identifier == "title")
            {
                return _test->title;
            }
        }

        error = true;
        return wf::variant_t("");
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movb $0x0, (%rcx)
movq %rcx, %r15
movq %rdi, %rbx
cmpq $0x0, 0x8(%rsi)
je 0xb578
movq %rsi, %r14
leaq 0x18a1(%rip), %rsi      # 0xcdb1
movq %rdx, %rdi
movq %rdx, %r12
callq 0x73a5
testb %al, %al
je 0xb52d
movq 0x8(%r14), %rax
movl (%rax), %eax
movl %eax, (%rbx)
movb $0x0, 0x20(%rbx)
jmp 0xb58b
leaq 0x1888(%rip), %rsi      # 0xcdbc
movq %r12, %rdi
callq 0x73a5
testb %al, %al
je 0xb553
movq 0x8(%r14), %rdi
callq 0xb5ae
vmovsd %xmm0, (%rbx)
movb $0x4, 0x20(%rbx)
jmp 0xb58b
leaq 0x186d(%rip), %rsi      # 0xcdc7
movq %r12, %rdi
callq 0x73a5
testb %al, %al
je 0xb578
movq 0x8(%r14), %rsi
movq %rbx, %rdi
addq $0x8, %rsi
callq 0xb5d4
jmp 0xb58b
leaq 0xaec(%rip), %rsi       # 0xc06b
movq %rbx, %rdi
movb $0x1, (%r15)
callq 0xb5e4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/Main.cpp
// Function: FindString()
void FindString()
{
	constexpr uint_fast32_t DATA_SIZE = 400;
	constexpr uint_fast32_t CACHE_DATA_SIZE = 32;
	constexpr uint_fast32_t CACHE_SIZE = 12;
	
	std::vector<const char*> inputs = {
		""
	};
	std::vector<const char*> outputs = {
		"Hello, World!"
	};

	ProgramSearch<
		ProgramIterator<DATA_SIZE, CACHE_DATA_SIZE, CACHE_SIZE>,
		DataCache<CACHE_DATA_SIZE, CACHE_SIZE>>
	search(inputs, outputs);

	search.FindString();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x85b18, %rsp          # imm = 0x85B18
leaq 0x61a5(%rip), %rax      # 0x8755
leaq 0x70(%rsp), %rbx
movq %rax, (%rbx)
leaq 0x58(%rsp), %rdi
pushq $0x1
popq %r14
leaq 0x10(%rsp), %rcx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x291e
leaq 0x5a88(%rip), %rax      # 0x8060
movq %rax, (%rbx)
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movq %r14, %rdx
callq 0x291e
leaq 0x40(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x2954
leaq 0x28(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x2954
leaq 0x70(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x29a2
leaq 0x28(%rsp), %rdi
callq 0x2d08
leaq 0x40(%rsp), %rdi
callq 0x2d08
leaq 0x70(%rsp), %rdi
callq 0x2ac4
leaq 0x70(%rsp), %rdi
callq 0x2b06
leaq 0x10(%rsp), %rdi
callq 0x2d08
leaq 0x58(%rsp), %rdi
callq 0x2d08
addq $0x85b18, %rsp          # imm = 0x85B18
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x2b06
jmp 0x269b
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x2d08
jmp 0x268c
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x2d08
jmp 0x269b
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2d08
jmp 0x26aa
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x2d08
movq %rbx, %rdi
callq 0x2390
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/RawSourceExecutor.h
// Function: RawSourceExecutor<400ul, 32ul>::Execute()
bool Execute()
	{
		uint_fast32_t program_idx = 0;
		data_idx = data_size / 2;
		memset(data, 0, data_size);

		while (program_idx < source.length())
		{
			switch (source[program_idx])
			{
				case '+':
					data[data_idx]++;
					program_idx++;
					break;
				case '-':
					data[data_idx]--;
					program_idx++;
					break;
				case '>':
					data_idx++;
					program_idx++;
					break;
				case '<':
					data_idx--;
					program_idx++;
					break;
				case '[':
				case ']':
					program_idx = data[data_idx] == 0 ? jumps[program_idx].zero : jumps[program_idx].nonzero;
					break;
			}
			if (data_idx < 0 || data_idx >= data_size)
			{
				return false;
			}
		}
		return true;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq $0xc8, 0x4b0(%rdi)
leaq 0x320(%rdi), %r14
xorl %r15d, %r15d
movl $0x190, %edx            # imm = 0x190
movq %r14, %rdi
xorl %esi, %esi
callq 0x2100
leaq 0x20(%rbx), %rax
movq (%rbx), %rdx
movq 0x8(%rbx), %rcx
movl $0xc8, %edi
movq %r15, %rsi
cmpq %rcx, %r15
jae 0x2805
movzbl (%rdx,%rsi), %r8d
cmpl $0x5d, %r8d
je 0x27b6
cmpl $0x2d, %r8d
je 0x27e9
cmpl $0x3c, %r8d
je 0x27d4
cmpl $0x3e, %r8d
je 0x27d9
cmpl $0x5b, %r8d
je 0x27b6
movq %rsi, %r15
cmpl $0x2b, %r8d
jne 0x27f1
incb (%r14,%rdi)
jmp 0x27ed
movq %rsi, %r8
shlq $0x4, %r8
leaq (%rax,%r8), %r9
cmpb $0x0, (%r14,%rdi)
leaq 0x8(%rax,%r8), %rdi
cmoveq %r9, %rdi
movq (%rdi), %r15
jmp 0x27f1
decq %rdi
jmp 0x27dc
incq %rdi
movq %rdi, 0x4b0(%rbx)
leaq 0x1(%rsi), %r15
jmp 0x27f8
decb (%r14,%rdi)
leaq 0x1(%rsi), %r15
movq 0x4b0(%rbx), %rdi
cmpq $0x190, %rdi            # imm = 0x190
jb 0x2778
cmpq %rcx, %rsi
setae %al
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/RawSourceExecutor.h
// Function: RawSourceExecutor<400ul, 32ul>::PrintData()
void PrintData()
	{
		uint_fast32_t data_bound_low = 0;
		uint_fast32_t data_bound_high = data_size - 1;
		while (data_bound_low < data_size) {
			if (data[data_bound_low] != 0)
			{
				break;
			}
			data_bound_low++;
		}
		while (data_bound_high > data_bound_low)
		{
			if (data[data_bound_high] != 0)
			{
				break;
			}
			data_bound_high--;
		}

		for (uint_fast32_t i = data_bound_low; i <= data_bound_high; i++)
		{
			std::cout << std::setw(4) << (int)data[i];
		}
		std::cout << std::endl << std::string((data_idx - data_bound_low) * 4, ' ') << "  ^" << std::endl;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
cmpq $0x190, %r15            # imm = 0x190
je 0x283e
cmpb $0x0, 0x320(%rbx,%r15)
jne 0x283e
incq %r15
jmp 0x2825
movl $0x18f, %eax            # imm = 0x18F
cmpq %rax, %r15
cmovbq %r15, %rax
movl $0x4af, %ecx            # imm = 0x4AF
leaq -0x320(%rcx), %r12
cmpq %r15, %r12
jbe 0x2866
cmpb $0x0, (%rbx,%rcx)
jne 0x2869
decq %rcx
jmp 0x284f
movq %rax, %r12
movq 0xa768(%rip), %r14      # 0xcfd8
movq %r15, %r13
cmpq %r12, %r13
ja 0x289e
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x4, 0x10(%r14,%rax)
movzbl 0x320(%rbx,%r13), %esi
movq %r14, %rdi
callq 0x2380
incq %r13
jmp 0x2873
movq 0xa733(%rip), %rdi      # 0xcfd8
callq 0x20d0
movq %rax, %r14
movq 0x4b0(%rbx), %rsi
subq %r15, %rsi
shlq $0x2, %rsi
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rbx
pushq $0x20
popq %rdx
movq %rbx, %rdi
callq 0x2260
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21d0
leaq 0x57b4(%rip), %rsi      # 0x8098
movq %rax, %rdi
callq 0x2210
movq %rax, %rdi
callq 0x20d0
movq %rsp, %rdi
callq 0x20b0
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x20b0
movq %rbx, %rdi
callq 0x2390
nop
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/ProgramSearch.h
// Function: ProgramSearch<ProgramIterator<400ul, 32ul, 12ul, 32ul>, DataCache<32ul, 12ul>>::FindString()
void FindString()
	{
		if (!LoadFindStringProgress())
		{
			programSize = SIZE_START;
			SetupSize();
		}
		
		FindStringSize();

		while (true)
		{
			programSize++;
			SetupSize();
			FindStringSize();
		}
	}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x450e
testb %al, %al
jne 0x2ae4
movq $0x10, 0x85a20(%rbx)
movq %rbx, %rdi
callq 0x47a0
movq %rbx, %rdi
callq 0x4822
incq 0x85a20(%rbx)
movq %rbx, %rdi
callq 0x47a0
movq %rbx, %rdi
callq 0x4822
jmp 0x2aec
nop
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/RawSourceExecutor.h
// Function: RawSourceExecutor<400ul, 32ul>::Parse()
void Parse()
	{
		int_fast32_t depth = 0;
		for (int source_idx = 0; source_idx < source.length(); source_idx++)
		{
			switch (source[source_idx])
			{
				case '[':
					leftBracketStack[depth] = source_idx;
					depth++;
					break;
				case ']':
					uint_fast32_t lbracket = leftBracketStack[depth-1];
					jumps[source_idx].zero = jumps[lbracket].zero = source_idx + 1;
					jumps[source_idx].nonzero = jumps[lbracket].nonzero = lbracket + 1;
					depth--;
					break;
			}
		}
	}

// Assembly:
movq (%rdi), %rax
leaq 0x20(%rdi), %rcx
leaq 0x28(%rdi), %rdx
xorl %esi, %esi
xorl %r8d, %r8d
cmpq %rsi, 0x8(%rdi)
jbe 0x2caa
movzbl (%rax,%rsi), %r9d
cmpl $0x5d, %r9d
je 0x2c78
cmpl $0x5b, %r9d
jne 0x2ca1
movq %rsi, 0x220(%rdi,%r8,8)
incq %r8
jmp 0x2ca1
movq 0x218(%rdi,%r8,8), %r9
decq %r8
leaq 0x1(%rsi), %r10
movq %r9, %r11
shlq $0x4, %r11
movq %r10, (%rcx,%r11)
movq %r10, -0x8(%rdx)
incq %r9
movq %r9, 0x8(%rcx,%r11)
movq %r9, (%rdx)
incq %rsi
addq $0x10, %rdx
jmp 0x2c54
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/ProgramSearch.h
// Function: ProgramSearch<ProgramIterator<400ul, 32ul, 12ul, 32ul>, DataCache<32ul, 12ul>>::GetStringSizes(std::vector<char const*, std::allocator<char const*>>)
static std::vector<uint_fast32_t> GetStringSizes(std::vector<const char*> strs)
	{
		std::vector<uint_fast32_t> result;
		for (uint_fast32_t i = 0; i < strs.size(); i++)
			result.push_back(strlen(strs[i]));
		return result;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %r12d, %r12d
movq %rsp, %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jae 0x2e07
movq (%rax,%r12,8), %rdi
callq 0x20a0
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2fb2
incq %r12
jmp 0x2dd7
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x33b8
movq %r14, %rdi
callq 0x2390
nop
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/ProgramSearch.h
// Function: ProgramSearch<ProgramIterator<400ul, 32ul, 12ul, 32ul>, DataCache<32ul, 12ul>>::ProgramSearch(std::vector<char const*, std::allocator<char const*>>, std::vector<unsigned long, std::allocator<unsigned long>>, std::vector<char const*, std::allocator<char const*>>, std::vector<unsigned long, std::allocator<unsigned long>>)
ProgramSearch(
		std::vector<const char*> inputs,
		std::vector<uint_fast32_t> input_sizes,
		std::vector<const char*> outputs,
		std::vector<uint_fast32_t> output_sizes)
		: inputs(inputs), input_sizes(input_sizes), outputs(outputs), output_sizes(output_sizes), count(0), sizeCount(0), programResult(""), printProgress(true)
	{
		for (uint_fast32_t i = 0; i < THREAD_COUNT; i++)
		{
			threads[i] = nullptr;
		}
		cache.Create();
		Setup();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %rbp
movq %rdi, %r12
movb $0x1, (%rdi)
addq $0x8, %rdi
movq %rdi, 0x10(%rsp)
callq 0x3142
leaq 0x1f8(%r12), %rdi
movq %rdi, 0x20(%rsp)
callq 0x7684
movl $0x401f8, %r13d         # imm = 0x401F8
leaq (%r12,%r13), %rdi
callq 0x31a6
addq $0x4578, %r13           # imm = 0x4578
cmpq $0x85978, %r13          # imm = 0x85978
jne 0x2e70
leaq 0x859f8(%r12), %rdi
leaq 0x58bd(%rip), %rsi      # 0x8755
leaq 0xf(%rsp), %rdx
movq %rdi, 0x18(%rsp)
callq 0x26c6
movb $0x0, 0x85a18(%r12)
andq $0x0, 0x85a30(%r12)
leaq 0x85a38(%r12), %r13
movq %r13, %rdi
movq %rbp, %rsi
callq 0x2954
leaq 0x85a50(%r12), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x31d8
leaq 0x85a68(%r12), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2954
leaq 0x85a80(%r12), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x31d8
xorps %xmm0, %xmm0
movups %xmm0, 0x85a98(%r12)
movl $0x10b2f, %eax          # imm = 0x10B2F
cmpq $0x10b3f, %rax          # imm = 0x10B3F
je 0x2f28
andq $0x0, (%r12,%rax,8)
incq %rax
jmp 0x2f16
movq 0x10(%rsp), %rdi
callq 0x3226
movq %r12, %rdi
callq 0x32d0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x2f6f
movq %rax, %r14
jmp 0x2f77
movq %rax, %r14
jmp 0x2f7f
movq %rax, %r14
jmp 0x2f87
jmp 0x2f93
movq %rax, %r14
jmp 0x2fa0
movq %rax, %r14
movq %r15, %rdi
callq 0x33b8
movq %rbx, %rdi
callq 0x2d08
movq %rbp, %rdi
callq 0x33b8
movq %r13, %rdi
callq 0x2d08
movq 0x18(%rsp), %rdi
callq 0x20b0
jmp 0x2f96
movq %rax, %r14
movq 0x20(%rsp), %rdi
callq 0x76f4
movq 0x10(%rsp), %rdi
callq 0x3380
movq %r14, %rdi
callq 0x2390
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/DataCache.h
// Function: DataCache<32ul, 12ul>::Create()
void Create()
	{
		CreateZero();
		CreateOne();
		for (uint_fast32_t size = 2; size <= max_cache_size; size++)
		{
			CreateSize(size);
			std::cout << " Created cache size " << size << " / " << max_cache_size << "\r" << std::flush;
		}
		std::cout << std::endl;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x33fc
movq %rbx, %rdi
callq 0x346a
pushq $0x2
popq %r14
leaq 0x4e9b(%rip), %r12      # 0x80e7
leaq 0x4ea9(%rip), %r13      # 0x80fc
pushq $0xc
popq %rbp
leaq 0x5436(%rip), %r15      # 0x8693
cmpq $0xd, %r14
je 0x32b6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3538
movq 0x9d63(%rip), %rdi      # 0xcfd8
movq %r12, %rsi
callq 0x2210
movq %rax, %rdi
movq %r14, %rsi
callq 0x2140
movq %rax, %rdi
movq %r13, %rsi
callq 0x2210
movq %rax, %rdi
movq %rbp, %rsi
callq 0x2140
movq %rax, %rdi
movq %r15, %rsi
callq 0x2210
movq %rax, %rdi
callq 0x2150
incq %r14
jmp 0x325d
movq 0x9d1b(%rip), %rdi      # 0xcfd8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/DataCache.h
// Function: DataCache<32ul, 12ul>::CreateZero()
void CreateZero()
	{
		bordersBalanced[0] = dataBalancedCount;
		bordersUnbalanced[0] = dataUnbalancedCount;
		currentProgramSize = 0;
		memset(currentData, 0, data_size);

		currentDataIdx = 0;
		currentDataStart = data_size / 2;
		currentDataEnd = -static_cast<int>(data_size) / 2;
		AddData();

		bordersBalanced[1] = dataBalancedCount;
		bordersUnbalanced[1] = dataUnbalancedCount;
	}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %rax
movq 0x20(%rdi), %rcx
movq %rax, 0x88(%rdi)
movq %rcx, 0xf8(%rdi)
andq $0x0, 0x1e8(%rdi)
xorps %xmm0, %xmm0
andq $0x0, 0x1c0(%rdi)
movups %xmm0, 0x1a0(%rdi)
movups %xmm0, 0x1b0(%rdi)
movq $0x10, 0x1c8(%rdi)
movq $-0x10, 0x1d0(%rdi)
callq 0x37d2
movq 0x18(%rbx), %rax
movq 0x20(%rbx), %rcx
movq %rax, 0x90(%rbx)
movq %rcx, 0x100(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/DataCache.h
// Function: DataCache<32ul, 12ul>::CreateOne()
void CreateOne()
	{
		currentProgramSize = 1;
		memset(currentData, 0, data_size);
		
		currentDataIdx = 0;
		currentDataStart = 0;
		currentDataEnd = 1;
		
		currentProgram[0] = '+';
		currentData[zeroDataIdx] = 1;
		AddData();

		currentProgram[0] = '-';
		currentData[zeroDataIdx] = 255;
		AddData();

		currentData[zeroDataIdx] = 0;
		currentDataStart = data_size / 2;
		currentDataEnd = -static_cast<int>(data_size) / 2;
		
		currentProgram[0] = '>';
		currentDataIdx = 1;
		AddData();

		currentProgram[0] = '<';
		currentDataIdx = -1;
		AddData();

		bordersBalanced[2] = dataBalancedCount;
		bordersUnbalanced[2] = dataUnbalancedCount;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %r14
movq %r14, 0x1e8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x1a0(%rdi)
movups %xmm0, 0x1b0(%rdi)
movups %xmm0, 0x1c0(%rdi)
movq %r14, 0x1d0(%rdi)
movb $0x2b, 0x1d8(%rdi)
movq (%rdi), %rax
movb $0x1, 0x1a0(%rdi,%rax)
callq 0x37d2
movb $0x2d, 0x1d8(%rbx)
movq (%rbx), %rax
movb $-0x1, 0x1a0(%rbx,%rax)
movq %rbx, %rdi
callq 0x37d2
movq (%rbx), %rax
movb $0x0, 0x1a0(%rbx,%rax)
movq $0x10, 0x1c8(%rbx)
movq $-0x10, 0x1d0(%rbx)
movb $0x3e, 0x1d8(%rbx)
movq %r14, 0x1c0(%rbx)
movq %rbx, %rdi
callq 0x37d2
movb $0x3c, 0x1d8(%rbx)
orq $-0x1, 0x1c0(%rbx)
movq %rbx, %rdi
callq 0x37d2
movq 0x18(%rbx), %rax
movq 0x20(%rbx), %rcx
movq %rax, 0x98(%rbx)
movq %rcx, 0x108(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/DataCache.h
// Function: DataCache<32ul, 12ul>::AddData()
void AddData()
	{
		auto lookup = LookupData<data_size>(currentDataIdx, currentData);
		if (dataSet.count(lookup) > 0)
			return;
		dataSet.insert(lookup);

		bool balanced = currentDataIdx == 0;
		std::vector<AlignedData<data_size>>& data = balanced ? dataBalanced : dataUnbalanced;
		std::vector<char>& programs = balanced ? programsBalanced : programsUnbalanced;
		uint_fast32_t& dataCount = balanced ? dataBalancedCount : dataUnbalancedCount;

		data.resize(dataCount + 1);
		programs.resize((dataCount + 1) * max_cache_size + 1);
		
		memcpy(&data[dataCount].data, currentData, data_size);
		data[dataCount].idx = currentDataIdx;
		data[dataCount].start = currentDataStart;
		data[dataCount].end = currentDataEnd;
		
		memcpy(&programs[dataCount * max_cache_size], currentProgram, currentProgramSize);
		programs[dataCount * max_cache_size + currentProgramSize] = '\0';

		dataCount++;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x1c0(%rdi), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movups 0x1a0(%rdi), %xmm0
movups 0x1b0(%rdi), %xmm1
movups %xmm0, 0x8(%rsi)
movups %xmm1, 0x18(%rsi)
leaq 0x168(%rdi), %r14
movq %r14, %rdi
callq 0x3978
testq %rax, %rax
jne 0x3906
leaq 0x1a0(%rbx), %r13
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x3ac0
leaq 0x40(%rbx), %rax
leaq 0x28(%rbx), %r15
leaq 0x70(%rbx), %rcx
xorl %r12d, %r12d
cmpq $0x0, 0x1c0(%rbx)
leaq 0x58(%rbx), %r14
setne %r12b
cmovneq %rax, %r15
cmovneq %rcx, %r14
movq 0x18(%rbx,%r12,8), %rsi
incq %rsi
movq %r15, %rdi
callq 0x3914
imulq $0xc, 0x18(%rbx,%r12,8), %rsi
addq $0xd, %rsi
movq %r14, %rdi
callq 0x394c
imulq $0x38, 0x18(%rbx,%r12,8), %rax
movq (%r15), %rcx
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups %xmm1, 0x10(%rcx,%rax)
movups %xmm0, (%rcx,%rax)
movq 0x1c0(%rbx), %rax
imulq $0x38, 0x18(%rbx,%r12,8), %rcx
movq (%r15), %rdx
movq %rax, 0x20(%rdx,%rcx)
imulq $0x38, 0x18(%rbx,%r12,8), %rax
movq 0x1c8(%rbx), %rcx
movq %rcx, 0x28(%rdx,%rax)
imulq $0x38, 0x18(%rbx,%r12,8), %rax
movq 0x1d0(%rbx), %rcx
movq %rcx, 0x30(%rdx,%rax)
imulq $0xc, 0x18(%rbx,%r12,8), %rdi
addq (%r14), %rdi
leaq 0x1d8(%rbx), %rsi
movq 0x1e8(%rbx), %rdx
callq 0x2190
imulq $0xc, 0x18(%rbx,%r12,8), %rax
movq 0x1e8(%rbx), %rcx
addq (%r14), %rax
movb $0x0, (%rcx,%rax)
incq 0x18(%rbx,%r12,8)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/LookupData.h
// Function: std::hash<LookupData<32ul>>::operator()(LookupData<32ul> const&) const
size_t operator()(const LookupData<data_size>& data) const
		{
			size_t result = static_cast<size_t>(data.dataIndex);
			for (int i = 0; i < data_size; i++)
			{
				uint_fast32_t offset = (i + 5) % (8 * data_size);
				result ^= static_cast<size_t>(data.data[i]) << offset;
				result ^= static_cast<size_t>(data.data[i]) >> (8 * data_size - offset);
			}
			return result;
		}

// Assembly:
movq (%rsi), %rax
addq $0x8, %rsi
movl $0xfb, %edx
xorl %edi, %edi
cmpq $0xdb, %rdx
je 0x3a08
movzbl (%rsi), %r8d
leal 0x5(%rdi), %ecx
movq %r8, %r9
shlq %cl, %r9
movl %edx, %ecx
shrq %cl, %r8
xorq %r9, %r8
xorq %r8, %rax
incq %rdi
decq %rdx
incq %rsi
jmp 0x39dc
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ksabry[P]bfbrute/src/LookupData.h
// Function: LookupData<32ul>::operator==(LookupData<32ul> const&) const
bool operator==(const LookupData<data_size>& other) const
	{
		if (dataIndex != other.dataIndex)
			return false;
		for (int i = 0; i < data_size; i++)
			if (data[i] != other.data[i])
				return false;
		return true;
	}

// Assembly:
movq (%rdi), %rax
cmpq (%rsi), %rax
jne 0x3abd
xorl %ecx, %ecx
cmpq $0x20, %rcx
sete %al
je 0x3abc
movb 0x8(%rdi,%rcx), %dl
leaq 0x1(%rcx), %r8
cmpb 0x8(%rsi,%rcx), %dl
movq %r8, %rcx
je 0x3aa2
retq
xorl %eax, %eax
retq