// File: /workspace/github_cpp_makefile_star2_O1/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), %r12
movq %r12, -0x10(%r12)
leaq 0x168c9(%rip), %rsi     # 0x74545
leaq 0x168cc(%rip), %rdx     # 0x7454f
leaq 0x48(%rsp), %rdi
callq 0x15892
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x28(%rsp), %rdi
movl $0x2, %esi
movl $0x20, %edx
callq 0xd630
leaq 0x1699d(%rip), %rsi     # 0x7464e
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq (%r14), %rax
movq 0x8(%r14), %rcx
xorl %ebp, %ebp
cmpq %rcx, %rax
je 0x5dce3
movq (%rax), %rdx
movq 0x38(%rdx), %rsi
subq 0x30(%rdx), %rsi
shrq $0x3, %rsi
addl %esi, %ebp
addq $0x8, %rax
jmp 0x5dcc7
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x158c5(%rip), %rsi     # 0x735b8
leaq 0x158c3(%rip), %rdx     # 0x735bd
leaq 0x8(%rsp), %rdi
callq 0x15892
leaq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdx
leaq 0x28(%rsp), %r8
movq %rbx, %rdi
movl %ebp, %ecx
movl $0x1, %r9d
callq 0x5a960
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5dd3a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x1674e(%rip), %rsi     # 0x74497
leaq 0x1674b(%rip), %rdx     # 0x7449b
callq 0x15892
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x16813(%rip), %rsi     # 0x74578
leaq 0x16814(%rip), %rdx     # 0x74580
leaq 0x68(%rsp), %rdi
callq 0x15892
leaq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdx
leaq 0x68(%rsp), %rcx
leaq 0x28(%rsp), %r8
movq %rbx, %rdi
movl $0x1, %r9d
callq 0x5a758
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5ddaf
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5ddc6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %r15
leaq 0x1687e(%rip), %rsi     # 0x74660
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq %r15, %rdi
callq 0xd600
leaq 0x16817(%rip), %rsi     # 0x7461f
movl $0x5, %edx
movq %rax, %rdi
callq 0xd600
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x5de5e
xorl %ebp, %ebp
leaq 0x1683c(%rip), %r15     # 0x74663
testq %rbp, %rbp
je 0x5de3c
movl $0x2, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xd600
movq (%r14), %rax
movq (%rax,%rbp,8), %rsi
movq %rbx, %rdi
callq 0x5d574
incq %rbp
movq 0x8(%r14), %rax
subq (%r14), %rax
sarq $0x3, %rax
cmpq %rax, %rbp
jb 0x5de27
leaq 0x13282(%rip), %rsi     # 0x710e7
movl $0x1, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %rbx
leaq 0x167a1(%rip), %rsi     # 0x7462f
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x167d8(%rip), %rsi     # 0x7467a
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5dec6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x5dedd
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 %rbp, %rdi
je 0x5df12
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5df12
jmp 0x5df0f
jmp 0x5df36
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5df39
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5df39
jmp 0x5df36
jmp 0x5df36
movq %rax, %rbx
jmp 0x5df50
jmp 0x5df36
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5df50
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x5df67
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
nop