// File: /workspace/github_cpp_makefile_star2_O1/xelia-it[P]mustache/third-party/catch2/single_include/catch2/catch.hpp
// Function: Catch::WildcardPattern::matches(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
bool WildcardPattern::matches( std::string const& str ) const {
        switch( m_wildcard ) {
            case NoWildcard:
                return m_pattern == normaliseString( str );
            case WildcardAtStart:
                return endsWith( normaliseString( str ), m_pattern );
            case WildcardAtEnd:
                return startsWith( normaliseString( str ), m_pattern );
            case WildcardAtBothEnds:
                return contains( normaliseString( str ), m_pattern );
            default:
                CATCH_INTERNAL_ERROR( "Unknown enum" );
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl 0xc(%rdi), %eax
cmpq $0x3, %rax
ja 0x30140
movq %rsi, %rdx
movq %rdi, %r14
leaq 0x4a145(%rip), %rcx     # 0x7a150
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x38(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32004
movq 0x18(%r14), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x3011b
testq %rdx, %rdx
je 0x3013c
movq -0x38(%rbp), %rsi
movq 0x10(%r14), %rdi
jmp 0x30072
leaq -0x38(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32004
movq 0x18(%r14), %rdx
cmpq %rdx, 0x8(%rbx)
jb 0x3011b
testq %rdx, %rdx
je 0x3013c
movq 0x10(%r14), %rdi
movq -0x38(%rbp), %rsi
callq 0x1b570
testl %eax, %eax
sete %bl
jmp 0x3011d
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x32004
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rcx
movq %r15, %rdi
xorl %edx, %edx
callq 0x1b8d0
cmpq $-0x1, %rax
setne %bl
movq (%r15), %rdi
leaq -0x28(%rbp), %rax
jmp 0x30125
leaq -0x38(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32004
movq 0x8(%rbx), %rax
movq 0x18(%r14), %rdx
cmpq %rdx, %rax
jb 0x3011b
testq %rdx, %rdx
sete %bl
je 0x3011d
movq 0x10(%r14), %rcx
movq -0x38(%rbp), %rsi
movb -0x1(%rcx,%rdx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x3011b
addq %rsi, %rax
addq $-0x2, %rax
addq %rdx, %rcx
addq $-0x2, %rcx
movl $0x1, %esi
subq %rdx, %rsi
xorl %edx, %edx
cmpq %rdx, %rsi
sete %bl
je 0x3011d
movb (%rcx,%rdx), %dil
leaq -0x1(%rdx), %r8
cmpb (%rax,%rdx), %dil
movq %r8, %rdx
je 0x30102
xorl %ebx, %ebx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3012f
callq 0x1b4d0
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bl
jmp 0x3011d
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0x2d4f4
leaq 0x4bd82(%rip), %rax     # 0x7bed5
leaq -0x60(%rbp), %rsi
movq %rax, (%rsi)
movq $0x3c44, 0x8(%rsi)      # imm = 0x3C44
movq 0x10(%rbx), %rdi
callq 0x22e23
movq -0x40(%rbp), %rdi
leaq 0x4bff5(%rip), %rsi     # 0x7c16b
movl $0x19, %edx
callq 0x1b5e0
movq -0x40(%rbp), %rdi
leaq 0x4c7ad(%rip), %rsi     # 0x7c938
movl $0xc, %edx
callq 0x1b5e0
movq -0x40(%rbp), %rsi
addq $0x8, %rsi
leaq -0x38(%rbp), %rdi
callq 0x1b7f0
leaq -0x38(%rbp), %rdi
callq 0x23e3c
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x301c9
callq 0x1b4d0
jmp 0x301c9
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x2d53a
movq %rbx, %rdi
callq 0x1b910