// File: /workspace/github_cpp_makefile_star2_O1/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 0x4df04
movl %eax, %ebx
leaq 0x1fb0a(%rip), %rsi     # 0x74243
movl $0x1, %edi
xorl %eax, %eax
callq 0x539c2
leaq 0x1ea71(%rip), %rdx     # 0x731bd
leaq 0x1ee65(%rip), %rcx     # 0x735b8
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl %ebx, 0x4(%rsp)
movl %ebx, %esi
callq 0x541f0
movq (%r15), %rsi
leaq 0x1fb06(%rip), %rdi     # 0x74276
xorl %eax, %eax
callq 0xd080
movq (%r15), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x54791
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 0x548e0
leaq 0x1fad0(%rip), %r12     # 0x74289
xorl %ebx, %ebx
movq 0xd0(%rcx), %rdx
movq 0xd8(%rcx), %rcx
subq %rdx, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jge 0x547e4
cmpl $0x0, (%rdx,%rbx,4)
js 0x547e4
movq (%rax,%rbx,8), %r13
jmp 0x547e7
xorl %r13d, %r13d
cmpb $0x1, 0x70(%r13)
jne 0x548b8
movq %r13, %rdi
callq 0x4df54
testl %eax, %eax
je 0x548b8
movq 0x30(%r13), %rax
movq 0x38(%r13), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
testl %ecx, %ecx
jle 0x548b8
xorl %r15d, %r15d
movq 0x48(%r13), %rcx
movq 0x50(%r13), %rdx
subq %rcx, %rdx
shrq $0x2, %rdx
movslq %edx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpq %rsi, %r15
jge 0x5483c
movl (%rcx,%r15,4), %edx
testl %edx, %edx
js 0x54848
movl %edx, %ecx
movq (%rax,%rcx,8), %rbp
jmp 0x5484a
xorl %ebp, %ebp
cmpb $0x1, 0x80(%rbp)
jne 0x5489a
leaq 0x90(%rbp), %rdi
callq 0x51850
testb %al, %al
je 0x5489a
movl $0x1, %edi
leaq 0x1f9d4(%rip), %rsi     # 0x74243
xorl %eax, %eax
callq 0x539c2
movq 0x8(%r13), %rsi
movq 0x20(%rbp), %rdx
movq %r12, %rdi
xorl %eax, %eax
callq 0xd080
movq %rbp, %rdi
callq 0x54539
movl $0xa, %edi
callq 0xd830
incq %r15
movq 0x30(%r13), %rax
movq 0x38(%r13), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r15
jl 0x5481c
incq %rbx
movq 0x40(%r14), %rcx
movq 0xb8(%rcx), %rax
movq 0xc0(%rcx), %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %rbx
jl 0x547bb
movl 0x4(%rsp), %esi
cmpl $0x1, %esi
leaq 0x1f9b1(%rip), %rax     # 0x7429f
leaq 0x1f9af(%rip), %rdx     # 0x742a4
cmoveq %rax, %rdx
leaq 0x1f98f(%rip), %rdi     # 0x7428f
xorl %eax, %eax
callq 0xd080
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq