// File: /workspace/github_cpp_makefile_star2_O3/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
movq 0x40(%rdi), %rdi
callq 0x4c6a0
movl %eax, %ebx
leaq 0x1f48a(%rip), %rsi     # 0x72253
movl $0x1, %edi
xorl %eax, %eax
callq 0x520fb
leaq 0x1e3f1(%rip), %rdx     # 0x711cd
leaq 0x1e7e5(%rip), %rcx     # 0x715c8
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl %ebx, 0x4(%rsp)
movl %ebx, %esi
callq 0x52884
movq (%r15), %rsi
leaq 0x1f486(%rip), %rdi     # 0x72286
xorl %eax, %eax
callq 0xd080
movq (%r15), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x52e21
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x40(%r14), %rcx
movq 0xb8(%rcx), %rax
movq 0xc0(%rcx), %rdx
subq %rax, %rdx
shrq $0x3, %rdx
testl %edx, %edx
jle 0x52f70
leaq 0x1f450(%rip), %r12     # 0x72299
xorl %ebp, %ebp
movq 0xd0(%rcx), %rdx
movq 0xd8(%rcx), %rcx
subq %rdx, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbp
jge 0x52e74
cmpl $0x0, (%rdx,%rbp,4)
js 0x52e74
movq (%rax,%rbp,8), %r13
jmp 0x52e77
xorl %r13d, %r13d
cmpb $0x1, 0x70(%r13)
jne 0x52f48
movq %r13, %rdi
callq 0x4c6f0
testl %eax, %eax
je 0x52f48
movq 0x30(%r13), %rax
movq 0x38(%r13), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
testl %ecx, %ecx
jle 0x52f48
xorl %ebx, %ebx
movq 0x48(%r13), %rcx
movq 0x50(%r13), %rdx
subq %rcx, %rdx
shrq $0x2, %rdx
movslq %edx, %rdx
cmpq %rdx, %rbx
jge 0x52ed1
movslq (%rcx,%rbx,4), %rcx
testq %rcx, %rcx
js 0x52ed1
movq (%rax,%rcx,8), %r15
jmp 0x52ed4
xorl %r15d, %r15d
cmpb $0x1, 0x80(%r15)
jne 0x52f2a
leaq 0x90(%r15), %rdi
callq 0x50002
testb %al, %al
je 0x52f2a
movl $0x1, %edi
leaq 0x1f359(%rip), %rsi     # 0x72253
xorl %eax, %eax
callq 0x520fb
movq 0x8(%r13), %rsi
movq 0x20(%r15), %rdx
movq %r12, %rdi
xorl %eax, %eax
callq 0xd080
movq 0x40(%r15), %rdi
movq 0x48(%r15), %rsi
callq 0x52bce
movl $0xa, %edi
callq 0xd830
incq %rbx
movq 0x30(%r13), %rax
movq 0x38(%r13), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jl 0x52eab
incq %rbp
movq 0x40(%r14), %rcx
movq 0xb8(%rcx), %rax
movq 0xc0(%rcx), %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %rbp
jl 0x52e4b
movl 0x4(%rsp), %esi
cmpl $0x1, %esi
leaq 0x1f331(%rip), %rax     # 0x722af
leaq 0x1f32f(%rip), %rdx     # 0x722b4
cmoveq %rax, %rdx
leaq 0x1f30f(%rip), %rdi     # 0x7229f
xorl %eax, %eax
callq 0xd080
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq