// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq 0x315b4(%rip), %r14     # 0x3f7c0
leaq 0xd0(%rsp), %r15
movq %r15, %rdi
callq 0xe1a6
cmpq $0x0, 0x8(%r15)
jne 0xe256
leaq 0x1abb2(%rip), %rsi     # 0x28ddc
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xb770
leaq 0xd0(%rsp), %rdi
leaq 0x30(%rsp), %r15
movq %r15, %rsi
callq 0x8640
movq %r15, %rdi
callq 0x8aa8
pushq $0x3a
popq %rsi
movq %r14, %rdi
callq 0x81b0
testq %rax, %rax
je 0xe3e6
movq %rax, %r14
incq %r14
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rdx
movq %r14, %rsi
callq 0xb770
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1f310
leaq 0x10(%rsp), %rdi
callq 0x8aa8
movq 0x30(%rsp), %rax
cmpb $0x2f, (%rax)
je 0xe35f
callq 0xdc5e
movq 0x31623(%rip), %rax     # 0x3f8d8
movq 0x10(%rax), %rsi
leaq 0x70(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0xb770
leaq 0x50(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1f310
leaq 0xb0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %r14, %rsi
callq 0xb770
leaq 0x90(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x1f310
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0xe7b4
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x8270
leaq 0x10(%rsp), %rdi
callq 0x8aa8
leaq 0x90(%rsp), %rdi
callq 0x8aa8
leaq 0xb0(%rsp), %rdi
callq 0x8aa8
leaq 0x50(%rsp), %rdi
callq 0x8aa8
leaq 0x70(%rsp), %rdi
callq 0x8aa8
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0xe3cf
movq 0x30(%rsp), %rcx
cmpb $0x2f, -0x1(%rcx,%rax)
jne 0xe3cf
leaq 0x50(%rsp), %rdi
callq 0xe08e
leaq 0x70(%rsp), %rdi
callq 0xe1a6
movq 0x70(%rsp), %rcx
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0xe882
leaq 0x70(%rsp), %rdi
callq 0x8aa8
leaq 0x50(%rsp), %rdi
callq 0x8aa8
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x8750
leaq 0x10(%rsp), %rdi
callq 0x8aa8
jmp 0xe3dc
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x8750
leaq 0x30(%rsp), %rdi
jmp 0xe49d
callq 0xdc5e
movq 0x314e6(%rip), %rax     # 0x3f8d8
movq 0x10(%rax), %rsi
leaq 0x50(%rsp), %rdi
leaq 0xb0(%rsp), %rdx
callq 0xb770
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1f310
leaq 0x1a96c(%rip), %rsi     # 0x28d8a
leaq 0x90(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0xb770
leaq 0x70(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x1f310
movq 0xd0(%rsp), %r8
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x70(%rsp), %rdx
xorl %ecx, %ecx
callq 0xe5bc
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x8750
leaq 0x30(%rsp), %rdi
callq 0x8aa8
leaq 0x70(%rsp), %rdi
callq 0x8aa8
leaq 0x90(%rsp), %rdi
callq 0x8aa8
leaq 0x10(%rsp), %rdi
callq 0x8aa8
leaq 0x50(%rsp), %rdi
callq 0x8aa8
leaq 0xd0(%rsp), %rdi
callq 0x8aa8
movq %rbx, %rax
addq $0xf0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
jmp 0xe531
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x8aa8
jmp 0xe4db
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0xe531
jmp 0xe58b
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x8aa8
jmp 0xe4f9
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x8aa8
jmp 0xe50b
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x8aa8
jmp 0xe51d
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x8aa8
jmp 0xe52c
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x8aa8
jmp 0xe58e
jmp 0xe58b
jmp 0xe58b
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x8aa8
jmp 0xe54e
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x8aa8
jmp 0xe55d
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x8aa8
jmp 0xe56f
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x8aa8
jmp 0xe57e
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0xe593
jmp 0xe5a4
jmp 0xe5a4
jmp 0xe5a4
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x8aa8
jmp 0xe5a7
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
jmp 0xe593
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x8aa8
movq %rbx, %rdi
callq 0x8980