// File: /workspace/github_cpp_makefile_star2_O3/ChaohuiYu[P]BPlusTree/Relation.cpp
// Function: Relation<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::rangeQueryRid(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Relation<T>::rangeQueryRid(T key1, T key2) {
    cout << "Range query relation " << _relationName << " between " << key1 << " and " << key2 << ":\n";
    vector<int> ridList = _bpt.rangeQueryValue(key1, key2);
    if (ridList.empty()) {
        cout << "    No key in this range.\n";
    }
    cout << "    RID list:" << endl;
    for (auto rid : ridList) {
        cout << "    " << rid << endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8f6e(%rip), %r12      # 0xffd0
leaq 0x449e(%rip), %rsi      # 0xb507
movl $0x15, %edx
movq %r12, %rdi
callq 0x2220
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r12, %rdi
callq 0x2220
movq %rax, %r12
leaq 0x448d(%rip), %rsi      # 0xb51d
movl $0x9, %edx
movq %rax, %rdi
callq 0x2220
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x2220
movq %rax, %r12
leaq 0x4471(%rip), %rsi      # 0xb527
movl $0x5, %edx
movq %rax, %rdi
callq 0x2220
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0x2220
leaq 0x422d(%rip), %rsi      # 0xb306
movl $0x2, %edx
movq %rax, %rdi
callq 0x2220
leaq 0x48(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0x42a0
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x42a0
addq $0x50, %rbx
movq %rsp, %rdi
leaq 0x38(%rsp), %rdx
leaq 0x18(%rsp), %rcx
movq %rbx, %rsi
callq 0x9ce8
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x7151
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x7168
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21e0
movq (%rsp), %rax
cmpq 0x8(%rsp), %rax
jne 0x718b
movq 0x8e56(%rip), %rdi      # 0xffd0
leaq 0x43ac(%rip), %rsi      # 0xb52d
movl $0x1a, %edx
callq 0x2220
movq 0x8e3e(%rip), %rbx      # 0xffd0
leaq 0x43af(%rip), %rsi      # 0xb548
movl $0xd, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0x8e0c(%rip), %rdi      # 0xffd0
callq 0x2040
movq %rax, %rdi
callq 0x2140
movq (%rsp), %rbx
movq 0x8(%rsp), %r13
cmpq %r13, %rbx
je 0x7240
movq 0x8dea(%rip), %r14      # 0xffd0
leaq 0x4369(%rip), %r15      # 0xb556
movl (%rbx), %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2220
movq %r14, %rdi
movl %ebp, %esi
callq 0x22c0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2140
addq $0x4, %rbx
cmpq %r13, %rbx
jne 0x71ed
movq (%rsp), %rbx
testq %rbx, %rbx
je 0x7255
movq 0x10(%rsp), %rsi
subq %rbx, %rsi
movq %rbx, %rdi
callq 0x21e0
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x7283
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21e0
jmp 0x7283
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x72b2
movq 0x48(%rsp), %rsi
incq %rsi
jmp 0x72ad
jmp 0x7299
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x72b2
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x21e0
movq %rbx, %rdi
callq 0x22e0