// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-death-test.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 0x20a97
movl %esi, %ebp
movq %rdi, %r14
leaq 0x52e90(%rip), %rsi     # 0x738e0
leaq 0x48(%rsp), %rdi
callq 0x26e9c
leaq 0x20(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rbx
addq $0x10, %rbx
leaq 0x334f9(%rip), %rsi     # 0x53f6d
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movq 0x8(%r14), %r15
testq %r15, %r15
je 0x20a9e
movq %r15, %rdi
callq 0xc260
movq %rax, %rdx
jmp 0x20aaa
xorl %ebp, %ebp
jmp 0x20e89
movl $0x6, %edx
leaq 0x327a9(%rip), %r15     # 0x53253
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc700
leaq 0x32dcc(%rip), %rsi     # 0x53888
movl $0x1, %edx
movq %rbx, %rdi
callq 0xc700
movl 0x20(%r14), %eax
decl %eax
cmpl $0x3, %eax
ja 0x20c04
leaq 0x315a1(%rip), %rcx     # 0x52080
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testb %bpl, %bpl
je 0x20c42
movq 0x10(%r14), %rdi
cmpb $0x1, 0x8(%rdi)
jne 0x20cc8
movq 0x48(%rsp), %rsi
addq $0x50, %rdi
movq %rsp, %rcx
movl $0x1, %edx
xorl %r8d, %r8d
callq 0xc7e0
testl %eax, %eax
sete %bpl
jmp 0x20cca
leaq 0x3349a(%rip), %rsi     # 0x53fc4
movl $0x2e, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x33458(%rip), %rsi     # 0x53f96
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x21002
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0xc700
jmp 0x20e00
leaq 0x3342e(%rip), %rsi     # 0x53fa3
movl $0x20, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x3340d(%rip), %rsi     # 0x53f96
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x21002
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0xc700
jmp 0x20e00
leaq 0x333ba(%rip), %rsi     # 0x53f7a
movl $0x1b, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x333c2(%rip), %rsi     # 0x53f96
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x21002
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0xc700
jmp 0x20e00
leaq 0x33267(%rip), %rdx     # 0x53e72
movq %rsp, %rdi
movl $0x3, %esi
movl $0x246, %ecx            # imm = 0x246
callq 0x26c0e
movq 0x523cc(%rip), %rdi     # 0x72ff0
leaq 0x33451(%rip), %rsi     # 0x5407c
movl $0x3a, %edx
callq 0xc700
movq %rsp, %rdi
callq 0x26d50
jmp 0x20e1b
leaq 0x333f3(%rip), %rsi     # 0x5403c
movl $0x32, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x33412(%rip), %rsi     # 0x5406f
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movl 0x1c(%r14), %r14d
leaq 0x28(%rsp), %rdi
callq 0x12eee
movl %r14d, %ebp
andl $0x7f, %r14d
je 0x20d1b
movl %r14d, %eax
shll $0x18, %eax
addl $0x1000000, %eax        # imm = 0x1000000
cmpl $0x2000000, %eax        # imm = 0x2000000
jl 0x20d45
movl %r14d, %r15d
movq 0x28(%rsp), %r14
addq $0x10, %r14
leaq 0x33cd5(%rip), %rsi     # 0x54983
movl $0x15, %edx
movq %r14, %rdi
callq 0xc700
movq %r14, %rdi
movl %r15d, %esi
callq 0xcb70
jmp 0x20d45
xorl %ebp, %ebp
testb %bpl, %bpl
jne 0x20e1d
leaq 0x33319(%rip), %rsi     # 0x53ff3
movl $0x2e, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x33334(%rip), %rsi     # 0x54022
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movq 0x10(%r14), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x20e96
movq %r14, %rdi
callq 0xc260
movq %rax, %rdx
jmp 0x20ea2
movq 0x28(%rsp), %r14
addq $0x10, %r14
leaq 0x33c3f(%rip), %rsi     # 0x5496a
movl $0x18, %edx
movq %r14, %rdi
callq 0xc700
movl %ebp, %eax
movzbl %ah, %esi
movq %r14, %rdi
callq 0xcb70
testb %bpl, %bpl
jns 0x20d64
movq 0x28(%rsp), %rdi
addq $0x10, %rdi
leaq 0x33c3f(%rip), %rsi     # 0x54999
movl $0xe, %edx
callq 0xc700
movq 0x28(%rsp), %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0x13163
testq %r14, %r14
je 0x20d8b
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0xc700
leaq 0x32ae5(%rip), %rsi     # 0x53888
movl $0x1, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x33278(%rip), %rsi     # 0x5402f
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x21002
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0xc700
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20e00
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20e1b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
xorl %ebp, %ebp
movq 0x20(%rsp), %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x13163
leaq 0x52a84(%rip), %rdi     # 0x738b8
movq %rsp, %rsi
callq 0xc300
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20e57
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
testq %rbx, %rbx
je 0x20e6e
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 0x20e89
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x6, %edx
leaq 0x323b1(%rip), %r14     # 0x53253
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc700
leaq 0x329d4(%rip), %rsi     # 0x53888
movl $0x1, %edx
movq %rbx, %rdi
callq 0xc700
leaq 0x33167(%rip), %rsi     # 0x5402f
movl $0xc, %edx
movq %rbx, %rdi
callq 0xc700
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x21002
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0xc700
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20e1d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x20e1d
jmp 0x20f65
jmp 0x20f65
jmp 0x20f85
jmp 0x20fae
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20f88
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x20f88
jmp 0x20f85
jmp 0x20fae
jmp 0x20fae
jmp 0x20fae
jmp 0x20f85
jmp 0x20f85
jmp 0x20f85
jmp 0x20fae
jmp 0x20fae
jmp 0x20fae
movq %rax, %rbx
movq %rsp, %rdi
callq 0x26d50
jmp 0x20fb1
jmp 0x20fae
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x20fb1
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
jmp 0x20fb1
jmp 0x20f85
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20fb1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x20fb1
jmp 0x20fae
movq %rax, %rbx
jmp 0x20fca
jmp 0x20fae
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x20fca
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x20(%rsp)
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20fe5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0