// File: /workspace/github_cpp_makefile_star2_O3/ambersun1234[P]AVL_Tree/./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_reverse_iterator test_case =
      std::find_if(test_cases_.rbegin(), test_cases_.rend(),
                   TestCaseNameIs(test_case_name));

  if (test_case != test_cases_.rend())
    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 $0x78, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, %rbx
movq 0xc0(%rdi), %rax
movq %rax, 0x50(%rsp)
movq 0xb8(%rdi), %rax
movq %rax, 0x48(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2a3b0
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xbf26
movq %rbp, 0x40(%rsp)
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x48(%rsp), %rdx
leaq 0x58(%rsp), %rcx
callq 0x2c760
movq %r13, %rbp
movq %r12, 0x38(%rsp)
movq 0x10(%rsp), %r12
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x1ffcc
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0xb8(%rbx), %r15
leaq 0x28(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x1ffee
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7480
cmpq (%r15), %r12
je 0x1fffd
movq -0x8(%r12), %rax
jmp 0x20111
movl $0xf8, %edi
callq 0x7450
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq 0x40(%rsp), %rdx
movq %rbp, %rcx
movq 0x38(%rsp), %r8
callq 0x16424
movq %r12, %rbp
movq %r12, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %r14, %rsi
callq 0x2a3b0
leaq 0x14dbd(%rip), %rsi     # 0x34e00
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xfeca
movl %eax, %r14d
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x20069
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7480
testb %r14b, %r14b
je 0x2009d
movslq 0x104(%rbx), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x104(%rbx)
leaq 0x8(,%rax,8), %rsi
addq 0xb8(%rbx), %rsi
leaq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x2c8d6
jmp 0x200c7
movq 0xc0(%rbx), %rsi
cmpq 0xc8(%rbx), %rsi
je 0x200ba
movq %rbp, (%rsi)
addq $0x8, 0xc0(%rbx)
jmp 0x200c7
leaq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x32bba
movq 0xd8(%rbx), %rsi
movq %rsi, %rax
subq 0xd0(%rbx), %rax
shrq $0x2, %rax
movl %eax, 0x18(%rsp)
cmpq 0xe0(%rbx), %rsi
je 0x200f8
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xd8(%rbx)
jmp 0x2010c
addq $0xd0, %rbx
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x3217e
movq 0x10(%rsp), %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2016b
movq %rax, %rbx
movl $0xf8, %esi
movq %r12, %rdi
jmp 0x20164
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x2014e
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x2014e
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2016e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x2016e
movq %rax, %rbx
movq %rbx, %rdi
callq 0x7960