// File: halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::UnitTestImpl::ConfigureXmlOutput()
void UnitTestImpl::ConfigureXmlOutput() {
  const std::string& output_format = UnitTestOptions::GetOutputFormat();
#if GTEST_HAS_FILE_SYSTEM
  if (output_format == "xml") {
    listeners()->SetDefaultXmlGenerator(new XmlUnitTestResultPrinter(
        UnitTestOptions::GetAbsolutePathToOutputFile().c_str()));
  } else if (output_format == "json") {
    listeners()->SetDefaultXmlGenerator(new JsonUnitTestResultPrinter(
        UnitTestOptions::GetAbsolutePathToOutputFile().c_str()));
  } else if (!output_format.empty()) {
    GTEST_LOG_(WARNING) << "WARNING: unrecognized output format \""
                        << output_format << "\" ignored.";
  }
#else
  if (!output_format.empty()) {
    GTEST_LOG_(ERROR) << "ERROR: alternative output formats require "
                      << "GTEST_HAS_FILE_SYSTEM to be enabled";
  }
#endif  // GTEST_HAS_FILE_SYSTEM
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x81db0
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x33fcb(%rip), %rsi     # 0xcf21b
callq 0x4dd00
movb %al, -0x91(%rbp)
jmp 0x9b25d
movb -0x91(%rbp), %al
testb $0x1, %al
jne 0x9b26c
jmp 0x9b336
movq -0xa8(%rbp), %rdi
callq 0xa3250
movq %rax, -0xb0(%rbp)
jmp 0x9b281
movl $0x28, %edi
callq 0x10740
movq %rax, -0xb8(%rbp)
jmp 0x9b294
movb $0x1, -0x61(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x81f10
jmp 0x9b2a3
leaq -0x60(%rbp), %rdi
callq 0x102c0
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
callq 0x8de80
jmp 0x9b2bd
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdi
movb $0x0, -0x61(%rbp)
callq 0x99c90
jmp 0x9b2d6
leaq -0x60(%rbp), %rdi
callq 0x10fc8
jmp 0x9b4e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x9b4f8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x9b318
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x10fc8
testb $0x1, -0x61(%rbp)
jne 0x9b320
jmp 0x9b331
movq -0xb8(%rbp), %rdi
movl $0x28, %esi
callq 0x10770
jmp 0x9b4f8
movq -0x10(%rbp), %rdi
leaq 0x33ede(%rip), %rsi     # 0xcf21f
callq 0x4dd00
movb %al, -0xb9(%rbp)
jmp 0x9b34e
movb -0xb9(%rbp), %al
testb $0x1, %al
jne 0x9b35d
jmp 0x9b42b
movq -0xa8(%rbp), %rdi
callq 0xa3250
movq %rax, -0xc8(%rbp)
jmp 0x9b372
movl $0x28, %edi
callq 0x10740
movq %rax, -0xd0(%rbp)
jmp 0x9b385
movb $0x1, -0x89(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x81f10
jmp 0x9b39a
leaq -0x88(%rbp), %rdi
callq 0x102c0
movq -0xd0(%rbp), %rdi
movq %rax, %rsi
callq 0x93cf0
jmp 0x9b3b7
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdi
movb $0x0, -0x89(%rbp)
callq 0x99c90
jmp 0x9b3d3
leaq -0x88(%rbp), %rdi
callq 0x10fc8
jmp 0x9b4e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x9b40a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x10fc8
testb $0x1, -0x89(%rbp)
jne 0x9b415
jmp 0x9b426
movq -0xd0(%rbp), %rdi
movl $0x28, %esi
callq 0x10770
jmp 0x9b4f8
movq -0x10(%rbp), %rdi
callq 0x10d70
testb $0x1, %al
jne 0x9b4e2
leaq 0x32c78(%rip), %rdx     # 0xce0bb
leaq -0x90(%rbp), %rdi
movl $0x1, %esi
movl $0x161c, %ecx           # imm = 0x161C
callq 0x7d880
jmp 0x9b45b
leaq -0x90(%rbp), %rdi
callq 0x1f280
movq %rax, -0xd8(%rbp)
jmp 0x9b470
movq -0xd8(%rbp), %rdi
leaq 0x33da6(%rip), %rsi     # 0xcf224
callq 0x10720
movq %rax, -0xe0(%rbp)
jmp 0x9b48c
movq -0xe0(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x10680
movq %rax, -0xe8(%rbp)
jmp 0x9b4a5
movq -0xe8(%rbp), %rdi
leaq 0x33d97(%rip), %rsi     # 0xcf24a
callq 0x10720
jmp 0x9b4ba
leaq -0x90(%rbp), %rdi
callq 0x7d9c0
jmp 0x9b4e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x7d9c0
jmp 0x9b4f8
jmp 0x9b4e4
jmp 0x9b4e6
leaq -0x30(%rbp), %rdi
callq 0x10fc8
addq $0xf0, %rsp
popq %rbp
retq
leaq -0x30(%rbp), %rdi
callq 0x10fc8
movq -0x38(%rbp), %rdi
callq 0x10e00
nopw (%rax,%rax)