// File: /workspace/github_cpp_makefile_star2_O3/ambersun1234[P]AVL_Tree/./googletest/googletest/src/gtest-death-test.cc
// Function: testing::internal::DefaultDeathTestFactory::Create(char const*, testing::internal::RE const*, char const*, int, testing::internal::DeathTest**)
bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex,
                                     const char* file, int line,
                                     DeathTest** test) {
  UnitTestImpl* const impl = GetUnitTestImpl();
  const InternalRunDeathTestFlag* const flag =
      impl->internal_run_death_test_flag();
  const int death_test_index = impl->current_test_info()
      ->increment_death_test_count();

  if (flag != NULL) {
    if (death_test_index > flag->index()) {
      DeathTest::set_last_death_test_message(
          "Death test count (" + StreamableToString(death_test_index)
          + ") somehow exceeded expected maximum ("
          + StreamableToString(flag->index()) + ")");
      return false;
    }

    if (!(flag->file() == file && flag->line() == line &&
          flag->index() == death_test_index)) {
      *test = NULL;
      return true;
    }
  }

# if GTEST_OS_WINDOWS

  if (GTEST_FLAG(death_test_style) == "threadsafe" ||
      GTEST_FLAG(death_test_style) == "fast") {
    *test = new WindowsDeathTest(statement, regex, file, line);
  }

# elif GTEST_OS_FUCHSIA

  if (GTEST_FLAG(death_test_style) == "threadsafe" ||
      GTEST_FLAG(death_test_style) == "fast") {
    *test = new FuchsiaDeathTest(statement, regex, file, line);
  }

# else

  if (GTEST_FLAG(death_test_style) == "threadsafe") {
    *test = new ExecDeathTest(statement, regex, file, line);
  } else if (GTEST_FLAG(death_test_style) == "fast") {
    *test = new NoExecDeathTest(statement, regex);
  }

# endif  // GTEST_OS_WINDOWS

  else {  // NOLINT - this is more readable than unbalanced brackets inside #if.
    DeathTest::set_last_death_test_message(
        "Unknown death test style \"" + GTEST_FLAG(death_test_style)
        + "\" encountered");
    return false;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, %rbx
movl %r8d, %ebp
movq %rcx, %r13
movq %rdx, 0x48(%rsp)
movq %rsi, %r12
callq 0xe8fa
movq 0x22b06(%rip), %rax     # 0x498b8
movq 0x1d0(%rax), %r14
movq 0x110(%rax), %rcx
movl 0xf8(%rcx), %eax
leal 0x1(%rax), %r15d
movl %r15d, 0xf8(%rcx)
movl %r15d, 0x44(%rsp)
testq %r14, %r14
je 0x26e0c
cmpl 0x24(%r14), %eax
jge 0x26e98
movq %r14, %rdi
movq %r13, %rsi
callq 0x7140
testl %eax, %eax
jne 0x26ef6
cmpl %ebp, 0x20(%r14)
jne 0x26ef6
cmpl %r15d, 0x24(%r14)
jne 0x26ef6
leaq 0x22ad5(%rip), %rdi     # 0x498e8
leaq 0xfcfc(%rip), %rsi      # 0x36b16
callq 0x7140
testl %eax, %eax
je 0x26f02
leaq 0x22aba(%rip), %rdi     # 0x498e8
leaq 0xe093(%rip), %rsi      # 0x34ec8
callq 0x7140
testl %eax, %eax
je 0x2703d
leaq 0x10028(%rip), %rsi     # 0x36e71
leaq 0x22a98(%rip), %rdx     # 0x498e8
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2d30c
leaq 0x1002a(%rip), %rsi     # 0x36e8c
movq %rbx, %rdi
callq 0x7a30
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x271e7
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x271ee
leaq 0xb8(%rsp), %rbx
leaq 0x44(%rsp), %rsi
movq %rbx, %rdi
callq 0x2c003
leaq 0xff84(%rip), %rcx      # 0x36e38
movl $0x12, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7540
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x26f54
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x26f5b
movq $0x0, (%rbx)
jmp 0x27085
movl $0x40, %edi
callq 0x7450
movq %rax, %r14
movq %rax, %rdi
callq 0x211d6
movq %r12, 0x8(%r14)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%r14)
movb $0x0, 0x18(%r14)
movaps 0xdce0(%rip), %xmm0     # 0x34c10
movups %xmm0, 0x1c(%r14)
movl $0xffffffff, 0x2c(%r14) # imm = 0xFFFFFFFF
leaq 0x21a0c(%rip), %rax     # 0x48950
movq %rax, (%r14)
movq %r13, 0x30(%r14)
movl %ebp, 0x38(%r14)
jmp 0x27082
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x90(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xfeca(%rip), %rsi      # 0x36e4b
callq 0x7a30
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x26fae
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x26fb6
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x24(%r14), %eax
leaq 0xb4(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x70(%rsp), %rdi
callq 0x2c003
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x78(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x27008
movq 0x60(%rsp), %rdi
movq 0x70(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x27031
leaq 0x80(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x2702c
movq 0x80(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x2708c
leaq 0x50(%rsp), %rdi
callq 0x7150
jmp 0x2709a
movl $0x30, %edi
callq 0x7450
movq %rax, %r14
movq %rax, %rdi
callq 0x211d6
movq %r12, 0x8(%r14)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%r14)
movb $0x0, 0x18(%r14)
movaps 0xdba5(%rip), %xmm0     # 0x34c10
movups %xmm0, 0x1c(%r14)
movl $0xffffffff, 0x2c(%r14) # imm = 0xFFFFFFFF
leaq 0x21879(%rip), %rax     # 0x488f8
movq %rax, (%r14)
movq %r14, (%rbx)
movb $0x1, %al
jmp 0x2724a
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7540
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x270bd
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x270c3
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xd255(%rip), %rsi      # 0x3433c
movq %rsp, %rdi
callq 0x7a30
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x27116
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x2711d
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x227d0(%rip), %rdi     # 0x49910
callq 0x7260
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2715c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27177
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27198
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x271af
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x271cc
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27248
movq 0xc8(%rsp), %rsi
jmp 0x27240
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x226ff(%rip), %rdi     # 0x49910
callq 0x7260
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2722d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27248
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7480
xorl %eax, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x30, %esi
jmp 0x2726e
movq %rax, %rbx
movl $0x40, %esi
movq %r14, %rdi
jmp 0x27370
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x27295
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x27295
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27375
movq 0x10(%rsp), %rsi
jmp 0x2736d
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x272d0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x272d0
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x272f0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x272f0
movq %rax, %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27316
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x27316
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x27332
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x27332
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x27354
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x27354
movq %rax, %rbx
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27375
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x7480
movq %rbx, %rdi
callq 0x7960