// File: /workspace/github_cpp_makefile_star2_O3/Karunika[P]Taxi_Agency_OODB/./src/TaxiAgency.cpp
// Function: TaxiAgency::insert_new_taxi_breed(bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int)
void TaxiAgency::insert_new_taxi_breed(bool hybrid, string id, string manufacturer, int fare_amount, int number){
    if(taxies.size() == GarageLimit+1)
        throw range_error("The limit of garage is reached. Need to upgrade the Agency!");
    try{
        retrieve_taxi_by_id(id);
        throw ("Taxi with the provided id already exist. Id should be unique.");
    }catch(invalid_argument){
        taxies.push_back(Taxi(hybrid, id, manufacturer, fare_amount, number, number));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %r13
movq 0x8(%rdi), %rax
subq (%rdi), %rax
sarq $0x3, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rax, %rcx
movslq 0x7c(%rdi), %rax
incq %rax
cmpq %rax, %rcx
jne 0x128a6
movl $0x10, %edi
callq 0x4170
movq %rax, %rbx
leaq 0x8f65(%rip), %rsi      # 0x1b7ed
movq %rax, %rdi
callq 0x4450
movq 0x10709(%rip), %rsi     # 0x22fa0
movq 0x106ca(%rip), %rdx     # 0x22f68
movq %rbx, %rdi
callq 0x4440
movq %rdx, %r15
movq %rdi, %rbx
movl %esi, -0x2c(%rbp)
movl %r8d, -0x30(%rbp)
movl %r9d, -0x34(%rbp)
leaq -0x98(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq -0xa8(%rbp), %rdi
callq 0xf492
leaq -0xa8(%rbp), %rsi
movq %rbx, %rdi
callq 0x12776
movq -0xa8(%rbp), %rdi
cmpq %r14, %rdi
je 0x128f8
callq 0x4280
movl $0x8, %edi
callq 0x4170
leaq 0x8f20(%rip), %rcx      # 0x1b829
movq %rcx, (%rax)
movq 0x10635(%rip), %rsi     # 0x22f48
movq %rax, %rdi
xorl %edx, %edx
callq 0x4440
movq %r14, %rcx
movq %rdx, %r14
movq %rax, %r12
movq -0xa8(%rbp), %rdi
cmpq %rcx, %rdi
je 0x12952
callq 0x4280
jmp 0x12952
movq %rax, %r12
movq %rbx, %rdi
callq 0x4220
movq %r12, %rdi
callq 0x4490
movq %rdx, %r14
movq %rax, %r12
cmpl $0x1, %r14d
jne 0x12944
movq %r12, %rdi
callq 0x4350
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x4420
movq 0x105ea(%rip), %rax     # 0x22f60
addq $0x10, %rax
movq %rax, (%r14)
movq %r12, %rdi
callq 0x4150
leaq -0x78(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x88(%rbp), %rdi
callq 0xf492
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0xf492
movl -0x34(%rbp), %r9d
movl %r9d, (%rsp)
movzbl -0x2c(%rbp), %esi
leaq -0x100(%rbp), %rdi
leaq -0x88(%rbp), %rdx
leaq -0x68(%rbp), %rcx
movl -0x30(%rbp), %r8d
callq 0x17570
leaq -0x100(%rbp), %rsi
movq %rbx, %rdi
callq 0x187e4
leaq -0xc8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12a0a
callq 0x4280
leaq -0xe8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12a1f
callq 0x4280
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x12a2d
callq 0x4280
movq -0x88(%rbp), %rdi
cmpq %r14, %rdi
je 0x12a3e
callq 0x4280
leaq -0x48(%rbp), %rdi
callq 0x44f0
callq 0x4410
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
leaq -0x100(%rbp), %rdi
callq 0x17668
jmp 0x12a72
movq %rax, %r12
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x12a85
callq 0x4280
jmp 0x12a85
movq %rax, %r12
movq -0x88(%rbp), %rdi
cmpq %r14, %rdi
je 0x12a9b
callq 0x4280
jmp 0x12a9b
movq %rax, %r12
leaq -0x48(%rbp), %rdi
callq 0x44f0
callq 0x4410
jmp 0x12944
movq %rax, %rdi
callq 0xf2ea