// File: /workspace/github_cpp_makefile_star2_O1/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 0x8f2c(%rip), %r12      # 0xffd0
leaq 0x445c(%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 0x444b(%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 0x442f(%rip), %rsi      # 0xb527
movl $0x5, %edx
movq %rax, %rdi
callq 0x2220
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0x2220
leaq 0x41eb(%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 0x42ae
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x42ae
addq $0x50, %rbx
movq %rsp, %rdi
leaq 0x38(%rsp), %rdx
leaq 0x18(%rsp), %rcx
movq %rbx, %rsi
callq 0x9d3a
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x7193
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x71aa
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21e0
movq (%rsp), %rax
cmpq 0x8(%rsp), %rax
jne 0x71cd
movq 0x8e14(%rip), %rdi      # 0xffd0
leaq 0x436a(%rip), %rsi      # 0xb52d
movl $0x1a, %edx
callq 0x2220
movq 0x8dfc(%rip), %rbx      # 0xffd0
leaq 0x436d(%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 0x8dca(%rip), %rdi      # 0xffd0
callq 0x2040
movq %rax, %rdi
callq 0x2140
movq (%rsp), %r12
movq 0x8(%rsp), %r13
cmpq %r13, %r12
je 0x7280
movq 0x8da8(%rip), %rbx      # 0xffd0
leaq 0x4327(%rip), %r14      # 0xb556
movl (%r12), %ebp
movl $0x4, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2220
movq %rbx, %rdi
movl %ebp, %esi
callq 0x22c0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2140
addq $0x4, %r12
cmpq %r13, %r12
jne 0x722f
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x7296
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
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 0x72c4
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21e0
jmp 0x72c4
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x72f3
movq 0x48(%rsp), %rsi
incq %rsi
jmp 0x72ee
jmp 0x72da
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x72f3
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x21e0
movq %rbx, %rdi
callq 0x22e0
nop