// File: /workspace/github_cpp_makefile_star2_O3/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 0x5f38e
callq 0xd070
cmpl $0x4, (%rax)
je 0x5f310
leaq 0xd0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x11cf1(%rip), %rsi     # 0x7102c
leaq 0x11cfd(%rip), %rdx     # 0x7103f
leaq 0xc0(%rsp), %rdi
callq 0x1558a
leaq 0x11c00(%rip), %rsi     # 0x70f56
leaq 0xc0(%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 0x5f470
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x5f483
callq 0x490c6
movq 0x35646(%rip), %rax     # 0x949e0
movq 0x10(%rax), %rbx
movq %rbx, %rdi
callq 0xd8c0
testl %eax, %eax
jne 0x5f417
movq (%r14), %rsi
movq (%rsi), %rdi
callq 0xd4b0
leaq 0xb0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x139bf(%rip), %rsi     # 0x72d87
leaq 0x139be(%rip), %rdx     # 0x72d8d
leaq 0xa0(%rsp), %rdi
callq 0x1558a
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 0x5f4d8
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x5f4e5
leaq 0x50(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1394c(%rip), %rsi     # 0x72d73
leaq 0x1394c(%rip), %rdx     # 0x72d7a
leaq 0x40(%rsp), %rdi
callq 0x1558a
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 0x5f537
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x5f54a
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 0x11b97(%rip), %rsi     # 0x71040
callq 0xdb40
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5f59f
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x5f5ac
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 0x13886(%rip), %rsi     # 0x72d8e
callq 0xdb40
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5f63f
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x5f64c
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 0x1380b(%rip), %rsi     # 0x72d7b
callq 0xdb40
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5f69c
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x5f6a8
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 0xe4(%rsp), %rsi
movl $0x4a3, (%rsi)          # imm = 0x4A3
leaq 0xe8(%rsp), %rdi
callq 0x61b3f
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x5f604
movq 0x30(%rsp), %rdi
leaq 0xf8(%rsp), %r13
movq -0x10(%r13), %rsi
cmpq %rdi, %rax
jbe 0x5f630
movl $0xf, %edi
cmpq %r13, %rsi
je 0x5f627
movq 0xf8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x5f784
leaq 0x20(%rsp), %rdi
callq 0xd180
jmp 0x5f795
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 0x5f71e
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x5f731
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 0x3ec9b
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
movq 0x28(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x5f6eb
movq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %r13
movq -0x10(%r13), %rsi
cmpq %rdi, %rax
jbe 0x5f711
movl $0xf, %edi
cmpq %r13, %rsi
je 0x5f708
movq 0x30(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x5f818
movq %rsp, %rdi
callq 0xd180
jmp 0x5f826
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 0x13626(%rip), %rsi     # 0x72d7d
callq 0xdb40
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5f843
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x5f84f
leaq 0xe8(%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 0x5f7b2
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x5f7bf
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 0x12e3f(%rip), %rsi     # 0x72622
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 0x5f8c7
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x5f8da
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 0x5f893
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x5f8a0
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 0xc0(%rsp), %rdi
callq 0x3ec9b
leaq 0x60(%rsp), %rdi
movq %rsp, %rsi
leaq 0xc0(%rsp), %rdx
callq 0x61a97
leaq 0x60(%rsp), %rdi
callq 0x3ed53
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 0x3ed53
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 0x1345d(%rip), %rsi     # 0x72d5d
callq 0xdb40
leaq 0x10(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5f925
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
jmp 0x5f931
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 0x1190b(%rip), %rsi     # 0x7125d
callq 0xdb40
leaq 0x70(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5f97a
movups (%rcx), %xmm0
movq %rsi, %rbp
movups %xmm0, (%rsi)
jmp 0x5f98a
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 0x3ed53
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5f9ca
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5f9ca
movq %rax, %rbx
leaq 0x10(%rsp), %rbp
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x5f9e5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x90(%rsp), %rbp
jmp 0x5fa38
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5fa12
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fa12
movq %rax, %rbx
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5fa5a
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fa5a
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5fa75
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fa75
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x5fad1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fad1
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5faf3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5faf3
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5fab5
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fab5
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x5fb15
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fb15
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r13, %rdi
je 0x5fb30
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fb30
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5fb4c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fb4c
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x5fb68
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fb68
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x5fb8a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fb8a
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x5fba6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fba6
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r15, %rdi
je 0x5fbc8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fbc8
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x5fbdc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fbdc
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x5fbf6
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fbf6
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x5fc1c
movq 0x50(%rsp), %rsi
jmp 0x5fc0b
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x5fc1c
movq 0xb0(%rsp), %rsi
jmp 0x5fc0b
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r14, %rdi
je 0x5fc1c
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5fc1c
jmp 0x5fc19
jmp 0x5fc19
movq %rax, %rbx
movq %rbx, %rdi
callq 0xda70