// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x50, %rsp
movq 0x8(%rdi), %r15
testq %r15, %r15
je 0x236b1
movq %rdi, %rbx
movq (%rdi), %r12
cmpb $0x25, (%r12)
jne 0x236e9
leaq 0x58082(%rip), %rsi     # 0x7b67c
leaq -0x58(%rbp), %r14
movq %r14, %rdi
callq 0x2d8fc
movq 0x8(%rbx), %rdx
cmpq 0x8(%r14), %rdx
jne 0x2374f
movq (%rbx), %rdi
movq -0x58(%rbp), %rsi
callq 0x1b570
testl %eax, %eax
jne 0x2374f
movl $0x120, %edi            # imm = 0x120
callq 0x1b510
movq %rax, %rbx
leaq 0x841bc(%rip), %rax     # 0xa77f8
movq %rax, (%rbx)
movl $0x148, %edi            # imm = 0x148
callq 0x1b510
movq %rax, %r14
movq 0x868dd(%rip), %rax     # 0xa9f30
addq $0x10, %rax
movq %rax, (%r14)
leaq 0x38(%r14), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r14)
movups %xmm0, 0x18(%r14)
movups %xmm0, 0x28(%r14)
callq 0x1ba40
leaq 0x841bc(%rip), %rax     # 0xa7838
movq %rax, (%r14)
leaq 0x40(%r14), %rax
movq %r14, %rcx
addq $0x140, %rcx            # imm = 0x140
movq %rax, 0x28(%r14)
movq %rax, 0x20(%r14)
movq %rcx, 0x30(%r14)
movq %r14, 0x8(%rbx)
movq %rbx, %rdi
addq $0x10, %rdi
movq %r14, %rsi
callq 0x1b1d0
jmp 0x2373f
movl $0x118, %edi            # imm = 0x118
callq 0x1b510
movq %rax, %rbx
leaq 0x840f3(%rip), %rax     # 0xa77b8
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq 0x868c5(%rip), %rax     # 0xa9f98
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq 0xe8(%rax,%rcx), %rsi
callq 0x1b1d0
jmp 0x2373f
movl $0x208, %edi            # imm = 0x208
callq 0x1b510
movq %rax, %rbx
movq %r12, -0x68(%rbp)
movq %r15, -0x60(%rbp)
leaq 0x841cb(%rip), %rax     # 0xa78d0
movq %rax, (%rbx)
movq %rbx, %r14
addq $0x8, %r14
movq %r14, %rdi
callq 0x1b8a0
leaq -0x68(%rbp), %rdi
callq 0x2d91e
movq %r14, %rdi
movq %rax, %rsi
movl $0x10, %edx
callq 0x1b080
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%r14,%rax)
jne 0x237af
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x2d4e2
movq 0x10(%r14), %rdi
leaq 0x57f1d(%rip), %rsi     # 0x7b683
movl $0x16, %edx
callq 0x1b5e0
movq -0x28(%rbp), %rdi
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x1b690
movq -0x28(%rbp), %rdi
leaq 0x5982d(%rip), %rsi     # 0x7cfb8
movl $0x1, %edx
callq 0x1b5e0
movq -0x28(%rbp), %rsi
addq $0x8, %rsi
leaq -0x58(%rbp), %rdi
callq 0x1b7f0
leaq -0x58(%rbp), %rdi
callq 0x1cf32
leaq -0x38(%rbp), %rdi
callq 0x2d4e2
movq -0x28(%rbp), %rdi
leaq 0x594ce(%rip), %rsi     # 0x7cc91
movl $0x16, %edx
callq 0x1b5e0
movq -0x28(%rbp), %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x1b690
movq -0x28(%rbp), %rdi
leaq 0x597d1(%rip), %rsi     # 0x7cfb8
movl $0x1, %edx
callq 0x1b5e0
movq -0x28(%rbp), %rsi
addq $0x8, %rsi
leaq -0x58(%rbp), %rdi
callq 0x1b7f0
leaq -0x58(%rbp), %rdi
callq 0x1cf32
movq %rax, %r15
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2383c
callq 0x1b4d0
jmp 0x2383c
movq %rax, %r15
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23871
callq 0x1b4d0
jmp 0x23871
movq %rax, %r15
leaq -0x38(%rbp), %rdi
callq 0x2d528
jmp 0x2387f
jmp 0x2387c
movq %rax, %r15
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x2385b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rbx)
jmp 0x23887
jmp 0x23869
jmp 0x23869
movq %rax, %r15
jmp 0x23887
movq %rax, %r15
leaq -0x38(%rbp), %rdi
callq 0x2d528
jmp 0x2388f
movq %rax, %r15
movq %r14, %rdi
callq 0x1b770
movq %rbx, %rdi
callq 0x1b4d0
movq %r15, %rdi
callq 0x1b910
nop