// File: ahupowerdns[P]mcounter/./ext/doctest.h
// Function: doctest::(anonymous namespace)::translateActiveException()
String translateActiveException() {
#ifndef DOCTEST_CONFIG_NO_EXCEPTIONS
        String res;
        auto&  translators = getExceptionTranslators();
        for(auto& curr : translators)
            if(curr->translate(res))
                return res;
        // clang-format off
        DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wcatch-value")
        try {
            throw;
        } catch(std::exception& ex) {
            return ex.what();
        } catch(std::string& msg) {
            return msg.c_str();
        } catch(const char* msg) {
            return msg;
        } catch(...) {
            return "unknown exception";
        }
        DOCTEST_GCC_SUPPRESS_WARNING_POP
// clang-format on
#else  // DOCTEST_CONFIG_NO_EXCEPTIONS
        return "";
#endif // DOCTEST_CONFIG_NO_EXCEPTIONS
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x80(%rbp)
movq %rdi, %rax
movq %rax, -0x78(%rbp)
movq %rdi, -0x8(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x78d0
callq 0xa9d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x21320
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rdi
callq 0x21350
movq %rax, -0x40(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x241c0
testb $0x1, %al
jne 0xb131
jmp 0xb1a2
leaq -0x38(%rbp), %rdi
callq 0x24200
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
leaq -0x20(%rbp), %rsi
callq *%rax
movb %al, -0x81(%rbp)
jmp 0xb15a
movb -0x81(%rbp), %al
testb $0x1, %al
jne 0xb166
jmp 0xb192
movq -0x80(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x7d00
jmp 0xb175
movl $0x1, -0x58(%rbp)
jmp 0xb304
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0xb31a
jmp 0xb194
leaq -0x38(%rbp), %rdi
callq 0x24220
jmp 0xb11e
callq 0x66b0
jmp 0xb334
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
movl %eax, -0x88(%rbp)
movl $0x4, %ecx
cmpl %ecx, %eax
jne 0xb203
movq -0x50(%rbp), %rdi
callq 0x6180
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0x7960
jmp 0xb1f2
movl $0x1, -0x58(%rbp)
callq 0x6760
jmp 0xb300
movl -0x88(%rbp), %eax
movl $0x3, %ecx
cmpl %ecx, %eax
jne 0xb247
movq -0x50(%rbp), %rdi
callq 0x6180
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
callq 0x6190
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0x7960
jmp 0xb236
movl $0x1, -0x58(%rbp)
callq 0x6760
jmp 0xb2e9
movl -0x88(%rbp), %eax
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0xb283
movq -0x50(%rbp), %rdi
callq 0x6180
movq -0x80(%rbp), %rdi
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rsi
callq 0x7960
jmp 0xb272
movl $0x1, -0x58(%rbp)
callq 0x6760
jmp 0xb304
movq -0x50(%rbp), %rdi
callq 0x6180
movq -0x80(%rbp), %rdi
leaq 0x2dac1(%rip), %rsi     # 0x38d58
callq 0x7960
jmp 0xb29e
movl $0x1, -0x58(%rbp)
callq 0x6760
jmp 0xb2bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
callq 0x6760
jmp 0xb2c1
jmp 0xb304
jmp 0xb31a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
callq 0x6760
jmp 0xb31a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
callq 0x6760
jmp 0xb2eb
jmp 0xb304
jmp 0xb31a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
callq 0x6760
jmp 0xb302
jmp 0xb304
jmp 0xb31a
leaq -0x20(%rbp), %rdi
callq 0x7900
movq -0x78(%rbp), %rax
addq $0x90, %rsp
popq %rbp
retq
leaq -0x20(%rbp), %rdi
callq 0x7900
movq -0x50(%rbp), %rdi
callq 0x6800
movq %rax, %rdi
callq 0x20cc0
nopw %cs:(%rax,%rax)