// File: /workspace/github_cpp_makefile_star2_O3/Merulo[P]CompilerJFTT/src/SymbolTable.cpp
// Function: SymbolTable::checkConstTableAccess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long long)
std::string SymbolTable::checkConstTableAccess(std::string tableName, unsigned long long value)
{
    auto table = _tables[tableName];
    if (value < table.beginIndex)
    {
        return std::to_string(value) + " out of lower bound of " + tableName;
    }
    if (value > table.endIndex)
    {
        return std::to_string(value) + " out of upper bound of " + tableName;
    }

    return "";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x70(%rsi), %rdi
movq %rdx, %rsi
callq 0x1b324
cmpq %r15, 0x8(%rax)
jbe 0x1ad0e
movl $0x1, %esi
cmpq $0xa, %r15
jb 0x1ad9f
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x1ad98
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x1ad9d
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x1ad9f
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x1acc9
addl $-0x3, %esi
jmp 0x1ad9f
cmpq %r15, 0x10(%rax)
jae 0x1ad7a
movl $0x1, %esi
cmpq $0xa, %r15
jb 0x1ae38
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x1ae31
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x1ae36
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x1ae38
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x1ad35
addl $-0x3, %esi
jmp 0x1ae38
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x1c35b(%rip), %rdx     # 0x370e3
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x53cc
jmp 0x1af31
addl $-0x2, %esi
jmp 0x1ad9f
decl %esi
movl %esi, %esi
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
xorl %edx, %edx
callq 0x4330
movq (%r12), %rdi
movl 0x8(%r12), %esi
movq %r15, %rdx
callq 0x19d66
leaq 0x1c67d(%rip), %rsi     # 0x3744e
movq %r12, %rdi
callq 0x4510
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1adff
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1ae06
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x40f0
jmp 0x1aec5
addl $-0x2, %esi
jmp 0x1ae38
decl %esi
movl %esi, %esi
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
xorl %edx, %edx
callq 0x4330
movq (%r12), %rdi
movl 0x8(%r12), %esi
movq %r15, %rdx
callq 0x19d66
leaq 0x1c5fc(%rip), %rsi     # 0x37466
movq %r12, %rdi
callq 0x4510
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ae98
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1ae9f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x40f0
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x1aee7
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x1aeed
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1af1a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42a0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x1af31
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x1af46
jmp 0x1af61
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1af64
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x1af64
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x1af7b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x44c0
nop