LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::GetCurrentExecutableName()
FilePath GetCurrentExecutableName() {
  FilePath result;

#if defined(GTEST_OS_WINDOWS) || defined(GTEST_OS_OS2)
  result.Set(FilePath(GetArgvs()[0]).RemoveExtension("exe"));
#else
  result.Set(FilePath(GetArgvs()[0]));
#endif  // GTEST_OS_WINDOWS

  return result.RemoveDirectoryName();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %rbx
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
leaq 0x4a794(%rip), %rsi     # 0x96980
leaq 0x48(%rsp), %rdi
callq 0x3f90c
movq 0x48(%rsp), %rax
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x155e4
movq 0x8(%rsp), %rdx
cmpq $0x0, 0x10(%rsp)
je 0x4c25f
movq %rdx, %rax
movq %rdx, %rcx
movb (%rcx), %sil
cmpb $0x2f, %sil
jne 0x4c242
movb $0x2f, %sil
cmpq %rdx, %rax
je 0x4c242
cmpb $0x2f, -0x1(%rax)
je 0x4c248
movb %sil, (%rax)
incq %rax
incq %rcx
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rsi
addq %rdx, %rsi
cmpq %rsi, %rcx
jne 0x4c22b
jmp 0x4c262
movq %rdx, %rax
movq %rax, %rcx
subq %rdx, %rcx
leaq 0x8(%rsp), %rsi
movq %rcx, 0x8(%rsi)
movb $0x0, (%rax)
leaq 0x28(%rsp), %rdi
callq 0xd2a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4c295
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x48(%rsp), %rdi
callq 0x20fca
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x46134
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c2c3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x4c2fd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4c2f1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4c2f1
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x20fca
jmp 0x4c300
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c317
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestOptions::GetOutputFormat[abi:cxx11]()
std::string UnitTestOptions::GetOutputFormat() {
  std::string s = GTEST_FLAG_GET(output);
  const char* const gtest_output_flag = s.c_str();
  const char* const colon = strchr(gtest_output_flag, ':');
  return (colon == nullptr)
             ? std::string(gtest_output_flag)
             : std::string(gtest_output_flag,
                           static_cast<size_t>(colon - gtest_output_flag));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x4a5c1(%rip), %rsi     # 0x96900
movq 0x4a5c2(%rip), %rdx     # 0x96908
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x155e4
movq (%r14), %r15
movq %r15, %rdi
movl $0x3a, %esi
callq 0xd1e0
movq %rax, %r14
testq %rax, %rax
je 0x4c385
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x15892
jmp 0x4c395
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x208e8
testq %r14, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4c3af
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x4c3c0
movq %rax, %rbx
testq %r14, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4c3dd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::(anonymous namespace)::UnitTestFilter::UnitTestFilter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
explicit UnitTestFilter(const std::string& filter) {
    // By design "" filter matches "" string.
    std::vector<std::string> all_patterns;
    SplitString(filter, ':', &all_patterns);
    const auto exact_match_patterns_begin = std::partition(
        all_patterns.begin(), all_patterns.end(), &IsGlobPattern);

    glob_patterns_.reserve(static_cast<size_t>(
        std::distance(all_patterns.begin(), exact_match_patterns_begin)));
    std::move(all_patterns.begin(), exact_match_patterns_begin,
              std::inserter(glob_patterns_, glob_patterns_.begin()));
    std::move(
        exact_match_patterns_begin, all_patterns.end(),
        std::inserter(exact_match_patterns_, exact_match_patterns_.begin()));
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
leaq 0x18(%rdi), %r14
leaq 0x48(%rdi), %rcx
movq %rcx, 0x18(%rdi)
movq $0x1, 0x20(%rdi)
movups %xmm0, 0x28(%rdi)
movl $0x3f800000, 0x38(%rdi) # imm = 0x3F800000
movups %xmm0, 0x40(%rdi)
movq %rsp, %rdx
movq %rax, 0x10(%rdx)
movaps %xmm0, (%rdx)
movq %rsi, %rdi
movl $0x3a, %esi
callq 0x45d06
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
leaq 0x14846(%rip), %rdx     # 0x6163a
callq 0x67a1b
movq %rax, %r15
movq %rax, %rsi
subq (%rsp), %rsi
sarq $0x5, %rsi
movq %rbx, %rdi
callq 0x67934
movq (%rsp), %r12
movq %r15, %r13
subq %r12, %r13
sarq $0x5, %r13
testq %r13, %r13
jle 0x4ce47
movq (%rbx), %rax
incq %r13
movq %rbx, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x67a7a
addq $0x20, %rax
addq $0x20, %r12
decq %r13
cmpq $0x1, %r13
jg 0x4ce28
leaq 0x28(%rbx), %rax
movq 0x8(%rsp), %rsi
movq (%rax), %rcx
movq %r15, %rdi
movq %r14, %rdx
callq 0x67baa
movq %rsp, %rdi
callq 0x20fca
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x4ce78
jmp 0x4ce78
movq %rax, %r15
movq %rsp, %rdi
callq 0x20fca
movq %r14, %rdi
callq 0x6802e
movq %rbx, %rdi
callq 0x20fca
movq %r15, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::(anonymous namespace)::UnitTestFilter::MatchesName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
bool MatchesName(const std::string& name) const {
    return exact_match_patterns_.count(name) > 0 ||
           std::any_of(glob_patterns_.begin(), glob_patterns_.end(),
                       [&name](const std::string& pattern) {
                         return PatternMatchesString(
                             name, pattern.c_str(),
                             pattern.c_str() + pattern.size());
                       });
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
addq $0x18, %rdi
callq 0x680a2
movq %rax, %rcx
movb $0x1, %al
testq %rcx, %rcx
jne 0x4cfad
movq (%r15), %rbx
movq 0x8(%r15), %r12
movq %r14, (%rsp)
movq %r12, %r13
subq %rbx, %r13
movq %r13, %rbp
sarq $0x7, %rbp
testq %rbp, %rbp
jle 0x4cf4e
andq $-0x80, %r13
addq %rbx, %r13
incq %rbp
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x61714
testb %al, %al
jne 0x4cfa4
leaq 0x20(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x61714
testb %al, %al
jne 0x4cfa7
leaq 0x40(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x61714
testb %al, %al
jne 0x4cfa7
leaq 0x60(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x61714
testb %al, %al
jne 0x4cfa7
subq $-0x80, %rbx
decq %rbp
cmpq $0x1, %rbp
jg 0x4ceee
movq %r13, %rbx
movq %r12, %rax
subq %rbx, %rax
sarq $0x5, %rax
cmpq $0x1, %rax
je 0x4cf93
cmpq $0x2, %rax
je 0x4cf80
movq %r12, %r15
cmpq $0x3, %rax
jne 0x4cfa7
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x61714
testb %al, %al
jne 0x4cfa4
addq $0x20, %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x61714
testb %al, %al
jne 0x4cfa4
addq $0x20, %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x61714
testb %al, %al
cmoveq %r12, %rbx
movq %rbx, %r15
cmpq %r12, %r15
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestOptions::FilterMatchesTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool UnitTestOptions::FilterMatchesTest(const std::string& test_suite_name,
                                        const std::string& test_name) {
  // Split --gtest_filter at '-', if there is one, to separate into
  // positive filter and negative filter portions
  return PositiveAndNegativeUnitTestFilter(GTEST_FLAG_GET(filter))
      .MatchesTest(test_suite_name, test_name);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x4d034
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x4d4e8
movl %eax, %ebx
leaq 0x50(%rsp), %r14
leaq 0x68(%rsp), %rdi
callq 0x6802e
movq %r14, %rdi
callq 0x20fca
leaq 0x18(%rsp), %rdi
callq 0x6802e
movq %rsp, %rdi
callq 0x20fca
movl %ebx, %eax
addq $0xa0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4d62a
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestImpl::current_test_result()
TestResult* UnitTestImpl::current_test_result() {
  if (current_test_info_ != nullptr) {
    return &current_test_info_->result_;
  }
  if (current_test_suite_ != nullptr) {
    return &current_test_suite_->ad_hoc_test_result_;
  }
  return &ad_hoc_test_result_;
}

// Assembly:
movq 0x170(%rdi), %rax
testq %rax, %rax
je 0x4dc97
addq $0x90, %rax
retq
movq 0x168(%rdi), %rax
testq %rax, %rax
je 0x4dcaa
addq $0x88, %rax
retq
addq $0x178, %rdi            # imm = 0x178
movq %rdi, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestImpl::os_stack_trace_getter()
OsStackTraceGetterInterface* UnitTestImpl::os_stack_trace_getter() {
  if (os_stack_trace_getter_ == nullptr) {
#ifdef GTEST_OS_STACK_TRACE_GETTER_
    os_stack_trace_getter_ = new GTEST_OS_STACK_TRACE_GETTER_;
#else
    os_stack_trace_getter_ = new OsStackTraceGetter;
#endif  // GTEST_OS_STACK_TRACE_GETTER_
  }

  return os_stack_trace_getter_;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x210(%rdi)
jne 0x4e28d
movl $0x8, %edi
callq 0xd500
leaq 0x4722d(%rip), %rcx     # 0x954b0
movq %rcx, (%rax)
movq %rax, 0x210(%rbx)
movq 0x210(%rbx), %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::GetTimeInMillis()
TimeInMillis GetTimeInMillis() {
  return std::chrono::duration_cast<std::chrono::milliseconds>(
             std::chrono::system_clock::now() -
             std::chrono::system_clock::from_time_t(0))
      .count();
}

// Assembly:
pushq %rax
callq 0xd090
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
imulq %rcx
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x12, %rdx
addq %rdx, %rax
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::StringStreamToString(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char>>*)
std::string StringStreamToString(::std::stringstream* ss) {
  const ::std::string& str = ss->str();
  const char* const start = str.c_str();
  const char* const end = start + str.length();

  std::string result;
  result.reserve(static_cast<size_t>(2 * (end - start)));
  for (const char* ch = start; ch != end; ++ch) {
    if (*ch == '\0') {
      result += "\\0";  // Replaces NUL with "\\0";
    } else {
      result += *ch;
    }
  }

  return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
addq $0x18, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xd990
movq (%r14), %r12
movq 0x8(%r14), %r13
leaq 0x10(%rbx), %r15
movq %r15, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
leaq (,%r13,2), %rsi
movq %rbx, %rdi
callq 0xd970
testq %r13, %r13
je 0x4e5cd
xorl %ebp, %ebp
leaq 0x2570c(%rip), %r14     # 0x73cb1
movb (%r12,%rbp), %al
testb %al, %al
je 0x4e5ba
movsbl %al, %esi
movq %rbx, %rdi
callq 0xd450
jmp 0x4e5c5
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdb40
incq %rbp
cmpq %rbp, %r13
jne 0x4e5a5
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e5e8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4e5fc
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x4e612
movq (%r15), %rsi
incq %rsi
callq 0xd530
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e62d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq %r14, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::CmpHelperSTREQ(char const*, char const*, char const*, char const*)
AssertionResult CmpHelperSTREQ(const char* lhs_expression,
                               const char* rhs_expression, const char* lhs,
                               const char* rhs) {
  if (String::CStringEquals(lhs, rhs)) {
    return AssertionSuccess();
  }

  return EqFailure(lhs_expression, rhs_expression, PrintToString(lhs),
                   PrintToString(rhs), false);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, 0x8(%rsp)
movq %r8, (%rsp)
testq %r8, %r8
sete %al
testq %rcx, %rcx
je 0x4fb76
testq %r8, %r8
je 0x4fb87
movq %rcx, %rdi
movq %r8, %rsi
callq 0xd840
testl %eax, %eax
sete %al
testb %al, %al
je 0x4fb87
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x4fbf4
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x227dd
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x227dd
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xorl %r9d, %r9d
callq 0x4f31c
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fbd9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fbf4
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fc24
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4fc24
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fc3f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::CmpHelperSTRCASEEQ(char const*, char const*, char const*, char const*)
AssertionResult CmpHelperSTRCASEEQ(const char* lhs_expression,
                                   const char* rhs_expression, const char* lhs,
                                   const char* rhs) {
  if (String::CaseInsensitiveCStringEquals(lhs, rhs)) {
    return AssertionSuccess();
  }

  return EqFailure(lhs_expression, rhs_expression, PrintToString(lhs),
                   PrintToString(rhs), true);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, 0x8(%rsp)
movq %r8, (%rsp)
testq %r8, %r8
sete %al
testq %rcx, %rcx
je 0x4fc82
testq %r8, %r8
je 0x4fc93
movq %rcx, %rdi
movq %r8, %rsi
callq 0xd5a0
testl %eax, %eax
sete %al
testb %al, %al
je 0x4fc93
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x4fd03
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x227dd
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x227dd
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl $0x1, %r9d
callq 0x4f31c
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fce8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fd03
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fd33
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x4fd33
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4fd4e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::CmpHelperSTRNE(char const*, char const*, char const*, char const*)
AssertionResult CmpHelperSTRNE(const char* s1_expression,
                               const char* s2_expression, const char* s1,
                               const char* s2) {
  if (!String::CStringEquals(s1, s2)) {
    return AssertionSuccess();
  } else {
    return AssertionFailure()
           << "Expected: (" << s1_expression << ") != (" << s2_expression
           << "), actual: \"" << s1 << "\" vs \"" << s2 << "\"";
  }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
testq %r8, %r8
sete %al
testq %rcx, %rcx
je 0x4fdc3
testq %r8, %r8
je 0x4fe7c
movq %rcx, %rdi
movq %r8, %rsi
callq 0xd840
testl %eax, %eax
sete %al
testb %al, %al
je 0x4fe7c
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
leaq 0x23e6b(%rip), %rsi     # 0x73c4e
leaq 0x8(%rsp), %rdi
callq 0x64d28
leaq 0x30(%rsp), %rsi
movq %rax, %rdi
callq 0x64122
leaq 0x23e59(%rip), %rsi     # 0x73c5a
movq %rax, %rdi
callq 0x64692
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x64122
leaq 0x23e5b(%rip), %rsi     # 0x73c78
movq %rax, %rdi
callq 0x64da6
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x64122
leaq 0x23e28(%rip), %rsi     # 0x73c61
movq %rax, %rdi
callq 0x64692
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x64122
leaq 0x2480b(%rip), %rsi     # 0x74660
movq %rax, %rdi
callq 0x64710
movq %rbx, %rdi
movq %rax, %rsi
callq 0x40140
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x4fe87
movq %r14, %rdi
callq 0x156d0
jmp 0x4fe87
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x4fea7
movq %r14, %rdi
callq 0x156d0
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::WideStringToUtf8[abi:cxx11](wchar_t const*, int)
std::string WideStringToUtf8(const wchar_t* str, int num_chars) {
  if (num_chars == -1) num_chars = static_cast<int>(wcslen(str));

  ::std::stringstream stream;
  for (int i = 0; i < num_chars; ++i) {
    uint32_t unicode_code_point;

    if (str[i] == L'\0') {
      break;
    } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
      unicode_code_point =
          CreateCodePointFromUtf16SurrogatePair(str[i], str[i + 1]);
      i++;
    } else {
      unicode_code_point = static_cast<uint32_t>(str[i]);
    }

    stream << CodePointToUtf8(unicode_code_point);
  }
  return StringStreamToString(&stream);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, 0x28(%rsp)
cmpl $-0x1, %edx
jne 0x50ac2
movq %r14, %rdi
callq 0xd440
movq %rax, %r12
leaq 0x30(%rsp), %rdi
callq 0xd370
testl %r12d, %r12d
jle 0x50b34
leaq 0x40(%rsp), %r15
movl %r12d, %ebx
decq %rbx
xorl %r13d, %r13d
leaq 0x8(%rsp), %r12
movl (%r14,%r13,4), %ebp
testl %ebp, %ebp
je 0x50b34
movq %r12, %rdi
movl %ebp, %esi
callq 0x507ef
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0xd600
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x50b24
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
testl %ebp, %ebp
je 0x50b34
leaq 0x1(%r13), %rax
cmpq %r13, %rbx
movq %rax, %r13
jne 0x50ae4
leaq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x4e54b
movq 0x45433(%rip), %rsi     # 0x95f80
leaq 0x30(%rsp), %rdi
callq 0xd3c0
leaq 0xb0(%rsp), %rdi
callq 0xd1a0
movq %rbx, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x50b9c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x50b9f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x50b9f
movq %rax, %rbx
movq 0x453da(%rip), %rsi     # 0x95f80
leaq 0x30(%rsp), %rdi
callq 0xd3c0
leaq 0xb0(%rsp), %rdi
callq 0xd1a0
movq %rbx, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::CmpHelperSTREQ(char const*, char const*, wchar_t const*, wchar_t const*)
AssertionResult CmpHelperSTREQ(const char* lhs_expression,
                               const char* rhs_expression, const wchar_t* lhs,
                               const wchar_t* rhs) {
  if (String::WideCStringEquals(lhs, rhs)) {
    return AssertionSuccess();
  }

  return EqFailure(lhs_expression, rhs_expression, PrintToString(lhs),
                   PrintToString(rhs), false);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, 0x8(%rsp)
movq %r8, (%rsp)
testq %r8, %r8
sete %al
testq %rcx, %rcx
je 0x50c2c
testq %r8, %r8
je 0x50c3d
movq %rcx, %rdi
movq %r8, %rsi
callq 0xd750
testl %eax, %eax
sete %al
testb %al, %al
je 0x50c3d
movb $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
jmp 0x50caa
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x64ea2
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x64ea2
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xorl %r9d, %r9d
callq 0x4f31c
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50c8f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50caa
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50cda
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x50cda
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50cf5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrintTestPartResultToString[abi:cxx11](testing::TestPartResult const&)
static std::string PrintTestPartResultToString(
    const TestPartResult& test_part_result) {
  return (Message() << internal::FormatFileLocation(
                           test_part_result.file_name(),
                           test_part_result.line_number())
                    << " "
                    << TestPartResultTypeToString(test_part_result.type())
                    << test_part_result.message())
      .GetString();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4e2e8
movq 0x10(%r15), %rsi
testq %rsi, %rsi
je 0x51f51
movq 0x8(%r15), %rsi
movl 0x28(%r15), %edx
leaq 0x10(%rsp), %rdi
callq 0x482ca
movq 0x8(%rsp), %r14
leaq 0x10(%r14), %r12
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rdi
callq 0xd600
leaq 0x21b51(%rip), %rsi     # 0x73ad2
movl $0x1, %edx
movq %r12, %rdi
callq 0xd600
movl (%r15), %eax
cmpq $0x3, %rax
ja 0x51fa7
leaq 0x20e1a(%rip), %rcx     # 0x72db8
movslq (%rcx,%rax,4), %r13
addq %rcx, %r13
jmp 0x51fae
leaq 0x231ce(%rip), %r13     # 0x7517c
movq %r13, %rdi
callq 0xd210
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xd600
movq 0x50(%r15), %r15
testq %r15, %r15
je 0x51fda
movq %r15, %rdi
callq 0xd210
movq %rax, %rdx
jmp 0x51fe6
movl $0x6, %edx
leaq 0x21cb3(%rip), %r15     # 0x73c99
movq %r12, %rdi
movq %r15, %rsi
callq 0xd600
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4e54b
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52017
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
testq %r14, %r14
je 0x52025
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x5203f
movq %rax, %rbx
jmp 0x5205d
jmp 0x5203f
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5205d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x5206d
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::Test::Run()
void Test::Run() {
  if (!HasSameFixtureClass()) return;

  internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
  impl->os_stack_trace_getter()->UponLeavingGTest();
  internal::HandleExceptionsInMethodIfSupported(this, &Test::SetUp, "SetUp()");
  // We will run the test only if SetUp() was successful and didn't call
  // GTEST_SKIP().
  if (!HasFatalFailure() && !IsSkipped()) {
    impl->os_stack_trace_getter()->UponLeavingGTest();
    internal::HandleExceptionsInMethodIfSupported(this, &Test::TestBody,
                                                  "the test body");
  }

  // However, we want to clean up as much as possible.  Hence we will
  // always call TearDown(), even if SetUp() or the test body has
  // failed.
  impl->os_stack_trace_getter()->UponLeavingGTest();
  internal::HandleExceptionsInMethodIfSupported(this, &Test::TearDown,
                                                "TearDown()");
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x51aaa
testb %al, %al
je 0x52187
callq 0x4a8ea
movq 0x4494a(%rip), %r14     # 0x969e0
cmpq $0x0, 0x210(%r14)
jne 0x520bb
movl $0x8, %edi
callq 0xd500
leaq 0x433ff(%rip), %rcx     # 0x954b0
movq %rcx, (%rax)
movq %rax, 0x210(%r14)
movq 0x210(%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
leaq 0x21e40(%rip), %rcx     # 0x73f0f
movl $0x11, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x6550d
callq 0x52190
testb %al, %al
jne 0x52138
callq 0x521fa
testb %al, %al
jne 0x52138
cmpq $0x0, 0x210(%r14)
jne 0x52115
movl $0x8, %edi
callq 0xd500
leaq 0x433a5(%rip), %rcx     # 0x954b0
movq %rcx, (%rax)
movq %rax, 0x210(%r14)
movq 0x210(%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
leaq 0x21dee(%rip), %rcx     # 0x73f17
movl $0x21, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x6550d
cmpq $0x0, 0x210(%r14)
jne 0x5215d
movl $0x8, %edi
callq 0xd500
leaq 0x4335d(%rip), %rcx     # 0x954b0
movq %rcx, (%rax)
movq %rax, 0x210(%r14)
movq 0x210(%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
leaq 0x21db4(%rip), %rcx     # 0x73f25
movl $0x19, %esi
movq %rbx, %rdi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6550d
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)
TestInfo* MakeAndRegisterTestInfo(
    const char* test_suite_name, const char* name, const char* type_param,
    const char* value_param, CodeLocation code_location,
    TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc,
    TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory) {
  TestInfo* const test_info =
      new TestInfo(test_suite_name, name, type_param, value_param,
                   code_location, fixture_class_id, factory);
  GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
  return test_info;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r9, %r14
movq %r8, %r13
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %rbx
movl $0x110, %edi            # imm = 0x110
callq 0xd500
movq %rax, 0x8(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rbx, %rsi
callq 0x208e8
leaq 0x10(%rsp), %rdi
leaq 0x6(%rsp), %rdx
movq %rbp, %rsi
callq 0x208e8
leaq 0x60(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x155e4
movq 0xc0(%rsp), %rax
movl 0x20(%r13), %ecx
leaq 0x50(%rsp), %r9
movl %ecx, 0x20(%r9)
leaq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rcx
movq %r15, %r8
pushq %rax
pushq %r14
callq 0x522aa
addq $0x10, %rsp
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x52655
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52670
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xb8(%rsp), %r14
movq 0xb0(%rsp), %r15
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5269b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
callq 0x4a8ea
movq 0x44339(%rip), %rdi     # 0x969e0
movq %r15, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x65692
movq %r13, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x526e6
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x526e6
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52706
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x52706
movq %rax, %r14
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52726
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x52726
movq %rax, %r14
movl $0x110, %esi            # imm = 0x110
movq 0x8(%rsp), %rdi
callq 0xd530
movq %r14, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestImpl::RegisterParameterizedTests()
void UnitTestImpl::RegisterParameterizedTests() {
  if (!parameterized_tests_registered_) {
    parameterized_test_registry_.RegisterTests();
    type_parameterized_test_registry_.CheckForInstantiations();
    parameterized_tests_registered_ = true;
  }
}

// Assembly:
cmpb $0x0, 0x160(%rdi)
jne 0x52a07
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xe8(%rdi), %r14
movq 0xf0(%rdi), %r15
cmpq %r15, %r14
je 0x529ef
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
addq $0x8, %r14
jmp 0x529db
leaq 0x100(%rbx), %rdi
callq 0x4b9d4
movb $0x1, 0x160(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::TestInfo::Skip()
void TestInfo::Skip() {
  if (!should_run_) return;

  internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
  impl->set_current_test_info(this);

  TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();

  // Notifies the unit test event listeners that a test is about to start.
  repeater->OnTestStart(*this);

  const TestPartResult test_part_result =
      TestPartResult(TestPartResult::kSkip, this->file(), this->line(), "");
  impl->GetTestPartResultReporterForCurrentThread()->ReportTestPartResult(
      test_part_result);

  // Notifies the unit test event listener that a test has just finished.
  repeater->OnTestEnd(*this);
  impl->set_current_test_info(nullptr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
cmpb $0x1, 0x80(%rdi)
jne 0x52ca4
movq %rdi, %rbx
callq 0x4a8ea
movq 0x43dfd(%rip), %r15     # 0x969e0
movq %rbx, 0x170(%r15)
callq 0x4a8ea
movq 0x43dea(%rip), %rax     # 0x969e0
movq 0x1f8(%rax), %r14
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x40(%rax)
movq 0x50(%rbx), %rdx
movl 0x70(%rbx), %ecx
leaq 0x1e3e1(%rip), %r8      # 0x70ff8
movq %rsp, %rdi
movl $0x3, %esi
callq 0x6593c
leaq 0x90(%r15), %rdi
callq 0x6b50e
movq (%rax), %rdi
movq (%rdi), %rax
movq %rsp, %rsi
callq *0x10(%rax)
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x58(%rax)
movq $0x0, 0x170(%r15)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52c6e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52c89
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52ca4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x659ee
movq %rbx, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::TestSuite::Skip()
void TestSuite::Skip() {
  if (!should_run_) return;

  internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
  impl->set_current_test_suite(this);

  TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();

  // Call both legacy and the new API
  repeater->OnTestSuiteStart(*this);
//  Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
  repeater->OnTestCaseStart(*this);
#endif  //  GTEST_REMOVE_LEGACY_TEST_CASEAPI_

  for (int i = 0; i < total_test_count(); i++) {
    GetMutableTestInfo(i)->Skip();
  }

  // Call both legacy and the new API
  repeater->OnTestSuiteEnd(*this);
  // Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
  repeater->OnTestCaseEnd(*this);
#endif  //  GTEST_REMOVE_LEGACY_TEST_CASEAPI_

  impl->set_current_test_suite(nullptr);
}

// Assembly:
cmpb $0x1, 0x70(%rdi)
jne 0x533f6
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x4a8ea
movq 0x436a5(%rip), %r15     # 0x969e0
movq %rbx, 0x168(%r15)
callq 0x4a8ea
movq 0x43692(%rip), %rax     # 0x969e0
movq 0x1f8(%rax), %r14
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x30(%rax)
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x38(%rax)
movq 0x30(%rbx), %rax
movq 0x38(%rbx), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
testl %ecx, %ecx
jle 0x533c8
xorl %r12d, %r12d
movq 0x48(%rbx), %rcx
movq 0x50(%rbx), %rdx
subq %rcx, %rdx
shrq $0x2, %rdx
movslq %edx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpq %rsi, %r12
jge 0x533a3
movl (%rcx,%r12,4), %edx
movl %edx, %ecx
movq (%rax,%rcx,8), %rdi
callq 0x52bbe
incq %r12
movq 0x30(%rbx), %rax
movq 0x38(%rbx), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r12
jl 0x53383
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x60(%rax)
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x68(%rax)
movq $0x0, 0x168(%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::Int32FromEnvOrDie(char const*, int)
int32_t Int32FromEnvOrDie(const char* var, int32_t default_val) {
  const char* str_val = posix::GetEnv(var);
  if (str_val == nullptr) {
    return default_val;
  }

  int32_t result;
  if (!ParseInt32(Message() << "The value of environment variable " << var,
                  str_val, &result)) {
    exit(EXIT_FAILURE);
  }
  return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq %rdi, %r15
callq 0xd6d0
testq %rax, %rax
je 0x54053
movq %rax, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x4e2e8
movq (%rbx), %rbx
leaq 0x10(%rbx), %r12
leaq 0x209ee(%rip), %rsi     # 0x749e0
movl $0x22, %edx
movq %r12, %rdi
callq 0xd600
testq %r15, %r15
je 0x54011
movq %r15, %rdi
callq 0xd210
movq %rax, %rdx
jmp 0x5401d
movl $0x6, %edx
leaq 0x1fc7c(%rip), %r15     # 0x73c99
movq %r12, %rdi
movq %r15, %rsi
callq 0xd600
leaq 0x8(%rsp), %rdi
leaq 0x4(%rsp), %rdx
movq %r14, %rsi
callq 0x48c34
movl %eax, %ebp
testq %rbx, %rbx
je 0x5404a
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
testb %bpl, %bpl
je 0x54062
movl 0x4(%rsp), %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %edi
callq 0xd6c0
movq %rax, %r14
testq %rbx, %rbx
je 0x5407d
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movq %r14, %rdi
callq 0xda70
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::OnTestCaseStart(testing::TestSuite const&)
void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) {
  const std::string counts =
      FormatCountableNoun(test_case.test_to_run_count(), "test", "tests");
  ColoredPrintf(GTestColor::kGreen, "[----------] ");
  printf("%s from %s", counts.c_str(), test_case.name());
  if (test_case.type_param() == nullptr) {
    printf("\n");
  } else {
    printf(", where %s = %s\n", kTypeParamLabel, test_case.type_param());
  }
  fflush(stdout);
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq 0x30(%rsi), %rax
movq 0x38(%rsi), %rcx
xorl %esi, %esi
cmpq %rcx, %rax
je 0x5411f
movq (%rax), %rdx
movzbl 0x80(%rdx), %edx
addl %edx, %esi
addq $0x8, %rax
jmp 0x54108
leaq 0x1f097(%rip), %rdx     # 0x731bd
leaq 0x1f48b(%rip), %rcx     # 0x735b8
movq %rsp, %rdi
callq 0x541f0
leaq 0x200a5(%rip), %rsi     # 0x741e1
movl $0x2, %edi
xorl %eax, %eax
callq 0x539c2
movq (%rsp), %rsi
movq 0x8(%rbx), %rdx
leaq 0x20098(%rip), %rdi     # 0x741ef
xorl %eax, %eax
callq 0xd080
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x54177
cmpq $0x0, (%rax)
je 0x54177
testq %rax, %rax
je 0x54183
movq (%rax), %rdx
jmp 0x54185
movl $0xa, %edi
callq 0xd830
jmp 0x5419a
xorl %edx, %edx
leaq 0x2006e(%rip), %rdi     # 0x741fa
leaq 0x1dc6f(%rip), %rsi     # 0x71e02
xorl %eax, %eax
callq 0xd080
movq 0x41dcf(%rip), %rax     # 0x95f70
movq (%rax), %rdi
callq 0xd650
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x541c4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
addq $0x20, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x541e8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::OnTestStart(testing::TestInfo const&)
void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) {
  ColoredPrintf(GTestColor::kGreen, "[ RUN      ] ");
  PrintTestName(test_info.test_suite_name(), test_info.name());
  printf("\n");
  fflush(stdout);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
leaq 0x1feb6(%rip), %rsi     # 0x7420b
movl $0x2, %edi
xorl %eax, %eax
callq 0x539c2
movq (%rbx), %rsi
movq 0x20(%rbx), %rdx
leaq 0x1ff1a(%rip), %rdi     # 0x74289
xorl %eax, %eax
callq 0xd080
movl $0xa, %edi
callq 0xd830
movq 0x41be9(%rip), %rax     # 0x95f70
movq (%rax), %rdi
popq %rbx
jmp 0xd650
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::OnTestDisabled(testing::TestInfo const&)
void PrettyUnitTestResultPrinter::OnTestDisabled(const TestInfo& test_info) {
  ColoredPrintf(GTestColor::kYellow, "[ DISABLED ] ");
  PrintTestName(test_info.test_suite_name(), test_info.name());
  printf("\n");
  fflush(stdout);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
leaq 0x1fe7e(%rip), %rsi     # 0x74219
movl $0x3, %edi
xorl %eax, %eax
callq 0x539c2
movq (%rbx), %rsi
movq 0x20(%rbx), %rdx
leaq 0x1fed4(%rip), %rdi     # 0x74289
xorl %eax, %eax
callq 0xd080
movl $0xa, %edi
callq 0xd830
movq 0x41ba3(%rip), %rax     # 0x95f70
movq (%rax), %rdi
popq %rbx
jmp 0xd650
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrintTestPartResult(testing::TestPartResult const&)
static void PrintTestPartResult(const TestPartResult& test_part_result) {
  const std::string& result = PrintTestPartResultToString(test_part_result);
  printf("%s\n", result.c_str());
  fflush(stdout);
  // If the test program runs in Visual Studio or a debugger, the
  // following statements add the test part result message to the Output
  // window such that the user can double-click on it to jump to the
  // corresponding source code location; otherwise they do nothing.
#if defined(GTEST_OS_WINDOWS) && !defined(GTEST_OS_WINDOWS_MOBILE)
  // We don't call OutputDebugString*() on Windows Mobile, as printing
  // to stdout is done by OutputDebugString() there already - we don't
  // want the same message printed twice.
  ::OutputDebugStringA(result.c_str());
  ::OutputDebugStringA("\n");
#endif
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rsi
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x51f27
movq (%rbx), %rdi
callq 0xd950
movq 0x41b59(%rip), %rax     # 0x95f70
movq (%rax), %rdi
callq 0xd650
movq (%rbx), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x54439
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd530
addq $0x20, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(testing::TestInfo const&)
void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) {
  if (test_info.result()->Passed()) {
    ColoredPrintf(GTestColor::kGreen, "[       OK ] ");
  } else if (test_info.result()->Skipped()) {
    ColoredPrintf(GTestColor::kGreen, "[  SKIPPED ] ");
  } else {
    ColoredPrintf(GTestColor::kRed, "[  FAILED  ] ");
  }
  PrintTestName(test_info.test_suite_name(), test_info.name());
  if (test_info.result()->Failed()) PrintFullTestCommentIfPresent(test_info);

  if (GTEST_FLAG_GET(print_time)) {
    printf(" (%s ms)\n",
           internal::StreamableToString(test_info.result()->elapsed_time())
               .c_str());
  } else {
    printf("\n");
  }
  fflush(stdout);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
leaq 0x90(%rsi), %r14
movq %r14, %rdi
callq 0x51814
testb %al, %al
jne 0x54469
movq %r14, %rdi
callq 0x51850
testb %al, %al
je 0x5448c
movq %r14, %rdi
callq 0x51814
testb %al, %al
je 0x5447e
leaq 0x1fdb9(%rip), %rsi     # 0x74235
jmp 0x54493
leaq 0x1fdbe(%rip), %rsi     # 0x74243
movl $0x1, %edi
jmp 0x54498
leaq 0x1fd94(%rip), %rsi     # 0x74227
movl $0x2, %edi
xorl %eax, %eax
callq 0x539c2
movq (%rbx), %rsi
movq 0x20(%rbx), %rdx
leaq 0x1fddc(%rip), %rdi     # 0x74289
xorl %eax, %eax
callq 0xd080
movq %r14, %rdi
callq 0x51850
testb %al, %al
je 0x544c8
movq %rbx, %rdi
callq 0x54539
cmpb $0x1, 0x42452(%rip)     # 0x96921
jne 0x54518
movq 0x108(%rbx), %rax
movq %rsp, %rsi
movq %rax, (%rsi)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x65c0e
movq (%rbx), %rsi
leaq 0x1fd5c(%rip), %rdi     # 0x74251
xorl %eax, %eax
callq 0xd080
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x54522
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x54522
movl $0xa, %edi
callq 0xd830
movq 0x41a47(%rip), %rax     # 0x95f70
movq (%rax), %rdi
callq 0xd650
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::OnTestCaseEnd(testing::TestSuite const&)
void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) {
  if (!GTEST_FLAG_GET(print_time)) return;

  const std::string counts =
      FormatCountableNoun(test_case.test_to_run_count(), "test", "tests");
  ColoredPrintf(GTestColor::kGreen, "[----------] ");
  printf("%s from %s (%s ms total)\n\n", counts.c_str(), test_case.name(),
         internal::StreamableToString(test_case.elapsed_time()).c_str());
  fflush(stdout);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
cmpb $0x1, 0x42341(%rip)     # 0x96921
jne 0x546b4
movq %rsi, %rbx
movq 0x30(%rsi), %rax
movq 0x38(%rsi), %rcx
xorl %esi, %esi
cmpq %rcx, %rax
je 0x5460a
movq (%rax), %rdx
movzbl 0x80(%rdx), %edx
addl %edx, %esi
addq $0x8, %rax
jmp 0x545f3
leaq 0x1ebac(%rip), %rdx     # 0x731bd
leaq 0x1efa0(%rip), %rcx     # 0x735b8
leaq 0x8(%rsp), %rdi
callq 0x541f0
leaq 0x1fbb8(%rip), %rsi     # 0x741e1
movl $0x2, %edi
xorl %eax, %eax
callq 0x539c2
movq 0x8(%rsp), %r14
movq 0x8(%rbx), %r15
movq 0x80(%rbx), %rax
leaq 0x28(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x65c0e
leaq 0x40(%rsp), %rbx
movq -0x10(%rbx), %rcx
leaq 0x1fbf4(%rip), %rdi     # 0x7425b
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0xd080
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x5468a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x418df(%rip), %rax     # 0x95f70
movq (%rax), %rdi
callq 0xd650
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x546b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x546c0
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x546de
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::PrintSkippedTests(testing::UnitTest const&)
void PrettyUnitTestResultPrinter::PrintSkippedTests(const UnitTest& unit_test) {
  const int skipped_test_count = unit_test.skipped_test_count();
  if (skipped_test_count == 0) {
    return;
  }

  for (int i = 0; i < unit_test.total_test_suite_count(); ++i) {
    const TestSuite& test_suite = *unit_test.GetTestSuite(i);
    if (!test_suite.should_run() || (test_suite.skipped_test_count() == 0)) {
      continue;
    }
    for (int j = 0; j < test_suite.total_test_count(); ++j) {
      const TestInfo& test_info = *test_suite.GetTestInfo(j);
      if (!test_info.should_run() || !test_info.result()->Skipped()) {
        continue;
      }
      ColoredPrintf(GTestColor::kGreen, "[  SKIPPED ] ");
      printf("%s.%s", test_suite.name(), test_info.name());
      printf("\n");
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x40(%rdi), %rdi
callq 0x4de6a
testl %eax, %eax
je 0x54bf8
movq 0x40(%rbx), %rcx
movq 0xb8(%rcx), %rax
movq 0xc0(%rcx), %rdx
subq %rax, %rdx
shrq $0x3, %rdx
testl %edx, %edx
jle 0x54bf8
leaq 0x1f7ba(%rip), %r15     # 0x74289
xorl %r13d, %r13d
movq 0xd0(%rcx), %rdx
movq 0xd8(%rcx), %rcx
subq %rdx, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r13
jge 0x54afc
cmpl $0x0, (%rdx,%r13,4)
js 0x54afc
movq (%rax,%r13,8), %r12
jmp 0x54aff
xorl %r12d, %r12d
cmpb $0x1, 0x70(%r12)
jne 0x54bd0
movq %r12, %rdi
callq 0x4deba
testl %eax, %eax
je 0x54bd0
movq 0x30(%r12), %rax
movq 0x38(%r12), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
testl %ecx, %ecx
jle 0x54bd0
xorl %ebp, %ebp
movq 0x48(%r12), %rcx
movq 0x50(%r12), %rdx
subq %rcx, %rdx
shrq $0x2, %rdx
movslq %edx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpq %rsi, %rbp
jge 0x54b57
movl (%rcx,%rbp,4), %edx
testl %edx, %edx
js 0x54b63
movl %edx, %ecx
movq (%rax,%rcx,8), %r14
jmp 0x54b66
xorl %r14d, %r14d
cmpb $0x1, 0x80(%r14)
jne 0x54bb0
leaq 0x90(%r14), %rdi
callq 0x51814
testb %al, %al
je 0x54bb0
movl $0x2, %edi
leaq 0x1f6a9(%rip), %rsi     # 0x74235
xorl %eax, %eax
callq 0x539c2
movq 0x8(%r12), %rsi
movq 0x20(%r14), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq 0xd080
movl $0xa, %edi
callq 0xd830
incq %rbp
movq 0x30(%r12), %rax
movq 0x38(%r12), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbp
jl 0x54b36
incq %r13
movq 0x40(%rbx), %rcx
movq 0xb8(%rcx), %rax
movq 0xc0(%rcx), %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %r13
jl 0x54ad2
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop