// File: /workspace/github_c_makefile_star2_O3/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, 0x48(%rsp)
movq %rsi, %r12
callq 0x10cf2
movq 0x4d292(%rip), %rax     # 0x72860
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 0x25628
cmpl 0x24(%r14), %eax
jge 0x256b4
movq %r14, %rdi
movq %r13, %rsi
callq 0xc180
testl %eax, %eax
jne 0x25712
cmpl %ebp, 0x20(%r14)
jne 0x25712
cmpl %r15d, 0x24(%r14)
jne 0x25712
leaq 0x4d261(%rip), %rdi     # 0x72890
leaq 0x2d823(%rip), %rsi     # 0x52e59
callq 0xc180
testl %eax, %eax
je 0x2571e
leaq 0x4d246(%rip), %rdi     # 0x72890
leaq 0x2bce3(%rip), %rsi     # 0x51334
callq 0xc180
testl %eax, %eax
je 0x25859
leaq 0x2db4f(%rip), %rsi     # 0x531b4
leaq 0x4d224(%rip), %rdx     # 0x72890
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2b7ec
leaq 0x2db51(%rip), %rsi     # 0x531cf
movq %rbx, %rdi
callq 0xcca0
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25a03
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x25a0a
leaq 0xb8(%rsp), %rbx
leaq 0x44(%rsp), %rsi
movq %rbx, %rdi
callq 0x2a671
leaq 0x2daab(%rip), %rcx     # 0x5317b
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 0x25770
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x25777
movq $0x0, (%rbx)
jmp 0x258a1
movl $0x40, %edi
callq 0xc5d0
movq %rax, %r14
movq %rax, %rdi
callq 0x1fa7e
movq %r12, 0x8(%r14)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%r14)
movb $0x0, 0x18(%r14)
movaps 0x2b934(%rip), %xmm0    # 0x51080
movups %xmm0, 0x1c(%r14)
movl $0xffffffff, 0x2c(%r14) # imm = 0xFFFFFFFF
leaq 0x499e0(%rip), %rax     # 0x6f140
movq %rax, (%r14)
movq %r13, 0x30(%r14)
movl %ebp, 0x38(%r14)
jmp 0x2589e
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 0x2d9f1(%rip), %rsi     # 0x5318e
callq 0xcca0
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x257ca
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x257d2
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 0x2a671
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x78(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x25824
movq 0x60(%rsp), %rdi
movq 0x70(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x2584d
leaq 0x80(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x25848
movq 0x80(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x258a8
leaq 0x50(%rsp), %rdi
callq 0xc190
jmp 0x258b6
movl $0x30, %edi
callq 0xc5d0
movq %rax, %r14
movq %rax, %rdi
callq 0x1fa7e
movq %r12, 0x8(%r14)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%r14)
movb $0x0, 0x18(%r14)
movaps 0x2b7f9(%rip), %xmm0    # 0x51080
movups %xmm0, 0x1c(%r14)
movl $0xffffffff, 0x2c(%r14) # imm = 0xFFFFFFFF
leaq 0x4984d(%rip), %rax     # 0x6f0e8
movq %rax, (%r14)
movq %r14, (%rbx)
movb $0x1, %al
jmp 0x25a66
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6e0
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x258d9
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x258df
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 0x30b03(%rip), %rsi     # 0x56406
movq %rsp, %rdi
callq 0xcca0
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25932
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x25939
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 0x4cf5c(%rip), %rdi     # 0x728b8
callq 0xc300
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x25978
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25993
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x259b4
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x259cb
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x259e8
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25a64
movq 0xc8(%rsp), %rsi
jmp 0x25a5c
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 0x4ce8b(%rip), %rdi     # 0x728b8
callq 0xc300
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x25a49
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25a64
movq 0x10(%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 0x25a8a
movq %rax, %rbx
movl $0x40, %esi
movq %r14, %rdi
jmp 0x25b8c
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x25ab1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25ab1
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25b91
movq 0x10(%rsp), %rsi
jmp 0x25b89
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x25aec
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25aec
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25b0c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25b0c
movq %rax, %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25b32
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25b32
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x25b4e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25b4e
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x25b70
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x25b70
movq %rax, %rbx
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x25b91
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0