// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest-death-test.cc
// Function: testing::internal::ExecDeathTestChildMain(void*)
static int ExecDeathTestChildMain(void* child_arg) {
  ExecDeathTestArgs* const args = static_cast<ExecDeathTestArgs*>(child_arg);
  GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd));

  // We need to execute the test program in the same environment where
  // it was originally invoked.  Therefore we change to the original
  // working directory first.
  const char* const original_dir =
      UnitTest::GetInstance()->original_working_dir();
  // We can safely call chdir() as it's a direct system call.
  if (chdir(original_dir) != 0) {
    DeathTestAbort(std::string("chdir(\"") + original_dir +
                   "\") failed: " + GetLastErrnoDescription());
    return EXIT_FAILURE;
  }

  // We can safely call execv() as it's almost a direct system call. We
  // cannot use execvp() as it's a libc function and thus potentially
  // unsafe.  Since execv() doesn't search the PATH, the user must
  // invoke the test program via a valid path that contains at least
  // one path separator.
  execv(args->argv[0], args->argv);
  DeathTestAbort(std::string("execv(") + args->argv[0] + ", ...) in " +
                 original_dir + " failed: " + GetLastErrnoDescription());
  return EXIT_FAILURE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %r14
movl 0x8(%r14), %edi
callq 0xdb60
cmpl $-0x1, %eax
jne 0x60ccc
callq 0xd070
cmpl $0x4, (%rax)
je 0x60c4e
leaq 0xf0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x123a3(%rip), %rsi     # 0x7301c
leaq 0x123af(%rip), %rdx     # 0x7302f
leaq 0xe0(%rsp), %rdi
callq 0x15892
leaq 0x122b2(%rip), %rsi     # 0x72f46
leaq 0xe0(%rsp), %rdi
callq 0xdb40
leaq 0xb0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x60dae
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x60dc1
callq 0x4a8ea
movq 0x35d08(%rip), %rax     # 0x969e0
movq 0x10(%rax), %rbx
movq %rbx, %rdi
callq 0xd8c0
testl %eax, %eax
jne 0x60d55
movq (%r14), %rsi
movq (%rsi), %rdi
callq 0xd4b0
leaq 0xb0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x14071(%rip), %rsi     # 0x74d77
leaq 0x14070(%rip), %rdx     # 0x74d7d
leaq 0xa0(%rsp), %rdi
callq 0x15892
movq (%r14), %rax
movq (%rax), %rsi
leaq 0xa0(%rsp), %rdi
callq 0xdb40
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x60e16
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x60e23
leaq 0x50(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x13ffe(%rip), %rsi     # 0x74d63
leaq 0x13ffe(%rip), %rdx     # 0x74d6a
leaq 0x40(%rsp), %rdi
callq 0x15892
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0xdb40
leaq 0x90(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x60e75
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x60e88
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
movq 0x8(%rax), %rdx
leaq 0xa0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x12249(%rip), %rsi     # 0x73030
callq 0xdb40
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x60edd
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x60eea
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x13f38(%rip), %rsi     # 0x74d7e
callq 0xdb40
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x60f86
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x60f93
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x13ebd(%rip), %rsi     # 0x74d6b
callq 0xdb40
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x60fe3
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x60fef
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x104(%rsp), %rsi
movl $0x4a3, (%rsi)          # imm = 0x4A3
leaq 0xc0(%rsp), %rdi
callq 0x63483
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0xc8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x60f42
movq 0x30(%rsp), %rsi
leaq 0xd0(%rsp), %r13
cmpq %rsi, %rax
jbe 0x60f6f
movl $0xf, %esi
cmpq %r13, 0xc0(%rsp)
je 0x60f66
movq 0xd0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x610ce
movq 0xc0(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0xd180
jmp 0x610df
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rsi
callq 0xdb40
leaq 0x90(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x61068
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x6107b
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdi
callq 0x403c1
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
movq 0x28(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x61032
movq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %r13
cmpq %rsi, %rax
jbe 0x61056
movl $0xf, %esi
cmpq %r13, 0x20(%rsp)
je 0x6104d
movq 0x30(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x61162
movq 0x20(%rsp), %rsi
movq %rsp, %rdi
callq 0xd180
jmp 0x61170
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x13ccc(%rip), %rsi     # 0x74d6d
callq 0xdb40
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6118d
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x61199
leaq 0xc0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xd5e0
leaq 0x50(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x610fc
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x61109
movq %rsi, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x134e5(%rip), %rsi     # 0x74612
leaq 0x40(%rsp), %rdi
callq 0xdb40
leaq 0x90(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x61211
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x61224
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xd5e0
leaq 0x70(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x611dd
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x611ea
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe0(%rsp), %rdi
callq 0x403c1
leaq 0x60(%rsp), %rdi
movq %rsp, %rsi
leaq 0xe0(%rsp), %rdx
callq 0x633db
leaq 0x60(%rsp), %rdi
callq 0x40479
movq %rsi, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x60(%rsp), %rdi
callq 0x40479
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x13b03(%rip), %rsi     # 0x74d4d
callq 0xdb40
leaq 0x10(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x6126f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
jmp 0x6127b
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x11fb1(%rip), %rsi     # 0x7324d
callq 0xdb40
leaq 0x70(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x612c4
movups (%rcx), %xmm0
movq %rsi, %rbp
movups %xmm0, (%rsi)
jmp 0x612d4
movq %rsi, %rbp
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x40479
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x61314
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x61314
movq %rax, %rbx
leaq 0x10(%rsp), %rbp
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x6132f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x90(%rsp), %rbp
jmp 0x61382
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6135c
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x6135c
movq %rax, %rbx
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x613a4
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x613a4
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %rbp, %rdi
je 0x613bf
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x613bf
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x6141b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x6141b
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6143d
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x6143d
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x613ff
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x613ff
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x6145f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x6145f
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r13, %rdi
je 0x6147a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x6147a
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x61496
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x61496
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x614b2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x614b2
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x614d4
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x614d4
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x614f0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x614f0
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r15, %rdi
je 0x61512
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x61512
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x61526
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x61526
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x61540
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x61540
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x61566
movq 0x50(%rsp), %rsi
jmp 0x61555
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x61566
movq 0xb0(%rsp), %rsi
jmp 0x61555
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
cmpq %r14, %rdi
je 0x61566
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x61566
jmp 0x61563
jmp 0x61563
movq %rax, %rbx
movq %rbx, %rdi
callq 0xda70