// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile[abi:cxx11]()
std::string UnitTestOptions::GetAbsolutePathToOutputFile() {
  const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
  if (gtest_output_flag == NULL)
    return "";

  const char* const colon = strchr(gtest_output_flag, ':');
  if (colon == NULL)
    return internal::FilePath::ConcatPaths(
        internal::FilePath(
            UnitTest::GetInstance()->original_working_dir()),
        internal::FilePath(kDefaultOutputFile)).string();

  internal::FilePath output_name(colon + 1);
  if (!output_name.IsAbsolutePath())
    // TODO(wan@google.com): on Windows \some\path is not an absolute
    // path (as its meaning depends on the current drive), yet the
    // following logic for turning it into an absolute path is wrong.
    // Fix it.
    output_name = internal::FilePath::ConcatPaths(
        internal::FilePath(UnitTest::GetInstance()->original_working_dir()),
        internal::FilePath(colon + 1));

  if (!output_name.IsDirectory())
    return output_name.string();

  internal::FilePath result(internal::FilePath::GenerateUniqueFileName(
      output_name, internal::GetCurrentExecutableName(),
      GetOutputFormat().c_str()));
  return result.string();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
movq 0x2f016(%rip), %rdi     # 0x37590
testq %rdi, %rdi
je 0x87c9
movl $0x3a, %esi
callq 0x61a0
testq %rax, %rax
je 0x8815
movq %rax, %r15
leaq 0x1(%rax), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r14, %rdi
callq 0x61c0
leaq (%r15,%rax), %rdx
incq %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x24240
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1dc70
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x85e9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x68(%rsp), %rsi
cmpb $0x2f, (%rsi)
je 0x8718
callq 0x7dc8
movq 0x2f09d(%rip), %rax     # 0x376a0
movq 0x10(%rax), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1dc32
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1dc70
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r14, %rdi
callq 0x61c0
leaq (%rax,%r14), %rdx
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x24240
leaq 0x88(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x1dc70
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x8b3a
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6220
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x869f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86c0
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x86dd
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86f8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8713
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
testq %rdx, %rdx
je 0x87e7
cmpb $0x2f, -0x1(%rsi,%rdx)
jne 0x87e7
leaq 0x48(%rsp), %rdi
callq 0x835b
leaq 0x28(%rsp), %rdi
callq 0x84ec
movq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x8cfa
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8779
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8794
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x242d6
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x87f9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x87f9
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x202fe(%rip), %rdx     # 0x28ad5
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x24240
jmp 0x8938
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x242d6
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8938
movq 0x78(%rsp), %rsi
jmp 0x8930
callq 0x7dc8
movq 0x2ee7f(%rip), %rax     # 0x376a0
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x1dc32
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1dc70
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1ec37(%rip), %rsi     # 0x27490
leaq 0x1ec3f(%rip), %rdx     # 0x2749f
leaq 0x88(%rsp), %rdi
callq 0x24240
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x1dc70
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x8b3a
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x242d6
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x88ca
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x88e5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x8902
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x891d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8938
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8afd
movq 0x18(%rsp), %rsi
jmp 0x8a47
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8988
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8988
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8afd
movq 0x58(%rsp), %rsi
jmp 0x8a47
jmp 0x8afa
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x89c8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x89c8
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89ee
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x89ee
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8a10
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8a10
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a30
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8a30
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8afd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8afd
jmp 0x8afa
jmp 0x8afa
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a81
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8a81
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8aa1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8aa1
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x8ac3
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8ac3
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8ae3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8ae3
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b31
movq 0x58(%rsp), %rsi
jmp 0x8b10
jmp 0x8b2e
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b31
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8b31
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8b31
movq 0x18(%rsp), %rsi
jmp 0x8b10
movq %rax, %rbx
movq %rbx, %rdi
callq 0x68e0
nop