// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x20(%rbp), %r15
movq %r15, %rdi
callq 0x1b5a0
movq (%r15), %r15
testq %r15, %r15
je 0x2448a
leaq -0x20(%rbp), %rdi
callq 0x1b460
testq %r15, %r15
je 0x2449c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x245d0
jmp 0x244b9
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x57ac4(%rip), %rsi     # 0x7bf6e
leaq 0x57ae9(%rip), %rdx     # 0x7bf9a
movq %rbx, %rdi
callq 0x43438
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x244c9
movq %rdx, %r14
movq %rax, %rdi
cmpl $0x5, %r14d
je 0x24567
cmpl $0x4, %r14d
jne 0x244fe
callq 0x1b1f0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq -0x20(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1b1e0
jmp 0x2455d
cmpl $0x3, %r14d
jne 0x24524
callq 0x1b1f0
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4ad3e
jmp 0x2455d
callq 0x1b1f0
cmpl $0x2, %r14d
jne 0x24540
leaq -0x20(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1b1e0
jmp 0x2455d
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x57a4d(%rip), %rsi     # 0x7bf9b
leaq 0x57a57(%rip), %rdx     # 0x7bfac
movq %rbx, %rdi
callq 0x43438
callq 0x1b850
jmp 0x244b9
callq 0x1b1f0
leaq -0x28(%rbp), %rbx
movq %rbx, %rdi
callq 0x1b5a0
movq %rbx, %rdi
callq 0x1b550
movq %rax, %rbx
callq 0x1b850
jmp 0x245c0
movq %rax, %rbx
callq 0x1b850
jmp 0x245c0
movq %rax, %rbx
callq 0x1b850
jmp 0x245c0
movq %rax, %rbx
callq 0x1b850
jmp 0x245c0
movq %rax, %rbx
cmpq $0x0, -0x28(%rbp)
je 0x245bb
leaq -0x28(%rbp), %rdi
callq 0x1b460
callq 0x1b850
movq %rbx, %rdi
callq 0x1b910
movq %rax, %rdi
callq 0x3ec84