// File: /workspace/github_cpp_makefile_star2_O1/xelia-it[P]mustache/src/mustache-light.cpp
// Function: mustache::Mustache::fileRead(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string Mustache::fileRead(const string& fileName, const string& fileExtension) {
        const string realFileName = basePath_ + fileName + "." + fileExtension;
        std::ifstream in(realFileName.c_str(), std::ios::in | std::ios::binary);
        if (in) {
                string contents;
                in.seekg(0, std::ios::end);
                contents.resize(in.tellg());
                in.seekg(0, std::ios::beg);
                in.read(&contents[0], contents.size());
                in.close();
                return (contents);
        }
        error("Cannot open file: " + realFileName);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x250, %rsp            # imm = 0x250
movq %rcx, %r14
movq %rdi, %rbx
leaq -0x60(%rbp), %r15
movq %r15, %rdi
callq 0x186e0
leaq 0x173ea(%rip), %rsi     # 0x30cd7
movq %r15, %rdi
callq 0x18680
leaq -0x258(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x19923
movq %rdx, -0x268(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x258(%rbp)
jmp 0x1992b
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x268(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x172b0
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x19979
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x19980
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0x38(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x268(%rbp), %rdi
cmpq %r12, %rdi
je 0x199a8
callq 0x17b00
leaq -0x50(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x199bb
callq 0x17b00
movq -0x40(%rbp), %rsi
leaq -0x268(%rbp), %rdi
movl $0xc, %edx
callq 0x18580
movq -0x268(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x5, -0x248(%rbp,%rax)
jne 0x19a84
leaq 0x10(%rbx), %r12
movq %r12, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
leaq -0x268(%rbp), %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x17ee0
leaq -0x268(%rbp), %rdi
callq 0x18450
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x17290
leaq -0x268(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x17ee0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
leaq -0x268(%rbp), %rdi
callq 0x17e00
leaq -0x268(%rbp), %rdi
callq 0x17190
leaq -0x268(%rbp), %rdi
callq 0x171d0
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x19a71
callq 0x17b00
movq %rbx, %rax
addq $0x250, %rsp            # imm = 0x250
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x17206(%rip), %rsi     # 0x30c91
leaq -0x60(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0x17a70
leaq -0x60(%rbp), %rsi
callq 0x17e70
movq %rax, %r14
movq -0x60(%rbp), %rdi
jmp 0x19ae4
movq %rax, %r14
jmp 0x19aee
movq %rax, %r14
jmp 0x19afa
movq %rax, %r14
movq -0x268(%rbp), %rdi
cmpq %r12, %rdi
je 0x19acd
callq 0x17b00
jmp 0x19acd
movq %rax, %r14
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x19b03
jmp 0x19b08
jmp 0x19ade
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x19aee
callq 0x17b00
leaq -0x268(%rbp), %rdi
callq 0x171d0
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x19b08
callq 0x17b00
movq %r14, %rdi
callq 0x184b0