// File: acliusBackHome[P]kamaya/dist/ParseTreeErrorHandle.cpp
// Function: ParseTree::format_error(unsigned long, unsigned long, 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&)
string ParseTree::format_error(size_t eid, size_t pid, const string & input_file, const string &error_string) {
    string ret = "";
    if (eid != (size_t)-1 && pid != (size_t)-1) {
        ret += input_file + ": In " + to_string(pid) + ": " + get_msg(pid) + "\n";
    } else {
        ret += input_file + ":\n";
    }
    ret += error_string + "\n";
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x178(%rbp)
movq %rdi, %rax
movq %rax, -0x188(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x180(%rbp)
movb $0x0, -0x31(%rbp)
leaq -0x32(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x45f0
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rdx
leaq 0x1e75e(%rip), %rsi     # 0x91826
callq 0x4450
jmp 0x730cf
leaq -0x32(%rbp), %rdi
callq 0x4380
cmpq $-0x1, -0x18(%rbp)
je 0x732eb
cmpq $-0x1, -0x20(%rbp)
je 0x732eb
movq -0x28(%rbp), %rsi
leaq 0x1e120(%rip), %rdx     # 0x91219
leaq -0xe8(%rbp), %rdi
callq 0x162a0
jmp 0x73107
movq -0x20(%rbp), %rsi
leaq -0x108(%rbp), %rdi
callq 0x15db0
jmp 0x73119
leaq -0xc8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
leaq -0x108(%rbp), %rdx
callq 0x16040
jmp 0x73135
leaq 0x19f21(%rip), %rdx     # 0x8d05d
leaq -0xa8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x15ed0
jmp 0x73151
movq -0x180(%rbp), %rsi
movq -0x20(%rbp), %rdx
leaq -0x128(%rbp), %rdi
callq 0x31c50
jmp 0x7316a
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x16040
jmp 0x73186
leaq 0x1c19c(%rip), %rdx     # 0x8f329
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x15ed0
jmp 0x7319f
movq -0x178(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x43f0
jmp 0x731b1
leaq -0x68(%rbp), %rdi
callq 0x4688
leaq -0x88(%rbp), %rdi
callq 0x4688
leaq -0x128(%rbp), %rdi
callq 0x4688
leaq -0xa8(%rbp), %rdi
callq 0x4688
leaq -0xc8(%rbp), %rdi
callq 0x4688
leaq -0x108(%rbp), %rdi
callq 0x4688
leaq -0xe8(%rbp), %rdi
callq 0x4688
jmp 0x73341
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x32(%rbp), %rdi
callq 0x4380
jmp 0x733c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x733bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x732da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x732ce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x732c2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x732b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x732aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x7329e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x4688
leaq -0x88(%rbp), %rdi
callq 0x4688
leaq -0x128(%rbp), %rdi
callq 0x4688
leaq -0xa8(%rbp), %rdi
callq 0x4688
leaq -0xc8(%rbp), %rdi
callq 0x4688
leaq -0x108(%rbp), %rdi
callq 0x4688
leaq -0xe8(%rbp), %rdi
callq 0x4688
jmp 0x733bd
movq -0x28(%rbp), %rsi
leaq 0x1ab3b(%rip), %rdx     # 0x8de31
leaq -0x148(%rbp), %rdi
callq 0x162a0
jmp 0x73304
movq -0x178(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0x43f0
jmp 0x73319
leaq -0x148(%rbp), %rdi
callq 0x4688
jmp 0x73341
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x148(%rbp), %rdi
callq 0x4688
jmp 0x733bd
movq -0x30(%rbp), %rsi
leaq 0x1bfdd(%rip), %rdx     # 0x8f329
leaq -0x168(%rbp), %rdi
callq 0x162a0
jmp 0x7335a
movq -0x178(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0x43f0
jmp 0x7336f
leaq -0x168(%rbp), %rdi
callq 0x4688
movb $0x1, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
jne 0x733ad
jmp 0x733a1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x4688
jmp 0x733bd
movq -0x178(%rbp), %rdi
callq 0x4688
movq -0x188(%rbp), %rax
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
movq -0x178(%rbp), %rdi
callq 0x4688
movq -0x40(%rbp), %rdi
callq 0x45e0
nopw %cs:(%rax,%rax)
nopl (%rax)