// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movb %sil, %al
movq %rdi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x38120
testb $0x1, %al
jne 0x28894
movb $0x0, -0x1(%rbp)
jmp 0x28e9c
leaq -0x38(%rbp), %rdi
callq 0x28ec0
movb $0x0, -0x39(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x16d70
jmp 0x288ac
leaq 0x62c68(%rip), %rsi     # 0x8b51b
leaq -0x48(%rbp), %rdi
callq 0x31fe0
movq %rax, -0x168(%rbp)
jmp 0x288c5
movq -0x160(%rbp), %rdi
callq 0x38140
movq %rax, -0x170(%rbp)
jmp 0x288da
movq -0x168(%rbp), %rdi
movq -0x170(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq -0x60(%rbp), %rsi
callq 0x31ec0
movq %rax, -0x178(%rbp)
jmp 0x288fe
movq -0x178(%rbp), %rdi
leaq 0x624e7(%rip), %rsi     # 0x8adf3
callq 0x30ba0
jmp 0x28913
movq -0x160(%rbp), %rdi
callq 0x38160
movl %eax, -0x17c(%rbp)
jmp 0x28927
movl -0x17c(%rbp), %eax
movl %eax, %ecx
movq %rcx, -0x188(%rbp)
subl $0x4, %eax
ja 0x28db9
movq -0x188(%rbp), %rax
leaq 0x607a7(%rip), %rcx     # 0x890f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x28e91
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x28e88
leaq 0x62ba9(%rip), %rsi     # 0x8b528
leaq -0x48(%rbp), %rdi
callq 0x38180
movq %rax, -0x190(%rbp)
jmp 0x28991
movq -0x190(%rbp), %rdi
leaq 0x62ba5(%rip), %rsi     # 0x8b544
callq 0x31fe0
movq %rax, -0x198(%rbp)
jmp 0x289ad
leaq -0x80(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x28ef0
jmp 0x289bc
movq -0x198(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x30b60
jmp 0x289ce
leaq -0x80(%rbp), %rdi
callq 0xf058
jmp 0x28e0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x80(%rbp), %rdi
callq 0xf058
jmp 0x28e88
leaq 0x62b54(%rip), %rsi     # 0x8b551
leaq -0x48(%rbp), %rdi
callq 0x381c0
movq %rax, -0x1a0(%rbp)
jmp 0x28a0f
movq -0x1a0(%rbp), %rdi
leaq 0x62b27(%rip), %rsi     # 0x8b544
callq 0x31fe0
movq %rax, -0x1a8(%rbp)
jmp 0x28a2b
leaq -0xa0(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x28ef0
jmp 0x28a3d
movq -0x1a8(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x30b60
jmp 0x28a52
leaq -0xa0(%rbp), %rdi
callq 0xf058
jmp 0x28e0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0xf058
jmp 0x28e88
leaq 0x62aeb(%rip), %rsi     # 0x8b572
leaq -0x48(%rbp), %rdi
callq 0x38200
movq %rax, -0x1b0(%rbp)
jmp 0x28a99
movq -0x1b0(%rbp), %rdi
leaq 0x62a9d(%rip), %rsi     # 0x8b544
callq 0x31fe0
movq %rax, -0x1b8(%rbp)
jmp 0x28ab5
leaq -0xc0(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x28ef0
jmp 0x28ac7
movq -0x1b8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x30b60
jmp 0x28adc
leaq -0xc0(%rbp), %rdi
callq 0xf058
jmp 0x28e0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0xf058
jmp 0x28e88
testb $0x1, -0x11(%rbp)
je 0x28c8c
leaq -0x38(%rbp), %rdi
callq 0xe2b0
movq -0x160(%rbp), %rdi
movq %rax, -0x1c8(%rbp)
callq 0x38240
movq %rax, -0x1c0(%rbp)
jmp 0x28b39
movq -0x1c0(%rbp), %rsi
movq -0x1c8(%rbp), %rdi
callq 0x29060
movb %al, -0x1c9(%rbp)
jmp 0x28b54
movb -0x1c9(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
testb $0x1, -0xc1(%rbp)
je 0x28b74
movb $0x1, -0x39(%rbp)
jmp 0x28c87
leaq 0x62a26(%rip), %rsi     # 0x8b5a1
leaq -0x48(%rbp), %rdi
callq 0x38200
movq %rax, -0x1d8(%rbp)
jmp 0x28b8d
movq -0x1d8(%rbp), %rdi
leaq 0x62a35(%rip), %rsi     # 0x8b5d0
callq 0x31fe0
movq %rax, -0x1e0(%rbp)
jmp 0x28ba9
movq -0x160(%rbp), %rdi
callq 0x38240
movq %rax, -0x1e8(%rbp)
jmp 0x28bbe
movq -0x1e8(%rbp), %rdi
callq 0x38260
movq %rax, -0x1f0(%rbp)
jmp 0x28bd3
movq -0x1e0(%rbp), %rdi
movq -0x1f0(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0xd0(%rbp), %rsi
callq 0x31ec0
movq %rax, -0x1f8(%rbp)
jmp 0x28bfd
movq -0x1f8(%rbp), %rdi
leaq 0x621e8(%rip), %rsi     # 0x8adf3
callq 0x30ba0
movq %rax, -0x200(%rbp)
jmp 0x28c19
movq -0x200(%rbp), %rdi
leaq 0x629b6(%rip), %rsi     # 0x8b5dd
callq 0x31fe0
movq %rax, -0x208(%rbp)
jmp 0x28c35
leaq -0xf0(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x28ef0
jmp 0x28c47
movq -0x208(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x30b60
jmp 0x28c5c
leaq -0xf0(%rbp), %rdi
callq 0xf058
jmp 0x28c87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0xf058
jmp 0x28e88
jmp 0x28db5
leaq 0x62957(%rip), %rsi     # 0x8b5ea
leaq -0x48(%rbp), %rdi
callq 0x38280
movq %rax, -0x210(%rbp)
jmp 0x28ca5
movq -0x210(%rbp), %rdi
leaq 0x6296a(%rip), %rsi     # 0x8b61d
callq 0x31fe0
movq %rax, -0x218(%rbp)
jmp 0x28cc1
movq -0x160(%rbp), %rdi
callq 0x382c0
movl %eax, -0x21c(%rbp)
jmp 0x28cd5
movl -0x21c(%rbp), %esi
leaq -0x110(%rbp), %rdi
callq 0x290c0
jmp 0x28ce9
movq -0x218(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x30b60
movq %rax, -0x228(%rbp)
jmp 0x28d05
movq -0x228(%rbp), %rdi
leaq 0x620e0(%rip), %rsi     # 0x8adf3
callq 0x30ba0
movq %rax, -0x230(%rbp)
jmp 0x28d21
movq -0x230(%rbp), %rdi
leaq 0x628ae(%rip), %rsi     # 0x8b5dd
callq 0x31fe0
movq %rax, -0x238(%rbp)
jmp 0x28d3d
leaq -0x130(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x28ef0
jmp 0x28d4f
movq -0x238(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x30b60
jmp 0x28d64
leaq -0x130(%rbp), %rdi
callq 0xf058
leaq -0x110(%rbp), %rdi
callq 0xf058
jmp 0x28db5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x28da4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x130(%rbp), %rdi
callq 0xf058
leaq -0x110(%rbp), %rdi
callq 0xf058
jmp 0x28e88
jmp 0x28e0e
jmp 0x28db9
leaq 0x62660(%rip), %rdx     # 0x8b420
leaq -0x134(%rbp), %rdi
movl $0x3, %esi
movl $0x246, %ecx            # imm = 0x246
callq 0x2dbe0
jmp 0x28dd8
leaq -0x134(%rbp), %rdi
callq 0x305f0
movq %rax, -0x240(%rbp)
jmp 0x28ded
movq -0x240(%rbp), %rdi
leaq 0x6282f(%rip), %rsi     # 0x8b62a
callq 0xe750
jmp 0x28e02
leaq -0x134(%rbp), %rdi
callq 0x2dd20
leaq -0x158(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x170f0
jmp 0x28e20
leaq -0x158(%rbp), %rdi
callq 0x27ca0
jmp 0x28e2e
leaq -0x158(%rbp), %rdi
callq 0xf058
movb -0x39(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x31070
leaq -0x38(%rbp), %rdi
callq 0xf058
jmp 0x28e9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x134(%rbp), %rdi
callq 0x2dd20
jmp 0x28e88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x158(%rbp), %rdi
callq 0xf058
leaq -0x48(%rbp), %rdi
callq 0x31070
leaq -0x38(%rbp), %rdi
callq 0xf058
jmp 0x28eaa
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0xee80
nopw %cs:(%rax,%rax)