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

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

  int total_tests = 0;
  for (size_t i = 0; i < test_cases.size(); ++i) {
    total_tests += test_cases[i]->total_test_count();
  }
  OutputXmlAttribute(stream, kTestsuites, "tests",
                     StreamableToString(total_tests));
  OutputXmlAttribute(stream, kTestsuites, "name", "AllTests");
  *stream << ">\n";

  for (size_t i = 0; i < test_cases.size(); ++i) {
    PrintXmlTestCase(stream, *test_cases[i]);
  }
  *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 0x1da06(%rip), %rsi     # 0x36655
leaq 0x1da09(%rip), %rdx     # 0x3665f
leaq 0x50(%rsp), %rdi
callq 0x30548
leaq 0x1d9f9(%rip), %rsi     # 0x36660
movl $0x27, %edx
movq %rbx, %rdi
callq 0x7560
leaq 0x1d9c3(%rip), %rsi     # 0x3663e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x7560
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0x7560
movl $0x0, 0xc(%rsp)
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
je 0x18cdd
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
xorl %esi, %esi
movq (%rax,%rdx,8), %rdi
movq 0x38(%rdi), %r8
subq 0x30(%rdi), %r8
shrq $0x3, %r8
addl %r8d, %esi
incq %rdx
cmpq %rdx, %rcx
jne 0x18cbe
movl %esi, 0xc(%rsp)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1d6d9(%rip), %rsi     # 0x363c7
leaq 0x1d6d7(%rip), %rdx     # 0x363cc
leaq 0x10(%rsp), %rdi
callq 0x30548
leaq 0x30(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x2c003
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x19db6
leaq 0x40(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x18d40
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x18d57
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x1d886(%rip), %rsi     # 0x365ec
leaq 0x1d883(%rip), %rdx     # 0x365f0
callq 0x30548
leaq 0x30(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x1d911(%rip), %rsi     # 0x36692
leaq 0x1d912(%rip), %rdx     # 0x3669a
callq 0x30548
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x19db6
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x18dbb
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x18dd2
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7480
leaq 0x1d7f8(%rip), %rsi     # 0x365d1
movl $0x2, %edx
movq %rbx, %rdi
callq 0x7560
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x18e14
xorl %r12d, %r12d
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
callq 0x1af74
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jb 0x18df2
leaq 0x1d837(%rip), %rsi     # 0x36652
movl $0x2, %edx
movq %rbx, %rdi
callq 0x7560
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0x7560
leaq 0x1d790(%rip), %rsi     # 0x365d1
movl $0x2, %edx
movq %rax, %rdi
callq 0x7560
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x18e65
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x7480
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 0x18e97
jmp 0x18ea9
jmp 0x18ea6
jmp 0x18ec8
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x18ea9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x18ea9
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x18ecb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x18ecb
jmp 0x18ec8
jmp 0x18ec8
jmp 0x18ec8
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x18ee2
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x7480
movq %rbx, %rdi
callq 0x7960