// File: /workspace/github_cpp_makefile_star2_O1/AshOlogn[P]ash-language-interpreter/src/errors.cpp
// Function: ParseSyntaxError::what() const
const char* ParseSyntaxError::what() const throw() {
  
  std::string str = "";
  
  if(startLineNumber == endLineNumber) {
    str.append("ParseSyntaxError error on line ");
    str.append(std::to_string(startLineNumber));
  } else {
    str.append("ParseSyntaxError error from line ");
    str.append(std::to_string(startLineNumber));
    str.append(" to ");
    str.append(std::to_string(endLineNumber));
  }
  
  str.append(":\n\t");
  str.append(context);

  if(lexeme != NULL) {
    str.append("with element ");
    str.append(lexeme);
    str.append("\n");
  }
  
  str.append(message);

  return copyString(str.c_str());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x18faa(%rip), %rdx     # 0x1e051
leaq -0x60(%rbp), %rdi
movq %rdx, %rsi
callq 0x5ce4
movl 0x20(%rbx), %eax
cmpl 0x24(%rbx), %eax
jne 0x5128
leaq 0x18f9c(%rip), %rsi     # 0x1e05e
leaq -0x60(%rbp), %rdi
callq 0x43a0
movl 0x20(%rbx), %r14d
movl $0x1, %eax
cmpl $0xa, %r14d
jb 0x5195
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %r14d, %edx
cmpl $0x63, %edx
jbe 0x5189
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x5193
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x5195
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x50eb
addl $-0x3, %eax
jmp 0x5195
leaq 0x18f4f(%rip), %rsi     # 0x1e07e
leaq -0x60(%rbp), %rdi
callq 0x43a0
movl 0x20(%rbx), %r14d
movl $0x1, %eax
cmpl $0xa, %r14d
jb 0x51d2
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %r14d, %edx
cmpl $0x63, %edx
jbe 0x518e
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x51d0
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x51d2
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x5158
addl $-0x3, %eax
jmp 0x51d2
addl $-0x2, %eax
jmp 0x5195
addl $-0x2, %eax
jmp 0x51d2
decl %eax
movl %eax, %esi
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
leaq -0x40(%rbp), %rdi
xorl %edx, %edx
callq 0x4250
movq -0x40(%rbp), %rdi
movl -0x38(%rbp), %esi
movl %r14d, %edx
callq 0x5c72
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x60(%rbp), %rdi
callq 0x40a0
jmp 0x52aa
decl %eax
movl %eax, %esi
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
leaq -0x40(%rbp), %rdi
xorl %edx, %edx
callq 0x4250
movq -0x40(%rbp), %rdi
movl -0x38(%rbp), %esi
movl %r14d, %edx
callq 0x5c72
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x60(%rbp), %rdi
callq 0x40a0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x5216
callq 0x41e0
leaq 0x1e0e9(%rip), %rsi     # 0x23306
leaq -0x60(%rbp), %rdi
callq 0x43a0
movl 0x24(%rbx), %r14d
movl $0x1, %eax
cmpl $0xa, %r14d
jb 0x527a
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %r14d, %edx
cmpl $0x63, %edx
jbe 0x5273
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x5278
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x527a
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x5242
addl $-0x3, %eax
jmp 0x527a
addl $-0x2, %eax
jmp 0x527a
decl %eax
movl %eax, %esi
leaq -0x40(%rbp), %rdi
movq %r12, (%rdi)
xorl %edx, %edx
callq 0x4250
movq -0x40(%rbp), %rdi
movl -0x38(%rbp), %esi
movl %r14d, %edx
callq 0x5c72
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x60(%rbp), %rdi
callq 0x40a0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x52b8
callq 0x41e0
leaq 0x18d8f(%rip), %rsi     # 0x1e04e
leaq -0x60(%rbp), %rdi
callq 0x43a0
movq 0x8(%rbx), %rsi
leaq -0x60(%rbp), %rdi
callq 0x43a0
cmpq $0x0, 0x10(%rbx)
je 0x5309
leaq 0x18dbd(%rip), %rsi     # 0x1e0a0
leaq -0x60(%rbp), %rdi
callq 0x43a0
movq 0x10(%rbx), %rsi
leaq -0x60(%rbp), %rdi
callq 0x43a0
leaq 0x1dc7c(%rip), %rsi     # 0x22f7c
leaq -0x60(%rbp), %rdi
callq 0x43a0
movq 0x18(%rbx), %rsi
leaq -0x60(%rbp), %rdi
callq 0x43a0
movq -0x60(%rbp), %rdi
callq 0x176b0
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x5330
callq 0x41e0
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5346
jmp 0x5362
jmp 0x5346
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x5365
callq 0x41e0
jmp 0x5365
jmp 0x5362
jmp 0x5362
movq %rax, %rbx
jmp 0x5373
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x5373
callq 0x41e0
movq %rbx, %rdi
callq 0x4270
nop