// File: /workspace/github_c_makefile_star2_O1/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
xorl %eax, %eax
cmpb $0x1, 0x18(%rdi)
jne 0x2126c
movq %rdi, %rbx
callq 0x1fdbc
leaq 0xc(%rsp), %r14
movl 0x2c(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq 0xc4a0
cmpl $-0x1, %eax
jne 0x21265
callq 0xc080
cmpl $0x4, (%rax)
je 0x211ec
leaq 0x108(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x32cf6(%rip), %rsi     # 0x53f11
leaq 0x32d02(%rip), %rdx     # 0x53f24
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2ee64
leaq 0x32c39(%rip), %rsi     # 0x53e72
movq %rbx, %rdi
callq 0xcca0
leaq 0xc8(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2127e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x21291
movl 0xc(%rsp), %eax
movl %eax, 0x1c(%rbx)
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, 0xb8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xb8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x32c6e(%rip), %rsi     # 0x53f25
callq 0xcca0
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x212df
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x212ec
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb4(%rsp), %rsi
movl $0x331, (%rsi)          # imm = 0x331
leaq 0x50(%rsp), %rdi
callq 0x2aba1
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %r8
movq 0x58(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x2133e
movq 0x40(%rsp), %rsi
leaq 0x60(%rsp), %r13
cmpq %rsi, %rax
jbe 0x2135e
movl $0xf, %esi
cmpq %r13, 0x50(%rsp)
je 0x21359
movq 0x60(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2136f
movq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0xc190
jmp 0x2137d
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6e0
leaq 0x20(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x2139a
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x213a7
movq %rsi, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x31eb7(%rip), %rsi     # 0x53282
leaq 0x10(%rsp), %rdi
callq 0xcca0
leaq 0xe8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x213f9
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x2140c
movq %rdx, 0xd8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xd8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x32c85(%rip), %rsi     # 0x540b7
callq 0xcca0
leaq 0x80(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x21462
movups (%rcx), %xmm0
leaq 0x80(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x21472
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x32cad(%rip), %rsi     # 0x54142
callq 0xcca0
leaq 0xa0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x214c5
movups (%rcx), %xmm0
leaq 0xa0(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x214d8
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
movq 0x8(%rax), %rdx
leaq 0x90(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1fc27
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x21529
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x21529
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x21550
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x21550
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x21572
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x21572
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21592
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x21592
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x215ae
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x215ae
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x215ca
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x215ca
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x215ec
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x215ec
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21609
movq 0x108(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop