// File: /workspace/github_cpp_makefile_star2_O1/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 0x2ef80(%rip), %rdi     # 0x37590
testq %rdi, %rdi
je 0x885f
movl $0x3a, %esi
callq 0x61a0
testq %rax, %rax
je 0x88b0
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 0x247da
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1e0fc
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x867f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x68(%rsp), %rax
cmpb $0x2f, (%rax)
je 0x87a9
callq 0x7e2e
movq 0x2f007(%rip), %rax     # 0x376a0
movq 0x10(%rax), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1e0be
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1e0fc
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 0x247da
leaq 0x88(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x1e0fc
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x8bd4
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6220
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8735
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8756
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8773
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x878e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87a9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x70(%rsp), %rdx
testq %rdx, %rdx
je 0x887d
movq 0x68(%rsp), %rax
cmpb $0x2f, -0x1(%rax,%rdx)
jne 0x887d
leaq 0x48(%rsp), %rdi
callq 0x83cf
leaq 0x28(%rsp), %rdi
callq 0x8582
movq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x8d94
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x880f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x882a
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 0x2486a
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8894
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8894
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x20268(%rip), %rdx     # 0x28ad5
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x247da
jmp 0x89d3
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x68(%rsp), %rsi
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2486a
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89d3
movq 0x78(%rsp), %rsi
jmp 0x89cb
callq 0x7e2e
movq 0x2ede4(%rip), %rax     # 0x376a0
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x1e0be
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1e0fc
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1eb9c(%rip), %rsi     # 0x27490
leaq 0x1eba4(%rip), %rdx     # 0x2749f
leaq 0x88(%rsp), %rdi
callq 0x247da
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x1e0fc
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x8bd4
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2486a
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8965
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8980
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x899d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89b8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89d3
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 0x8b98
movq 0x18(%rsp), %rsi
jmp 0x8ae2
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a23
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8a23
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b98
movq 0x58(%rsp), %rsi
jmp 0x8ae2
jmp 0x8b95
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8a63
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8a63
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a89
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8a89
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8aab
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8aab
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8acb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8acb
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b98
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8b98
jmp 0x8b95
jmp 0x8b95
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b1c
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8b1c
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b3c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8b3c
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x8b5e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8b5e
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b7e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8b7e
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8bcc
movq 0x58(%rsp), %rsi
jmp 0x8bab
jmp 0x8bc9
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8bcc
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x8bcc
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8bcc
movq 0x18(%rsp), %rsi
jmp 0x8bab
movq %rax, %rbx
movq %rbx, %rdi
callq 0x68e0