// File: /workspace/github_cpp_makefile_star2_O1/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 0x12998
movl $0x10, %edi
callq 0x4170
movq %rax, %rbx
leaq 0x8e73(%rip), %rsi      # 0x1b7ed
movq %rax, %rdi
callq 0x4450
movq 0x10617(%rip), %rsi     # 0x22fa0
movq 0x105d8(%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 0xf530
leaq -0xa8(%rbp), %rsi
movq %rbx, %rdi
callq 0x12838
movq -0xa8(%rbp), %rdi
cmpq %r14, %rdi
je 0x129ea
callq 0x4280
movl $0x8, %edi
callq 0x4170
leaq 0x8e2e(%rip), %rcx      # 0x1b829
movq %rcx, (%rax)
movq 0x10543(%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 0x12a44
callq 0x4280
jmp 0x12a44
movq %rax, %r12
movq %rbx, %rdi
callq 0x4220
movq %r12, %rdi
callq 0x4490
movq %rdx, %r14
movq %rax, %r12
cmpl $0x1, %r14d
jne 0x12a36
movq %r12, %rdi
callq 0x4350
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x4420
movq 0x104f8(%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 0xf530
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0xf530
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 0x1774a
leaq -0x100(%rbp), %rsi
movq %rbx, %rdi
callq 0x189d8
leaq -0xc8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12afc
callq 0x4280
leaq -0xe8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12b11
callq 0x4280
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x12b1f
callq 0x4280
movq -0x88(%rbp), %rdi
cmpq %r14, %rdi
je 0x12b30
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 0x17842
jmp 0x12b64
movq %rax, %r12
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x12b77
callq 0x4280
jmp 0x12b77
movq %rax, %r12
movq -0x88(%rbp), %rdi
cmpq %r14, %rdi
je 0x12b8d
callq 0x4280
jmp 0x12b8d
movq %rax, %r12
leaq -0x48(%rbp), %rdi
callq 0x44f0
callq 0x4410
jmp 0x12a36
movq %rax, %rdi
callq 0xf38c