// File: mahdibohloul[P]SnapTrip/./API/Result/Result.cpp
// Function: API::Result::get_reservations_info[abi:cxx11]()
string API::Result::get_reservations_info()
{
    ostringstream os;
    string delim = ConstNames::Empty_Str;
    for(auto reserve_itr = reservations.begin(); reserve_itr != reservations.end(); reserve_itr++)
    {
        pair<int, int> reserved_days = (*reserve_itr)->get_reserved_days();
        os << delim << ConstNames::ID << ConstNames::Colon << ConstNames::Space << (*reserve_itr)->get_reserve_id() << ConstNames::Space;
        os << ConstNames::Hotel << ConstNames::Colon << ConstNames::Space << (*reserve_itr)->get_hotel_reserved_id() << ConstNames::Space;
        os << ConstNames::Room << ConstNames::Colon << ConstNames::Space << (*reserve_itr)->get_type_of_reserved_rooms() << ConstNames::Space;
        os << ConstNames::Quantity << ConstNames::Colon << ConstNames::Space << (*reserve_itr)->get_quantity_of_reserves() << ConstNames::Space;
        os << ConstNames::Cost << ConstNames::Colon << ConstNames::Space << (*reserve_itr)->get_cost_of_reserves() << ConstNames::Space;
        os << ConstNames::Check_In << ConstNames::Space << reserved_days.first << ConstNames::Space;
        os << ConstNames::Check_Out << ConstNames::Space << reserved_days.second;
        delim = ConstNames::New_Line;
    }
    return os.str() + ConstNames::New_Line;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x360, %rsp            # imm = 0x360
movq %rdi, -0x250(%rbp)
movq %rdi, %rax
movq %rax, -0x248(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x240(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x65b0
leaq 0x6aabe(%rip), %rsi     # 0x118a70
leaq -0x1a8(%rbp), %rdi
callq 0x61d0
jmp 0xadfc0
movq -0x240(%rbp), %rdi
addq $0x50, %rdi
callq 0x69c60
movq %rax, -0x1c0(%rbp)
movq -0x240(%rbp), %rdi
addq $0x50, %rdi
callq 0x57810
movq %rax, -0x1c8(%rbp)
leaq -0x1c0(%rbp), %rdi
leaq -0x1c8(%rbp), %rsi
callq 0x69c90
testb $0x1, %al
jne 0xae00a
jmp 0xae4d1
leaq -0x1c0(%rbp), %rdi
callq 0x69cc0
movq (%rax), %rdi
callq 0x64130
movq %rax, -0x258(%rbp)
jmp 0xae027
movq -0x258(%rbp), %rax
movq %rax, -0x1d0(%rbp)
leaq -0x188(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
callq 0x63d0
movq %rax, -0x260(%rbp)
jmp 0xae051
movq -0x260(%rbp), %rdi
leaq 0x6af11(%rip), %rsi     # 0x118f70
callq 0x63d0
movq %rax, -0x268(%rbp)
jmp 0xae06d
movq -0x268(%rbp), %rdi
leaq 0x6aa75(%rip), %rsi     # 0x118af0
callq 0x63d0
movq %rax, -0x270(%rbp)
jmp 0xae089
movq -0x270(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x278(%rbp)
jmp 0xae0a3
leaq -0x1c0(%rbp), %rdi
callq 0x69cc0
movq (%rax), %rdi
callq 0x640b0
movl %eax, -0x27c(%rbp)
jmp 0xae0bf
movl -0x27c(%rbp), %esi
movq -0x278(%rbp), %rdi
callq 0x6730
movq %rax, -0x288(%rbp)
jmp 0xae0da
movq -0x288(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
jmp 0xae0ed
leaq 0x6b23c(%rip), %rsi     # 0x119330
leaq -0x188(%rbp), %rdi
callq 0x63d0
movq %rax, -0x290(%rbp)
jmp 0xae109
movq -0x290(%rbp), %rdi
leaq 0x6a9d9(%rip), %rsi     # 0x118af0
callq 0x63d0
movq %rax, -0x298(%rbp)
jmp 0xae125
movq -0x298(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x2a0(%rbp)
jmp 0xae13f
leaq -0x1c0(%rbp), %rdi
callq 0x69cc0
movq (%rax), %rsi
leaq -0x1f0(%rbp), %rdi
callq 0x640c0
jmp 0xae15c
movq -0x2a0(%rbp), %rdi
leaq -0x1f0(%rbp), %rsi
callq 0x63d0
movq %rax, -0x2a8(%rbp)
jmp 0xae178
movq -0x2a8(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
jmp 0xae18b
leaq -0x1f0(%rbp), %rdi
callq 0x6828
leaq 0x6aed2(%rip), %rsi     # 0x119070
leaq -0x188(%rbp), %rdi
callq 0x63d0
movq %rax, -0x2b0(%rbp)
jmp 0xae1b3
movq -0x2b0(%rbp), %rdi
leaq 0x6a92f(%rip), %rsi     # 0x118af0
callq 0x63d0
movq %rax, -0x2b8(%rbp)
jmp 0xae1cf
movq -0x2b8(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x2c0(%rbp)
jmp 0xae1e9
leaq -0x1c0(%rbp), %rdi
callq 0x69cc0
movq (%rax), %rsi
leaq -0x210(%rbp), %rdi
callq 0x64160
jmp 0xae206
movq -0x2c0(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0x63d0
movq %rax, -0x2c8(%rbp)
jmp 0xae222
movq -0x2c8(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
jmp 0xae235
leaq -0x210(%rbp), %rdi
callq 0x6828
leaq 0x6b068(%rip), %rsi     # 0x1192b0
leaq -0x188(%rbp), %rdi
callq 0x63d0
movq %rax, -0x2d0(%rbp)
jmp 0xae25d
movq -0x2d0(%rbp), %rdi
leaq 0x6a885(%rip), %rsi     # 0x118af0
callq 0x63d0
movq %rax, -0x2d8(%rbp)
jmp 0xae279
movq -0x2d8(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x2e0(%rbp)
jmp 0xae293
leaq -0x1c0(%rbp), %rdi
callq 0x69cc0
movq (%rax), %rdi
callq 0x640f0
movl %eax, -0x2e4(%rbp)
jmp 0xae2af
movl -0x2e4(%rbp), %esi
movq -0x2e0(%rbp), %rdi
callq 0x6730
movq %rax, -0x2f0(%rbp)
jmp 0xae2ca
movq -0x2f0(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
jmp 0xae2dd
leaq 0x6b02c(%rip), %rsi     # 0x119310
leaq -0x188(%rbp), %rdi
callq 0x63d0
movq %rax, -0x2f8(%rbp)
jmp 0xae2f9
movq -0x2f8(%rbp), %rdi
leaq 0x6a7e9(%rip), %rsi     # 0x118af0
callq 0x63d0
movq %rax, -0x300(%rbp)
jmp 0xae315
movq -0x300(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x308(%rbp)
jmp 0xae32f
leaq -0x1c0(%rbp), %rdi
callq 0x69cc0
movq (%rax), %rdi
callq 0x64110
fstpt -0x314(%rbp)
jmp 0xae34b
movq -0x308(%rbp), %rdi
fldt -0x314(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq 0x6510
movq %rax, -0x320(%rbp)
jmp 0xae36b
movq -0x320(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
jmp 0xae37e
leaq 0x6af4b(%rip), %rsi     # 0x1192d0
leaq -0x188(%rbp), %rdi
callq 0x63d0
movq %rax, -0x328(%rbp)
jmp 0xae39a
movq -0x328(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x330(%rbp)
jmp 0xae3b4
movq -0x330(%rbp), %rdi
movl -0x1d0(%rbp), %esi
callq 0x6730
movq %rax, -0x338(%rbp)
jmp 0xae3cf
movq -0x338(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
jmp 0xae3e2
leaq 0x6af07(%rip), %rsi     # 0x1192f0
leaq -0x188(%rbp), %rdi
callq 0x63d0
movq %rax, -0x340(%rbp)
jmp 0xae3fe
movq -0x340(%rbp), %rdi
movl $0x20, %esi
callq 0x6520
movq %rax, -0x348(%rbp)
jmp 0xae418
movq -0x348(%rbp), %rdi
movl -0x1cc(%rbp), %esi
callq 0x6730
jmp 0xae42c
leaq 0x6a67d(%rip), %rsi     # 0x118ab0
leaq -0x1a8(%rbp), %rdi
callq 0x6060
jmp 0xae441
jmp 0xae443
leaq -0x1c0(%rbp), %rdi
xorl %esi, %esi
callq 0x69ce0
movq %rax, -0x218(%rbp)
jmp 0xadfd7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b0(%rbp)
movl %eax, -0x1b4(%rbp)
jmp 0xae560
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b0(%rbp)
movl %eax, -0x1b4(%rbp)
jmp 0xae554
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b0(%rbp)
movl %eax, -0x1b4(%rbp)
leaq -0x1f0(%rbp), %rdi
callq 0x6828
jmp 0xae554
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b0(%rbp)
movl %eax, -0x1b4(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x6828
jmp 0xae554
leaq -0x238(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x6460
jmp 0xae4e6
movq -0x250(%rbp), %rdi
leaq 0x6a5bc(%rip), %rdx     # 0x118ab0
leaq -0x238(%rbp), %rsi
callq 0xb0560
jmp 0xae502
leaq -0x238(%rbp), %rdi
callq 0x6828
leaq -0x1a8(%rbp), %rdi
callq 0x6828
leaq -0x188(%rbp), %rdi
callq 0x60f0
movq -0x248(%rbp), %rax
addq $0x360, %rsp            # imm = 0x360
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b0(%rbp)
movl %eax, -0x1b4(%rbp)
leaq -0x238(%rbp), %rdi
callq 0x6828
leaq -0x1a8(%rbp), %rdi
callq 0x6828
leaq -0x188(%rbp), %rdi
callq 0x60f0
movq -0x1b0(%rbp), %rdi
callq 0x6750
nopl (%rax,%rax)