// File: /workspace/github_cpp_makefile_star2_O3/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::JsonUnitTestResultPrinter::PrintJsonTestList(std::ostream*, std::vector<testing::TestSuite*, std::allocator<testing::TestSuite*>> const&)
void JsonUnitTestResultPrinter::PrintJsonTestList(
    std::ostream* stream, const std::vector<TestSuite*>& test_suites) {
  const std::string kTestsuites = "testsuites";
  const std::string kIndent = Indent(2);
  *stream << "{\n";
  int total_tests = 0;
  for (auto test_suite : test_suites) {
    total_tests += test_suite->total_test_count();
  }
  OutputJsonKey(stream, kTestsuites, "tests", total_tests, kIndent);

  OutputJsonKey(stream, kTestsuites, "name", "AllTests", kIndent);
  *stream << kIndent << "\"" << kTestsuites << "\": [\n";

  for (size_t i = 0; i < test_suites.size(); ++i) {
    if (i != 0) {
      *stream << ",\n";
    }
    PrintJsonTestSuite(stream, *test_suites[i]);
  }

  *stream << "\n"
          << kIndent << "]\n"
          << "}\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x16278(%rip), %rsi     # 0x72555
leaq 0x1627b(%rip), %rdx     # 0x7255f
leaq 0x48(%rsp), %rdi
callq 0x1558a
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8(%rsp), %rdi
movl $0x2, %esi
movl $0x20, %edx
callq 0xd630
leaq 0x1634c(%rip), %rsi     # 0x7265e
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq (%r14), %rax
movq 0x8(%r14), %rcx
xorl %ebp, %ebp
cmpq %rcx, %rax
je 0x5c344
movq (%rax), %rdx
movq 0x38(%rdx), %rsi
subq 0x30(%rdx), %rsi
shrq $0x3, %rsi
addl %esi, %ebp
addq $0x8, %rax
jmp 0x5c328
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x15274(%rip), %rsi     # 0x715c8
leaq 0x15272(%rip), %rdx     # 0x715cd
leaq 0x28(%rsp), %rdi
callq 0x1558a
leaq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movl %ebp, %ecx
movl $0x1, %r9d
callq 0x5901a
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5c39b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x160fd(%rip), %rsi     # 0x724a7
leaq 0x160fa(%rip), %rdx     # 0x724ab
callq 0x1558a
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x161c1(%rip), %rsi     # 0x72588
leaq 0x161c2(%rip), %rdx     # 0x72590
leaq 0x68(%rsp), %rdi
callq 0x1558a
leaq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdx
leaq 0x68(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movl $0x1, %r9d
callq 0x58e12
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x5c411
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5c428
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %r15
leaq 0x1622c(%rip), %rsi     # 0x72670
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq %r15, %rdi
callq 0xd600
leaq 0x161c5(%rip), %rsi     # 0x7262f
movl $0x5, %edx
movq %rax, %rdi
callq 0xd600
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x5c4cc
xorl %ebp, %ebp
leaq 0x161ea(%rip), %r15     # 0x72673
xorl %r12d, %r12d
testq %r12, %r12
je 0x5c4a7
movl $0x2, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xd600
movq (%r14), %rax
addq %rbp, %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq 0x5bc36
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
addq $0x8, %rbp
cmpq %rcx, %r12
jb 0x5c48c
leaq 0x12bf1(%rip), %rsi     # 0x6f0c4
movl $0x1, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %rbx
leaq 0x16143(%rip), %rsi     # 0x7263f
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x1617a(%rip), %rsi     # 0x7268a
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5c539
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5c550
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x5c585
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5c585
jmp 0x5c582
jmp 0x5c5a9
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5c5ac
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5c5ac
jmp 0x5c5a9
jmp 0x5c5a9
movq %rax, %rbx
jmp 0x5c5c8
jmp 0x5c5a9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5c5c8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5c5df
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
nop