// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x14519(%rip), %rsi     # 0x5c595
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1337a
leaq 0x30(%rsp), %rdi
pushq $0x2
popq %rsi
callq 0x46dae
leaq 0x145ff(%rip), %rsi     # 0x5c69e
movq %rbx, %rdi
callq 0xd550
movq (%r14), %rax
movq 0x8(%r14), %rcx
xorl %ebp, %ebp
cmpq %rcx, %rax
je 0x480cc
movq (%rax), %rdx
movq 0x38(%rdx), %rsi
subq 0x30(%rdx), %rsi
shrq $0x3, %rsi
addl %esi, %ebp
addq $0x8, %rax
jmp 0x480b0
leaq 0x13535(%rip), %rsi     # 0x5b608
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x1337a
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x461f2
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x143d7(%rip), %rsi     # 0x5c4e7
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1337a
leaq 0x144a2(%rip), %rsi     # 0x5c5c8
leaq 0x70(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1337a
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x70(%rsp), %rcx
leaq 0x30(%rsp), %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
callq 0x46060
leaq 0x70(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0xd4e0
leaq 0x14533(%rip), %rsi     # 0x5c6b0
movq %rax, %rdi
callq 0xd550
leaq 0x50(%rsp), %rsi
movq %rax, %rdi
callq 0xd4e0
leaq 0x144d6(%rip), %rsi     # 0x5c66f
movq %rax, %rdi
callq 0xd550
xorl %r12d, %r12d
leaq 0x14508(%rip), %r15     # 0x5c6b3
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jae 0x481e2
testq %r12, %r12
je 0x481d1
movq %rbx, %rdi
movq %r15, %rsi
callq 0xd550
movq (%r14), %rax
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
callq 0x47bf4
incq %r12
jmp 0x481ab
leaq 0x10f70(%rip), %rsi     # 0x59159
movq %rbx, %rdi
callq 0xd550
leaq 0x30(%rsp), %rsi
movq %rax, %rdi
callq 0xd4e0
leaq 0x1447a(%rip), %rsi     # 0x5c67f
movq %rax, %rdi
callq 0xd550
leaq 0x144b6(%rip), %rsi     # 0x5c6ca
movq %rax, %rdi
callq 0xd550
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x50(%rsp), %rdi
callq 0xdbe8
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xdbe8
jmp 0x48256
jmp 0x48253
jmp 0x4826d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x48270
jmp 0x4826d
jmp 0x4826d
movq %rax, %rbx
jmp 0x4827a
jmp 0x4826d
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x50(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0