LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/mdp_variable.cpp
// Function: mdp::operator<<(std::ostream&, mdp::variable_t const&)
std::ostream& operator<<(std::ostream& os, variable_t const& var) {
    if (var.is_int()) { // bounded integer
        std::string const& name = var.name;
        int min = var.as_int().bound.min;
        int max = var.as_int().bound.max;
        int init = var.as_int().init;
        if (min == max)
            os << name << " : int init " << min << ";";
        else
            os << name << " : [" << min << ".." << max << "] init " << init << ";";
    } else { // bool
        os << var.name << ": bool init " << std::boolalpha << var.as_bool().init << ";";
    }
    return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl 0x20(%rsi), %eax
movl %eax, %ecx
sarl $0x1f, %ecx
cmpl %eax, %ecx
jne 0x1b3f5
movq %r14, %rdi
callq 0x1b578
movl (%rax), %ebp
movq %r14, %rdi
callq 0x1b578
movl 0x4(%rax), %r12d
movq %r14, %rdi
callq 0x1b578
cmpl %r12d, %ebp
jne 0x1b43d
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x9350
movq %rax, %r14
leaq 0x2ccb6(%rip), %rsi     # 0x48094
movl $0xc, %edx
movq %rax, %rdi
callq 0x9350
movq %r14, %rdi
movl %ebp, %esi
jmp 0x1b4b0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x9350
movq %rax, %r15
leaq 0x2cc96(%rip), %rsi     # 0x480a4
movl $0xc, %edx
movq %rax, %rdi
callq 0x9350
movq (%r15), %rax
movq -0x18(%rax), %rax
orl $0x1, 0x18(%r15,%rax)
movq %r14, %rdi
callq 0x1b5c8
movzbl (%rax), %esi
movq %r15, %rdi
callq 0x9490
jmp 0x1b4b5
movl 0x8(%rax), %r15d
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x9350
movq %rax, %r14
leaq 0x2c8b2(%rip), %rsi     # 0x47d0c
movl $0x4, %edx
movq %rax, %rdi
callq 0x9350
movq %r14, %rdi
movl %ebp, %esi
callq 0x94c0
movq %rax, %r14
leaq 0x2cc26(%rip), %rsi     # 0x480a1
movl $0x2, %edx
movq %rax, %rdi
callq 0x9350
movq %r14, %rdi
movl %r12d, %esi
callq 0x94c0
movq %rax, %r14
leaq 0x2c874(%rip), %rsi     # 0x47d11
movl $0x7, %edx
movq %rax, %rdi
callq 0x9350
movq %r14, %rdi
movl %r15d, %esi
callq 0x94c0
leaq 0x29ca3(%rip), %rsi     # 0x4515f
movl $0x1, %edx
movq %rax, %rdi
callq 0x9350
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/mdp_variable.cpp
// Function: mdp::operator==(mdp::variable_t const&, mdp::variable_t const&)
bool operator==(variable_t const& lhs, variable_t const& rhs) {
    if (lhs.is_int() != rhs.is_int())
        return false;

    if (lhs.is_int()) {
        return lhs.name == rhs.name &&
            lhs.as_int().init == rhs.as_int().init;
    } else {
        return lhs.name == rhs.name &&
            lhs.as_bool().init == rhs.as_bool().init;
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x20(%rdi), %eax
movl %eax, %ecx
sarl $0x1f, %ecx
cmpl %eax, %ecx
sete %dl
movl 0x20(%rsi), %esi
movl %esi, %edi
sarl $0x1f, %edi
cmpl %esi, %edi
sete %sil
xorb %dl, %sil
je 0x1b506
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq 0x8(%r14), %rdx
movq 0x8(%rbx), %rsi
cmpl %eax, %ecx
jne 0x1b543
cmpq %rsi, %rdx
jne 0x1b4ff
testq %rdx, %rdx
je 0x1b52b
movq (%rbx), %rsi
movq (%r14), %rdi
callq 0x9300
testl %eax, %eax
jne 0x1b4ff
movq %r14, %rdi
callq 0x1b578
movl 0x8(%rax), %ebp
movq %rbx, %rdi
callq 0x1b578
cmpl 0x8(%rax), %ebp
jmp 0x1b572
cmpq %rsi, %rdx
jne 0x1b4ff
testq %rdx, %rdx
je 0x1b55c
movq (%rbx), %rsi
movq (%r14), %rdi
callq 0x9300
testl %eax, %eax
jne 0x1b4ff
movq %r14, %rdi
callq 0x1b5c8
movb (%rax), %bpl
movq %rbx, %rdi
callq 0x1b5c8
cmpb (%rax), %bpl
sete %al
jmp 0x1b501
nop
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: ident_len(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long)
size_t ident_len(std::string const& input, size_t pos) {
    if (!std::isalpha(input[pos]) || pos >= input.size())
        return 0;
    size_t len = 1;
    while ((std::isalnum(input[pos+len]) || input[pos+len] == '_') && pos < input.size()) {
        ++len;
    }
    return len;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %r12
movsbl (%r12,%rsi), %edi
callq 0x9450
xorl %ebx, %ebx
testl %eax, %eax
je 0x1ba29
cmpq %r14, 0x8(%r15)
jbe 0x1ba29
addq %r12, %r14
incq %r14
xorl %ebx, %ebx
movsbl (%r14,%rbx), %ebp
movl %ebp, %edi
callq 0x92f0
incq %rbx
cmpl $0x5f, %ebp
je 0x1ba11
testl %eax, %eax
jne 0x1ba11
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: parser::neg_formula(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long&)
formula_result_t neg_formula(std::string const& input, size_t& pos) {
    auto not_token = next_token(input, pos);
    if (not_token.kind != token_t::kind_t::Not)
        return primary_formula(input, pos);
    pos = not_token.pos + not_token.lexime.size();

    auto inner_result = neg_formula(input, pos);
    if (inner_result.is_error())
        return inner_result;
    return formula_result_t::ok(make<logic::neg_formula_t>(inner_result.ok()));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdx
leaq 0x58(%rsp), %r12
movq %r12, %rdi
callq 0x1ba35
cmpl $0x24, (%r12)
jne 0x1e5fc
movq 0x70(%rsp), %rax
addq 0x60(%rsp), %rax
movq %rax, (%r14)
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1e572
movb 0x38(%rsp), %al
testb %al, %al
je 0x1e60c
leaq 0x8(%rsp), %rdi
callq 0x2486e
leaq 0x48(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x40(%rsp), %rsi
leaq 0x7(%rsp), %rdx
movq %rax, %rcx
callq 0x254ec
movb $0x1, 0x30(%rbx)
movaps 0x40(%rsp), %xmm0
movups %xmm0, (%rbx)
jmp 0x1e65d
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1de66
jmp 0x1e667
movb %al, 0x30(%rbx)
leaq 0x28(%rsp), %rax
movups -0x20(%rax), %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rbx), %rcx
movq %rcx, 0x10(%rbx)
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x1e63b
movq %rdx, 0x10(%rbx)
movq 0x28(%rsp), %rcx
movq %rcx, 0x20(%rbx)
jmp 0x1e641
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x20(%rsp), %rcx
movq %rcx, 0x18(%rbx)
movq %rax, 0x18(%rsp)
movq $0x0, 0x20(%rsp)
movb $0x0, 0x28(%rsp)
leaq 0x8(%rsp), %rdi
callq 0x280cc
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e682
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x280cc
jmp 0x1e6a8
jmp 0x1e6a5
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e6c3
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: parser::simple_type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long&)
result_t<logic::domain_kind_t> simple_type(std::string const& input, size_t& pos) {
    auto sty_result = expect_token(input, pos, token_t::kind_t::Ident);
    if (sty_result.is_error())
        return sty_result.convert<logic::domain_kind_t>();
    auto sty = sty_result.ok();
    pos = sty.pos + sty.lexime.size();

    if (sty.lexime == "int")
        return result_t<logic::domain_kind_t>::ok(logic::domain_kind_t::Int);
    else if (sty.lexime == "bool")
        return result_t<logic::domain_kind_t>::ok(logic::domain_kind_t::Bool);
    else
        return result_t<logic::domain_kind_t>::error(error_t {
                error_t::kind_t::UnexpectedToken, pos,
                "expected was 'int' or 'bool', but coming is " + sty.lexime
                });
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rdx
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movl $0xa, %ecx
callq 0x1c56e
cmpb $0x0, 0x30(%r15)
je 0x1ee58
leaq 0x30(%rsp), %rdi
callq 0x24814
movups (%rax), %xmm0
leaq 0x10(%rsp), %r15
movaps %xmm0, -0x10(%r15)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xac68
movq 0x18(%rsp), %rax
addq 0x8(%rsp), %rax
movq %rax, (%r14)
leaq 0x2c1d8(%rip), %rsi     # 0x4afb5
movq %r15, %rdi
callq 0x90c0
testl %eax, %eax
je 0x1ee6f
leaq 0x2c12c(%rip), %rsi     # 0x4af20
movq %r15, %rdi
callq 0x90c0
testl %eax, %eax
je 0x1ee7b
leaq 0x78(%rsp), %rdi
movl $0x1, -0x10(%rdi)
movq (%r14), %rax
movq %rax, -0x8(%rdi)
leaq 0x29551(%rip), %rsi     # 0x4836b
movq %r15, %rdx
callq 0x11561
movb $0x0, 0x30(%rbx)
leaq 0x88(%rsp), %rax
movups -0x20(%rax), %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rbx), %rcx
movq %rcx, 0x10(%rbx)
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x1ee87
movq %rdx, 0x10(%rbx)
movq 0x88(%rsp), %rax
movq %rax, 0x20(%rbx)
jmp 0x1ee8d
leaq 0x30(%rsp), %rdi
callq 0x247ba
movq %rbx, %rdi
movq %rax, %rsi
callq 0x281b0
jmp 0x1eeb0
movb $0x1, 0x30(%rbx)
movl $0x0, (%rbx)
jmp 0x1ee99
movb $0x1, 0x30(%rbx)
movl $0x1, (%rbx)
jmp 0x1ee99
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x80(%rsp), %rax
movq %rax, 0x18(%rbx)
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1eeb0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x92e0
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1eecb
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1eefe
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x92e0
jmp 0x1eefe
jmp 0x1eefb
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ef19
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: parser::refinement_type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long&)
refty_result_t refinement_type(std::string const& input, size_t& pos) {
    size_t prev_pos= pos;
    auto refty_result = refty_detail(input, pos);
    if (refty_result.is_ok())
        return refty_result;
    pos = prev_pos;
    return refty_abbreviation(input, pos);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %r13
movq %rsp, %r12
movq %r12, %rdi
callq 0x1f619
cmpb $0x1, 0x38(%r12)
jne 0x2026f
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x24c02
jmp 0x20280
movq %r13, (%r14)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1fd83
movq %rsp, %rdi
callq 0x282a8
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x282a8
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: parser::expr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long&)
expr_result_t expr(std::string const& input, size_t& pos) {
    auto token = next_token(input, pos);
    switch (token.kind) {
    case token_t::kind_t::Let:
        return let_expr(input, pos);
    case token_t::kind_t::LetFun:
        return letfun_expr(input, pos);
    case token_t::kind_t::If:
        return if_expr(input, pos);
    default:
        return or_expr(input, pos);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x1ba35
movl (%r12), %eax
cmpl $0x3, %eax
je 0x21261
cmpl $0x1, %eax
je 0x21251
testl %eax, %eax
jne 0x21271
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x20b3c
jmp 0x2127f
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x212cf
jmp 0x2127f
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x21b57
jmp 0x2127f
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2435f
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2129a
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x212c7
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: parser::neg_expr_t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long&)
expr_result_t neg_expr_t(std::string const& input, size_t& pos) {
    auto minus_token = next_token(input, pos);
    if (minus_token.kind != token_t::kind_t::Not)
        return primary_expr(input, pos);
    pos = minus_token.pos + minus_token.lexime.size();

    auto inner_result = neg_expr_t(input, pos);
    if (inner_result.is_ok())
        return expr_result_t::ok(make<ast::neg_expr_t>(inner_result.ok()));
    else
        return inner_result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdx
leaq 0x58(%rsp), %r12
movq %r12, %rdi
callq 0x1ba35
cmpl $0x24, (%r12)
jne 0x23197
movq 0x70(%rsp), %rax
addq 0x60(%rsp), %rax
movq %rax, (%r14)
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2310d
movb 0x38(%rsp), %al
cmpb $0x1, %al
jne 0x231a7
leaq 0x8(%rsp), %rdi
callq 0x24dac
leaq 0x48(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x40(%rsp), %rsi
leaq 0x7(%rsp), %rdx
movq %rax, %rcx
callq 0x26026
movb $0x1, 0x30(%rbx)
movaps 0x40(%rsp), %xmm0
movups %xmm0, (%rbx)
jmp 0x231f8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x221f7
jmp 0x23202
movb %al, 0x30(%rbx)
leaq 0x28(%rsp), %rax
movups -0x20(%rax), %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rbx), %rcx
movq %rcx, 0x10(%rbx)
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x231d6
movq %rdx, 0x10(%rbx)
movq 0x28(%rsp), %rcx
movq %rcx, 0x20(%rbx)
jmp 0x231dc
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x20(%rsp), %rcx
movq %rcx, 0x18(%rbx)
movq %rax, 0x18(%rsp)
movq $0x0, 0x20(%rsp)
movb $0x0, 0x28(%rsp)
leaq 0x8(%rsp), %rdi
callq 0x19f1e
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2321d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x19f1e
jmp 0x23243
jmp 0x23240
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2325e
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/parser.cpp
// Function: parser::applicative_expr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long&)
expr_result_t applicative_expr(std::string const& input, size_t& pos) {
    auto f_result = typed_expr(input, pos);
    if (f_result.is_error())
        return f_result;
    auto f = f_result.ok();

    std::vector<ptr<ast::expr_t>> args;
    while (true) {
        auto e_result = typed_expr(input, pos);
        if (e_result.is_error())
            break;
        args.push_back(e_result.ok());
    }

    if (args.empty())
        return f;
    else
        return expr_result_t::ok(make<ast::app_expr_t>(f, args));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x38(%rsp), %r12
movq %r12, %rdi
callq 0x23266
movb 0x30(%r12), %al
testb %al, %al
je 0x2360c
leaq 0x38(%rsp), %rdi
callq 0x24dac
movq (%rax), %rcx
movq %rcx, 0x10(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x23666
movq 0x3e9ae(%rip), %rcx     # 0x61fb0
cmpb $0x0, (%rcx)
je 0x23662
incl 0x8(%rax)
jmp 0x23666
movb %al, 0x30(%rbx)
leaq 0x58(%rsp), %rax
movups -0x20(%rax), %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rbx), %rcx
movq %rcx, 0x10(%rbx)
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x2363b
movq %rdx, 0x10(%rbx)
movq 0x58(%rsp), %rcx
movq %rcx, 0x20(%rbx)
jmp 0x23641
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x50(%rsp), %rcx
movq %rcx, 0x18(%rbx)
movq %rax, 0x48(%rsp)
movq $0x0, 0x50(%rsp)
movb $0x0, 0x58(%rsp)
jmp 0x23731
lock
incl 0x8(%rax)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r12
movaps %xmm0, (%r12)
movq $0x0, 0x10(%r12)
leaq 0x70(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x23266
cmpb $0x0, 0xa0(%rsp)
je 0x236b6
movq %r13, %rdi
callq 0x24dac
movq %r12, %rdi
movq %rax, %rsi
callq 0x24e60
movq %r13, %rdi
callq 0x19f1e
jmp 0x23681
leaq 0x70(%rsp), %rdi
callq 0x19f1e
movq 0x20(%rsp), %rax
cmpq 0x28(%rsp), %rax
je 0x23700
leaq 0x78(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x70(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x10(%rsp), %rcx
leaq 0x20(%rsp), %r8
callq 0x26458
movb $0x1, 0x30(%rbx)
movaps 0x70(%rsp), %xmm0
movups %xmm0, (%rbx)
jmp 0x23718
movb $0x1, 0x30(%rbx)
movaps 0x10(%rsp), %xmm0
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movups %xmm0, (%rbx)
movq %rax, 0x10(%rsp)
leaq 0x20(%rsp), %rdi
callq 0x24ea6
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x23731
callq 0xa946
leaq 0x38(%rsp), %rdi
callq 0x19f1e
movq %rbx, %rax
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x23756
movq %rax, %rbx
jmp 0x23781
movq %rax, %rbx
jmp 0x23768
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x19f1e
leaq 0x20(%rsp), %rdi
callq 0x24ea6
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x23781
callq 0xa946
leaq 0x38(%rsp), %rdi
callq 0x19f1e
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/result.hpp
// Function: result_t<logic::domain_kind_t, parser::error_t>::error(parser::error_t const&)
static result_t error(error_t const& e) {
        result_t result;
        result.m_is_ok = false;
        result.assign_err(e);
        return result;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x0, 0x30(%rdi)
movups (%rsi), %xmm0
movups %xmm0, (%rdi)
leaq 0x10(%rdi), %r14
leaq 0x20(%rdi), %r15
movq %r15, 0x10(%rdi)
movq 0x10(%rsi), %rax
movq 0x18(%rsi), %rdx
addq %rax, %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0xac68
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r12
cmpb $0x0, 0x30(%rbx)
jne 0x2820a
movq %r14, %rdi
movq %r15, %rsi
callq 0x9702
movq %r12, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/result.hpp
// Function: result_t<logic::domain_kind_t, parser::error_t>::operator=(result_t<logic::domain_kind_t, parser::error_t>&&)
result_t& operator=(result_t&& rhs) {
        if (m_is_ok == rhs.m_is_ok) {
            if (m_is_ok)
                m_ok = std::move(rhs.m_ok);
            else
                m_error = std::move(rhs.m_error);
        } else {
            clear();
            m_is_ok = rhs.m_is_ok;
            if (m_is_ok)
                assign_ok(std::move(rhs.m_ok));
            else
                assign_err(std::move(rhs.m_error));
        }
        return *this;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movb 0x30(%rdi), %cl
movb 0x30(%rsi), %al
cmpb %al, %cl
jne 0x24b81
testb %cl, %cl
jne 0x24ba8
movups (%r14), %xmm0
movups %xmm0, (%rbx)
leaq 0x10(%rbx), %rdi
addq $0x10, %r14
movq %r14, %rsi
callq 0x9380
jmp 0x24bf7
testb %cl, %cl
jne 0x24ba1
movq 0x10(%rbx), %rdi
leaq 0x20(%rbx), %rcx
cmpq %rcx, %rdi
je 0x24ba1
movq (%rcx), %rsi
incq %rsi
callq 0x92e0
movb 0x30(%r14), %al
movb %al, 0x30(%rbx)
testb $0x1, %al
je 0x24baf
movl (%r14), %eax
movl %eax, (%rbx)
jmp 0x24bf7
movups (%r14), %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rbx), %rcx
movq %rcx, 0x10(%rbx)
movq 0x10(%r14), %rdx
leaq 0x20(%r14), %rax
cmpq %rax, %rdx
je 0x24bd8
movq %rdx, 0x10(%rbx)
movq (%rax), %rcx
movq %rcx, 0x20(%rbx)
jmp 0x24bde
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x18(%r14), %rcx
movq %rcx, 0x18(%rbx)
movq %rax, 0x10(%r14)
movq $0x0, 0x18(%r14)
movb $0x0, 0x20(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/result.hpp
// Function: result_t<ast::refinement_type_t, parser::error_t>::result_t(result_t<ast::refinement_type_t, parser::error_t>&&)
result_t(result_t&& src) :
        m_is_ok{src.m_is_ok}
    {
        if (m_is_ok)
            assign_ok(std::move(src.m_ok));
        else
            assign_err(std::move(src.m_error));
    }

// Assembly:
movb 0x38(%rsi), %al
movb %al, 0x38(%rdi)
cmpb $0x1, %al
je 0x282e4
movups (%rsi), %xmm0
movups %xmm0, (%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq 0x10(%rsi), %rdx
leaq 0x20(%rsi), %rax
cmpq %rax, %rdx
je 0x24c38
movq %rdx, 0x10(%rdi)
movq (%rax), %rcx
movq %rcx, 0x20(%rdi)
jmp 0x24c3e
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x18(%rsi), %rcx
movq %rcx, 0x18(%rdi)
movq %rax, 0x10(%rsi)
movq $0x0, 0x18(%rsi)
movb $0x0, 0x20(%rsi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/simple_type.cpp
// Function: simty::type_t::from(ast::dependent_type_t const&)
ptr<type_t> type_t::from(ast::dependent_type_t const& ty) {
    std::vector<ptr<type_t>> args;
    for (auto const& arg : ty.args)
        args.push_back(type_t::from(arg));
    auto ret_ty = type_t::from(ty.ret_type);
    return make<fun_type_t>(args, ret_ty);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, 0x40(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq (%rsi), %r13
movq %rsi, 0x48(%rsp)
movq 0x8(%rsi), %rbp
cmpq %rbp, %r13
je 0x28974
leaq 0x38c30(%rip), %rbx     # 0x61520
leaq 0x20(%rsp), %r15
leaq 0x10(%rsp), %r12
movl 0x20(%r13), %r14d
movl $0x18, %edi
callq 0x92d0
movq %rax, %rcx
addq $0x10, %rcx
testl %r14d, %r14d
leaq 0x38b17(%rip), %rdx     # 0x61430
leaq 0x38ac0(%rip), %rsi     # 0x613e0
cmoveq %rsi, %rdx
movabsq $0x100000001, %rsi      # imm = 0x100000001
movq %rsi, 0x8(%rax)
movq %rbx, %rsi
leaq 0x38c24(%rip), %rdi     # 0x61560
cmoveq %rdi, %rsi
movq %rdx, (%rax)
movq %rsi, 0x10(%rax)
movq %rcx, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x2c1c6
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2896b
callq 0xa946
addq $0x38, %r13
cmpq %rbp, %r13
jne 0x288fa
movq 0x48(%rsp), %rax
movl 0x38(%rax), %ebx
movl $0x18, %edi
callq 0x92d0
movq %rax, %rcx
addq $0x10, %rcx
testl %ebx, %ebx
leaq 0x38a4a(%rip), %rdx     # 0x613e0
leaq 0x38a93(%rip), %rsi     # 0x61430
cmoveq %rdx, %rsi
leaq 0x38bb8(%rip), %rdx     # 0x61560
leaq 0x38b71(%rip), %rdi     # 0x61520
cmoveq %rdx, %rdi
movabsq $0x100000001, %rdx      # imm = 0x100000001
movq %rdx, 0x8(%rax)
movq %rsi, (%rax)
movq %rdi, 0x10(%rax)
leaq 0x10(%rsp), %r8
movq %rcx, (%r8)
movq %rax, 0x8(%r8)
leaq 0x58(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x50(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x20(%rsp), %rcx
callq 0x2bdc6
movaps 0x50(%rsp), %xmm0
movq 0x40(%rsp), %rbx
movups %xmm0, (%rbx)
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x28a11
callq 0xa946
leaq 0x20(%rsp), %rdi
callq 0x2bada
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x28a36
jmp 0x28a31
movq %rax, %rbx
jmp 0x28a48
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x28a48
callq 0xa946
leaq 0x20(%rsp), %rdi
callq 0x2bada
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/simple_type.hpp
// Function: simty::operator==(simty::type_t const&, simty::type_t const&)
inline static bool operator==(type_t const& lhs, type_t const& rhs) {
    if (lhs.kind() != rhs.kind())
        return false;
    if (lhs.kind() != kind_t::Fun)
        return true;
    auto const& l = cast<fun_type_t>(lhs);
    auto const& r = cast<fun_type_t>(rhs);
    if (!(*l.ret == *r.ret))
        return false;
    if (l.args.size() != r.args.size())
        return false;
    for (size_t i=0; i<l.args.size(); ++i) {
        if (!(l.args[i] == r.args[i]))
            return false;
    }
    return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rax
callq *(%rax)
movl %eax, %ebx
movq (%r14), %rax
movq %r14, %rdi
callq *(%rax)
cmpl %eax, %ebx
jne 0x2ba89
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movb $0x1, %bl
cmpl $0x2, %eax
jne 0x2ba8b
leaq 0x35b02(%rip), %rsi     # 0x614e8
leaq 0x35b0b(%rip), %rdx     # 0x614f8
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x9340
testq %rax, %rax
je 0x2ba93
movq %rax, %r15
leaq 0x35ade(%rip), %rsi     # 0x614e8
leaq 0x35ae7(%rip), %rdx     # 0x614f8
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x9340
testq %rax, %rax
je 0x2ba93
movq %rax, %r14
movq 0x20(%r15), %rdi
movq 0x20(%rax), %rsi
callq 0x2b9aa
testb %al, %al
je 0x2ba89
movq 0x8(%r15), %rax
movq 0x10(%r15), %rsi
movq %rsi, %rcx
subq %rax, %rcx
movq 0x8(%r14), %rdx
movq 0x10(%r14), %rdi
subq %rdx, %rdi
cmpq %rdi, %rcx
jne 0x2ba89
cmpq %rax, %rsi
je 0x2ba8b
sarq $0x4, %rcx
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
movq (%rax,%rdi), %r9
cmpq (%rdx,%rdi), %r9
jne 0x2ba89
incq %r8
addq $0x10, %rdi
cmpq %r8, %rsi
jne 0x2ba6b
cmpq %rcx, %r8
setae %bl
jmp 0x2ba8b
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
callq 0x9530
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/result.hpp
// Function: result_t<std::shared_ptr<simty::type_t>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::result_t(result_t<std::shared_ptr<simty::type_t>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&)
result_t(result_t const& src) :
        m_is_ok{src.m_is_ok}
    {
        if (m_is_ok)
            assign_ok(src.m_ok);
        else
            assign_err(src.m_error);
    }

// Assembly:
movb 0x20(%rsi), %al
movb %al, 0x20(%rdi)
cmpb $0x1, %al
jne 0x2bbd3
movq (%rsi), %rax
movq %rax, (%rdi)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rdi)
testq %rax, %rax
je 0x2bbf0
movq 0x363e6(%rip), %rcx     # 0x61fb0
cmpb $0x0, (%rcx)
je 0x2bbec
incl 0x8(%rax)
retq
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rax, %rsi
jmp 0xac68
lock
incl 0x8(%rax)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/test.cpp
// Function: rand_test::~rand_test()
PML_CUSTOM_TEST(rand_test, lang_feature_test) {
    using namespace ast;
    using namespace evaluator;
    parse_test("rand(1, 4)", "Rand(1, 4)");

    for (int i=0; i<16; ++i) {
        auto n1 = cast<int_expr_t>(*eval(make<rand_expr_t>(1, 4))).n;
        assert_(1 <= n1 && n1 <= 4, "1 <= rand(1, 4) <= 4");
    }

    parse_test("rand(1, 4) + 42", "Add(Rand(1, 4), 42)");
    auto n2 = cast<int_expr_t>(*eval(
                make<add_expr_t>(
                    make<rand_expr_t>(1, 4),
                    make<int_expr_t>(42)))).n;
    assert_(43 <= n2 && n2 <= 46, "43 <= rand(1, 4) + 42 <= 46");
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x309df(%rip), %rax     # 0x61748
movq %rax, (%rdi)
movq 0x31275(%rip), %rdi     # 0x61fe8
leaq 0x19ddf(%rip), %rsi     # 0x4ab59
movl $0xd, %edx
callq 0x9350
movq (%rbx), %rax
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq *0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x31245(%rip), %rdi     # 0x61fe8
callq 0x9350
movq %rax, %r14
leaq 0x170fb(%rip), %rsi     # 0x47ead
movl $0x1, %edx
movq %rax, %rdi
callq 0x9350
movl 0x8(%rbx), %esi
movq %r14, %rdi
callq 0x94c0
movq %rax, %rbx
leaq 0x19d93(%rip), %rsi     # 0x4ab67
movl $0x6, %edx
movq %rax, %rdi
callq 0x9350
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x92c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x9030
movq %rax, %rdi
callq 0x91c0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x30e23
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x92e0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0xa7fd
nop
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/test.cpp
// Function: parsing_formula_test::parsing_formula_test()
PML_TEST(parsing_formula_test) {
    std::string input = "true \\/ true /\\ false";
    parser::parse_formula(input).case_of(
        ok >> [&](ptr<logic::formula_t> const& formula) {
            assert_(formula != nullptr, "\"" + input + "\" was parsed to nullptr");
            assert_eq(
                    logic::to_debug_string(*formula),
                    "Or(Top, And(Top, Bot))");
        },
        error >> [this](parser::error_t err) {
            std::string msg = "parse error at " +
                std::to_string(err.pos) + " : " +
                err.message;
            assert_(false, msg);
        });
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
movl $0x0, 0x8(%rdi)
leaq 0x2f579(%rip), %rax     # 0x619b0
movq %rax, (%rdi)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x189f9(%rip), %rsi     # 0x4ae43
leaq 0x18a07(%rip), %rdx     # 0x4ae58
movq %rsp, %r14
movq %r14, %rdi
callq 0x116f8
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x245f0
leaq 0x70(%rsp), %rax
movq %rbx, (%rax)
movq %r14, 0x8(%rax)
leaq 0x30(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x20(%rsp), %rax
movq %rbx, (%rax)
leaq 0x28(%rsp), %rdx
movq %rax, (%rdx)
leaq 0x38(%rsp), %rdi
callq 0x38afe
leaq 0x38(%rsp), %rdi
callq 0x280cc
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x324b7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x280cc
jmp 0x324d6
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x324ec
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/test.cpp
// Function: parsing_term_test::parsing_term_test()
PML_TEST(parsing_term_test) {
    std::string input = "a+b*c";
    parser::parse_term(input).case_of(
        ok >> [&](ptr<logic::term_t> const& term) {
            assert_(term != nullptr, "\"" + input + "\" was parsed to nullptr");
            assert_eq(
                    logic::to_debug_string(*term),
                    "Add(a, Mul(b, c))");
        },
        error >> [this](parser::error_t err) {
            std::string msg = "parse error at " +
                std::to_string(err.pos) + " : " +
                err.message;
            assert_(false, msg);
        });
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
movl $0x0, 0x8(%rdi)
leaq 0x2f403(%rip), %rax     # 0x619f0
movq %rax, (%rdi)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x18895(%rip), %rsi     # 0x4ae95
leaq 0x18893(%rip), %rdx     # 0x4ae9a
movq %rsp, %r14
movq %r14, %rdi
callq 0x116f8
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x24612
leaq 0x70(%rsp), %rax
movq %rbx, (%rax)
movq %r14, 0x8(%rax)
leaq 0x30(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x20(%rsp), %rax
movq %rbx, (%rax)
leaq 0x28(%rsp), %rdx
movq %rax, (%rdx)
leaq 0x38(%rsp), %rdi
callq 0x3918a
leaq 0x38(%rsp), %rdi
callq 0x2809c
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x3266d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x2809c
jmp 0x3268c
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x326a2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/test.cpp
// Function: parsing_deptype_test::parsing_deptype_test()
PML_TEST(parsing_deptype_test) {
    std::unordered_map<std::string, std::string> inputs = {
        {"{n:int|true} -> {x:bool|x}", "Dep([Ref(n, Int, Top)], Ref(x, Bool, x))"},
        {"(int, int) -> int", "Dep([Ref(@blah, Int, Top), Ref(@blah, Int, Top)], Ref(@blah, Int, Top))"}
    };
    for (auto const& input : inputs) {
        parser::parse_deptype(input.first).case_of(
            ok >> [&](ast::dependent_type_t const& ty) {
                assert_eq(
                    ast::to_debug_string(ty),
                    input.second);
            },
            error >> [&](parser::error_t err) {
                assert_(false, format("parse error at {} : {}",
                        std::to_string(err.pos), err.message));
            });
    }

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, %rbx
movl $0x0, 0x8(%rdi)
leaq 0x2efbe(%rip), %rax     # 0x61a70
movq %rax, (%rdi)
leaq 0x184a7(%rip), %rsi     # 0x4af63
leaq 0x184bb(%rip), %rdx     # 0x4af7e
leaq 0x68(%rsp), %rdi
callq 0x3a40e
leaq 0xa8(%rsp), %rdi
leaq 0x184cb(%rip), %rsi     # 0x4afa7
leaq 0x184d6(%rip), %rdx     # 0x4afb9
callq 0x3a48c
leaq 0xe8(%rsp), %rdx
leaq 0x8(%rsp), %rax
movq %rax, (%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x20(%rsp), %r8
leaq 0x10(%rsp), %r9
xorl %ecx, %ecx
callq 0x39c5a
movq $-0x80, %r14
leaq 0xd8(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x32b37
movq (%r15), %rsi
incq %rsi
callq 0x92e0
movq -0x30(%r15), %rdi
leaq -0x20(%r15), %rax
cmpq %rdi, %rax
je 0x32b4f
movq (%rax), %rsi
incq %rsi
callq 0x92e0
addq $-0x40, %r15
addq $0x40, %r14
jne 0x32b23
movq 0x40(%rsp), %r14
testq %r14, %r14
je 0x32bc2
leaq 0x68(%rsp), %r15
leaq 0x10(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x8(%r14), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x245ce
movq %rbx, 0x20(%rsp)
movq %rbp, 0x28(%rsp)
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %rbx, 0x18(%rsp)
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x3a50a
movq %r15, %rdi
callq 0x2833a
movq (%r14), %r14
testq %r14, %r14
jne 0x32b72
leaq 0x30(%rsp), %rdi
callq 0x3a3e8
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x40, %r14d
leaq (%rsp,%r14), %rdi
addq $0x68, %rdi
callq 0x39b0a
addq $-0x40, %r14
cmpq $-0x40, %r14
jne 0x32be7
jmp 0x32c30
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x39b0a
jmp 0x32c30
movq %rax, %rbx
jmp 0x32c30
movq %rax, %rbx
jmp 0x32c26
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x2833a
leaq 0x30(%rsp), %rdi
callq 0x3a3e8
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/test.cpp
// Function: lang_feature_test::parse_test(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>> const&)
void parse_test(std::string const& input, std::string const& output) {
        parser::parse(input).case_of(
            ok >> [&](ptr<ast::expr_t> const& ast) {
                assert_(
                    ast != nullptr,
                    "\"" + input + "\" was parsed to nullptr");
                assert_eq(ast::to_debug_string(*ast), output);
            },
            error >> [this](parser::error_t err) {
                std::string msg = "parse error at" +
                    std::to_string(err.pos) + " : " +
                    err.message;
                assert_(false, msg);
            });
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0x2458a
leaq 0x50(%rsp), %rax
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq %rsp, %rax
movq %r15, (%rax)
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %r12, %rdi
callq 0x3562e
leaq 0x18(%rsp), %rdi
callq 0x19f1e
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x19f1e
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/result.hpp
// Function: auto result_t<ast::refinement_type_t, parser::error_t>::case_of<parsing_reftype_test::parsing_reftype_test()::'lambda'(ast::refinement_type_t const&), parsing_reftype_test::parsing_reftype_test()::'lambda'(parser::error_t)>(ok_adaptor<parsing_reftype_test::parsing_reftype_test()::'lambda'(ast::refinement_type_t const&)> const&, error_adaptor<parsing_reftype_test::parsing_reftype_test()::'lambda'(parser::error_t)> const&) const
auto case_of(ok_adaptor<F> const& ok_adap, error_adaptor<G> const& err_adap) const {
        using ok_ret_type = decltype(ok_adap.f(std::declval<ok_t>()));
        using err_ret_type = decltype(err_adap.f(std::declval<error_t>()));
        static_assert(std::is_same<ok_ret_type, err_ret_type>::value, "result_t::case_of: return types are different!");
        if (m_is_ok)
            return ok_adap.f(m_ok);
        else
            return err_adap.f(m_error);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rax
cmpb $0x1, 0x38(%rdi)
jne 0x39b8e
movq (%rsi), %r15
movq (%r15), %rbx
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x42a07
movq 0x8(%r15), %rdx
addq $0x20, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c30
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39bda
movq 0x10(%rsp), %rsi
jmp 0x39bd2
movq (%rdx), %rbx
movups (%rax), %xmm0
leaq 0x30(%rsp), %rdi
movaps %xmm0, -0x10(%rdi)
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
addq %rsi, %rdx
callq 0xac68
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x3a24a
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x39bda
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x92e0
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x39c16
movq 0x40(%rsp), %rsi
jmp 0x39c0e
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39c16
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/test.hpp
// Function: test::test_base::assert_(bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void assert_(bool is_ok, std::string const& msg = "") {
        assert_count++;
        if (is_ok)
            return;
        std::stringstream ss;
        ss << "\033[31mtest[" << name() <<  "] fail.. \033[39m ";
        ss << "assertion: " << msg << std::endl;
        throw test_fail_exception{ss.str()};
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
incl 0x8(%rdi)
testl %esi, %esi
je 0x35ad8
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %rbx
movq %rdi, %r15
leaq 0x20(%rsp), %rdi
callq 0x91d0
leaq 0x30(%rsp), %r14
leaq 0x15003(%rip), %rsi     # 0x4aaf7
movl $0xa, %edx
movq %r14, %rdi
callq 0x9350
movq (%r15), %rax
movq %rsp, %rdi
movq %r15, %rsi
callq *0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0x9350
leaq 0x14fdd(%rip), %rsi     # 0x4ab02
movl $0xf, %edx
movq %rax, %rdi
callq 0x9350
leaq 0x10(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x35b4d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
leaq 0x14fbe(%rip), %rsi     # 0x4ab12
movl $0xb, %edx
movq %r14, %rdi
callq 0x9350
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x9350
movq %rax, %rdi
callq 0x9140
movl $0x28, %edi
callq 0x9150
movq %rax, %r14
leaq 0x38(%rsp), %rsi
movq %rsp, %rdi
callq 0x9440
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x35dfc
xorl %ebp, %ebp
leaq 0x2ba4f(%rip), %rsi     # 0x615f8
leaq 0x296(%rip), %rdx       # 0x35e46
movq %r14, %rdi
callq 0x94b0
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x35bd1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
testb %bpl, %bpl
jne 0x35bdb
jmp 0x35c0a
movq %rax, %rbx
movq %r14, %rdi
callq 0x9200
jmp 0x35c0a
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35c0a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
jmp 0x35c0a
jmp 0x35c07
movq %rax, %rbx
movq 0x2c367(%rip), %rsi     # 0x61f78
leaq 0x20(%rsp), %rdi
callq 0x9210
leaq 0xa0(%rsp), %rdi
callq 0x90e0
movq %rbx, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/./include/test.hpp
// Function: void test::test_base::assert_eq<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>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void assert_eq(T1 const& lhs, T2 const& rhs) {
        assert_count++;
        if (lhs == rhs)
            return;
        std::stringstream ss;
        ss << "\033[31mtest[" << name() <<  "] fail.. \033[39m ";
        ss << "assertion: " << lhs << " == " << rhs << std::endl;
        throw test_fail_exception{ss.str()};
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdx, %rbx
movq %rdi, %r12
incl 0x8(%rdi)
movq %rsi, %r14
movq 0x8(%rsi), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x35c79
testq %rdx, %rdx
je 0x35c69
movq (%rbx), %rsi
movq (%r14), %rdi
callq 0x9300
testl %eax, %eax
jne 0x35c79
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x28(%rsp), %rdi
callq 0x91d0
leaq 0x38(%rsp), %r15
leaq 0x14e68(%rip), %rsi     # 0x4aaf7
movl $0xa, %edx
movq %r15, %rdi
callq 0x9350
movq (%r12), %rax
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq *0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x9350
leaq 0x14e3e(%rip), %rsi     # 0x4ab02
movl $0xf, %edx
movq %rax, %rdi
callq 0x9350
leaq 0x18(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x35ced
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x92e0
leaq 0x14e1e(%rip), %rsi     # 0x4ab12
movl $0xb, %edx
movq %r15, %rdi
callq 0x9350
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0x9350
movq %rax, %r14
leaq 0x14e04(%rip), %rsi     # 0x4ab1e
movl $0x4, %edx
movq %rax, %rdi
callq 0x9350
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x9350
movq %rax, %rdi
callq 0x9140
movl $0x28, %edi
callq 0x9150
movq %rax, %r14
leaq 0x40(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x9440
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x35dfc
xorl %ebp, %ebp
leaq 0x2b885(%rip), %rsi     # 0x615f8
leaq 0xcc(%rip), %rdx        # 0x35e46
movq %r14, %rdi
callq 0x94b0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x35d9c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x92e0
testb %bpl, %bpl
jne 0x35da6
jmp 0x35dd5
movq %rax, %rbx
movq %r14, %rdi
callq 0x9200
jmp 0x35dd5
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35dd5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x92e0
jmp 0x35dd5
jmp 0x35dd2
movq %rax, %rbx
movq 0x2c19c(%rip), %rsi     # 0x61f78
leaq 0x28(%rsp), %rdi
callq 0x9210
leaq 0xa8(%rsp), %rdi
callq 0x90e0
movq %rbx, %rdi
callq 0x94e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/translate_to_mdp.cpp
// Function: create_bool_case(bool)
mdp_with_info_t create_bool_case(bool b) {
    auto const_name = "c" + std::to_string(b);
    int current = translation_data::current_location();
    return mdp_with_info_t {
        mdp::mdp_t {
            "default",
            {},
            { mdp::constant_t{const_name, b} },
            {}
        },
        current, current,
        value_info_t {
            const_name, util::nullopt
        }
    };
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x30(%rsp), %r14
movl $0x1, %esi
movq %r14, %rdi
movl $0x2d, %edx
callq 0x9360
movq (%r14), %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0x1168b
leaq 0xb208(%rip), %rcx      # 0x4ae99
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x9330
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3fcca
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x3fcd1
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x3fd00
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x92e0
movl 0x225c1(%rip), %r14d    # 0x622c8
leaq 0x10(%rbx), %r13
movq %r13, (%rbx)
leaq 0xb0d1(%rip), %rsi      # 0x4ade6
leaq 0xb0d1(%rip), %rdx      # 0x4aded
movq %rbx, %rdi
callq 0x116f8
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movq $0x0, 0x30(%rbx)
leaq 0x30(%rsp), %rdi
movq %r12, (%rdi)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
callq 0xac68
leaq 0x30(%rsp), %rsi
movb %bpl, 0x24(%rsi)
movl $0x1, 0x20(%rsi)
leaq 0x38(%rbx), %rdi
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x37aea
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movq $0x0, 0x60(%rbx)
movl %r14d, 0x68(%rbx)
movl %r14d, 0x6c(%rbx)
leaq 0x70(%rbx), %rdi
leaq 0x80(%rbx), %rax
movq %rax, 0x70(%rbx)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
callq 0xac68
movb $0x0, 0x98(%rbx)
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0xa9fe
movq -0x20(%r14), %rdi
cmpq %r12, %rdi
je 0x3fdd2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x92e0
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x3fde9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xa7c4
leaq 0x30(%rsp), %rdi
callq 0x37b34
jmp 0x3fe46
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x37b34
jmp 0x3fe24
movq %rax, %r14
leaq 0x20(%rbx), %rdi
callq 0xa868
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x3fe46
movq (%r13), %rsi
incq %rsi
callq 0x92e0
jmp 0x3fe46
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x3fe71
movq 0x20(%rsp), %rsi
jmp 0x3fe69
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x3fe71
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %r14, %rdi
callq 0x94e0
// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/translate_to_mdp.cpp
// Function: create_var_case(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, environment_t<value_info_t> const&)
mdp_with_info_t create_var_case(std::string const& name, var_env_t const& var_env) {
    auto result_var = *var_env.lookup(name);
    result_var.name = name;
    int current = translation_data::current_location();
    return mdp_with_info_t {
        mdp::mdp_t {
            "default", {}, {}, {}
        },
        current, current,
        result_var
    };
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
movq %r14, %rdx
callq 0x403a6
movq (%r15), %r12
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xac68
movb $0x0, 0x28(%rsp)
cmpb $0x1, 0x28(%r12)
jne 0x3feda
movq 0x20(%r12), %rax
movq %rax, 0x20(%rsp)
movb $0x1, 0x28(%rsp)
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3fee9
callq 0xa946
movq %rsp, %rdi
movq %r14, %rsi
callq 0x9170
movl 0x223ce(%rip), %ebp     # 0x622c8
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xaede(%rip), %rsi      # 0x4ade6
leaq 0xaede(%rip), %rdx      # 0x4aded
movq %rbx, %rdi
callq 0x116f8
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movq $0x0, 0x60(%rbx)
movl %ebp, 0x68(%rbx)
movl %ebp, 0x6c(%rbx)
leaq 0x70(%rbx), %rdi
leaq 0x80(%rbx), %rax
movq %rax, 0x70(%rbx)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
callq 0xac68
movb $0x0, 0x98(%rbx)
cmpb $0x1, 0x28(%rsp)
jne 0x3ff79
movq 0x20(%rsp), %rax
movq %rax, 0x90(%rbx)
movb $0x1, 0x98(%rbx)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x3ff8f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xa7c4
jmp 0x3ffb1
jmp 0x3ffae
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x3ffdb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x92e0
jmp 0x3ffdb
movq %rax, %r14
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3ffdb
callq 0xa946
movq %r14, %rdi
callq 0x94e0