// File: /workspace/github_cpp_makefile_star2_O3/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::XmlUnitTestResultPrinter::PrintXmlTestsList(std::ostream*, std::vector<testing::TestSuite*, std::allocator<testing::TestSuite*>> const&)
void XmlUnitTestResultPrinter::PrintXmlTestsList(
    std::ostream* stream, const std::vector<TestSuite*>& test_suites) {
  const std::string kTestsuites = "testsuites";

  *stream << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
  *stream << "<" << kTestsuites;

  int total_tests = 0;
  for (auto test_suite : test_suites) {
    total_tests += test_suite->total_test_count();
  }
  OutputXmlAttribute(stream, kTestsuites, "tests",
                     StreamableToString(total_tests));
  OutputXmlAttribute(stream, kTestsuites, "name", "AllTests");
  *stream << ">\n";

  for (auto test_suite : test_suites) {
    PrintXmlTestSuite(stream, *test_suite);
  }
  *stream << "</" << kTestsuites << ">\n";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1dcc6(%rip), %rsi     # 0x72555
leaq 0x1dcc9(%rip), %rdx     # 0x7255f
leaq 0x50(%rsp), %rdi
callq 0x1558a
leaq 0x1dcb9(%rip), %rsi     # 0x72560
movl $0x27, %edx
movq %rbx, %rdi
callq 0xd600
leaq 0x1dcf2(%rip), %rsi     # 0x725ad
movl $0x1, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
movl $0x0, 0xc(%rsp)
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rcx, %rax
je 0x5490e
xorl %edx, %edx
movq (%rax), %rsi
movq 0x38(%rsi), %rdi
subq 0x30(%rsi), %rdi
shrq $0x3, %rdi
addl %edi, %edx
addq $0x8, %rax
cmpq %rcx, %rax
jne 0x548f0
movl %edx, 0xc(%rsp)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1cca9(%rip), %rsi     # 0x715c8
leaq 0x1cca7(%rip), %rdx     # 0x715cd
leaq 0x10(%rsp), %rdi
callq 0x1558a
leaq 0x30(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x61b3f
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x55cee
leaq 0x40(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x54971
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x54988
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x1db10(%rip), %rsi     # 0x724a7
leaq 0x1db0d(%rip), %rdx     # 0x724ab
callq 0x1558a
leaq 0x30(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x1dbd6(%rip), %rsi     # 0x72588
leaq 0x1dbd7(%rip), %rdx     # 0x72590
callq 0x1558a
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x55cee
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x549ec
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x54a03
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x1dad0(%rip), %rsi     # 0x724da
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq (%r14), %r12
movq 0x8(%r14), %r14
cmpq %r14, %r12
je 0x54a35
movq (%r12), %rsi
movq %rbx, %rdi
callq 0x57bc4
addq $0x8, %r12
jmp 0x54a1e
leaq 0x1db8a(%rip), %rsi     # 0x725c6
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
leaq 0x1da78(%rip), %rsi     # 0x724da
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x54a86
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
jne 0x54ab8
jmp 0x54aca
jmp 0x54ac7
jmp 0x54ae9
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54aca
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x54aca
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x54aec
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x54aec
jmp 0x54ae9
jmp 0x54ae9
jmp 0x54ae9
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x54b03
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
nop