// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestImpl::ListTestsMatchingFilter()
void UnitTestImpl::ListTestsMatchingFilter() {
  // Print at most this many characters for each type/value parameter.
  const int kMaxParamLength = 250;

  for (auto* test_suite : test_suites_) {
    bool printed_test_suite_name = false;

    for (size_t j = 0; j < test_suite->test_info_list().size(); j++) {
      const TestInfo* const test_info = test_suite->test_info_list()[j];
      if (test_info->matches_filter_) {
        if (!printed_test_suite_name) {
          printed_test_suite_name = true;
          printf("%s.", test_suite->name());
          if (test_suite->type_param() != nullptr) {
            printf("  # %s = ", kTypeParamLabel);
            // We print the type parameter on a single line to make
            // the output easy to parse by a program.
            PrintOnOneLine(test_suite->type_param(), kMaxParamLength);
          }
          printf("\n");
        }
        printf("  %s", test_info->name());
        if (test_info->value_param() != nullptr) {
          printf("  # %s = ", kValueParamLabel);
          // We print the value parameter on a single line to make the
          // output easy to parse by a program.
          PrintOnOneLine(test_info->value_param(), kMaxParamLength);
        }
        printf("\n");
      }
    }
  }
  fflush(stdout);
#if GTEST_HAS_FILE_SYSTEM
  const std::string& output_format = UnitTestOptions::GetOutputFormat();
  if (output_format == "xml" || output_format == "json") {
    FILE* fileout =
        OpenFileForWriting(UnitTestOptions::GetAbsolutePathToOutputFile());
    std::stringstream stream;
    if (output_format == "xml") {
      XmlUnitTestResultPrinter(
          UnitTestOptions::GetAbsolutePathToOutputFile().c_str())
          .PrintXmlTestsList(&stream, test_suites_);
    } else if (output_format == "json") {
      JsonUnitTestResultPrinter(
          UnitTestOptions::GetAbsolutePathToOutputFile().c_str())
          .PrintJsonTestList(&stream, test_suites_);
    }
    fprintf(fileout, "%s", StringStreamToString(&stream).c_str());
    fclose(fileout);
  }
#endif  // GTEST_HAS_FILE_SYSTEM
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
leaq 0xb8(%rdi), %rax
movq %rax, (%rsp)
movq 0xb8(%rdi), %rax
movq 0xc0(%rdi), %rcx
movq %rcx, 0x8(%rsp)
leaq 0x12f67(%rip), %r14     # 0x5ca61
pushq $0xa
popq %rbp
leaq 0x12f53(%rip), %r15     # 0x5ca57
cmpq 0x8(%rsp), %rax
je 0x49bfe
movq %rax, 0x10(%rsp)
movq (%rax), %r12
xorl %ebx, %ebx
xorl %eax, %eax
movq 0x30(%r12), %rcx
movq 0x38(%r12), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %rdx, %rbx
jae 0x49bf0
movq (%rcx,%rbx,8), %r13
cmpb $0x1, 0x82(%r13)
jne 0x49be8
testb $0x1, %al
jne 0x49b9c
movq 0x8(%r12), %rsi
leaq 0x12efc(%rip), %rdi     # 0x5ca53
xorl %eax, %eax
callq 0xd070
movq 0x28(%r12), %rax
testq %rax, %rax
je 0x49b95
cmpq $0x0, (%rax)
je 0x49b95
movq %r15, %rdi
leaq 0x102da(%rip), %rsi     # 0x59e52
xorl %eax, %eax
callq 0xd070
movq 0x28(%r12), %rax
testq %rax, %rax
je 0x49b8e
movq (%rax), %rdi
jmp 0x49b90
xorl %edi, %edi
callq 0x49eba
movl %ebp, %edi
callq 0xd8a0
movq 0x20(%r13), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0xd070
movq 0x48(%r13), %rax
testq %rax, %rax
je 0x49bdf
cmpq $0x0, (%rax)
je 0x49bdf
movq %r15, %rdi
leaq 0x102f5(%rip), %rsi     # 0x59eb8
xorl %eax, %eax
callq 0xd070
movq 0x48(%r13), %rax
testq %rax, %rax
je 0x49bd8
movq (%rax), %rdi
jmp 0x49bda
xorl %edi, %edi
callq 0x49eba
movl %ebp, %edi
callq 0xd8a0
movb $0x1, %al
incq %rbx
jmp 0x49b1b
movq 0x10(%rsp), %rax
addq $0x8, %rax
jmp 0x49b04
movq 0x3a37b(%rip), %rax     # 0x83f80
movq (%rax), %rdi
callq 0xd6b0
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x3c36c
leaq 0x1023b(%rip), %rsi     # 0x59e5c
movq %rbx, %rdi
callq 0x24f71
testb %al, %al
jne 0x49c46
leaq 0x12bcb(%rip), %rsi     # 0x5c7ff
leaq 0x60(%rsp), %rdi
callq 0x24f71
testb %al, %al
je 0x49d5a
leaq 0x80(%rsp), %rdi
callq 0x3c3f0
leaq 0x80(%rsp), %rdi
callq 0x42f27
movq %rax, %r14
leaq 0x80(%rsp), %rdi
callq 0xdbe8
leaq 0x80(%rsp), %rdi
callq 0xd3b0
leaq 0x101d8(%rip), %rsi     # 0x59e5c
leaq 0x60(%rsp), %rdi
callq 0x24f71
testb %al, %al
je 0x49cc8
leaq 0x18(%rsp), %rdi
callq 0x3c3f0
movq 0x18(%rsp), %rsi
leaq 0x38(%rsp), %rdi
callq 0x42e16
leaq 0x90(%rsp), %rdi
movq (%rsp), %rsi
callq 0x43506
leaq 0x38(%rsp), %rdi
callq 0x4f004
jmp 0x49d11
leaq 0x12b30(%rip), %rsi     # 0x5c7ff
leaq 0x60(%rsp), %rdi
callq 0x24f71
testb %al, %al
je 0x49d1b
leaq 0x18(%rsp), %rdi
callq 0x3c3f0
movq 0x18(%rsp), %rsi
leaq 0x38(%rsp), %rdi
callq 0x45926
leaq 0x90(%rsp), %rdi
movq (%rsp), %rsi
callq 0x48060
leaq 0x38(%rsp), %rdi
callq 0x4f018
leaq 0x18(%rsp), %rdi
callq 0xdbe8
leaq 0x38(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x3d7ba
leaq 0x38(%rsp), %rbx
movq (%rbx), %rdi
movq %r14, %rsi
callq 0xd640
movq %rbx, %rdi
callq 0xdbe8
movq %r14, %rdi
callq 0xd560
leaq 0x80(%rsp), %rdi
callq 0xd410
leaq 0x60(%rsp), %rdi
callq 0xdbe8
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x4f018
jmp 0x49d9b
jmp 0x49d98
jmp 0x49da9
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x4f004
jmp 0x49d9b
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xdbe8
jmp 0x49dac
jmp 0x49da9
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xd410
jmp 0x49dd2
jmp 0x49dcf
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xdbe8
jmp 0x49dd2
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0