// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
subq $0x68, %rsp
cmpb $0x1, 0x18(%rdi)
jne 0x162ab
movl %esi, %ebp
movq %rdi, %r14
leaq 0x214bc(%rip), %rsi     # 0x37720
leaq 0x48(%rsp), %rdi
callq 0x1c5ac
leaq 0x20(%rsp), %rdi
callq 0x9de4
movq 0x20(%rsp), %rbx
addq $0x10, %rbx
leaq 0x12ea9(%rip), %rsi     # 0x29131
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movq 0x8(%r14), %r15
testq %r15, %r15
je 0x162b2
movq %r15, %rdi
callq 0x61c0
movq %rax, %rdx
jmp 0x162be
xorl %ebp, %ebp
jmp 0x1669d
movl $0x6, %edx
leaq 0x12208(%rip), %r15     # 0x284c6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6510
leaq 0x12804(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6510
movl 0x20(%r14), %eax
decl %eax
cmpl $0x3, %eax
ja 0x16418
leaq 0x1104d(%rip), %rcx     # 0x27340
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testb %bpl, %bpl
je 0x16456
movq 0x10(%r14), %rdi
cmpb $0x1, 0x8(%rdi)
jne 0x164dc
movq 0x48(%rsp), %rsi
addq $0x50, %rdi
movq %rsp, %rcx
movl $0x1, %edx
xorl %r8d, %r8d
callq 0x65e0
testl %eax, %eax
sete %bpl
jmp 0x164de
leaq 0x12e4a(%rip), %rsi     # 0x29188
movl $0x2e, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12e08(%rip), %rsi     # 0x2915a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x16816
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6510
jmp 0x16614
leaq 0x12dde(%rip), %rsi     # 0x29167
movl $0x20, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12dbd(%rip), %rsi     # 0x2915a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x16816
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6510
jmp 0x16614
leaq 0x12d6a(%rip), %rsi     # 0x2913e
movl $0x1b, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12d72(%rip), %rsi     # 0x2915a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x16816
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6510
jmp 0x16614
leaq 0x11e72(%rip), %rdx     # 0x28291
movq %rsp, %rdi
movl $0x3, %esi
movl $0x1b99, %ecx           # imm = 0x1B99
callq 0x1c270
movq 0x20bb8(%rip), %rdi     # 0x36ff0
leaq 0x12e01(%rip), %rsi     # 0x29240
movl $0x3a, %edx
callq 0x6510
movq %rsp, %rdi
callq 0x1c3b2
jmp 0x1662f
leaq 0x12da3(%rip), %rsi     # 0x29200
movl $0x32, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12dc2(%rip), %rsi     # 0x29233
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movl 0x1c(%r14), %r14d
leaq 0x28(%rsp), %rdi
callq 0x9de4
movl %r14d, %ebp
andl $0x7f, %r14d
je 0x1652f
movl %r14d, %eax
shll $0x18, %eax
addl $0x1000000, %eax        # imm = 0x1000000
cmpl $0x2000000, %eax        # imm = 0x2000000
jl 0x16559
movl %r14d, %r15d
movq 0x28(%rsp), %r14
addq $0x10, %r14
leaq 0x135ba(%rip), %rsi     # 0x29a7c
movl $0x15, %edx
movq %r14, %rdi
callq 0x6510
movq %r14, %rdi
movl %r15d, %esi
callq 0x68a0
jmp 0x16559
xorl %ebp, %ebp
testb %bpl, %bpl
jne 0x16631
leaq 0x12cc9(%rip), %rsi     # 0x291b7
movl $0x2e, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12ce4(%rip), %rsi     # 0x291e6
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movq 0x10(%r14), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x166aa
movq %r14, %rdi
callq 0x61c0
movq %rax, %rdx
jmp 0x166b6
movq 0x28(%rsp), %r14
addq $0x10, %r14
leaq 0x13524(%rip), %rsi     # 0x29a63
movl $0x18, %edx
movq %r14, %rdi
callq 0x6510
movl %ebp, %eax
movzbl %ah, %esi
movq %r14, %rdi
callq 0x68a0
testb %bpl, %bpl
jns 0x16578
movq 0x28(%rsp), %rdi
addq $0x10, %rdi
leaq 0x13524(%rip), %rsi     # 0x29a92
movl $0xe, %edx
callq 0x6510
movq 0x28(%rsp), %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0xa059
testq %r14, %r14
je 0x1659f
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6510
leaq 0x1251d(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12c28(%rip), %rsi     # 0x291f3
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x16816
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0x6510
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16614
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1662f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
xorl %ebp, %ebp
movq 0x20(%rsp), %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0xa059
leaq 0x210b0(%rip), %rdi     # 0x376f8
movq %rsp, %rsi
callq 0x6220
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1666b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
testq %rbx, %rbx
je 0x16682
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movq $0x0, 0x20(%rsp)
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1669d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x6, %edx
leaq 0x11e10(%rip), %r14     # 0x284c6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6510
leaq 0x1240c(%rip), %rsi     # 0x28ad4
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x12b17(%rip), %rsi     # 0x291f3
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6510
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x16816
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6510
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16631
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x16631
jmp 0x16779
jmp 0x16779
jmp 0x16799
jmp 0x167c2
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1679c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x1679c
jmp 0x16799
jmp 0x167c2
jmp 0x167c2
jmp 0x167c2
jmp 0x16799
jmp 0x16799
jmp 0x16799
jmp 0x167c2
jmp 0x167c2
jmp 0x167c2
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1c3b2
jmp 0x167c5
jmp 0x167c2
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x167c5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
jmp 0x167c5
jmp 0x16799
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x167c5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x167c5
jmp 0x167c2
movq %rax, %rbx
jmp 0x167de
jmp 0x167c2
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x167de
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x20(%rsp)
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x167f9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0