// File: /workspace/github_cpp_makefile_star2_O1/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 0x3a3c6(%rip), %r14     # 0x497a0
leaq 0xc8(%rsp), %r15
movq %r15, %rdi
callq 0xf356
cmpq $0x0, 0x8(%r15)
jne 0xf43d
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x259ca(%rip), %rsi     # 0x34dcc
leaq 0x259c6(%rip), %rdx     # 0x34dcf
leaq 0x28(%rsp), %rdi
callq 0x30c22
leaq 0xc8(%rsp), %rdi
leaq 0x28(%rsp), %r15
movq %r15, %rsi
callq 0x7630
movq (%r15), %rdi
cmpq %r12, %rdi
je 0xf43d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
movq %r14, %rdi
movl $0x3a, %esi
callq 0x71c0
testq %rax, %rax
je 0xf6b9
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 0x30c22
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2ab1a
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf4a6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x28(%rsp), %rax
cmpb $0x2f, (%rax)
je 0xf5d0
callq 0xeba0
movq 0x3a3f8(%rip), %rax     # 0x498b8
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x2a9f6
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x2ab1a
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 0x30c22
leaq 0x88(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x2ab1a
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0xfecc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7260
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf55c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf57d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xf59a
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf5b5
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf5d0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0xf686
movq 0x28(%rsp), %rax
cmpb $0x2f, -0x1(%rax,%rdx)
jne 0xf686
leaq 0x68(%rsp), %rdi
callq 0xf180
leaq 0x48(%rsp), %rdi
callq 0xf356
movq 0x48(%rsp), %rcx
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x10078
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf636
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf651
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 0xc0bc
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf69d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf69d
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rsp), %rsi
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xc0bc
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf7e6
movq 0x38(%rsp), %rsi
jmp 0xf7de
callq 0xeba0
movq 0x3a1f3(%rip), %rax     # 0x498b8
movq 0x10(%rax), %rsi
leaq 0x68(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x2a9f6
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x2ab1a
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2567d(%rip), %rsi     # 0x34d7a
leaq 0x25681(%rip), %rdx     # 0x34d85
leaq 0x88(%rsp), %rdi
callq 0x30c22
leaq 0x48(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x2ab1a
movq 0xc8(%rsp), %r8
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x48(%rsp), %rdx
xorl %ecx, %ecx
callq 0xfa2e
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xc0bc
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf778
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf793
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0xf7b0
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf7cb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf7e6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf807
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 0xf9d0
movq 0x18(%rsp), %rsi
jmp 0xf916
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf857
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf857
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf9d0
movq 0x78(%rsp), %rsi
jmp 0xf916
jmp 0xf9cd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf897
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf897
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf8bd
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf8bd
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xf8df
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf8df
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf8ff
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf8ff
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf9d0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf9d0
jmp 0xf9cd
jmp 0xf9cd
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf950
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf950
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf970
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf970
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0xf992
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf992
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf9b2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xf9b2
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfa04
movq 0x78(%rsp), %rsi
jmp 0xf9e3
jmp 0xfa01
jmp 0xfa01
jmp 0xfa01
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfa04
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0xfa04
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfa04
movq 0x18(%rsp), %rsi
jmp 0xf9e3
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfa25
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x7480
movq %rbx, %rdi
callq 0x7960
nop