// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/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);
  }

# 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, %r15
movq %rsi, %r12
callq 0x10d48
movq 0x4df46(%rip), %rax     # 0x73860
movq 0x1d0(%rax), %r14
movq 0x110(%rax), %rcx
movl 0xf8(%rcx), %eax
leal 0x1(%rax), %edx
movl %edx, 0xf8(%rcx)
movl %edx, 0xc(%rsp)
testq %r14, %r14
je 0x25975
cmpl 0x24(%r14), %eax
jge 0x25a03
movq %r14, %rdi
movq %r13, %rsi
callq 0xc180
testl %eax, %eax
jne 0x25a61
cmpl %ebp, 0x20(%r14)
jne 0x25a61
movl 0x24(%r14), %eax
cmpl 0xc(%rsp), %eax
jne 0x25a61
leaq 0x4df14(%rip), %rdi     # 0x73890
leaq 0x2e4a6(%rip), %rsi     # 0x53e29
callq 0xc180
testl %eax, %eax
je 0x25a6d
leaq 0x4def9(%rip), %rdi     # 0x73890
leaq 0x2c966(%rip), %rsi     # 0x52304
callq 0xc180
testl %eax, %eax
je 0x25ba4
leaq 0x2e7d2(%rip), %rsi     # 0x54184
leaq 0x4ded7(%rip), %rdx     # 0x73890
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x2bd37
leaq 0x2e7d2(%rip), %rsi     # 0x5419f
movq %rbx, %rdi
callq 0xcca0
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25d4c
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x25d53
leaq 0xb8(%rsp), %rbx
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x2aba1
leaq 0x2e72c(%rip), %rcx     # 0x5414b
movl $0x12, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6e0
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25aba
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x25ac1
movq $0x0, (%rbx)
jmp 0x25be7
movl $0x40, %edi
callq 0xc5d0
movq %rax, %r14
movq %rax, %rdi
callq 0x1fcdc
movq %r12, 0x8(%r14)
movq %r15, 0x10(%r14)
movb $0x0, 0x18(%r14)
movaps 0x2c5ba(%rip), %xmm0    # 0x52050
movups %xmm0, 0x1c(%r14)
movl $0xffffffff, 0x2c(%r14) # imm = 0xFFFFFFFF
leaq 0x4a696(%rip), %rax     # 0x70140
movq %rax, (%r14)
movq %r13, 0x30(%r14)
movl %ebp, 0x38(%r14)
jmp 0x25be4
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 0x2e677(%rip), %rsi     # 0x5415e
callq 0xcca0
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25b14
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x25b1c
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 0x2aba1
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x78(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x25b6e
movq 0x60(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x25b93
leaq 0x80(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x25b8e
movq 0x80(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x25bee
movq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0xc190
jmp 0x25bfc
movl $0x30, %edi
callq 0xc5d0
movq %rax, %r14
movq %rax, %rdi
callq 0x1fcdc
movq %r12, 0x8(%r14)
movq %r15, 0x10(%r14)
movb $0x0, 0x18(%r14)
movaps 0x2c483(%rip), %xmm0    # 0x52050
movups %xmm0, 0x1c(%r14)
movl $0xffffffff, 0x2c(%r14) # imm = 0xFFFFFFFF
leaq 0x4a507(%rip), %rax     # 0x700e8
movq %rax, (%r14)
movq %r14, (%rbx)
movb $0x1, %al
jmp 0x25daf
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6e0
leaq 0x20(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x25c20
movq %rsi, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x25c26
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3178c(%rip), %rsi     # 0x573d6
leaq 0x10(%rsp), %rdi
callq 0xcca0
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25c7b
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x25c82
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4dc13(%rip), %rdi     # 0x738b8
callq 0xc300
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x25cc1
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25cdc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25cfd
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x25d14
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x25d31
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25dad
movq 0xc8(%rsp), %rsi
jmp 0x25da5
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4db42(%rip), %rdi     # 0x738b8
callq 0xc300
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x25d92
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25dad
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc600
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 0x25dd3
movq %rax, %rbx
movl $0x40, %esi
movq %r14, %rdi
jmp 0x25ed5
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x25dfa
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25dfa
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25eda
movq 0x20(%rsp), %rsi
jmp 0x25ed2
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x25e35
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25e35
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25e55
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25e55
movq %rax, %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25e7b
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25e7b
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x25e97
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25e97
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x25eb9
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25eb9
movq %rax, %rbx
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25eda
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0