// File: /workspace/github_cpp_makefile_star2_O3/madpilot[P]mDNSResolver/test/catch.h
// Function: Catch::JunitReporter::writeAssertion(Catch::AssertionStats const&)
void 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:
                        elementName = "failure";
                        break;
                    case ResultWas::ExpressionFailed:
                        elementName = "failure";
                        break;
                    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.getExpandedExpression() );
                xml.writeAttribute( "type", result.getTestMacroName() );

                std::ostringstream oss;
                if( !result.getMessage().empty() )
                    oss << result.getMessage() << "\n";
                for( std::vector<MessageInfo>::const_iterator
                        it = stats.infoMessages.begin(),
                        itEnd = stats.infoMessages.end();
                            it != itEnd;
                            ++it )
                    if( it->type == ResultWas::Info )
                        oss << it->message << "\n";

                oss << "at " << result.getSourceInfo();
                xml.writeText( oss.str(), false );
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movl 0xb8(%rsi), %eax
testb $0x10, %al
je 0x2c511
movq %rsi, %r14
movl 0x70(%rsi), %ecx
andl $0x8, %ecx
jne 0x2c511
movq %rdi, %r12
leaq -0x70(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
movl $0x7, %r8d
leaq 0x20c84(%rip), %rcx     # 0x4ce8e
cmpl $0x10f, %eax            # imm = 0x10F
jg 0x2c225
leal -0x11(%rax), %edx
cmpl $0x2, %edx
jb 0x2c266
cmpl $-0x1, %eax
je 0x2c23c
cmpl $0x10, %eax
je 0x2c23c
jmp 0x2c273
cmpl $0x111, %eax            # imm = 0x111
jg 0x2c24b
cmpl $0x110, %eax            # imm = 0x110
je 0x2c23c
cmpl $0x111, %eax            # imm = 0x111
je 0x2c259
jmp 0x2c273
movl $0xd, %r8d
leaq 0x2182e(%rip), %rcx     # 0x4da77
jmp 0x2c266
cmpl $0x112, %eax            # imm = 0x112
je 0x2c266
cmpl $0x210, %eax            # imm = 0x210
jne 0x2c273
movl $0x5, %r8d
leaq 0x2180b(%rip), %rcx     # 0x4da71
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xa5c0
addq $0xc8, %r12
movq %r12, -0x58(%rbp)
leaq -0x80(%rbp), %rsi
movq %r12, %rdi
callq 0x2ac42
leaq -0x1e8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x218dc(%rip), %rsi     # 0x4db78
leaq 0x218dc(%rip), %rdx     # 0x4db7f
leaq -0x1f8(%rbp), %rdi
callq 0x24270
leaq -0x40(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x78(%r14), %rsi
movq 0x80(%r14), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %rdi
callq 0x2feea
leaq -0x1f8(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %r12, %rdi
callq 0x2acf4
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c2ef
callq 0xa350
movq -0x1f8(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c300
callq 0xa350
leaq -0x1f8(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x20f95(%rip), %rsi     # 0x4d2a6
leaq 0x20f92(%rip), %rdx     # 0x4d2aa
callq 0x24270
leaq -0x50(%rbp), %rdi
movq %r13, (%rdi)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x2feea
leaq -0x1f8(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %r12, %rdi
callq 0x2acf4
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c355
callq 0xa350
movq -0x1f8(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c366
callq 0xa350
leaq -0x1f8(%rbp), %rdi
callq 0xa4f0
leaq -0x50(%rbp), %rdi
movq %r13, (%rdi)
movq 0x98(%r14), %rsi
movq 0xa0(%r14), %rdx
addq %rsi, %rdx
callq 0x2feea
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rbx
cmpq %r13, %rdi
je 0x2c3a1
callq 0xa350
movq %r12, -0x60(%rbp)
testq %rbx, %rbx
je 0x2c3fd
leaq -0x50(%rbp), %rdi
movq %r13, (%rdi)
movq 0x98(%r14), %rsi
movq 0xa0(%r14), %rdx
addq %rsi, %rdx
callq 0x2feea
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq -0x1f8(%rbp), %rdi
callq 0xa430
leaq 0x216f5(%rip), %rsi     # 0x4dad7
movl $0x1, %edx
movq %rax, %rdi
callq 0xa430
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c3fd
callq 0xa350
movq 0xc0(%r14), %r13
movq 0xc8(%r14), %rbx
cmpq %rbx, %r13
je 0x2c44e
leaq -0x1f8(%rbp), %r15
leaq 0x216b9(%rip), %r12     # 0x4dad7
cmpl $0x1, 0x48(%r13)
jne 0x2c445
movq 0x50(%r13), %rsi
movq 0x58(%r13), %rdx
movq %r15, %rdi
callq 0xa430
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0xa430
addq $0x78, %r13
cmpq %rbx, %r13
jne 0x2c41e
leaq 0x2050a(%rip), %rsi     # 0x4c95f
leaq -0x1f8(%rbp), %rdi
movl $0x3, %edx
callq 0xa430
leaq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %r15
movq %r15, (%rdi)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x2feea
movq -0x60(%rbp), %rbx
movq 0x48(%r14), %rax
leaq -0x50(%rbp), %rsi
movq %rax, 0x20(%rsi)
leaq -0x1f8(%rbp), %rdi
callq 0xc6ae
movq -0x50(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c4ab
callq 0xa350
leaq -0x1f0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0xa5e0
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2b12a
movq -0x50(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c4d7
callq 0xa350
movq 0x3baca(%rip), %rsi     # 0x67fa8
leaq -0x1f8(%rbp), %rdi
callq 0xa1d0
leaq -0x188(%rbp), %rdi
callq 0xa110
leaq -0x58(%rbp), %rdi
callq 0x2af9a
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x2c511
callq 0xa350
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c590
movq %rax, %rbx
jmp 0x2c5bb
jmp 0x2c531
jmp 0x2c590
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r15, %rdi
jne 0x2c589
jmp 0x2c593
jmp 0x2c590
jmp 0x2c590
jmp 0x2c590
jmp 0x2c578
jmp 0x2c54d
jmp 0x2c560
jmp 0x2c578
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c563
callq 0xa350
jmp 0x2c563
movq %rax, %rbx
movq -0x1f8(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c5b2
callq 0xa350
jmp 0x2c5b2
jmp 0x2c578
movq %rax, %rbx
jmp 0x2c5b2
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c593
callq 0xa350
jmp 0x2c593
movq %rax, %rbx
movq 0x3ba0e(%rip), %rsi     # 0x67fa8
leaq -0x1f8(%rbp), %rdi
callq 0xa1d0
leaq -0x188(%rbp), %rdi
callq 0xa110
leaq -0x58(%rbp), %rdi
callq 0x2af9a
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x2c5cd
callq 0xa350
movq %rbx, %rdi
callq 0xa6d0
nop