// File: /workspace/github_cpp_makefile_star2_O1/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 0x1e34e(%rip), %rsi     # 0x74545
leaq 0x1e351(%rip), %rdx     # 0x7454f
leaq 0x50(%rsp), %rdi
callq 0x15892
leaq 0x1e341(%rip), %rsi     # 0x74550
movl $0x27, %edx
movq %rbx, %rdi
callq 0xd600
leaq 0x1e37a(%rip), %rsi     # 0x7459d
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 0x56276
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 0x56258
movl %edx, 0xc(%rsp)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1d331(%rip), %rsi     # 0x735b8
leaq 0x1d32f(%rip), %rdx     # 0x735bd
leaq 0x10(%rsp), %rdi
callq 0x15892
leaq 0x30(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x63483
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x5763a
leaq 0x40(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x562d9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x562f0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x1e198(%rip), %rsi     # 0x74497
leaq 0x1e195(%rip), %rdx     # 0x7449b
callq 0x15892
leaq 0x30(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x1e25e(%rip), %rsi     # 0x74578
leaq 0x1e25f(%rip), %rdx     # 0x74580
callq 0x15892
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x5763a
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x56354
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x5636b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x1e158(%rip), %rsi     # 0x744ca
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq (%r14), %r12
movq 0x8(%r14), %r14
cmpq %r14, %r12
je 0x5639d
movq (%r12), %rsi
movq %rbx, %rdi
callq 0x59512
addq $0x8, %r12
jmp 0x56386
leaq 0x1e212(%rip), %rsi     # 0x745b6
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0xd600
leaq 0x1e100(%rip), %rsi     # 0x744ca
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x563ee
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 0x56420
jmp 0x56432
jmp 0x5642f
jmp 0x56451
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56432
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x56432
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x56454
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x56454
jmp 0x56451
jmp 0x56451
jmp 0x56451
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x5646b
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
movq %rbx, %rdi
callq 0xda70
nop