// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestImpl::GetTestCase(char const*, char const*, void (*)(), void (*)())
TestCase* UnitTestImpl::GetTestCase(const char* test_case_name,
                                    const char* type_param,
                                    Test::SetUpTestCaseFunc set_up_tc,
                                    Test::TearDownTestCaseFunc tear_down_tc) {
  // Can we find a TestCase with the given name?
  const std::vector<TestCase*>::const_iterator test_case =
      std::find_if(test_cases_.begin(), test_cases_.end(),
                   TestCaseNameIs(test_case_name));

  if (test_case != test_cases_.end())
    return *test_case;

  // No.  Let's create one.
  TestCase* const new_test_case =
      new TestCase(test_case_name, type_param, set_up_tc, tear_down_tc);

  // Is this a death test case?
  if (internal::UnitTestOptions::MatchesFilter(test_case_name,
                                               kDeathTestCaseFilter)) {
    // Yes.  Inserts the test case after the last death test case
    // defined so far.  This only works when the test cases haven't
    // been shuffled.  Otherwise we may end up running a death test
    // after a non-death test.
    ++last_death_test_case_;
    test_cases_.insert(test_cases_.begin() + last_death_test_case_,
                       new_test_case);
  } else {
    // No.  Appends to the end of the list.
    test_cases_.push_back(new_test_case);
  }

  test_case_indices_.push_back(static_cast<int>(test_case_indices_.size()));
  return new_test_case;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, 0x10(%rsp)
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movq 0xb8(%rdi), %rbp
movq 0xc0(%rdi), %r15
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x1f4d6
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xd920
leaq 0x38(%rsp), %rdx
movq %rbp, %rdi
movq %r15, %rsi
callq 0x2176a
movq %rax, %r15
leaq 0x38(%rsp), %rdi
callq 0xdd68
leaq 0x18(%rsp), %rdi
callq 0xdd68
cmpq 0xc0(%rbx), %r15
je 0x1a065
movq (%r15), %rax
jmp 0x1a12f
movl $0xf8, %edi
callq 0xd600
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r12, %rcx
movq 0x10(%rsp), %r8
callq 0x15c1a
movq %r15, 0x8(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r14, %rsi
callq 0x1f4d6
leaq 0xb8(%rbx), %r14
leaq 0x29193(%rip), %rsi     # 0x43240
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x110ec
movl %eax, %ebp
movq %r15, %rdi
callq 0xdd68
testb %bpl, %bpl
je 0x1a0f8
movslq 0x104(%rbx), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x104(%rbx)
leaq 0x8(,%rax,8), %rsi
addq 0xb8(%rbx), %rsi
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0x217e6
jmp 0x1a105
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x21850
movq 0xd8(%rbx), %rax
subq 0xd0(%rbx), %rax
leaq 0xd0(%rbx), %rdi
shrq $0x2, %rax
leaq 0x18(%rsp), %rsi
movl %eax, (%rsi)
callq 0x262be
movq 0x8(%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1a170
movq %rax, %rbx
movl $0xf8, %esi
movq %r15, %rdi
callq 0xd630
jmp 0x1a173
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xdd68
jmp 0x1a164
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xdd68
jmp 0x1a173
movq %rax, %rbx
movq %rbx, %rdi
callq 0xdbf0