// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile[abi:cxx11]()
std::string UnitTestOptions::GetAbsolutePathToOutputFile() {
  std::string s = GTEST_FLAG_GET(output);
  const char* const gtest_output_flag = s.c_str();

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

  const char* const colon = strchr(gtest_output_flag, ':');
  if (colon == nullptr)
    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())
    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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x4a4f2(%rip), %rsi     # 0x96900
movq 0x4a4f3(%rip), %rdx     # 0x96908
addq %rsi, %rdx
leaq 0xe8(%rsp), %r14
movq %r14, %rdi
callq 0x155e4
movq (%r14), %r14
leaq 0xc8(%rsp), %rdi
callq 0x4c320
cmpq $0x0, 0xd0(%rsp)
jne 0x4c48e
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x259b9(%rip), %rsi     # 0x71e0c
leaq 0x259b5(%rip), %rdx     # 0x71e0f
leaq 0x28(%rsp), %rdi
callq 0x15892
leaq 0xc8(%rsp), %rdi
leaq 0x28(%rsp), %r15
movq %r15, %rsi
callq 0xd6e0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x4c48e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq %r14, %rdi
movl $0x3a, %esi
callq 0xd1e0
testq %rax, %rax
je 0x4c53b
movq %rax, %r15
leaq 0x1(%rax), %r14
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq %r14, %rdi
callq 0xd210
leaq (%r15,%rax), %rdx
incq %rdx
movq %rsp, %rdi
movq %r14, %rsi
callq 0x15892
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x155e4
movq 0x28(%rsp), %rdx
cmpq $0x0, 0x30(%rsp)
je 0x4c5c7
movq %rdx, %rax
movq %rdx, %rcx
movb (%rcx), %sil
cmpb $0x2f, %sil
jne 0x4c51b
movb $0x2f, %sil
cmpq %rdx, %rax
je 0x4c51b
cmpb $0x2f, -0x1(%rax)
je 0x4c521
movb %sil, (%rax)
incq %rax
incq %rcx
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rsi
addq %rdx, %rsi
cmpq %rsi, %rcx
jne 0x4c504
jmp 0x4c5ca
callq 0x4a8ea
movq 0x4a499(%rip), %rax     # 0x969e0
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x208e8
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x155e4
movq (%rsp), %rdx
cmpq $0x0, 0x8(%rsp)
je 0x4c69f
movq %rdx, %rax
movq %rdx, %rcx
movb (%rcx), %sil
cmpb $0x2f, %sil
jne 0x4c5a8
movb $0x2f, %sil
cmpq %rdx, %rax
je 0x4c5a8
cmpb $0x2f, -0x1(%rax)
je 0x4c5ae
movb %sil, (%rax)
incq %rax
incq %rcx
movq (%rsp), %rdx
movq 0x8(%rsp), %rsi
addq %rdx, %rsi
cmpq %rsi, %rcx
jne 0x4c591
jmp 0x4c6a2
movq %rdx, %rax
movq %rax, %rcx
subq %rdx, %rcx
movq %rcx, 0x30(%rsp)
movb $0x0, (%rax)
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4c5ee
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x28(%rsp), %rax
cmpq $0x0, 0x30(%rsp)
movq %rax, %rcx
je 0x4c609
xorl %ecx, %ecx
cmpb $0x2f, (%rax)
sete %cl
addq %rax, %rcx
cmpq %rax, %rcx
jne 0x4c97e
callq 0x4a8ea
movq 0x4a3c2(%rip), %rax     # 0x969e0
movq 0x10(%rax), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x27(%rsp), %rdx
callq 0x208e8
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x155e4
movq 0x48(%rsp), %rdx
cmpq $0x0, 0x50(%rsp)
je 0x4c80d
movq %rdx, %rax
movq %rdx, %rcx
movb (%rcx), %sil
cmpb $0x2f, %sil
jne 0x4c67f
movb $0x2f, %sil
cmpq %rdx, %rax
je 0x4c67f
cmpb $0x2f, -0x1(%rax)
je 0x4c685
movb %sil, (%rax)
incq %rax
incq %rcx
movq 0x48(%rsp), %rdx
movq 0x50(%rsp), %rsi
addq %rdx, %rsi
cmpq %rsi, %rcx
jne 0x4c668
jmp 0x4c810
movq %rdx, %rax
movq %rax, %rcx
subq %rdx, %rcx
movq %rcx, 0x8(%rsp)
movb $0x0, (%rax)
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x256f5(%rip), %rsi     # 0x71db8
leaq 0x256f9(%rip), %rdx     # 0x71dc3
leaq 0x88(%rsp), %rdi
callq 0x15892
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x155e4
movq 0x68(%rsp), %rdx
cmpq $0x0, 0x70(%rsp)
je 0x4c744
movq %rdx, %rax
movq %rdx, %rcx
movb (%rcx), %sil
cmpb $0x2f, %sil
jne 0x4c727
movb $0x2f, %sil
cmpq %rdx, %rax
je 0x4c727
cmpb $0x2f, -0x1(%rax)
je 0x4c72d
movb %sil, (%rax)
incq %rax
incq %rcx
movq 0x68(%rsp), %rdx
movq 0x70(%rsp), %rsi
addq %rdx, %rsi
cmpq %rsi, %rcx
jne 0x4c710
jmp 0x4c747
movq %rdx, %rax
movq %rax, %rcx
subq %rdx, %rcx
leaq 0x68(%rsp), %rdx
movq %rcx, 0x8(%rdx)
movb $0x0, (%rax)
movq 0xc8(%rsp), %r8
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
xorl %ecx, %ecx
callq 0x4633a
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x155e4
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c7a7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4c7be
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x4c7db
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x4c7f1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ca5e
movq 0x58(%rsp), %rsi
jmp 0x4ca56
movq %rdx, %rax
movq %rax, %rcx
subq %rdx, %rcx
movq %rcx, 0x50(%rsp)
movb $0x0, (%rax)
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %r14, %rdi
callq 0xd210
leaq (%rax,%r14), %rdx
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x15892
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0x155e4
movq 0x88(%rsp), %rdx
cmpq $0x0, 0x90(%rsp)
je 0x4c8c5
movq %rdx, %rax
movq %rdx, %rcx
movb (%rcx), %sil
cmpb $0x2f, %sil
jne 0x4c8a2
movb $0x2f, %sil
cmpq %rdx, %rax
je 0x4c8a2
cmpb $0x2f, -0x1(%rax)
je 0x4c8a8
movb %sil, (%rax)
incq %rax
incq %rcx
movq 0x88(%rsp), %rdx
movq 0x90(%rsp), %rsi
addq %rdx, %rsi
cmpq %rsi, %rcx
jne 0x4c88b
jmp 0x4c8c8
movq %rdx, %rax
movq %rax, %rcx
subq %rdx, %rcx
leaq 0x88(%rsp), %rdx
movq %rcx, 0x8(%rdx)
movb $0x0, (%rax)
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x46826
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
callq 0xd2a0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4c90d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c92a
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4c947
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x4c963
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c97e
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0x4ca30
movq 0x28(%rsp), %rax
cmpb $0x2f, -0x1(%rax,%rdx)
jne 0x4ca30
leaq 0x48(%rsp), %rdi
callq 0x4c1c4
leaq 0x68(%rsp), %rdi
callq 0x4c320
movq 0x68(%rsp), %rcx
movq %rsp, %rdi
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x46b6e
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c9e2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c9fd
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x155e4
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4ca47
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4ca47
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rsp), %rsi
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x155e4
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4ca5e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ca7f
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4ca9c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4cc5a
movq 0x10(%rsp), %rsi
jmp 0x4cba9
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4caee
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4caee
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cc5a
movq 0x58(%rsp), %rsi
jmp 0x4cba9
jmp 0x4cc57
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4cb2d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cb2d
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x4cb4f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cb4f
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4cb71
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cb71
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x4cb92
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cb92
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cc5a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cc5a
jmp 0x4cc57
jmp 0x4cc57
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cbe3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cbe3
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4cbff
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cbff
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x4cc21
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cc21
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x4cc3c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cc3c
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cc89
movq 0x58(%rsp), %rsi
jmp 0x4cc69
jmp 0x4cc86
jmp 0x4cc86
jmp 0x4cc86
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4cc89
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4cc89
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4cc89
movq 0x10(%rsp), %rsi
jmp 0x4cc69
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ccaf
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4ccaf
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4cccc
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70