// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::XmlUnitTestResultPrinter::PrintXmlUnitTest(std::ostream*, testing::UnitTest const&)
void XmlUnitTestResultPrinter::PrintXmlUnitTest(std::ostream* stream,
                                                const UnitTest& unit_test) {
  const std::string kTestsuites = "testsuites";

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

  OutputXmlAttribute(stream, kTestsuites, "tests",
                     StreamableToString(unit_test.reportable_test_count()));
  OutputXmlAttribute(stream, kTestsuites, "failures",
                     StreamableToString(unit_test.failed_test_count()));
  OutputXmlAttribute(
      stream, kTestsuites, "disabled",
      StreamableToString(unit_test.reportable_disabled_test_count()));
  OutputXmlAttribute(stream, kTestsuites, "errors", "0");
  OutputXmlAttribute(stream, kTestsuites, "time",
                     FormatTimeInMillisAsSeconds(unit_test.elapsed_time()));
  OutputXmlAttribute(
      stream, kTestsuites, "timestamp",
      FormatEpochTimeInMillisAsIso8601(unit_test.start_timestamp()));

  if (GTEST_FLAG_GET(shuffle)) {
    OutputXmlAttribute(stream, kTestsuites, "random_seed",
                       StreamableToString(unit_test.random_seed()));
  }
  *stream << TestPropertiesAsXmlAttributes(unit_test.ad_hoc_test_result());

  OutputXmlAttribute(stream, kTestsuites, "name", "AllTests");
  *stream << ">\n";

  for (int i = 0; i < unit_test.total_test_suite_count(); ++i) {
    if (unit_test.GetTestSuite(i)->reportable_test_count() > 0)
      PrintXmlTestSuite(stream, *unit_test.GetTestSuite(i));
  }

  // If there was a test failure outside of one of the test suites (like in a
  // test environment) include that in the output.
  if (unit_test.ad_hoc_test_result().Failed()) {
    OutputXmlTestSuiteForTestResult(stream, unit_test.ad_hoc_test_result());
  }

  *stream << "</" << kTestsuites << ">\n";
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x19566(%rip), %rsi     # 0x5c595
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x1337a
leaq 0x1955b(%rip), %rsi     # 0x5c5a0
movq %rbx, %rdi
callq 0xd550
leaq 0x19599(%rip), %rsi     # 0x5c5ed
movq %rbx, %rdi
callq 0xd550
leaq 0x50(%rsp), %rsi
movq %rax, %rdi
callq 0xd4e0
leaq 0x18598(%rip), %rsi     # 0x5b608
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x1337a
movq %r14, %rdi
callq 0x45906
leaq 0xc(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x4c0e2
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x19e71(%rip), %rsi     # 0x5cf3b
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x1337a
movq %r14, %rdi
callq 0x422d2
leaq 0xc(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x4c0e2
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x19376(%rip), %rsi     # 0x5c49a
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x1337a
movq %r14, %rdi
callq 0x426c4
leaq 0xc(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x4c0e2
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x1932d(%rip), %rsi     # 0x5c4ab
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x1337a
leaq 0x19bb4(%rip), %rsi     # 0x5cd48
leaq 0x30(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x1337a
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x18499(%rip), %rsi     # 0x5b66e
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x1337a
movq 0x40(%r14), %rax
movq 0x230(%rax), %rsi
leaq 0x30(%rsp), %rdi
callq 0x43920
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x19287(%rip), %rsi     # 0x5c4b2
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x1337a
movq 0x40(%r14), %rax
movq 0x228(%rax), %rsi
leaq 0x30(%rsp), %rdi
callq 0x439f2
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
cmpb $0x1, 0x416dd(%rip)     # 0x8495e
jne 0x432df
leaq 0x183f4(%rip), %rsi     # 0x5b67e
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x1337a
movq 0x40(%r14), %rax
movl 0x21c(%rax), %eax
leaq 0xc(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x4c0e2
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
movl $0x178, %esi            # imm = 0x178
addq 0x40(%r14), %rsi
leaq 0x10(%rsp), %rdi
callq 0x457ac
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0xd4e0
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x191d7(%rip), %rsi     # 0x5c4e7
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x1337a
leaq 0x192a2(%rip), %rsi     # 0x5c5c8
leaq 0x30(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x1337a
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x43ef8
leaq 0x30(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0xdbe8
leaq 0x191b3(%rip), %rsi     # 0x5c51a
movq %rbx, %rdi
callq 0xd550
xorl %ebp, %ebp
movq 0x40(%r14), %rdi
movq 0xc0(%rdi), %rax
subq 0xb8(%rdi), %rax
shrq $0x3, %rax
cmpl %eax, %ebp
jge 0x433ba
movq %r14, %rdi
movl %ebp, %esi
callq 0x422f4
movq %rax, %rdi
callq 0x3d522
testl %eax, %eax
jle 0x433b6
movq %r14, %rdi
movl %ebp, %esi
callq 0x422f4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x4537e
incl %ebp
jmp 0x43371
addq $0x178, %rdi            # imm = 0x178
callq 0x40042
testb %al, %al
je 0x433db
movl $0x178, %esi            # imm = 0x178
addq 0x40(%r14), %rsi
movq %rbx, %rdi
callq 0x4414a
leaq 0x19224(%rip), %rsi     # 0x5c606
movq %rbx, %rdi
callq 0xd550
leaq 0x50(%rsp), %rsi
movq %rax, %rdi
callq 0xd4e0
leaq 0x1911c(%rip), %rsi     # 0x5c51a
movq %rax, %rdi
callq 0xd550
leaq 0x50(%rsp), %rdi
callq 0xdbe8
addq $0x70, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x43443
jmp 0x43458
jmp 0x43469
jmp 0x43443
jmp 0x43458
jmp 0x43469
jmp 0x43458
jmp 0x43469
jmp 0x43443
jmp 0x43458
jmp 0x43469
jmp 0x43443
jmp 0x43458
jmp 0x43469
jmp 0x43443
jmp 0x43458
jmp 0x43469
jmp 0x43443
jmp 0x43469
jmp 0x43443
jmp 0x43469
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xdbe8
jmp 0x4345b
jmp 0x43469
jmp 0x43458
jmp 0x43458
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x4346c
jmp 0x43469
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xdbe8
movq %rbx, %rdi
callq 0xdaa0