// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.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 0x621d2(%rip), %rdi     # 0x73738
testq %rdi, %rdi
je 0x117b5
movl $0x3a, %esi
callq 0xc240
testq %rax, %rax
je 0x11806
movq %rax, %r15
leaq 0x1(%rax), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r14, %rdi
callq 0xc260
leaq (%r15,%rax), %rdx
incq %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x2ee64
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28b24
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x115d5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x68(%rsp), %rax
cmpb $0x2f, (%rax)
je 0x116ff
callq 0x10d48
movq 0x62271(%rip), %rax     # 0x73860
movq 0x10(%rax), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x28b72
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x28b24
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r14, %rdi
callq 0xc260
leaq (%rax,%r14), %rdx
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x2ee64
leaq 0x88(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x28b24
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x11b2a
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xc300
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1168b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x116ac
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x116c9
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x116e4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x116ff
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x70(%rsp), %rdx
testq %rdx, %rdx
je 0x117d3
movq 0x68(%rsp), %rax
cmpb $0x2f, -0x1(%rax,%rdx)
jne 0x117d3
leaq 0x48(%rsp), %rdi
callq 0x11325
leaq 0x28(%rsp), %rdi
callq 0x114d8
movq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x11cea
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11765
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11780
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2eef4
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x117ea
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x117ea
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x47690(%rip), %rdx     # 0x58e53
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x2ee64
jmp 0x11929
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x68(%rsp), %rsi
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2eef4
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11929
movq 0x78(%rsp), %rsi
jmp 0x11921
callq 0x10d48
movq 0x6204e(%rip), %rax     # 0x73860
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x28b72
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x28b24
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x40986(%rip), %rsi     # 0x521d0
leaq 0x4098e(%rip), %rdx     # 0x521df
leaq 0x88(%rsp), %rdi
callq 0x2ee64
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x28b24
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x11b2a
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2eef4
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x118bb
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x118d6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x118f3
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1190e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11929
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
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 0x11aee
movq 0x18(%rsp), %rsi
jmp 0x11a38
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11979
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11979
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11aee
movq 0x58(%rsp), %rsi
jmp 0x11a38
jmp 0x11aeb
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x119b9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x119b9
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x119df
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x119df
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x11a01
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11a01
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11a21
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11a21
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11aee
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11aee
jmp 0x11aeb
jmp 0x11aeb
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11a72
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11a72
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11a92
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11a92
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x11ab4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11ab4
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11ad4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11ad4
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11b22
movq 0x58(%rsp), %rsi
jmp 0x11b01
jmp 0x11b1f
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11b22
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x11b22
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x11b22
movq 0x18(%rsp), %rsi
jmp 0x11b01
movq %rax, %rbx
movq %rbx, %rdi
callq 0xcbb0