// File: /workspace/github_c_makefile_star2_O0/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-death-test.cc
// Function: testing::internal::ForkingDeathTest::Wait()
int ForkingDeathTest::Wait() {
  if (!spawned())
    return 0;

  ReadAndInterpretStatusByte();

  int status_value;
  GTEST_DEATH_TEST_CHECK_SYSCALL_(waitpid(child_pid_, &status_value, 0));
  set_status(status_value);
  return status_value;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x38120
testb $0x1, %al
jne 0x2924f
movl $0x0, -0x4(%rbp)
jmp 0x29549
movq -0x140(%rbp), %rdi
callq 0x27cd0
jmp 0x2925d
movq -0x140(%rbp), %rax
movl 0x2c(%rax), %edi
leaq -0x14(%rbp), %rsi
xorl %edx, %edx
callq 0xe5b0
movl %eax, -0x18(%rbp)
xorl %eax, %eax
cmpl $-0x1, -0x18(%rbp)
movb %al, -0x141(%rbp)
jne 0x29294
callq 0xe090
cmpl $0x4, (%rax)
sete %al
movb %al, -0x141(%rbp)
movb -0x141(%rbp), %al
testb $0x1, %al
jne 0x2925d
cmpl $-0x1, -0x18(%rbp)
jne 0x29525
leaq -0xf9(%rbp), %rdi
movq %rdi, -0x150(%rbp)
callq 0xee90
movq -0x150(%rbp), %rdx
leaq 0x621f6(%rip), %rsi     # 0x8b4bf
leaq -0xf8(%rbp), %rdi
callq 0x30890
jmp 0x292d7
leaq 0x62142(%rip), %rdx     # 0x8b420
leaq -0xd8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x30980
jmp 0x292f3
leaq 0x621d9(%rip), %rdx     # 0x8b4d3
leaq -0xb8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x30980
jmp 0x2930f
movl $0x331, -0x134(%rbp)    # imm = 0x331
leaq -0x130(%rbp), %rdi
leaq -0x134(%rbp), %rsi
callq 0x35870
jmp 0x2932e
leaq -0x98(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x357a0
jmp 0x2934a
leaq 0x61481(%rip), %rdx     # 0x8a7d2
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x30980
jmp 0x29363
leaq 0x622fb(%rip), %rdx     # 0x8b665
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x30980
jmp 0x29379
leaq 0x62370(%rip), %rdx     # 0x8b6f0
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x30980
jmp 0x2938f
leaq -0x38(%rbp), %rdi
callq 0x27a00
jmp 0x2939a
leaq -0x38(%rbp), %rdi
callq 0xf058
leaq -0x58(%rbp), %rdi
callq 0xf058
leaq -0x78(%rbp), %rdi
callq 0xf058
leaq -0x98(%rbp), %rdi
callq 0xf058
leaq -0x130(%rbp), %rdi
callq 0xf058
leaq -0xb8(%rbp), %rdi
callq 0xf058
leaq -0xd8(%rbp), %rdi
callq 0xf058
leaq -0xf8(%rbp), %rdi
callq 0xf058
leaq -0xf9(%rbp), %rdi
callq 0xe850
jmp 0x29525
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x29517
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x2950b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x294ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x294f3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x294e7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x294db
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x294d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
jmp 0x294c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xf058
leaq -0x58(%rbp), %rdi
callq 0xf058
leaq -0x78(%rbp), %rdi
callq 0xf058
leaq -0x98(%rbp), %rdi
callq 0xf058
leaq -0x130(%rbp), %rdi
callq 0xf058
leaq -0xb8(%rbp), %rdi
callq 0xf058
leaq -0xd8(%rbp), %rdi
callq 0xf058
leaq -0xf8(%rbp), %rdi
callq 0xf058
leaq -0xf9(%rbp), %rdi
callq 0xe850
jmp 0x29555
jmp 0x29527
callq 0x380a0
testb $0x1, %al
jne 0x2925b
movq -0x140(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x38350
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq -0x108(%rbp), %rdi
callq 0xee80
nopw %cs:(%rax,%rax)