// File: /workspace/github_cpp_makefile_star2_O1/eecs280staff[P]unit_test_framework/./unit_test_framework.hpp
// Function: unit_test_framework::TestSuite::run_tests(int, char**)
int run_tests(int argc, char** argv) {
      SetComplete completer(TestSuite::incomplete);
      std::vector<std::string> test_names_to_run;
      try {
        test_names_to_run = get_test_names_to_run(argc, argv);
      }
      catch (ExitSuite& e) {
        return e.status;
      }

      for (auto test_name : test_names_to_run) {
        if (tests_.find(test_name) == end(tests_)) {
          throw std::runtime_error("Test " + test_name + " not found");
        }
      }

      for (auto test_name : test_names_to_run) {
        tests_.at(test_name).run(quiet_mode);
      }

      std::cout << "\n*** Results ***" << std::endl;
      for (auto test_name : test_names_to_run) {
        tests_.at(test_name).print(quiet_mode);
      }

      auto num_failures =
        std::count_if(tests_.begin(), tests_.end(),
                      [](std::pair<std::string, TestCase> test_pair) {
                        return not test_pair.second.failure_msg.empty();
                      });
      auto num_errors =
        std::count_if(tests_.begin(), tests_.end(),
                      [](std::pair<std::string, TestCase> test_pair) {
                        return not test_pair.second.exception_msg.empty();
                      });

      if (not quiet_mode) {
        std::cout << "*** Summary ***" << std::endl;
        std::cout << "Out of " << test_names_to_run.size()
                  << " tests run:" << std::endl;
        std::cout << num_failures << " failure(s), " << num_errors
                  << " error(s)" << std::endl;
      }

      if (num_failures == 0 and num_errors == 0) {
        return 0;
      }
      return 1;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rbx
movb $0x1, 0x5a8f(%rip)      # 0x81ea
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
leaq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x3418
movq %rsp, %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movaps 0x20(%rsp), %xmm0
movq 0x30(%rsp), %rax
leaq 0x38(%rsp), %r14
movups (%r14), %xmm1
movaps %xmm1, 0x20(%rsp)
movq 0x10(%r14), %rcx
movq %rcx, 0x30(%rsp)
movaps (%rdi), %xmm1
movaps %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
movups %xmm1, (%r14)
movq $0x0, 0x10(%r14)
callq 0x38c0
movq %r14, %rdi
callq 0x38c0
movq 0x20(%rsp), %r12
movq 0x28(%rsp), %r13
cmpq %r13, %r12
je 0x282c
leaq 0x10(%rsp), %r15
leaq 0x8(%rbx), %rbp
movq %rsp, %r14
movq %r15, (%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x31fa
movq %rbx, %rdi
movq %r14, %rsi
callq 0x440c
cmpq %rbp, %rax
je 0x2ab3
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2823
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
addq $0x20, %r12
cmpq %r13, %r12
jne 0x27e1
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %r13
cmpq %r13, %r15
je 0x288f
leaq 0x10(%rsp), %r12
movq %rsp, %r14
movq %r12, (%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x31fa
movq %rbx, %rdi
movq %r14, %rsi
callq 0x39a4
movzbl 0x30(%rbx), %esi
movq %rax, %rdi
callq 0x39f8
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2886
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
addq $0x20, %r15
cmpq %r13, %r15
jne 0x2843
movq 0x5732(%rip), %r14      # 0x7fc8
leaq 0x2825(%rip), %rsi      # 0x50c2
movl $0x10, %edx
movq %r14, %rdi
callq 0x2230
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x5700(%rip), %rdi      # 0x7fc8
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %r13
cmpq %r13, %r15
je 0x2938
leaq 0x10(%rsp), %r12
movq %rsp, %r14
movq %r12, (%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x31fa
movq %rbx, %rdi
movq %r14, %rsi
callq 0x39a4
movzbl 0x30(%rbx), %esi
movq %rax, %rdi
callq 0x3d12
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x292f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
addq $0x20, %r15
cmpq %r13, %r15
jne 0x28ec
movq 0x18(%rbx), %rdi
leaq 0x8(%rbx), %r15
movq %r15, %rsi
callq 0x464f
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0x4738
movq %rax, %r15
cmpb $0x0, 0x30(%rbx)
jne 0x2a89
movq 0x565d(%rip), %rbx      # 0x7fc8
leaq 0x2761(%rip), %rsi      # 0x50d3
movl $0xf, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x562b(%rip), %rdi      # 0x7fc8
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x5617(%rip), %rdi      # 0x7fc8
leaq 0x272b(%rip), %rsi      # 0x50e3
movl $0x7, %edx
callq 0x2230
movq 0x28(%rsp), %rsi
subq 0x20(%rsp), %rsi
sarq $0x5, %rsi
movq 0x55f1(%rip), %rdi      # 0x7fc8
callq 0x2140
movq %rax, %rbx
leaq 0x2705(%rip), %rsi      # 0x50eb
movl $0xb, %edx
movq %rax, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x55a7(%rip), %rdi      # 0x7fc8
movq %r14, %rsi
callq 0x21d0
movq %rax, %rbx
leaq 0x26c4(%rip), %rsi      # 0x50f7
movl $0xd, %edx
movq %rax, %rdi
callq 0x2230
movq %rbx, %rdi
movq %r15, %rsi
callq 0x21d0
movq %rax, %rbx
leaq 0x26b0(%rip), %rsi      # 0x5105
movl $0x9, %edx
movq %rax, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
xorl %ebx, %ebx
orq %r14, %r15
setne %bl
leaq 0x20(%rsp), %rdi
callq 0x38c0
movb $0x0, 0x5748(%rip)      # 0x81ea
movl %ebx, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x2100
movq %rax, %r14
leaq 0x25ea(%rip), %rsi      # 0x50b1
leaq 0x58(%rsp), %rdi
movq %rsp, %rdx
callq 0x391b
leaq 0x25dc(%rip), %rsi      # 0x50b7
leaq 0x58(%rsp), %rdi
callq 0x2350
leaq 0x48(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2b08
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x2b15
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
movq 0x8(%rax), %rdx
leaq 0x38(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %r14, %rdi
callq 0x22e0
xorl %ebp, %ebp
movq 0x54ab(%rip), %rsi      # 0x7ff0
movq 0x546c(%rip), %rdx      # 0x7fb8
movq %r14, %rdi
callq 0x2310
jmp 0x2bd5
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x2c03
movq %rbx, %rdi
callq 0x20d0
movl 0x8(%rax), %ebx
callq 0x22f0
jmp 0x2a91
jmp 0x2bd5
jmp 0x2bd5
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x2b9d
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x2b9d
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2bc2
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x2bc2
jmp 0x2bd5
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x2bdd
movq %r14, %rdi
callq 0x2180
jmp 0x2bdd
jmp 0x2bd5
jmp 0x2bd5
movq %rax, %rbx
jmp 0x2c03
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x2bf6
jmp 0x2c03
jmp 0x2bea
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2c03
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x20(%rsp), %rdi
callq 0x38c0
movb $0x0, 0x55d6(%rip)      # 0x81ea
movq %rbx, %rdi
callq 0x2330