// File: /workspace/github_cpp_makefile_star2_O2/xelia-it[P]mustache/third-party/catch2/single_include/catch2/catch.hpp
// Function: Catch::makeStream(Catch::StringRef const&)
auto makeStream( StringRef const &filename ) -> IStream const* {
        if( filename.empty() )
            return new Detail::CoutStream();
        else if( filename[0] == '%' ) {
            if( filename == "%debug" )
                return new Detail::DebugOutStream();
            else
                CATCH_ERROR( "Unrecognised stream: '" << filename << "'" );
        }
        else
            return new Detail::FileStream( filename );
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
cmpq $0x0, 0x8(%rdi)
je 0x29878
movq %rdi, %r14
xorl %esi, %esi
callq 0x3e8aa
cmpb $0x25, %al
jne 0x298b0
leaq 0x4ae67(%rip), %rsi     # 0x74654
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0x310d0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x30df4
testb %al, %al
je 0x29912
movl $0x120, %edi            # imm = 0x120
callq 0x24580
movq %rax, %rbx
leaq 0x81ff8(%rip), %rax     # 0xab818
movq %rax, (%rbx)
movl $0x148, %edi            # imm = 0x148
callq 0x24580
movq %rax, %r15
leaq 0x8(%rbx), %r14
movq %rax, %rdi
callq 0x24160
leaq 0x82015(%rip), %rax     # 0xab858
movq %rax, (%r15)
leaq 0x40(%r15), %rax
movq %r15, %rcx
addq $0x140, %rcx            # imm = 0x140
movq %rax, 0x28(%r15)
movq %rax, 0x20(%r15)
movq %rcx, 0x30(%r15)
movq %r15, 0x8(%rbx)
movq %rbx, %rdi
addq $0x10, %rdi
movq %r15, %rsi
callq 0x24200
jmp 0x29904
movl $0x118, %edi            # imm = 0x118
callq 0x24580
movq %rax, %rbx
leaq 0x81f4c(%rip), %rax     # 0xab7d8
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq 0x846fe(%rip), %rax     # 0xadf98
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq 0xe8(%rax,%rcx), %rsi
callq 0x24200
jmp 0x29904
movl $0x208, %edi            # imm = 0x208
callq 0x24580
movq %rax, %rbx
movups (%r14), %xmm0
movups %xmm0, -0x60(%rbp)
leaq 0x82024(%rip), %rax     # 0xab8f0
movq %rax, (%rbx)
movq %rbx, %r14
addq $0x8, %r14
movq %r14, %rdi
callq 0x248e0
leaq -0x60(%rbp), %rdi
callq 0x310f2
pushq $0x10
popq %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x24070
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%r14,%rax)
jne 0x29964
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x30e18
movq 0x10(%rbx), %rdi
leaq 0x4ad32(%rip), %rsi     # 0x7465b
callq 0x24570
movq -0x20(%rbp), %rdi
movq %r14, %rsi
callq 0x29ecc
movq -0x20(%rbp), %rdi
leaq 0x4c619(%rip), %rsi     # 0x75f5e
callq 0x24570
movq -0x20(%rbp), %rsi
addq $0x8, %rsi
leaq -0x50(%rbp), %rdi
callq 0x24830
leaq -0x50(%rbp), %rdi
callq 0x255ca
leaq -0x30(%rbp), %rdi
callq 0x30e18
movq -0x20(%rbp), %rdi
leaq 0x4c2bf(%rip), %rsi     # 0x75c37
callq 0x24570
movq -0x20(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x29ecc
movq -0x20(%rbp), %rdi
leaq 0x4c5c9(%rip), %rsi     # 0x75f5e
callq 0x24570
movq -0x20(%rbp), %rsi
addq $0x8, %rsi
leaq -0x50(%rbp), %rdi
callq 0x24830
leaq -0x50(%rbp), %rdi
callq 0x255ca
movq %rax, %r15
leaq -0x50(%rbp), %rdi
callq 0x24ad8
jmp 0x299d3
movq %rax, %r15
leaq -0x50(%rbp), %rdi
callq 0x24ad8
jmp 0x299e3
movq %rax, %r15
leaq -0x30(%rbp), %rdi
callq 0x30e5e
jmp 0x29a07
jmp 0x29a04
movq %rax, %r15
leaq -0x30(%rbp), %rdi
callq 0x30e5e
jmp 0x29a17
movq %rax, %r15
movq %r14, %rdi
callq 0x3af54
jmp 0x29a0f
jmp 0x299ff
jmp 0x299ff
movq %rax, %r15
jmp 0x29a0f
movq %rax, %r15
movq %r14, %rdi
callq 0x247d0
movq %rbx, %rdi
callq 0x24540
movq %r15, %rdi
callq 0x24950
nop