// File: /workspace/github_c_makefile_star2_O0/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-death-test.cc
// Function: testing::internal::FailFromInternalError(int)
static void FailFromInternalError(int fd) {
  Message error;
  char buffer[256];
  int num_read;

  do {
    while ((num_read = posix::Read(fd, buffer, 255)) > 0) {
      buffer[num_read] = '\0';
      error << buffer;
    }
  } while (num_read == -1 && errno == EINTR);

  if (num_read == 0) {
    GTEST_LOG_(FATAL) << error.GetString();
  } else {
    const int last_error = errno;
    GTEST_LOG_(FATAL) << "Error while reading death test internal: "
                      << GetLastErrnoDescription() << " [" << last_error << "]";
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movl %edi, -0x4(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x16d70
jmp 0x28259
movl -0x4(%rbp), %edi
leaq -0x110(%rbp), %rsi
movl $0xff, %edx
callq 0x38010
movl %eax, -0x174(%rbp)
jmp 0x28275
movl -0x174(%rbp), %eax
movl %eax, -0x114(%rbp)
cmpl $0x0, %eax
jle 0x282c0
movslq -0x114(%rbp), %rax
movb $0x0, -0x110(%rbp,%rax)
leaq -0x10(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x3edb0
jmp 0x282a7
jmp 0x28259
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x120(%rbp)
movl %eax, -0x124(%rbp)
jmp 0x284ea
jmp 0x282c2
xorl %eax, %eax
cmpl $-0x1, -0x114(%rbp)
movb %al, -0x175(%rbp)
jne 0x282e4
callq 0xe090
cmpl $0x4, (%rax)
sete %al
movb %al, -0x175(%rbp)
movb -0x175(%rbp), %al
testb $0x1, %al
jne 0x28257
cmpl $0x0, -0x114(%rbp)
jne 0x283b8
leaq 0x6311a(%rip), %rdx     # 0x8b420
leaq -0x128(%rbp), %rdi
movl $0x3, %esi
movl $0x150, %ecx            # imm = 0x150
callq 0x2dbe0
jmp 0x2831e
leaq -0x128(%rbp), %rdi
callq 0x305f0
movq %rax, -0x180(%rbp)
leaq -0x148(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x170f0
jmp 0x28343
movq -0x180(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0xe660
jmp 0x28358
leaq -0x148(%rbp), %rdi
callq 0xf058
leaq -0x128(%rbp), %rdi
callq 0x2dd20
jmp 0x284d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x120(%rbp)
movl %eax, -0x124(%rbp)
jmp 0x283a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x120(%rbp)
movl %eax, -0x124(%rbp)
leaq -0x148(%rbp), %rdi
callq 0xf058
leaq -0x128(%rbp), %rdi
callq 0x2dd20
jmp 0x284ea
callq 0xe090
movl (%rax), %eax
movl %eax, -0x14c(%rbp)
leaq 0x63054(%rip), %rdx     # 0x8b420
leaq -0x150(%rbp), %rdi
movl $0x3, %esi
movl $0x153, %ecx            # imm = 0x153
callq 0x2dbe0
jmp 0x283e4
leaq -0x150(%rbp), %rdi
callq 0x305f0
movq %rax, %rdi
leaq 0x63aee(%rip), %rsi     # 0x8bee8
callq 0xe750
movq %rax, -0x188(%rbp)
jmp 0x28408
leaq -0x170(%rbp), %rdi
callq 0x27ad0
jmp 0x28416
movq -0x188(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0xe660
movq %rax, -0x190(%rbp)
jmp 0x28432
movq -0x190(%rbp), %rdi
leaq 0x63f10(%rip), %rsi     # 0x8c350
callq 0xe750
movq %rax, -0x198(%rbp)
jmp 0x2844e
movq -0x198(%rbp), %rdi
movl -0x14c(%rbp), %esi
callq 0xee60
movq %rax, -0x1a0(%rbp)
jmp 0x28469
movq -0x1a0(%rbp), %rdi
leaq 0x633d8(%rip), %rsi     # 0x8b84f
callq 0xe750
jmp 0x2847e
leaq -0x170(%rbp), %rdi
callq 0xf058
leaq -0x150(%rbp), %rdi
callq 0x2dd20
jmp 0x284d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x120(%rbp)
movl %eax, -0x124(%rbp)
jmp 0x284ca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x120(%rbp)
movl %eax, -0x124(%rbp)
leaq -0x170(%rbp), %rdi
callq 0xf058
leaq -0x150(%rbp), %rdi
callq 0x2dd20
jmp 0x284ea
leaq -0x10(%rbp), %rdi
callq 0x31070
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
leaq -0x10(%rbp), %rdi
callq 0x31070
movq -0x120(%rbp), %rdi
callq 0xee80
nop