// File: /workspace/github_cpp_makefile_star2_O3/xelia-it[P]mustache/third-party/catch2/single_include/catch2/catch.hpp
// Function: Catch::JunitReporter::writeSection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Catch::CumulativeReporterBase<Catch::JunitReporter>::SectionNode const&, bool)
void JunitReporter::writeSection( std::string const& className,
                                      std::string const& rootName,
                                      SectionNode const& sectionNode,
                                      bool testOkToFail) {
        std::string name = trim( sectionNode.stats.sectionInfo.name );
        if( !rootName.empty() )
            name = rootName + '/' + name;

        if( !sectionNode.assertions.empty() ||
            !sectionNode.stdOut.empty() ||
            !sectionNode.stdErr.empty() ) {
            XmlWriter::ScopedElement e = xml.scopedElement( "testcase" );
            if( className.empty() ) {
                xml.writeAttribute( "classname", name );
                xml.writeAttribute( "name", "root" );
            }
            else {
                xml.writeAttribute( "classname", className );
                xml.writeAttribute( "name", name );
            }
            xml.writeAttribute( "time", formatDuration( sectionNode.stats.durationInSeconds ) );
            // This is not ideal, but it should be enough to mimic gtest's
            // junit output.
            // Ideally the JUnit reporter would also handle `skipTest`
            // events and write those out appropriately.
            xml.writeAttribute( "status", "run" );

            if (sectionNode.stats.assertions.failedButOk) {
                xml.scopedElement("skipped")
                    .writeAttribute("message", "TEST_CASE tagged with !mayfail");
            }

            writeAssertions( sectionNode );

            if( !sectionNode.stdOut.empty() )
                xml.scopedElement( "system-out" ).writeText( trim( sectionNode.stdOut ), XmlFormatting::Newline );
            if( !sectionNode.stdErr.empty() )
                xml.scopedElement( "system-err" ).writeText( trim( sectionNode.stdErr ), XmlFormatting::Newline );
        }
        for( auto const& childNode : sectionNode.childSections )
            if( className.empty() )
                writeSection( name, "", *childNode, testOkToFail );
            else
                writeSection( className, name, *childNode, testOkToFail );
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %r8d, -0x84(%rbp)
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, -0x90(%rbp)
movq %rdi, -0x80(%rbp)
leaq 0x10(%rcx), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x23233
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0x379dc
leaq -0x68(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0x4a8c2
leaq -0x78(%rbp), %rdi
movq 0x8(%rdi), %rsi
movl $0x1, %ecx
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x1b980
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0x78(%rbp), %rdi
callq 0x1b150
leaq -0x38(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x37991
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x37997
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xb0(%rbp), %rdi
movq %r14, %rsi
callq 0x1b640
movq (%r14), %rdi
cmpq %rbx, %rdi
je 0x379ce
callq 0x1b4d0
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x379dc
callq 0x1b4d0
movq 0xa0(%r12), %rax
cmpq 0xa8(%r12), %rax
jne 0x37a08
cmpq $0x0, 0xc0(%r12)
jne 0x37a08
cmpq $0x0, 0xe0(%r12)
je 0x37de2
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x442db(%rip), %rsi     # 0x7bcf2
leaq 0x442dc(%rip), %rdx     # 0x7bcfa
leaq -0x48(%rbp), %rdi
callq 0x431c8
movq -0x80(%rbp), %rax
leaq 0xd8(%rax), %r13
leaq -0xc0(%rbp), %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x32372
movq -0x90(%rbp), %rbx
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
movl $0x3, %edx
callq 0x3271c
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37a6c
callq 0x1b4d0
cmpq $0x0, 0x8(%rbx)
je 0x37ad9
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x4427a(%rip), %rsi     # 0x7bcfb
leaq 0x4427c(%rip), %rdx     # 0x7bd04
callq 0x431c8
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x32852
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37aaa
callq 0x1b4d0
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x42e61(%rip), %rsi     # 0x7a919
leaq 0x42e5e(%rip), %rdx     # 0x7a91d
callq 0x431c8
leaq -0x48(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
movq %r13, %rdi
callq 0x32852
jmp 0x37b41
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x44214(%rip), %rsi     # 0x7bcfb
leaq 0x44216(%rip), %rdx     # 0x7bd04
callq 0x431c8
leaq -0x48(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
movq %r13, %rdi
callq 0x32852
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37b14
callq 0x1b4d0
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x42df7(%rip), %rsi     # 0x7a919
leaq 0x42df4(%rip), %rdx     # 0x7a91d
callq 0x431c8
leaq 0x441d0(%rip), %rdx     # 0x7bd05
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x4179a
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37b4f
callq 0x1b4d0
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x43296(%rip), %rsi     # 0x7adf3
leaq 0x43293(%rip), %rdx     # 0x7adf7
callq 0x431c8
movsd 0x78(%r12), %xmm0
leaq -0x78(%rbp), %rdi
callq 0x374a8
leaq -0x48(%rbp), %rsi
leaq -0x78(%rbp), %rdx
movq %r13, %rdi
callq 0x32852
leaq -0x68(%rbp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x37b9b
callq 0x1b4d0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37ba9
callq 0x1b4d0
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x432ca(%rip), %rsi     # 0x7ae81
leaq 0x432c9(%rip), %rdx     # 0x7ae87
callq 0x431c8
leaq 0x42ee6(%rip), %rdx     # 0x7aab0
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x4162a
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37be4
callq 0x1b4d0
cmpq $0x0, 0x70(%r12)
je 0x37c7f
leaq -0x48(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x4410c(%rip), %rsi     # 0x7bd0a
leaq 0x4410c(%rip), %rdx     # 0x7bd11
callq 0x431c8
leaq -0x58(%rbp), %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x32372
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
movl $0x3, %edx
callq 0x3271c
leaq -0x78(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x45333(%rip), %rsi     # 0x7cf6d
leaq 0x45333(%rip), %rdx     # 0x7cf74
callq 0x431c8
movq -0x58(%rbp), %rdi
leaq 0x440c1(%rip), %rdx     # 0x7bd12
leaq -0x78(%rbp), %rsi
callq 0x6223c
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0x37c68
callq 0x1b4d0
leaq -0x58(%rbp), %rdi
callq 0x324fa
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37c7f
callq 0x1b4d0
movq %r14, %r15
movq 0xa0(%r12), %r14
movq 0xa8(%r12), %rbx
cmpq %rbx, %r14
je 0x37cac
movq -0x80(%rbp), %rdi
movq %r14, %rsi
callq 0x38014
addq $0xe8, %r14
jmp 0x37c92
cmpq $0x0, 0xc0(%r12)
leaq -0x38(%rbp), %rbx
je 0x37d43
leaq -0x48(%rbp), %rdi
movq %rbx, (%rdi)
leaq 0x43fa7(%rip), %rsi     # 0x7bc74
leaq 0x43faa(%rip), %rdx     # 0x7bc7e
callq 0x431c8
leaq -0x58(%rbp), %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x32372
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
movl $0x3, %edx
callq 0x3271c
leaq 0xb8(%r12), %rsi
leaq -0x78(%rbp), %rdi
callq 0x23233
movq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
movl $0x2, %edx
callq 0x32538
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x37d2c
callq 0x1b4d0
leaq -0x58(%rbp), %rdi
callq 0x324fa
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x37d43
callq 0x1b4d0
cmpq $0x0, 0xe0(%r12)
je 0x37dd6
leaq -0x48(%rbp), %rdi
movq %rbx, (%rdi)
leaq 0x43f1f(%rip), %rsi     # 0x7bc7f
leaq 0x43f22(%rip), %rdx     # 0x7bc89
callq 0x431c8
leaq -0x58(%rbp), %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x32372
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
movl $0x3, %edx
callq 0x3271c
leaq 0xd8(%r12), %rsi
leaq -0x78(%rbp), %rdi
callq 0x23233
movq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
movl $0x2, %edx
callq 0x32538
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x37dbf
callq 0x1b4d0
leaq -0x58(%rbp), %rdi
callq 0x324fa
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x37dd6
callq 0x1b4d0
leaq -0xc0(%rbp), %rdi
callq 0x324fa
movq 0x88(%r12), %rbx
movq 0x90(%r12), %r12
cmpq %r12, %rbx
je 0x37e76
leaq -0x48(%rbp), %r13
movzbl -0x84(%rbp), %r15d
leaq -0xb0(%rbp), %r14
movq -0x90(%rbp), %rsi
cmpq $0x0, 0x8(%rsi)
je 0x37e2c
movq (%rbx), %rcx
movq -0x80(%rbp), %rdi
movq %r14, %rdx
movl %r15d, %r8d
callq 0x378dc
jmp 0x37e6d
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq %r13, %rdi
leaq 0x43055(%rip), %rdx     # 0x7ae93
movq %rdx, %rsi
callq 0x431c8
movq (%rbx), %rcx
movq -0x80(%rbp), %rdi
movq %r14, %rsi
movq %r13, %rdx
movl %r15d, %r8d
callq 0x378dc
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x37e6d
callq 0x1b4d0
addq $0x10, %rbx
cmpq %r12, %rbx
jne 0x37e0a
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x37e8b
callq 0x1b4d0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x37f45
jmp 0x37fa1
jmp 0x37f45
jmp 0x37fa1
jmp 0x37eb9
jmp 0x37ed3
jmp 0x37ed3
jmp 0x37ee1
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
je 0x37ed6
callq 0x1b4d0
jmp 0x37ed6
jmp 0x37fa1
jmp 0x37ed3
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x324fa
jmp 0x37ee4
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
jne 0x37f51
jmp 0x37fa4
jmp 0x37fa1
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0x37f13
callq 0x1b4d0
jmp 0x37f13
jmp 0x37f10
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x324fa
jmp 0x37f48
jmp 0x37f45
jmp 0x37fa1
jmp 0x37f45
jmp 0x37fa1
jmp 0x37f45
jmp 0x37fa1
jmp 0x37f45
jmp 0x37fa1
movq %rax, %rbx
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x37f48
callq 0x1b4d0
jmp 0x37f48
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x37fa4
callq 0x1b4d0
jmp 0x37fa4
jmp 0x37fa1
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x324fa
jmp 0x37f6e
movq %rax, %rbx
movq -0x48(%rbp), %rdi
jmp 0x37f7f
jmp 0x37fb2
jmp 0x37f78
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r15, %rdi
jne 0x37f9a
jmp 0x37fb5
jmp 0x37fb2
jmp 0x37fb2
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x37fb5
callq 0x1b4d0
jmp 0x37fb5
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x324fa
jmp 0x37fb5
movq %rax, %rbx
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x37fca
callq 0x1b4d0
movq %rbx, %rdi
callq 0x1b910