// File: /workspace/github_cpp_makefile_star2_O3/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), %rbp
movq %rbp, -0x10(%rbp)
movq 0x49d2b(%rip), %rsi     # 0x94900
movq 0x49d2c(%rip), %rdx     # 0x94908
addq %rsi, %rdx
leaq 0xe8(%rsp), %r14
movq %r14, %rdi
callq 0x152da
movq (%r14), %r14
leaq 0xc8(%rsp), %rdi
callq 0x4aaf6
cmpq $0x0, 0xd0(%rsp)
jne 0x4ac56
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x251d1(%rip), %rsi     # 0x6fdec
leaq 0x251cd(%rip), %rdx     # 0x6fdef
leaq 0x28(%rsp), %rdi
callq 0x1558a
leaq 0xc8(%rsp), %rdi
leaq 0x28(%rsp), %r15
movq %r15, %rsi
callq 0xd6e0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x4ac56
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq %r14, %rdi
movl $0x3a, %esi
callq 0xd1e0
testq %rax, %rax
je 0x4affb
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 0x1558a
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x152da
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rdx
movq %rax, %rcx
testq %rdx, %rdx
je 0x4ad03
movq %rax, %rsi
movb (%rsi), %dil
cmpb $0x2f, %dil
setne %r8b
cmpq %rax, %rcx
sete %r9b
orb %r8b, %r9b
jne 0x4ace7
cmpb $0x2f, -0x1(%rcx)
je 0x4acf7
movb %dil, (%rcx)
incq %rcx
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rdx
incq %rsi
leaq (%rax,%rdx), %rdi
cmpq %rdi, %rsi
jne 0x4acca
movq %rcx, %rdx
subq %rax, %rdx
movq %rdx, 0x30(%rsp)
movb $0x0, (%rcx)
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4ad27
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0x4ad3f
movq 0x28(%rsp), %rsi
cmpb $0x2f, (%rsi)
je 0x4af55
callq 0x490c6
movq 0x49c95(%rip), %rax     # 0x949e0
movq 0x10(%rax), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x27(%rsp), %rdx
callq 0x2008e
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x152da
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rdx
movq %rax, %rcx
testq %rdx, %rdx
je 0x4adcc
movq %rax, %rsi
movb (%rsi), %dil
cmpb $0x2f, %dil
setne %r8b
cmpq %rax, %rcx
sete %r9b
orb %r8b, %r9b
jne 0x4adb0
cmpb $0x2f, -0x1(%rcx)
je 0x4adc0
movb %dil, (%rcx)
incq %rcx
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rdx
incq %rsi
leaq (%rax,%rdx), %rdi
cmpq %rdi, %rsi
jne 0x4ad93
movq %rcx, %rdx
subq %rax, %rdx
movq %rdx, 0x50(%rsp)
movb $0x0, (%rcx)
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r14, %rdi
callq 0xd210
leaq (%rax,%r14), %rdx
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x1558a
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0x152da
movq 0x88(%rsp), %rax
movq 0x90(%rsp), %rdx
movq %rax, %rcx
testq %rdx, %rdx
je 0x4ae89
movq %rax, %rsi
movb (%rsi), %dil
cmpb $0x2f, %dil
setne %r8b
cmpq %rax, %rcx
sete %r9b
orb %r8b, %r9b
jne 0x4ae67
cmpb $0x2f, -0x1(%rcx)
je 0x4ae7d
movb %dil, (%rcx)
incq %rcx
movq 0x88(%rsp), %rax
movq 0x90(%rsp), %rdx
incq %rsi
leaq (%rax,%rdx), %rdi
cmpq %rdi, %rsi
jne 0x4ae4a
movq %rcx, %rsi
subq %rax, %rsi
leaq 0x88(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movb $0x0, (%rcx)
movq %rsp, %rdi
leaq 0x48(%rsp), %rsi
callq 0x4509c
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
callq 0xd2a0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4aece
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x4aeeb
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4af08
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4af1f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
leaq 0xf8(%rsp), %rbp
je 0x4af42
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0x4b1f0
cmpb $0x2f, -0x1(%rsi,%rdx)
jne 0x4b1f2
leaq 0x48(%rsp), %rdi
callq 0x4a996
leaq 0x68(%rsp), %rdi
callq 0x4aaf6
movq 0x68(%rsp), %rcx
movq %rsp, %rdi
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x453d2
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4afa6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4afc1
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 0x152da
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4b204
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b204
callq 0x490c6
movq 0x499d9(%rip), %rax     # 0x949e0
movq 0x10(%rax), %rsi
leaq 0x48(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x2008e
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x152da
movq (%rsp), %rax
movq 0x8(%rsp), %rdx
movq %rax, %rcx
testq %rdx, %rdx
je 0x4b087
movq %rax, %rsi
movb (%rsi), %dil
cmpb $0x2f, %dil
setne %r8b
cmpq %rax, %rcx
sete %r9b
orb %r8b, %r9b
jne 0x4b06c
cmpb $0x2f, -0x1(%rcx)
je 0x4b07b
movb %dil, (%rcx)
incq %rcx
movq (%rsp), %rax
movq 0x8(%rsp), %rdx
incq %rsi
leaq (%rax,%rdx), %rdi
cmpq %rdi, %rsi
jne 0x4b04f
movq %rcx, %rdx
subq %rax, %rdx
movq %rdx, 0x8(%rsp)
movb $0x0, (%rcx)
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x24cf0(%rip), %rsi     # 0x6fd98
leaq 0x24cf4(%rip), %rdx     # 0x6fda3
leaq 0x88(%rsp), %rdi
callq 0x1558a
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x152da
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rdx
movq %rax, %rcx
testq %rdx, %rdx
je 0x4b131
movq %rax, %rsi
movb (%rsi), %dil
cmpb $0x2f, %dil
setne %r8b
cmpq %rax, %rcx
sete %r9b
orb %r8b, %r9b
jne 0x4b115
cmpb $0x2f, -0x1(%rcx)
je 0x4b125
movb %dil, (%rcx)
incq %rcx
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rdx
incq %rsi
leaq (%rax,%rdx), %rdi
cmpq %rdi, %rsi
jne 0x4b0f8
movq %rcx, %rsi
subq %rax, %rsi
leaq 0x68(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movb $0x0, (%rcx)
movq 0xc8(%rsp), %r8
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
xorl %ecx, %ecx
callq 0x44bae
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x152da
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b191
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x4b1a8
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x4b1c5
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x4b1db
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b21b
movq 0x58(%rsp), %rsi
jmp 0x4b213
xorl %edx, %edx
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x152da
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4b21b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b23c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xe8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4b259
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 0x4b418
movq 0x10(%rsp), %rsi
jmp 0x4b409
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b2ab
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b2ab
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b418
movq 0x58(%rsp), %rsi
jmp 0x4b409
jmp 0x4b415
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b2ef
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b2ef
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x4b30b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b30b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x4b32d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b32d
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x4b348
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b348
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b447
movq 0x58(%rsp), %rsi
jmp 0x4b427
jmp 0x4b444
jmp 0x4b444
jmp 0x4b444
jmp 0x4b415
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4b396
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b396
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x4b3b8
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b3b8
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4b3da
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b3da
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4b3f6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b3f6
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b418
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b418
jmp 0x4b415
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4b447
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4b447
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4b447
movq 0x10(%rsp), %rsi
jmp 0x4b427
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b468
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4b48d
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
movq %rax, %rbx
jmp 0x4b468