// File: /workspace/github_c_makefile_star2_O3/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 0x20fb6
movq %rdi, %rbx
callq 0x1fb5e
leaq 0xc(%rsp), %r14
movl 0x2c(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq 0xc4a0
cmpl $-0x1, %eax
jne 0x20faf
callq 0xc080
cmpl $0x4, (%rax)
je 0x20f36
leaq 0x108(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x31fdc(%rip), %rsi     # 0x52f41
leaq 0x31fe8(%rip), %rdx     # 0x52f54
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2e9c2
leaq 0x31f1f(%rip), %rsi     # 0x52ea2
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 0x20fc8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x20fdb
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 0x31f54(%rip), %rsi     # 0x52f55
callq 0xcca0
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x21029
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x21036
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 0x94(%rsp), %rsi
movl $0x331, (%rsi)          # imm = 0x331
leaq 0x98(%rsp), %rdi
callq 0x2a671
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %r8
movq 0xa0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x2108e
movq 0x40(%rsp), %rdi
leaq 0xa8(%rsp), %r13
movq -0x10(%r13), %rsi
cmpq %rdi, %rax
jbe 0x210b6
movl $0xf, %edi
cmpq %r13, %rsi
je 0x210b1
movq 0xa8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x210c2
leaq 0x30(%rsp), %rdi
callq 0xc190
jmp 0x210d3
leaq 0x98(%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 0x210f0
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x210fd
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 0x31191(%rip), %rsi     # 0x522b2
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 0x2114f
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x21162
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 0x31f5f(%rip), %rsi     # 0x530e7
callq 0xcca0
leaq 0x60(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x211b2
movups (%rcx), %xmm0
leaq 0x60(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x211bf
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
movq 0x8(%rax), %rdx
leaq 0x50(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x31f90(%rip), %rsi     # 0x53172
callq 0xcca0
leaq 0x80(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x21212
movups (%rcx), %xmm0
leaq 0x80(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x21222
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)
callq 0x1f9c9
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x2126d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x2126d
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x2128e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x2128e
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x212b0
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x212b0
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x212d0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x212d0
movq %rax, %rbx
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x212f2
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x212f2
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x2130e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x2130e
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x21330
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x21330
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2134d
movq 0x108(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop