// File: /workspace/github_cpp_makefile_star2_O3/pdx-cs-tutors[P]pdp/main.cpp
// Function: main
int main(int argc, char **argv) {
    std::map<std::string, std::map<std::string, BaseTestSuite*>> suites;

    suites["lll"] = {
        {"insertion", new LLLInsertionTests()},
        {"removal", new LLLRemovalTests()}
    };

    suites["cll"] = {
        {"insertion", new CLLInsertionTests()},
        {"removal", new CLLRemovalTests()}
    };

    int errored = 0;

    if (argc == 1 || strcmp(argv[1], "all") == 0) {
        for (auto suite : suites) {
            for (auto set : suite.second) {
                set.second->run();
            }
        }
    } else if (argc == 2) {
        auto it = suites.find(argv[1]);
        if (it == suites.end()) {
            print_no_match(argv[1]);
            errored = 1;
        } else {
            for (auto set : suites[argv[1]]) {
                set.second->run();
            }
        }
    } else if (argc > 2) {
        auto it = suites[argv[1]].find(argv[2]);
        if (it == suites[argv[1]].end()) {
            std::stringstream ss;
            ss << argv[1] << " " << argv[2];
            print_no_match(ss.str());
            errored = 1;
        } else {
            if (argc > 3) {
                if (!suites[argv[1]][argv[2]]->run(argv[3])) {
                    std::stringstream ss;
                    ss << argv[1] << " " << argv[2] << " " << argv[3];
                    print_no_match(ss.str());
                }
            } else {
                suites[argv[1]][argv[2]]->run();
            }
        }
    }

    for (auto const& pair : suites) {
        for (auto const& suite : suites[pair.first]) {
            if (suite.second) delete suite.second;
        }
    }

    return errored;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp            # imm = 0x2D8
movq %rsi, %r15
movl %edi, %r12d
leaq -0x88(%rbp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movl $0x98, %edi
callq 0xa5c0
movq %rax, %rbx
movq %rax, %rdi
callq 0xa070
leaq -0x210(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x2d9d(%rip), %rsi      # 0x16cb8
leaq 0x2d9f(%rip), %rdx      # 0x16cc1
leaq -0x220(%rbp), %rdi
callq 0xa220
movq %rbx, -0x200(%rbp)
movl $0x98, %edi
callq 0xa5c0
movq %rax, %rbx
movq %rax, %rdi
callq 0xa480
leaq -0x1f8(%rbp), %rdi
leaq -0x1e8(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x2d5f(%rip), %rsi      # 0x16cc2
leaq 0x2d5f(%rip), %rdx      # 0x16cc9
callq 0xa220
movq %rbx, -0x1d8(%rbp)
leaq -0x48(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x2d45(%rip), %rsi      # 0x16cca
leaq 0x2d41(%rip), %rdx      # 0x16ccd
leaq -0x58(%rbp), %rdi
callq 0xa220
leaq -0x90(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0xa8a0
leaq -0x1d0(%rbp), %rdx
leaq -0x220(%rbp), %rsi
movq %rax, %rdi
callq 0xa320
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x13fcd
callq 0xa570
xorl %ebx, %ebx
movq -0x1f8(%rbp,%rbx), %rdi
leaq (%rbx,%r13), %rax
cmpq %rdi, %rax
je 0x13fe5
callq 0xa570
addq $-0x28, %rbx
cmpq $-0x50, %rbx
jne 0x13fcf
movl $0x98, %edi
callq 0xa5c0
movq %rax, %rbx
movq %rax, %rdi
callq 0xa650
leaq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
movq %rax, (%rdi)
leaq 0x2c9c(%rip), %rsi      # 0x16cb8
leaq 0x2c9e(%rip), %rdx      # 0x16cc1
callq 0xa220
movq %rbx, -0x200(%rbp)
movl $0x98, %edi
callq 0xa5c0
movq %rax, %rbx
movq %rax, %rdi
callq 0xa7b0
leaq -0x1f8(%rbp), %rdi
movq %r13, (%rdi)
leaq 0x2c6d(%rip), %rsi      # 0x16cc2
leaq 0x2c6d(%rip), %rdx      # 0x16cc9
callq 0xa220
movq %rbx, -0x1d8(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
movq %rax, (%rdi)
leaq 0x2c54(%rip), %rsi      # 0x16cce
leaq 0x2c50(%rip), %rdx      # 0x16cd1
callq 0xa220
leaq -0x90(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0xa8a0
leaq -0x1d0(%rbp), %rdx
leaq -0x220(%rbp), %rsi
movq %rax, %rdi
callq 0xa320
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x140be
callq 0xa570
leaq -0x1e8(%rbp), %rbx
xorl %r14d, %r14d
movq -0x1f8(%rbp,%r14), %rdi
leaq (%rbx,%r14), %rax
cmpq %rdi, %rax
je 0x140de
callq 0xa570
addq $-0x28, %r14
cmpq $-0x50, %r14
jne 0x140c8
cmpl $0x1, %r12d
je 0x1426a
movq 0x8(%r15), %rbx
leaq 0x22e1(%rip), %rsi      # 0x163de
movq %rbx, %rdi
callq 0xa7a0
testl %eax, %eax
je 0x1426a
cmpl $0x2, %r12d
jne 0x1440b
leaq -0x220(%rbp), %rdi
leaq -0x58(%rbp), %rdx
movq %rbx, %rsi
callq 0xa230
leaq -0x90(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0xa7c0
movq %rax, %rbx
movq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
cmpq %rax, %rdi
je 0x14158
callq 0xa570
leaq -0x88(%rbp), %rax
cmpq %rax, %rbx
je 0x145a7
movq 0x8(%r15), %rsi
leaq -0x220(%rbp), %rdi
leaq -0x58(%rbp), %rdx
callq 0xa230
leaq -0x90(%rbp), %rdi
leaq -0x220(%rbp), %rsi
leaq -0x210(%rbp), %r15
callq 0xa8a0
movq %rax, %rbx
movq -0x220(%rbp), %rdi
cmpq %r15, %rdi
je 0x141aa
callq 0xa570
movq 0x18(%rbx), %r14
addq $0x8, %rbx
movl $0x0, -0x30(%rbp)
cmpq %rbx, %r14
je 0x14380
leaq 0x1e72(%rip), %r12      # 0x1603b
leaq -0x240(%rbp), %r13
movq %r15, -0x220(%rbp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq -0x220(%rbp), %rdi
callq 0xa240
movq 0x40(%r14), %r15
movq %r15, -0x200(%rbp)
leaq -0x230(%rbp), %rax
movq %rax, -0x240(%rbp)
movq %r13, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0xa220
movq (%r15), %rax
movq %r15, %rdi
movq %r13, %rsi
callq *0x30(%rax)
movq -0x240(%rbp), %rdi
leaq -0x230(%rbp), %rax
cmpq %rax, %rdi
leaq -0x210(%rbp), %r15
je 0x14240
callq 0xa570
movq -0x220(%rbp), %rdi
cmpq %r15, %rdi
je 0x14251
callq 0xa570
movq %r14, %rdi
callq 0xa380
movq %rax, %r14
cmpq %rbx, %rax
jne 0x141d0
jmp 0x14380
movq -0x78(%rbp), %rcx
movl $0x0, -0x30(%rbp)
leaq -0x88(%rbp), %rax
cmpq %rax, %rcx
je 0x14380
leaq -0x270(%rbp), %rbx
leaq 0x1da8(%rip), %r12      # 0x1603b
leaq -0x280(%rbp), %r14
movq %rcx, -0x98(%rbp)
leaq 0x20(%rcx), %rsi
leaq -0x220(%rbp), %rdi
callq 0xa300
movq -0x1e8(%rbp), %r15
leaq -0x1f8(%rbp), %rax
cmpq %rax, %r15
je 0x1433d
leaq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
leaq -0x58(%rbp), %rdi
callq 0xa240
movq 0x40(%r15), %r13
movq %r13, -0x38(%rbp)
movq %rbx, -0x280(%rbp)
movq %r14, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0xa220
movq (%r13), %rax
movq %r13, %rdi
movq %r14, %rsi
callq *0x30(%rax)
movq -0x280(%rbp), %rdi
cmpq %rbx, %rdi
je 0x1431b
callq 0xa570
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x1432d
callq 0xa570
movq %r15, %rdi
callq 0xa380
movq %rax, %r15
jmp 0x142b8
leaq -0x200(%rbp), %rdi
callq 0xa9d0
movq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
cmpq %rax, %rdi
je 0x14361
callq 0xa570
movq -0x98(%rbp), %rdi
callq 0xa380
movq %rax, %rcx
leaq -0x88(%rbp), %rax
cmpq %rax, %rcx
jne 0x1429a
movq -0x78(%rbp), %rbx
leaq -0x88(%rbp), %rax
cmpq %rax, %rbx
je 0x143ea
leaq -0x90(%rbp), %r14
leaq 0x20(%rbx), %rsi
movq %r14, %rdi
callq 0xa290
movq %rax, %r15
movq 0x18(%rax), %r12
addq $0x8, %r15
cmpq %r15, %r12
je 0x143d3
movq 0x40(%r12), %rdi
testq %rdi, %rdi
je 0x143c3
movq (%rdi), %rax
callq *0x8(%rax)
movq %r12, %rdi
callq 0xa380
movq %rax, %r12
cmpq %r15, %rax
jne 0x143b3
movq %rbx, %rdi
callq 0xa380
movq %rax, %rbx
leaq -0x88(%rbp), %rax
cmpq %rax, %rbx
jne 0x14397
leaq -0x90(%rbp), %rdi
callq 0xa4f0
movl -0x30(%rbp), %eax
addq $0x2d8, %rsp            # imm = 0x2D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x0, -0x30(%rbp)
cmpl $0x3, %r12d
jl 0x14380
leaq -0x220(%rbp), %rdi
leaq -0x2a(%rbp), %rdx
movq %rbx, %rsi
callq 0xa230
leaq -0x90(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0xa8a0
movq %rax, %rbx
movq 0x10(%r15), %rsi
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0xa230
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0xa640
movq %rax, %rbx
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x14477
callq 0xa570
movq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
cmpq %rax, %rdi
je 0x1448f
callq 0xa570
movq 0x8(%r15), %rsi
leaq -0x220(%rbp), %rdi
leaq -0x58(%rbp), %rdx
callq 0xa230
leaq -0x90(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0xa8a0
movq %rax, %r14
addq $0x8, %r14
movq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
cmpq %rax, %rdi
je 0x144d5
callq 0xa570
cmpq %r14, %rbx
je 0x145e8
cmpl $0x3, %r12d
jne 0x14623
movq 0x8(%r15), %rsi
leaq -0x220(%rbp), %rdi
leaq -0x2a(%rbp), %rdx
callq 0xa230
leaq -0x90(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0xa8a0
movq %rax, %rbx
movq 0x10(%r15), %rsi
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0xa230
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0xaa10
movq (%rax), %rbx
leaq -0x250(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1af7(%rip), %rdx      # 0x1603b
leaq -0x260(%rbp), %rdi
movq %rdx, %rsi
callq 0xa220
movq (%rbx), %rax
leaq -0x260(%rbp), %rsi
movq %rbx, %rdi
callq *0x30(%rax)
movq -0x260(%rbp), %rdi
cmpq %r15, %rdi
je 0x14574
callq 0xa570
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
leaq -0x210(%rbp), %rbx
je 0x1458d
callq 0xa570
movq -0x220(%rbp), %rdi
cmpq %rbx, %rdi
je 0x14380
callq 0xa570
jmp 0x14380
movq 0x8(%r15), %rsi
leaq -0x300(%rbp), %rdi
leaq -0x220(%rbp), %rdx
callq 0xa230
leaq -0x300(%rbp), %rdi
callq 0xa860
leaq -0x2f0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14869
callq 0xa570
jmp 0x14869
leaq -0x220(%rbp), %rdi
callq 0xa390
movq 0x8(%r15), %rbx
testq %rbx, %rbx
je 0x14794
movq %rbx, %rdi
callq 0xa280
leaq -0x210(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0xa690
jmp 0x147b9
movq 0x8(%r15), %rsi
leaq -0x220(%rbp), %rdi
leaq -0x2a(%rbp), %rdx
callq 0xa230
leaq -0x90(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0xa8a0
movq %rax, %rbx
movq 0x10(%r15), %rsi
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0xa230
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0xaa10
movq (%rax), %rbx
movq 0x18(%r15), %rsi
leaq -0x2c0(%rbp), %rdi
leaq -0x59(%rbp), %rdx
callq 0xa230
movq (%rbx), %rax
leaq -0x2c0(%rbp), %rsi
movq %rbx, %rdi
callq *0x30(%rax)
movl %eax, %ebx
leaq -0x2b0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x146a8
callq 0xa570
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x146ba
callq 0xa570
movq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
cmpq %rax, %rdi
je 0x146d2
callq 0xa570
testl %ebx, %ebx
jne 0x14380
leaq -0x220(%rbp), %rdi
callq 0xa390
leaq -0x210(%rbp), %rdi
movq 0x8(%r15), %rsi
callq 0xa5a0
movq %rax, %rbx
leaq 0x193a(%rip), %rsi      # 0x1603a
movl $0x1, %edx
movq %rax, %rdi
callq 0xa690
movq 0x10(%r15), %rsi
movq %rbx, %rdi
callq 0xa5a0
movq %rax, %rbx
leaq 0x1917(%rip), %rsi      # 0x1603a
movl $0x1, %edx
movq %rax, %rdi
callq 0xa690
movq 0x18(%r15), %rsi
movq %rbx, %rdi
callq 0xa5a0
leaq -0x208(%rbp), %rsi
leaq -0x2a0(%rbp), %rdi
callq 0xa880
leaq -0x2a0(%rbp), %rdi
callq 0xa860
leaq -0x290(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14770
callq 0xa570
movq 0x87f9(%rip), %rsi      # 0x1cf70
leaq -0x220(%rbp), %rdi
callq 0xa3b0
leaq -0x1a0(%rbp), %rdi
callq 0xa1d0
jmp 0x14380
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x210(%rbp), %r14
leaq (%r14,%rax), %rdi
movl -0x1f0(%rbp,%rax), %esi
orl $0x1, %esi
callq 0xa920
leaq 0x187a(%rip), %rsi      # 0x1603a
movl $0x1, %edx
movq %r14, %rdi
callq 0xa690
movq 0x10(%r15), %rbx
testq %rbx, %rbx
je 0x147f2
movq %rbx, %rdi
callq 0xa280
leaq -0x210(%rbp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0xa690
jmp 0x14816
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x210(%rbp), %rdi
addq %rax, %rdi
movl -0x1f0(%rbp,%rax), %esi
orl $0x1, %esi
callq 0xa920
leaq -0x208(%rbp), %rsi
leaq -0x2e0(%rbp), %rdi
callq 0xa880
leaq -0x2e0(%rbp), %rdi
callq 0xa860
leaq -0x2d0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1484a
callq 0xa570
movq 0x871f(%rip), %rsi      # 0x1cf70
leaq -0x220(%rbp), %rdi
callq 0xa3b0
leaq -0x1a0(%rbp), %rdi
callq 0xa1d0
movl $0x1, -0x30(%rbp)
jmp 0x14380
movq %rax, %r14
leaq -0x290(%rbp), %rax
jmp 0x148e4
jmp 0x14a69
movq %rax, %r14
leaq -0x2b0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x148ad
jmp 0x14920
movq %rax, %r14
movq -0x260(%rbp), %rdi
cmpq %r15, %rdi
je 0x14920
callq 0xa570
jmp 0x14920
jmp 0x1491d
jmp 0x1491d
jmp 0x1491d
jmp 0x1491d
jmp 0x14a48
jmp 0x14a48
jmp 0x14a48
jmp 0x14a48
jmp 0x14a69
jmp 0x14a69
movq %rax, %r14
leaq -0x2d0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1495c
callq 0xa570
jmp 0x1495c
jmp 0x14a69
jmp 0x14959
movq %rax, %r14
leaq -0x2f0(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x14a59
jmp 0x14a69
jmp 0x14a48
jmp 0x14a69
movq %rax, %r14
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
jmp 0x149c9
jmp 0x14a48
jmp 0x14a48
jmp 0x14a69
movq %rax, %r14
movq -0x220(%rbp), %rdi
cmpq %r15, %rdi
jne 0x14a5e
jmp 0x14aaa
jmp 0x14a69
movq %rax, %r14
movq 0x860d(%rip), %rsi      # 0x1cf70
leaq -0x220(%rbp), %rdi
callq 0xa3b0
leaq -0x1a0(%rbp), %rdi
callq 0xa1d0
jmp 0x14aaa
jmp 0x14a48
jmp 0x14a69
movq %rax, %r14
jmp 0x149ea
jmp 0x1499b
jmp 0x149a3
movq %rax, %r14
jmp 0x14a27
movq %rax, %r14
movq %rbx, %rdi
jmp 0x149ce
movq %rax, %r14
movq %rbx, %rdi
jmp 0x14a5e
jmp 0x14a48
jmp 0x14a69
movq %rax, %r14
movq -0x240(%rbp), %rdi
leaq -0x230(%rbp), %rax
cmpq %rax, %rdi
je 0x14a4b
callq 0xa570
jmp 0x14a4b
movq %rax, %r14
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x149ea
callq 0xa570
movq $-0x50, %rbx
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x149ff
callq 0xa570
addq $-0x28, %r13
addq $0x28, %rbx
jne 0x149f1
jmp 0x14aaa
jmp 0x14a48
jmp 0x14a69
movq %rax, %r14
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x14a27
callq 0xa570
movq $-0x50, %rbx
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x14a3c
callq 0xa570
addq $-0x28, %r13
addq $0x28, %rbx
jne 0x14a2e
jmp 0x14aaa
movq %rax, %r14
movq -0x220(%rbp), %rdi
leaq -0x210(%rbp), %rax
cmpq %rax, %rdi
je 0x14aaa
callq 0xa570
jmp 0x14aaa
jmp 0x14a69
jmp 0x14a69
movq %rax, %r14
jmp 0x14aaa
movq %rax, %r14
movq -0x280(%rbp), %rdi
cmpq %rbx, %rdi
je 0x14a8c
callq 0xa570
jmp 0x14a8c
movq %rax, %r14
jmp 0x14a9e
movq %rax, %r14
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x14a9e
callq 0xa570
leaq -0x220(%rbp), %rdi
callq 0xa580
leaq -0x90(%rbp), %rdi
callq 0xa4f0
movq %r14, %rdi
callq 0xa990