// File: /workspace/github_cpp_makefile_star2_O2/xelia-it[P]mustache/third-party/catch2/single_include/catch2/catch.hpp
// Function: Catch::ExceptionTranslatorRegistry::translateActiveException[abi:cxx11]() const
std::string ExceptionTranslatorRegistry::translateActiveException() const {
        try {
#ifdef __OBJC__
            // In Objective-C try objective-c exceptions first
            @try {
                return tryTranslators();
            }
            @catch (NSException *exception) {
                return Catch::Detail::stringify( [exception description] );
            }
#else
            // Compiling a mixed mode project with MSVC means that CLR
            // exceptions will be caught in (...) as well. However, these
            // do not fill-in std::current_exception and thus lead to crash
            // when attempting rethrow.
            // /EHa switch also causes structured exceptions to be caught
            // here, but they fill-in current_exception properly, so
            // at worst the output should be a little weird, instead of
            // causing a crash.
            if (std::current_exception() == nullptr) {
                return "Non C++ exception. Possibly a CLR exception.";
            }
            return tryTranslators();
#endif
        }
        catch( TestFailureException& ) {
            std::rethrow_exception(std::current_exception());
        }
        catch( std::exception& ex ) {
            return ex.what();
        }
        catch( std::string& msg ) {
            return msg;
        }
        catch( const char* msg ) {
            return msg;
        }
        catch(...) {
            return "Unknown exception";
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movq %r15, %rdi
callq 0x24610
leaq -0x38(%rbp), %rdi
andq $0x0, (%rdi)
movq (%r15), %r12
callq 0x3df6e
movq %r15, %rdi
callq 0x3df6e
testq %r12, %r12
je 0x2a4cb
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2a5d4
jmp 0x2a4de
leaq 0x49a74(%rip), %rsi     # 0x73f46
leaq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x24210
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2a4f0
movq %rdx, %r14
movq %rax, %rdi
cmpl $0x5, %r14d
je 0x2a572
cmpl $0x4, %r14d
jne 0x2a521
callq 0x24220
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq -0x28(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x24210
jmp 0x2a568
cmpl $0x3, %r14d
jne 0x2a539
callq 0x24220
movq %rbx, %rdi
movq %rax, %rsi
callq 0x24760
jmp 0x2a568
callq 0x24220
cmpl $0x2, %r14d
jne 0x2a555
leaq -0x28(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x24210
jmp 0x2a568
leaq 0x49a17(%rip), %rsi     # 0x73f73
leaq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x24210
callq 0x24890
jmp 0x2a4de
callq 0x24220
leaq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x24610
movq %rbx, %rdi
callq 0x245b0
movq %rax, %rbx
callq 0x24890
jmp 0x2a5c4
movq %rax, %rbx
callq 0x24890
jmp 0x2a5c4
movq %rax, %rbx
callq 0x24890
jmp 0x2a5c4
movq %rax, %rbx
callq 0x24890
jmp 0x2a5c4
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x3df6e
callq 0x24890
movq %rbx, %rdi
callq 0x24950
movq %rax, %rdi
callq 0x3dcad