LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/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 0x3caca
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3cd36
movl %eax, %ebx
movq %rsp, %rdi
callq 0x3cdce
movl %ebx, %eax
addq $0xa0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x3cdce
movq %rbx, %rdi
callq 0xdaa0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x3d327
addq $0x90, %rax
retq
movq 0x168(%rdi), %rax
testq %rax, %rax
je 0x3d33a
addq $0x88, %rax
retq
addq $0x178, %rdi            # imm = 0x178
movq %rdi, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::SumOverTestSuiteList(std::vector<testing::TestSuite*, std::allocator<testing::TestSuite*>> const&, int (testing::TestSuite::*)() const)
static int SumOverTestSuiteList(const std::vector<TestSuite*>& case_list,
                                int (TestSuite::*method)() const) {
  int sum = 0;
  for (size_t i = 0; i < case_list.size(); i++) {
    sum += (case_list[i]->*method)();
  }
  return sum;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
xorl %r14d, %r14d
xorl %r12d, %r12d
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jae 0x3d451
movq (%rax,%r12,8), %rdi
movq %rbx, %rax
testb $0x1, %bl
je 0x3d447
movq (%rdi), %rax
movq -0x1(%rax,%rbx), %rax
callq *%rax
addl %eax, %r14d
incq %r12
jmp 0x3d420
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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:
movq 0x210(%rdi), %rax
testq %rax, %rax
je 0x3d597
retq
pushq %rbx
movq %rdi, %rbx
pushq $0x8
popq %rdi
callq 0xd570
leaq 0x45f36(%rip), %rcx     # 0x834e0
movq %rcx, (%rax)
movq %rax, 0x210(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0xd080
movl $0xf4240, %ecx          # imm = 0xF4240
cqto
idivq %rcx
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
addq $0x18, %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0xd9e0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
movq (%r14), %r15
movq 0x8(%r14), %r12
movb $0x0, 0x10(%rbx)
leaq (%r12,%r12), %rsi
movq %rbx, %rdi
callq 0xd9b0
xorl %r13d, %r13d
leaq 0x1e4fb(%rip), %r14     # 0x5bd01
cmpq %r13, %r12
je 0x3d830
movb (%r15,%r13), %al
testb %al, %al
je 0x3d820
movsbl %al, %esi
movq %rbx, %rdi
callq 0xd4a0
jmp 0x3d82b
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdb60
incq %r13
jmp 0x3d806
movq %rsp, %rdi
callq 0xdbe8
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x3d84b
movq %rax, %r14
movq %rbx, %rdi
callq 0xdbe8
movq %rsp, %rdi
callq 0xdbe8
movq %r14, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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)
movq %rcx, %rdi
movq %r8, %rsi
callq 0x3d5c8
testb %al, %al
je 0x3e9d3
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x3ea1e
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1df73
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x1df73
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xorl %r9d, %r9d
callq 0x3e271
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x3ea3d
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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)
movq %rcx, %rdi
movq %r8, %rsi
callq 0x3eb00
testb %al, %al
je 0x3ea83
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x3eacf
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1df73
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x1df73
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3e271
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x3eaee
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movq %rcx, %rdi
movq %r8, %rsi
callq 0x3d5c8
testb %al, %al
je 0x3ec00
leaq 0x30(%rsp), %r14
movb $0x0, -0x8(%r14)
andq $0x0, (%r14)
leaq 0x1d12d(%rip), %rsi     # 0x5bc9e
leaq 0x28(%rsp), %rdi
callq 0x4d87e
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x4ceae
leaq 0x1d11b(%rip), %rsi     # 0x5bcaa
movq %rax, %rdi
callq 0x4d372
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x4ceae
leaq 0x1d11d(%rip), %rsi     # 0x5bcc8
movq %rax, %rdi
callq 0x4d8ee
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x4ceae
leaq 0x1d0ea(%rip), %rsi     # 0x5bcb1
movq %rax, %rdi
callq 0x4d372
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x4ceae
leaq 0x1dacd(%rip), %rsi     # 0x5c6b0
movq %rax, %rdi
callq 0x4d3e2
movq %rbx, %rdi
movq %rax, %rsi
callq 0x357d0
movq %r14, %rdi
callq 0x13646
jmp 0x3ec08
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x13646
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<char const*>(bool, char const*, char const*, char const* const&, char const* const&)
AssertionResult IsSubstringImpl(bool expected_to_be_substring,
                                const char* needle_expr,
                                const char* haystack_expr,
                                const StringType& needle,
                                const StringType& haystack) {
  if (IsSubstringPred(needle, haystack) == expected_to_be_substring)
    return AssertionSuccess();

  const bool is_wide_string = sizeof(needle[0]) > 1;
  const char* const begin_string_quote = is_wide_string ? "L\"" : "\"";
  return AssertionFailure()
         << "Value of: " << needle_expr << "\n"
         << "  Actual: " << begin_string_quote << needle << "\"\n"
         << "Expected: " << (expected_to_be_substring ? "" : "not ")
         << "a substring of " << haystack_expr << "\n"
         << "Which is: " << begin_string_quote << haystack << "\"";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq (%r8), %rsi
movq (%r9), %rdi
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
setne %cl
testb %cl, %al
jne 0x3ed93
cmpq %rdi, %rsi
sete %al
jmp 0x3ed9e
callq 0xd110
testq %rax, %rax
setne %al
cmpb %bpl, %al
je 0x3eec9
leaq 0x1d902(%rip), %rax     # 0x5c6b0
movq %rax, (%rsp)
leaq 0x28(%rsp), %r14
movb $0x0, -0x8(%r14)
andq $0x0, (%r14)
leaq 0x1cd89(%rip), %rsi     # 0x5bb50
leaq 0x20(%rsp), %rdi
callq 0x508cc
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x4ceae
leaq 0x1a374(%rip), %rsi     # 0x59159
movq %rax, %rdi
callq 0x4d3e2
leaq 0x18a3c(%rip), %rsi     # 0x57830
movq %rax, %rdi
callq 0x508cc
movq %rsp, %rsi
movq %rax, %rdi
callq 0x4ceae
movq %rax, %rdi
movq %r12, %rsi
callq 0x4ceae
leaq 0x1d8aa(%rip), %rsi     # 0x5c6c3
movq %rax, %rdi
callq 0x4d142
leaq 0x1cd34(%rip), %rsi     # 0x5bb5c
movq %rax, %rdi
callq 0x508cc
leaq 0x1a233(%rip), %rcx     # 0x5906a
leaq 0x1e804(%rip), %rdx     # 0x5d642
testb %bpl, %bpl
cmovneq %rcx, %rdx
leaq 0x18(%rsp), %rsi
movq %rdx, (%rsi)
movq %rax, %rdi
callq 0x4ceae
leaq 0x1e7eb(%rip), %rsi     # 0x5d647
movq %rax, %rdi
callq 0x53b5e
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x4ceae
leaq 0x1a2e1(%rip), %rsi     # 0x59159
movq %rax, %rdi
callq 0x4d3e2
leaq 0x1cca2(%rip), %rsi     # 0x5bb29
movq %rax, %rdi
callq 0x508cc
movq %rsp, %rsi
movq %rax, %rdi
callq 0x4ceae
movq %rax, %rdi
movq %r15, %rsi
callq 0x4ceae
leaq 0x1d804(%rip), %rsi     # 0x5c6b0
movq %rax, %rdi
callq 0x4d3e2
movq %rbx, %rdi
movq %rax, %rsi
callq 0x357d0
movq %r14, %rdi
callq 0x13646
jmp 0x3eed1
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3eee3
movq %rax, %rbx
movq %r14, %rdi
callq 0x13646
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::CodePointToUtf8[abi:cxx11](unsigned int)
std::string CodePointToUtf8(uint32_t code_point) {
  if (code_point > kMaxCodePoint4) {
    return "(Invalid Unicode 0x" + String::FormatHexUInt32(code_point) + ")";
  }

  char str[5];  // Big enough for the largest valid code point.
  if (code_point <= kMaxCodePoint1) {
    str[1] = '\0';
    str[0] = static_cast<char>(code_point);  // 0xxxxxxx
  } else if (code_point <= kMaxCodePoint2) {
    str[2] = '\0';
    str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
    str[0] = static_cast<char>(0xC0 | code_point);                   // 110xxxxx
  } else if (code_point <= kMaxCodePoint3) {
    str[3] = '\0';
    str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
    str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
    str[0] = static_cast<char>(0xE0 | code_point);                   // 1110xxxx
  } else {  // code_point <= kMaxCodePoint4
    str[4] = '\0';
    str[3] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
    str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
    str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
    str[0] = static_cast<char>(0xF0 | code_point);                   // 11110xxx
  }
  return str;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
cmpl $0x200000, %esi         # imm = 0x200000
jb 0x3f518
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x3f5e2
leaq 0x1c7f4(%rip), %rsi     # 0x5bcd5
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x4c2c8
leaq 0x1964c(%rip), %rdx     # 0x58b41
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x4c05c
leaq 0x8(%rsp), %rdi
callq 0xdbe8
leaq 0x28(%rsp), %rdi
callq 0xdbe8
jmp 0x3f591
cmpl $0x7f, %esi
ja 0x3f529
movb $0x0, 0x9(%rsp)
movb %sil, 0x8(%rsp)
jmp 0x3f57f
cmpl $0x7ff, %esi            # imm = 0x7FF
ja 0x3f54c
movb $0x0, 0xa(%rsp)
movl %esi, %eax
shrl $0x6, %eax
andb $0x3f, %sil
orb $-0x80, %sil
movb %sil, 0x9(%rsp)
orb $-0x40, %al
jmp 0x3f57b
movl %esi, %ecx
shrl $0x6, %ecx
movl %esi, %edx
andb $0x3f, %dl
orb $-0x80, %dl
movl %esi, %eax
shrl $0xc, %eax
andb $0x3f, %cl
orb $-0x80, %cl
cmpl $0xffff, %esi           # imm = 0xFFFF
ja 0x3f59c
movb $0x0, 0xb(%rsp)
movb %dl, 0xa(%rsp)
movb %cl, 0x9(%rsp)
orb $-0x20, %al
movb %al, 0x8(%rsp)
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x1337a
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movb $0x0, 0xc(%rsp)
movb %dl, 0xb(%rsp)
movb %cl, 0xa(%rsp)
shrl $0x12, %esi
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x9(%rsp)
orb $-0x10, %sil
jmp 0x3f522
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xdbe8
jmp 0x3f5cf
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 $0x1a8, %rsp            # imm = 0x1A8
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
cmpl $-0x1, %edx
jne 0x3f684
movq %r14, %rdi
callq 0xd490
movq %rax, %r15
leaq 0x20(%rsp), %rdi
callq 0xd3b0
leaq 0x30(%rsp), %r12
xorl %ebp, %ebp
testl %r15d, %r15d
cmovlel %ebp, %r15d
movq %rsp, %r13
cmpq %rbp, %r15
je 0x3f6cc
movl (%r14,%rbp,4), %esi
testl %esi, %esi
je 0x3f6cc
movq %r13, %rdi
callq 0x3f4bb
movq %r12, %rdi
movq %r13, %rsi
callq 0xd4e0
movq %r13, %rdi
callq 0xdbe8
incq %rbp
jmp 0x3f69f
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x3d7ba
leaq 0x20(%rsp), %rdi
callq 0xd410
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3f6fa
movq %rax, %rbx
jmp 0x3f70a
movq %rax, %rbx
movq %rsp, %rdi
callq 0xdbe8
leaq 0x20(%rsp), %rdi
callq 0xd410
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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)
movq %rcx, %rdi
movq %r8, %rsi
callq 0x3f71c
testb %al, %al
je 0x3f77b
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x3f7c6
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x4d9ce
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x4d9ce
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xorl %r9d, %r9d
callq 0x3e271
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x3f7e5
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3d5f6
movq 0x10(%r14), %rsi
testq %rsi, %rsi
je 0x405bf
movq 0x8(%r14), %rsi
movl 0x28(%r14), %edx
leaq 0x20(%rsp), %rdi
callq 0x39bf6
movq 0x8(%rsp), %r15
addq $0x10, %r15
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0xd4e0
leaq 0x1b538(%rip), %rsi     # 0x5bb22
movq %r15, %rdi
callq 0xd550
movl (%r14), %eax
cmpq $0x3, %rax
ja 0x4060b
leaq 0x1a806(%rip), %rcx     # 0x5ae08
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmp 0x40612
leaq 0x1cbba(%rip), %rax     # 0x5d1cc
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x8(%rsp), %rdi
callq 0x4c162
movq 0x50(%r14), %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x4c162
movq %rbx, %rdi
movq %rax, %rsi
callq 0x367f6
leaq 0x20(%rsp), %rdi
callq 0xdbe8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x4065d
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x40673
movq %rax, %rbx
jmp 0x40680
jmp 0x40673
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0xdbe8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x40690
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x40224
testb %al, %al
je 0x4073c
callq 0x4c032
movq %rax, %r14
movq %rax, %rdi
callq 0x3d58a
movq (%rax), %rcx
movq %rax, %rdi
callq *0x18(%rcx)
leaq 0x1b893(%rip), %rcx     # 0x5bf5f
pushq $0x11
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4df29
callq 0x40744
testb %al, %al
jne 0x40710
callq 0x40784
testb %al, %al
jne 0x40710
movq %r14, %rdi
callq 0x3d58a
movq (%rax), %rcx
movq %rax, %rdi
callq *0x18(%rcx)
leaq 0x1b864(%rip), %rcx     # 0x5bf67
pushq $0x21
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4df29
movq %r14, %rdi
callq 0x3d58a
movq (%rax), %rcx
movq %rax, %rdi
callq *0x18(%rcx)
leaq 0x1b84d(%rip), %rcx     # 0x5bf75
pushq $0x19
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4df29
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/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, 0x8(%rsp)
movq %r8, %r13
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %r14
movl $0x110, %edi            # imm = 0x110
callq 0xd570
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r14, %rsi
callq 0x1337a
leaq 0x10(%rsp), %rdi
leaq 0x6(%rsp), %rdx
movq %rbp, %rsi
callq 0x1337a
leaq 0x50(%rsp), %rdi
movq %r13, %rsi
callq 0x4cba4
leaq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x50(%rsp), %r9
movq %rbx, %rdi
movq %r12, %rcx
movq %r15, %r8
pushq 0xc0(%rsp)
pushq 0x10(%rsp)
callq 0x40804
popq %rax
popq %rcx
movq 0xb8(%rsp), %r14
movq 0xb0(%rsp), %r15
leaq 0x50(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
callq 0x4c032
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x4e08a
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0xdbe8
jmp 0x40a93
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x40aa2
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0xdbe8
jmp 0x40ab1
movq %rax, %r14
movl $0x110, %esi            # imm = 0x110
movq %rbx, %rdi
callq 0xd5a0
movq %r14, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::ReportInvalidTestSuiteType(char const*, testing::internal::CodeLocation)
void ReportInvalidTestSuiteType(const char* test_suite_name,
                                CodeLocation code_location) {
  Message errors;
  errors
      << "Attempted redefinition of test suite " << test_suite_name << ".\n"
      << "All tests in the same test suite must use the same test fixture\n"
      << "class.  However, in test suite " << test_suite_name << ", you tried\n"
      << "to define a test using a fixture class different from the one\n"
      << "used earlier. This can happen if the two fixture classes are\n"
      << "from different namespaces and have the same name. You should\n"
      << "probably rename one of the classes to put the tests into different\n"
      << "test suites.";

  GTEST_LOG_(ERROR) << FormatFileLocation(code_location.file.c_str(),
                                          code_location.line)
                    << " " << errors.GetString();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x3d5f6
movq (%r14), %rdi
addq $0x10, %rdi
leaq 0x1b490(%rip), %rsi     # 0x5bf80
callq 0xd550
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x4c162
leaq 0x1b700(%rip), %rsi     # 0x5c20b
movq %rax, %rdi
callq 0x4cb70
leaq 0x1b1ea(%rip), %rsi     # 0x5bd04
movq %rax, %rdi
callq 0x4de7a
leaq 0x1b301(%rip), %rsi     # 0x5be2a
movq %rax, %rdi
callq 0x4dee8
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x4c162
leaq 0x1b461(%rip), %rsi     # 0x5bfa6
movq %rax, %rdi
callq 0x4c14c
leaq 0x1b45f(%rip), %rsi     # 0x5bfb3
movq %rax, %rdi
callq 0x4df14
leaq 0x1b48f(%rip), %rsi     # 0x5bff2
movq %rax, %rdi
callq 0x4ded2
leaq 0x1b4be(%rip), %rsi     # 0x5c030
movq %rax, %rdi
callq 0x4ded2
leaq 0x1b4ed(%rip), %rsi     # 0x5c06e
movq %rax, %rdi
callq 0x4e17e
leaq 0x1b3c2(%rip), %rsi     # 0x5bf52
movq %rax, %rdi
callq 0x4c14c
leaq 0x1ab5c(%rip), %rdx     # 0x5b6fb
leaq 0x4(%rsp), %rdi
pushq $0x2
popq %rsi
movl $0xafb, %ecx            # imm = 0xAFB
callq 0x39dd8
movq (%rbx), %rsi
movl 0x20(%rbx), %edx
leaq 0x38(%rsp), %rdi
callq 0x39bf6
movq 0x43420(%rip), %rdi     # 0x83fe8
leaq 0x38(%rsp), %rsi
callq 0xd4e0
leaq 0x1af49(%rip), %rsi     # 0x5bb22
movq %rax, %rdi
callq 0xd550
movq %rax, %rbx
movq 0x8(%rsp), %rsi
leaq 0x18(%rsp), %rdi
callq 0x3d7ba
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0xd4e0
leaq 0x18(%rsp), %rdi
callq 0xdbe8
leaq 0x38(%rsp), %rdi
callq 0xdbe8
leaq 0x4(%rsp), %rdi
callq 0x39e9c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x40c2e
movq (%rdi), %rax
callq *0x8(%rax)
addq $0x58, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xdbe8
jmp 0x40c51
jmp 0x40c4e
movq %rax, %rbx
jmp 0x40c5b
jmp 0x40c67
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xdbe8
leaq 0x4(%rsp), %rdi
callq 0x39e9c
jmp 0x40c6a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x40c7a
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x40caf
pushq %rbx
movq %rdi, %rbx
addq $0xe8, %rdi
callq 0x4e194
leaq 0x100(%rbx), %rdi
callq 0x3bf8a
movb $0x1, 0x160(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::TestInfo::Run()
void TestInfo::Run() {
  TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();
  if (!should_run_) {
    if (is_disabled_ && matches_filter_) repeater->OnTestDisabled(*this);
    return;
  }

  // Tells UnitTest where to store test result.
  internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
  impl->set_current_test_info(this);

  // Notifies the unit test event listeners that a test is about to start.
  repeater->OnTestStart(*this);
  result_.set_start_timestamp(internal::GetTimeInMillis());
  internal::Timer timer;
  impl->os_stack_trace_getter()->UponLeavingGTest();

  // Creates the test object.
  Test* const test = internal::HandleExceptionsInMethodIfSupported(
      factory_, &internal::TestFactoryBase::CreateTest,
      "the test fixture's constructor");

  // Runs the test if the constructor didn't generate a fatal failure or invoke
  // GTEST_SKIP().
  // Note that the object will not be null
  if (!Test::HasFatalFailure() && !Test::IsSkipped()) {
    // This doesn't throw as all user code that can throw are wrapped into
    // exception handling code.
    test->Run();
  }

  if (test != nullptr) {
    // Deletes the test object.
    impl->os_stack_trace_getter()->UponLeavingGTest();
    internal::HandleExceptionsInMethodIfSupported(
        test, &Test::DeleteSelf_, "the test fixture's destructor");
  }

  result_.set_elapsed_time(timer.Elapsed());

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

  // Tells UnitTest to stop associating assertion results to this
  // test.
  impl->set_current_test_info(nullptr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x3b634
movq 0x43d49(%rip), %rax     # 0x84a10
movq 0x1f8(%rax), %r14
cmpb $0x0, 0x80(%rbx)
je 0x40da4
callq 0x4c032
movq %rax, %r15
movq %rbx, 0x170(%rax)
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x40(%rax)
callq 0x3d5b6
movq %rax, 0x100(%rbx)
callq 0xd830
movq %rax, (%rsp)
movq %r15, %rdi
callq 0x3d58a
movq (%rax), %rcx
movq %rax, %rdi
callq *0x18(%rcx)
movq 0x88(%rbx), %rdi
leaq 0x1b388(%rip), %rcx     # 0x5c0b2
pushq $0x11
popq %rsi
xorl %edx, %edx
callq 0x4e1bb
movq %rax, %r12
callq 0x40744
testb %al, %al
jne 0x40d51
callq 0x40784
testb %al, %al
jne 0x40d51
movq %r12, %rdi
callq 0x40698
testq %r12, %r12
je 0x40d7f
movq %r15, %rdi
callq 0x3d58a
movq (%rax), %rcx
movq %rax, %rdi
callq *0x18(%rcx)
leaq 0xd588(%rip), %rsi      # 0x4e2f6
leaq 0x1b35c(%rip), %rcx     # 0x5c0d1
movq %r12, %rdi
xorl %edx, %edx
callq 0x4df29
movq %rsp, %rdi
callq 0x4e2fc
movq %rax, 0x108(%rbx)
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x58(%rax)
andq $0x0, 0x170(%r15)
jmp 0x40dd0
cmpb $0x1, 0x81(%rbx)
jne 0x40dd0
cmpb $0x1, 0x82(%rbx)
jne 0x40dd0
movq (%r14), %rax
movq 0x48(%rax), %rax
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x40e72
movq %rdi, %rbx
callq 0x4c032
movq %rax, %r14
movq %rbx, 0x170(%rax)
callq 0x3b634
movq 0x43bfa(%rip), %rax     # 0x84a10
movq 0x1f8(%rax), %r15
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x40(%rax)
movq 0x50(%rbx), %rdx
movl 0x70(%rbx), %ecx
leaq 0x18233(%rip), %r8      # 0x5906a
movq %rsp, %rdi
pushq $0x3
popq %rsi
callq 0x4e314
movq %r14, %rdi
callq 0x3b038
movq (%rax), %rcx
movq %rsp, %rsi
movq %rax, %rdi
callq *0x10(%rcx)
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x58(%rax)
andq $0x0, 0x170(%r14)
movq %rsp, %rdi
callq 0x4e39e
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4e39e
movq %rbx, %rdi
callq 0xdaa0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x41368
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x4c032
movq %rax, %r14
movq %rbx, 0x168(%rax)
callq 0x3b634
movq 0x43719(%rip), %rax     # 0x84a10
movq 0x1f8(%rax), %r15
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x30(%rax)
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x38(%rax)
xorl %ebp, %ebp
movq 0x38(%rbx), %rax
subq 0x30(%rbx), %rax
shrq $0x3, %rax
cmpl %eax, %ebp
jge 0x4133e
movq %rbx, %rdi
movl %ebp, %esi
callq 0x41048
movq %rax, %rdi
callq 0x40de6
incl %ebp
jmp 0x41318
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x60(%rax)
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x68(%rax)
andq $0x0, 0x168(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movq %rdi, 0x18(%rsp)
callq 0xd720
testq %rax, %rax
je 0x41c57
movq %rax, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x3d5f6
movq (%r14), %rdi
addq $0x10, %rdi
leaq 0x1ae17(%rip), %rsi     # 0x5ca30
callq 0xd550
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x4c162
leaq 0x14(%rsp), %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3a168
movl %eax, %ebx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x41c4f
movq (%rdi), %rax
callq *0x8(%rax)
testb %bl, %bl
je 0x41c62
movl 0x14(%rsp), %ebp
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x1
popq %rdi
callq 0xd710
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x41c7d
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0xdaa0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rsi, %rdi
callq 0x3d568
leaq 0x194ea(%rip), %rdx     # 0x5b20d
leaq 0x198de(%rip), %rcx     # 0x5b608
movq %rsp, %rdi
movl %eax, %esi
callq 0x41dbb
leaq 0x1a4f6(%rip), %rsi     # 0x5c231
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x41733
movq (%rsp), %rsi
movq 0x8(%rbx), %rdx
leaq 0x1a4eb(%rip), %rdi     # 0x5c23f
xorl %eax, %eax
callq 0xd070
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x41d83
movq (%rax), %rdx
testq %rdx, %rdx
je 0x41d83
leaq 0x1a4d7(%rip), %rdi     # 0x5c24a
leaq 0x180d8(%rip), %rsi     # 0x59e52
xorl %eax, %eax
callq 0xd070
jmp 0x41d8b
pushq $0xa
popq %rdi
callq 0xd8a0
movq 0x421ee(%rip), %rax     # 0x83f80
movq (%rax), %rdi
callq 0xd6b0
movq %rsp, %rdi
callq 0xdbe8
addq $0x20, %rsp
popq %rbx
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x1a3f6(%rip), %rsi     # 0x5c25b
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x41733
movq (%rbx), %rdi
movq 0x20(%rbx), %rsi
callq 0x4e61a
pushq $0xa
popq %rdi
callq 0xd8a0
movq 0x420f6(%rip), %rax     # 0x83f80
movq (%rax), %rdi
popq %rbx
jmp 0xd6b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x1a3ca(%rip), %rsi     # 0x5c269
pushq $0x3
popq %rdi
xorl %eax, %eax
callq 0x41733
movq (%rbx), %rdi
movq 0x20(%rbx), %rsi
callq 0x4e61a
pushq $0xa
popq %rdi
callq 0xd8a0
movq 0x420bc(%rip), %rax     # 0x83f80
movq (%rax), %rdi
popq %rbx
jmp 0xd6b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x40599
movq (%rbx), %rdi
callq 0xd9a0
movq 0x42071(%rip), %rax     # 0x83f80
movq (%rax), %rdi
callq 0xd6b0
movq %rbx, %rdi
callq 0xdbe8
addq $0x20, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x4e62e
testb %al, %al
je 0x41f4c
leaq 0x1a32d(%rip), %rsi     # 0x5c277
jmp 0x41f5f
movq %r14, %rdi
callq 0x4000c
testb %al, %al
je 0x41f63
leaq 0x1a326(%rip), %rsi     # 0x5c285
pushq $0x2
jmp 0x41f6c
leaq 0x1a329(%rip), %rsi     # 0x5c293
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x41733
movq (%rbx), %rdi
movq 0x20(%rbx), %rsi
callq 0x4e61a
movq %r14, %rdi
callq 0x40042
testb %al, %al
je 0x41f94
movq %rbx, %rdi
callq 0x41ff1
cmpb $0x1, 0x429b6(%rip)     # 0x84951
jne 0x41fd2
movq 0x108(%rbx), %rax
movq %rsp, %rsi
movq %rax, (%rsi)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x4e64b
movq (%rbx), %rsi
leaq 0x1a2e0(%rip), %rdi     # 0x5c2a1
xorl %eax, %eax
callq 0xd070
movq %rbx, %rdi
callq 0xdbe8
jmp 0x41fda
pushq $0xa
popq %rdi
callq 0xd8a0
movq 0x41f9f(%rip), %rax     # 0x83f80
movq (%rax), %rdi
callq 0xd6b0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/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, 0x428b7(%rip)     # 0x84951
jne 0x42135
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x3d568
leaq 0x1915b(%rip), %rdx     # 0x5b20d
leaq 0x1954f(%rip), %rcx     # 0x5b608
leaq 0x10(%rsp), %rdi
movl %eax, %esi
callq 0x41dbb
leaq 0x1a165(%rip), %rsi     # 0x5c231
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x41733
movq 0x10(%rsp), %r14
movq 0x8(%rbx), %r15
movq 0x80(%rbx), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x4e64b
leaq 0x30(%rsp), %rbx
movq (%rbx), %rcx
leaq 0x1a1a4(%rip), %rdi     # 0x5c2ab
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0xd070
movq %rbx, %rdi
callq 0xdbe8
movq 0x41e5d(%rip), %rax     # 0x83f80
movq (%rax), %rdi
callq 0xd6b0
leaq 0x10(%rsp), %rdi
callq 0xdbe8
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x42141
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0
// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(testing::UnitTest const&)
void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) {
  const int failed_test_count = unit_test.failed_test_count();
  ColoredPrintf(GTestColor::kRed, "[  FAILED  ] ");
  printf("%s, listed below:\n", FormatTestCount(failed_test_count).c_str());

  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.failed_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()->Failed()) {
        continue;
      }
      ColoredPrintf(GTestColor::kRed, "[  FAILED  ] ");
      printf("%s.%s", test_suite.name(), test_info.name());
      PrintFullTestCommentIfPresent(test_info);
      printf("\n");
    }
  }
  printf("\n%2d FAILED %s\n", failed_test_count,
         failed_test_count == 1 ? "TEST" : "TESTS");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
callq 0x422d2
movl %eax, %ebp
leaq 0x1a0f0(%rip), %rsi     # 0x5c293
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x41733
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, 0x4(%rsp)
movl %ebp, %esi
callq 0x41c91
movq (%rbx), %rsi
leaq 0x1a0fc(%rip), %rdi     # 0x5c2c6
xorl %eax, %eax
callq 0xd070
movq %rbx, %rdi
callq 0xdbe8
pushq $0xa
popq %r13
xorl %ebx, %ebx
movq 0x40(%r14), %rax
movq 0xc0(%rax), %rcx
subq 0xb8(%rax), %rcx
shrq $0x3, %rcx
cmpl %ecx, %ebx
jge 0x4229b
movq %r14, %rdi
movl %ebx, %esi
callq 0x422f4
cmpb $0x1, 0x70(%rax)
jne 0x42294
movq %rax, %r15
movq %rax, %rdi
callq 0x3d4a4
testl %eax, %eax
je 0x42294
xorl %ebp, %ebp
movq 0x38(%r15), %rax
subq 0x30(%r15), %rax
shrq $0x3, %rax
cmpl %eax, %ebp
jge 0x42294
movq %r15, %rdi
movl %ebp, %esi
callq 0x4101a
cmpb $0x1, 0x80(%rax)
jne 0x42290
movq %rax, %r12
leaq 0x90(%rax), %rdi
callq 0x40042
testb %al, %al
je 0x42290
pushq $0x1
popq %rdi
leaq 0x1a031(%rip), %rsi     # 0x5c293
xorl %eax, %eax
callq 0x41733
movq 0x8(%r15), %rsi
movq 0x20(%r12), %rdx
leaq 0x1a060(%rip), %rdi     # 0x5c2d9
xorl %eax, %eax
callq 0xd070
movq %r12, %rdi
callq 0x41ff1
movl %r13d, %edi
callq 0xd8a0
incl %ebp
jmp 0x42222
incl %ebx
jmp 0x421df
movl 0x4(%rsp), %esi
cmpl $0x1, %esi
leaq 0x1a046(%rip), %rax     # 0x5c2ef
leaq 0x1a044(%rip), %rdx     # 0x5c2f4
cmoveq %rax, %rdx
leaq 0x1a024(%rip), %rdi     # 0x5c2df
xorl %eax, %eax
callq 0xd070
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop