// File: /workspace/github_cpp_makefile_star2_O2/xelia-it[P]mustache/third-party/catch2/single_include/catch2/catch.hpp
// Function: Catch::JunitReporter::writeAssertion(Catch::AssertionStats const&)
void JunitReporter::writeAssertion( AssertionStats const& stats ) {
        AssertionResult const& result = stats.assertionResult;
        if( !result.isOk() ) {
            std::string elementName;
            switch( result.getResultType() ) {
                case ResultWas::ThrewException:
                case ResultWas::FatalErrorCondition:
                    elementName = "error";
                    break;
                case ResultWas::ExplicitFailure:
                case ResultWas::ExpressionFailed:
                case ResultWas::DidntThrowException:
                    elementName = "failure";
                    break;

                // We should never see these here:
                case ResultWas::Info:
                case ResultWas::Warning:
                case ResultWas::Ok:
                case ResultWas::Unknown:
                case ResultWas::FailureBit:
                case ResultWas::Exception:
                    elementName = "internalError";
                    break;
            }

            XmlWriter::ScopedElement e = xml.scopedElement( elementName );

            xml.writeAttribute( "message", result.getExpression() );
            xml.writeAttribute( "type", result.getTestMacroName() );

            ReusableStringStream rss;
            if (stats.totals.assertions.total() > 0) {
                rss << "FAILED" << ":\n";
                if (result.hasExpression()) {
                    rss << "  ";
                    rss << result.getExpressionInMacro();
                    rss << '\n';
                }
                if (result.hasExpandedExpression()) {
                    rss << "with expansion:\n";
                    rss << Column(result.getExpandedExpression()).indent(2) << '\n';
                }
            } else {
                rss << '\n';
            }

            if( !result.getMessage().empty() )
                rss << result.getMessage() << '\n';
            for( auto const& msg : stats.infoMessages )
                if( msg.type == ResultWas::Info )
                    rss << msg.message << '\n';

            rss << "at " << result.getSourceInfo();
            xml.writeText( rss.str(), XmlFormatting::Newline );
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl 0x90(%rsi), %eax
testb $0x10, %al
je 0x3912e
movq %rsi, %r14
movl 0x38(%rsi), %ecx
andl $0x8, %ecx
jne 0x3912e
movq %rdi, %rbx
leaq -0xb0(%rbp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
leaq 0x3a9fd(%rip), %rsi     # 0x73839
leal -0x11(%rax), %ecx
cmpl $0x2, %ecx
jb 0x38e7a
cmpl $-0x1, %eax
je 0x38e73
cmpl $0x10, %eax
je 0x38e73
cmpl $0x110, %eax            # imm = 0x110
je 0x38e73
cmpl $0x210, %eax            # imm = 0x210
je 0x38e6a
cmpl $0x112, %eax            # imm = 0x112
je 0x38e7a
cmpl $0x111, %eax            # imm = 0x111
jne 0x38e86
leaq 0x427b0(%rip), %rsi     # 0x7b621
jmp 0x38e7a
leaq 0x3be8f(%rip), %rsi     # 0x74d09
leaq -0xc0(%rbp), %rdi
callq 0x24a20
addq $0xd8, %rbx
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
pushq $0x3
popq %rcx
movq %rbx, %rsi
callq 0x34d2e
leaq 0x3d066(%rip), %rsi     # 0x75f13
leaq -0x70(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0x24210
leaq 0x8(%r14), %r15
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
callq 0x25d60
leaq -0x70(%rbp), %rsi
leaq -0x90(%rbp), %rdx
movq %rbx, %rdi
callq 0x34d7a
leaq -0x90(%rbp), %rdi
callq 0x24ad8
leaq -0x70(%rbp), %rdi
callq 0x24ad8
leaq 0x3d15b(%rip), %rsi     # 0x76057
leaq -0x70(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0x24210
movups 0x8(%r14), %xmm0
leaq -0x90(%rbp), %rdx
movups %xmm0, (%rdx)
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x40bb4
leaq -0x70(%rbp), %rdi
callq 0x24ad8
leaq -0x40(%rbp), %rdi
callq 0x30e18
movq 0xc0(%r14), %rax
addq 0xb8(%r14), %rax
movq -0x30(%rbp), %rdi
addq 0xc8(%r14), %rax
jne 0x38f5e
pushq $0xa
popq %rsi
callq 0x24670
jmp 0x39030
leaq 0x3bdb2(%rip), %rsi     # 0x74d17
callq 0x24570
movq -0x30(%rbp), %rdi
leaq 0x3bb0c(%rip), %rsi     # 0x74a81
callq 0x24570
cmpq $0x0, 0x30(%r14)
je 0x38fbf
movq -0x30(%rbp), %rdi
leaq 0x4346f(%rip), %rsi     # 0x7c3fb
callq 0x24570
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
callq 0x25dfc
movq -0x30(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x24510
leaq -0x70(%rbp), %rdi
callq 0x24ad8
movq -0x30(%rbp), %rdi
pushq $0xa
popq %rsi
callq 0x24670
movq %r15, %rdi
callq 0x25ebc
testb %al, %al
je 0x39030
movq -0x30(%rbp), %rdi
leaq 0x3bd48(%rip), %rsi     # 0x74d1e
callq 0x24570
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
callq 0x25f36
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x3e2d8
leaq -0x70(%rbp), %rsi
movq $0x2, 0x20(%rsi)
movq -0x30(%rbp), %rdi
callq 0x3e20a
movq -0x30(%rbp), %rdi
pushq $0xa
popq %rsi
callq 0x24670
leaq -0x70(%rbp), %rdi
callq 0x3f34e
leaq -0x90(%rbp), %rdi
callq 0x24ad8
leaq 0x40(%r14), %r15
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
callq 0x24760
leaq -0x70(%rbp), %rdi
movq 0x8(%rdi), %r12
callq 0x24ad8
testq %r12, %r12
je 0x39080
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
callq 0x24760
movq -0x30(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x24510
movq -0x30(%rbp), %rdi
pushq $0xa
popq %rsi
callq 0x24670
leaq -0x70(%rbp), %rdi
callq 0x24ad8
movq 0x98(%r14), %r12
movq 0xa0(%r14), %r13
pushq $0xa
popq %r15
cmpq %r13, %r12
je 0x390bf
cmpl $0x1, 0x40(%r12)
jne 0x390b9
leaq 0x10(%r12), %rsi
movq -0x30(%rbp), %rdi
callq 0x24510
movq -0x30(%rbp), %rdi
movl %r15d, %esi
callq 0x24670
addq $0x48, %r12
jmp 0x39092
movq -0x30(%rbp), %rdi
leaq 0x3b6a8(%rip), %rsi     # 0x74772
callq 0x24570
movups 0x18(%r14), %xmm0
leaq -0x70(%rbp), %rsi
movups %xmm0, (%rsi)
movq -0x30(%rbp), %rdi
callq 0x2921b
movq -0x30(%rbp), %rsi
addq $0x8, %rsi
leaq -0x70(%rbp), %rdi
callq 0x24830
leaq -0x70(%rbp), %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x34ad2
leaq -0x70(%rbp), %rdi
callq 0x24ad8
leaq -0x40(%rbp), %rdi
callq 0x30e5e
leaq -0xa0(%rbp), %rdi
callq 0x34a94
leaq -0xc0(%rbp), %rdi
callq 0x24ad8
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x39142
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x3f34e
jmp 0x39153
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
jmp 0x39175
jmp 0x391b5
jmp 0x391b5
jmp 0x3916e
jmp 0x391b5
jmp 0x391b5
jmp 0x3916e
jmp 0x3916e
jmp 0x391b5
jmp 0x391ac
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x24ad8
jmp 0x391b8
jmp 0x391b5
jmp 0x391b5
jmp 0x391b5
jmp 0x391a7
jmp 0x39199
jmp 0x391a7
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x24ad8
jmp 0x3919c
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x24ad8
jmp 0x391c1
movq %rax, %rbx
jmp 0x391c1
movq %rax, %rbx
jmp 0x391cd
jmp 0x391b5
jmp 0x391b5
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x30e5e
leaq -0xa0(%rbp), %rdi
callq 0x34a94
leaq -0xc0(%rbp), %rdi
callq 0x24ad8
movq %rbx, %rdi
callq 0x24950
nop