// File: /workspace/github_cpp_makefile_star2_O3/ambersun1234[P]AVL_Tree/./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();

  std::string format = GetOutputFormat();
  if (format.empty())
    format = std::string(kDefaultOutputFormat);

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

  internal::FilePath output_name(colon + 1);
  if (!output_name.IsAbsolutePath())
    // FIXME: 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 $0xe8, %rsp
movq %rdi, %rbx
movq 0x3a6b6(%rip), %r14     # 0x497a0
leaq 0xc8(%rsp), %r15
movq %r15, %rdi
callq 0xf080
cmpq $0x0, 0x8(%r15)
jne 0xf14d
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x25cea(%rip), %rsi     # 0x34dfc
leaq 0x25ce6(%rip), %rdx     # 0x34dff
leaq 0x28(%rsp), %rdi
callq 0x30548
leaq 0xc8(%rsp), %rdi
leaq 0x28(%rsp), %r15
movq %r15, %rsi
callq 0x7630
movq (%r15), %rdi
cmpq %r12, %rdi
je 0xf14d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
movq %r14, %rdi
movl $0x3a, %esi
callq 0x71c0
testq %rax, %rax
je 0xf3c4
movq %rax, %r15
leaq 0x1(%rax), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r14, %rdi
callq 0x71e0
leaq (%r15,%rax), %rdx
incq %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x30548
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2a4d6
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf1b6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x28(%rsp), %rsi
cmpb $0x2f, (%rsi)
je 0xf2e5
callq 0xe8fa
movq 0x3a6e8(%rip), %rax     # 0x498b8
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x2a3b0
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x2a4d6
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r14, %rdi
callq 0x71e0
leaq (%rax,%r14), %rdx
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x30548
leaq 0x88(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x2a4d6
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0xfbd4
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7260
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf26c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf28d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xf2aa
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf2c5
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf2e0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0xf396
cmpb $0x2f, -0x1(%rsi,%rdx)
jne 0xf396
leaq 0x68(%rsp), %rdi
callq 0xeecc
leaq 0x48(%rsp), %rdi
callq 0xf080
movq 0x48(%rsp), %rcx
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0xfd80
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf346
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf361
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xbf26
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf3a8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf3a8
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xbf26
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf4f1
movq 0x38(%rsp), %rsi
jmp 0xf4e9
callq 0xe8fa
movq 0x3a4e8(%rip), %rax     # 0x498b8
movq 0x10(%rax), %rsi
leaq 0x68(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x2a3b0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x2a4d6
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x259a2(%rip), %rsi     # 0x34daa
leaq 0x259a6(%rip), %rdx     # 0x34db5
leaq 0x88(%rsp), %rdi
callq 0x30548
leaq 0x48(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x2a4d6
movq 0xc8(%rsp), %r8
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x48(%rsp), %rdx
xorl %ecx, %ecx
callq 0xf738
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xbf26
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf483
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf49e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0xf4bb
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf4d6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf4f1
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf512
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x7480
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf6db
movq 0x18(%rsp), %rsi
jmp 0xf621
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf562
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf562
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf6db
movq 0x78(%rsp), %rsi
jmp 0xf621
jmp 0xf6d8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf5a2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf5a2
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf5c8
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf5c8
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xf5ea
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf5ea
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf60a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf60a
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf6db
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf6db
jmp 0xf6d8
jmp 0xf6d8
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf65b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf65b
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf67b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf67b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0xf69d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf69d
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf6bd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf6bd
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf70f
movq 0x78(%rsp), %rsi
jmp 0xf6ee
jmp 0xf70c
jmp 0xf70c
jmp 0xf70c
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf70f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf70f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf70f
movq 0x18(%rsp), %rsi
jmp 0xf6ee
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf730
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x7480
movq %rbx, %rdi
callq 0x7960