// File: /workspace/github_cpp_makefile_star2_O3/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
cmpq $0x0, (%r15)
je 0x24461
leaq -0x20(%rbp), %rdi
callq 0x1b460
movq %rbx, %rdi
movq %r14, %rsi
callq 0x24596
jmp 0x2447e
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x56aff(%rip), %rsi     # 0x7af6e
leaq 0x56b24(%rip), %rdx     # 0x7af9a
movq %rbx, %rdi
callq 0x431c8
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2448e
movq %rdx, %r14
movq %rax, %rdi
cmpl $0x5, %r14d
je 0x2452c
cmpl $0x4, %r14d
jne 0x244c3
callq 0x1b1f0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq -0x20(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1b1e0
jmp 0x24522
cmpl $0x3, %r14d
jne 0x244e9
callq 0x1b1f0
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4a8c2
jmp 0x24522
callq 0x1b1f0
cmpl $0x2, %r14d
jne 0x24505
leaq -0x20(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1b1e0
jmp 0x24522
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x56a88(%rip), %rsi     # 0x7af9b
leaq 0x56a92(%rip), %rdx     # 0x7afac
movq %rbx, %rdi
callq 0x431c8
callq 0x1b850
jmp 0x2447e
callq 0x1b1f0
leaq -0x28(%rbp), %rbx
movq %rbx, %rdi
callq 0x1b5a0
movq %rbx, %rdi
callq 0x1b550
movq %rax, %rbx
callq 0x1b850
jmp 0x24585
movq %rax, %rbx
callq 0x1b850
jmp 0x24585
movq %rax, %rbx
callq 0x1b850
jmp 0x24585
movq %rax, %rbx
callq 0x1b850
jmp 0x24585
movq %rax, %rbx
cmpq $0x0, -0x28(%rbp)
je 0x24580
leaq -0x28(%rbp), %rdi
callq 0x1b460
callq 0x1b850
movq %rbx, %rdi
callq 0x1b910
movq %rax, %rdi
callq 0x3e96e
nop