// File: /workspace/github_cpp_makefile_star2_O2/sighingnow[P]compile-pascal/./libparsec/combinator.hpp
// Function: chainl<parser_t<pl0_ast_factor*>, parser_t<pl0_ast_multop*>, pl0_ast_factor*, pl0_ast_multop*>::operator()[abi:cxx11](input_t*) const
tuple<int, parser_type const, string const> operator () (input_t *text) const {
        auto result = parser_type();
        int length = 0;
        
        auto res1 = p(text);
        if (std::get<0>(res1) == -1) { // parser the first left value.
            return make_tuple(-1, result, name());
        }
        length = std::get<0>(res1);
        text = text->drop(std::get<0>(res1));
        element_type e = element_type();
        e.second = std::get<1>(res1);
        result.emplace_back(e);
        
        // parser the other values.
        while (!text->empty()) {
            auto res = (op + p)(text);
            if (std::get<0>(res) == -1) {
                break;
            }
            length += std::get<0>(res);
            text = text->drop(std::get<0>(res));
            result.emplace_back(std::get<1>(res));
        }

        // finish.
        return make_tuple(length, result, name());
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdx, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x68(%rsp), %rdi
movq %rsi, 0x8(%rsp)
callq 0x30d7e
movl 0x90(%rsp), %ebp
cmpl $-0x1, %ebp
je 0x1419e
leaq 0x90(%rsp), %rsi
movq %rbx, %rdi
callq 0x10b60
movq %rax, %r15
movq %r14, 0x28(%rsp)
leaq 0x98(%rsp), %rsi
andq $0x0, (%rsi)
movq 0x88(%rsp), %rax
movq %rax, 0x8(%rsi)
leaq 0x10(%rsp), %rdi
callq 0x30e5e
movq 0x8(%rsp), %rax
leaq 0x48(%rax), %r12
leaq 0xa8(%rsp), %rbx
leaq 0x30(%rsp), %r13
cmpq $0x0, 0x18(%r15)
je 0x14166
movq %rbx, %rdi
movq %r12, %rsi
movq 0x8(%rsp), %rdx
callq 0x313a0
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x30e96
movq %rbx, %rdi
callq 0x3110c
movl 0x60(%rsp), %r14d
cmpl $-0x1, %r14d
je 0x14158
movq %r15, %rdi
leaq 0x60(%rsp), %rsi
callq 0x10b60
movq %rax, %r15
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x31122
addl %r14d, %ebp
movq %r13, %rdi
callq 0x5120
cmpl $-0x1, %r14d
jne 0x140fe
leaq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x30e16
leaq 0xa8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x31208
movq 0x28(%rsp), %r14
leaq 0xa8(%rsp), %rbx
movl %ebp, 0x38(%rbx)
jmp 0x141d0
leaq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x30e16
leaq 0xa8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x31208
leaq 0xa8(%rsp), %rbx
orl $-0x1, 0x38(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x30e38
movq %rbx, %rdi
callq 0x30e48
leaq 0x30(%rsp), %rdi
callq 0x5120
leaq 0x68(%rsp), %rdi
callq 0x5120
leaq 0x10(%rsp), %rdi
callq 0x1ac22
movq %r14, %rax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1423e
jmp 0x14227
jmp 0x1423e
jmp 0x14227
jmp 0x14227
jmp 0x14227
movq %rax, %rbx
jmp 0x14255
movq %rax, %rbx
jmp 0x1424b
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x3110c
jmp 0x1424b
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x5120
leaq 0x68(%rsp), %rdi
callq 0x5120
leaq 0x10(%rsp), %rdi
callq 0x1ac22
movq %rbx, %rdi
callq 0x53f0
nop