// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::DeathTestImpl::Passed(bool)
bool DeathTestImpl::Passed(bool status_ok) {
  if (!spawned())
    return false;

  const std::string error_message = GetCapturedStderr();

  bool success = false;
  Message buffer;

  buffer << "Death test: " << statement() << "\n";
  switch (outcome()) {
    case LIVED:
      buffer << "    Result: failed to die.\n"
             << " Error msg:\n" << FormatDeathTestOutput(error_message);
      break;
    case THREW:
      buffer << "    Result: threw an exception.\n"
             << " Error msg:\n" << FormatDeathTestOutput(error_message);
      break;
    case RETURNED:
      buffer << "    Result: illegal return in test statement.\n"
             << " Error msg:\n" << FormatDeathTestOutput(error_message);
      break;
    case DIED:
      if (status_ok) {
        const bool matched = RE::PartialMatch(error_message.c_str(), *regex());
        if (matched) {
          success = true;
        } else {
          buffer << "    Result: died but not with expected error.\n"
                 << "  Expected: " << regex()->pattern() << "\n"
                 << "Actual msg:\n" << FormatDeathTestOutput(error_message);
        }
      } else {
        buffer << "    Result: died but not with expected exit code:\n"
               << "            " << ExitSummary(status()) << "\n"
               << "Actual msg:\n" << FormatDeathTestOutput(error_message);
      }
      break;
    case IN_PROGRESS:
    default:
      GTEST_LOG_(FATAL)
          << "DeathTest::Passed somehow called before conclusion of test";
  }

  DeathTest::set_last_death_test_message(buffer.GetString());
  return success;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
cmpb $0x1, 0x18(%rdi)
jne 0x15edf
movl %esi, %ebp
movq %rdi, %r15
leaq 0x21888(%rip), %rsi     # 0x37720
leaq 0x30(%rsp), %rdi
callq 0x1c168
leaq 0x28(%rsp), %rdi
callq 0x9d20
movq 0x28(%rsp), %rbx
leaq 0x10(%rbx), %r14
leaq 0x13275(%rip), %rsi     # 0x29131
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
movq 0x8(%r15), %r12
testq %r12, %r12
je 0x15ee6
movq %r12, %rdi
callq 0x61c0
movq %rax, %rdx
jmp 0x15ef2
xorl %ebp, %ebp
jmp 0x1632b
movl $0x6, %edx
leaq 0x125d4(%rip), %r12     # 0x284c6
movq %r14, %rdi
movq %r12, %rsi
callq 0x6510
leaq 0x12bd0(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %r14, %rdi
callq 0x6510
movl 0x20(%r15), %eax
decl %eax
cmpl $0x3, %eax
ja 0x16098
leaq 0x11419(%rip), %rcx     # 0x27340
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testb %bpl, %bpl
je 0x160da
movq 0x10(%r15), %rdi
cmpb $0x1, 0x8(%rdi)
jne 0x15f66
movq 0x30(%rsp), %rsi
addq $0x50, %rdi
leaq 0x8(%rsp), %rcx
movl $0x1, %edx
xorl %r8d, %r8d
callq 0x65e0
testl %eax, %eax
je 0x1633a
leaq 0x1324a(%rip), %rsi     # 0x291b7
movl $0x2e, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x13265(%rip), %rsi     # 0x291e6
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
movq 0x10(%r15), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x1624c
movq %r15, %rdi
callq 0x61c0
movq %rax, %rdx
jmp 0x16258
leaq 0x131d3(%rip), %rsi     # 0x29188
movl $0x2e, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x13191(%rip), %rsi     # 0x2915a
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x16440
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x6510
jmp 0x162ac
leaq 0x13164(%rip), %rsi     # 0x29167
movl $0x20, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x13143(%rip), %rsi     # 0x2915a
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x16440
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x6510
jmp 0x162ac
leaq 0x130ed(%rip), %rsi     # 0x2913e
movl $0x1b, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x130f5(%rip), %rsi     # 0x2915a
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x16440
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x6510
jmp 0x162ac
leaq 0x121f2(%rip), %rdx     # 0x28291
leaq 0x8(%rsp), %rdi
movl $0x3, %esi
movl $0x1b99, %ecx           # imm = 0x1B99
callq 0x1be2c
movq 0x20f36(%rip), %rdi     # 0x36ff0
leaq 0x1317f(%rip), %rsi     # 0x29240
movl $0x3a, %edx
callq 0x6510
leaq 0x8(%rsp), %rdi
callq 0x1bf6e
jmp 0x162c7
leaq 0x1311f(%rip), %rsi     # 0x29200
movl $0x32, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x1313e(%rip), %rsi     # 0x29233
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
movl 0x1c(%r15), %ebx
leaq 0x50(%rsp), %rdi
callq 0x9d20
movl %ebx, %ebp
andl $0x7f, %ebx
je 0x16152
movl %ebx, %eax
shll $0x18, %eax
addl $0x1000000, %eax        # imm = 0x1000000
movq 0x50(%rsp), %r12
cmpl $0x2000000, %eax        # imm = 0x2000000
jl 0x1617d
leaq 0x10(%r12), %r15
leaq 0x13943(%rip), %rsi     # 0x29a7c
movl $0x15, %edx
movq %r15, %rdi
callq 0x6510
movq %r15, %rdi
movl %ebx, %esi
callq 0x68a0
jmp 0x1617d
movq 0x50(%rsp), %r12
leaq 0x10(%r12), %r15
leaq 0x13900(%rip), %rsi     # 0x29a63
movl $0x18, %edx
movq %r15, %rdi
callq 0x6510
movl %ebp, %eax
movzbl %ah, %esi
movq %r15, %rdi
callq 0x68a0
testb %bpl, %bpl
jns 0x16198
leaq 0x10(%r12), %rdi
leaq 0x13904(%rip), %rsi     # 0x29a92
movl $0xe, %edx
callq 0x6510
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x9f89
testq %r12, %r12
je 0x161b4
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x6510
leaq 0x12907(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x13012(%rip), %rsi     # 0x291f3
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x16440
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x6510
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1622a
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16245
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x28(%rsp), %rbx
jmp 0x162c7
movl $0x6, %edx
leaq 0x1226e(%rip), %r15     # 0x284c6
movq %r14, %rdi
movq %r15, %rsi
callq 0x6510
leaq 0x1286a(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x12f75(%rip), %rsi     # 0x291f3
movl $0xc, %edx
movq %r14, %rdi
callq 0x6510
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x16440
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x6510
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x162c7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
xorl %ebp, %ebp
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x9f89
leaq 0x2141b(%rip), %rdi     # 0x376f8
leaq 0x8(%rsp), %rsi
callq 0x6220
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16302
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
testq %rbx, %rbx
je 0x16310
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1632b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6430
movl %ebp, %eax
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
jmp 0x162c9
jmp 0x16393
jmp 0x16393
jmp 0x163ce
jmp 0x163f7
movq %rax, %r14
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x163ac
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x163ac
jmp 0x163a9
movq %rax, %r14
jmp 0x163c7
jmp 0x163ce
jmp 0x163ce
jmp 0x163ce
jmp 0x163f7
jmp 0x163f7
jmp 0x163f7
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x1bf6e
jmp 0x163fa
jmp 0x163f7
jmp 0x163f7
movq %rax, %r14
testq %r12, %r12
je 0x163c7
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
jmp 0x163c7
jmp 0x163f7
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x163c7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x28(%rsp), %rbx
jmp 0x163fa
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x163fa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x163fa
jmp 0x163f7
movq %rax, %r14
jmp 0x16408
jmp 0x163f7
movq %rax, %r14
testq %rbx, %rbx
je 0x16408
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16423
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6430
movq %r14, %rdi
callq 0x68e0