// File: /workspace/github_cpp_makefile_star2_O2/EDDRSoftware[P]libdefsEval/main.cpp
// Function: evaluateInclude(boost::program_options::variables_map const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, boost::filesystem::path const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*)
void evaluateInclude(const variables_map &vm, const string &var1,
                     const path &fp, const string &line, int lineNum,
                     std::vector<string> *pLibDefFiles)
{
    bool showIncludes = vm.count("includes");
    path includePath;

    if(parse(var1, fp, &includePath, line, lineNum)) {

        // check for indirect recursion (grandparents)
        if (! isRecursiveInclude(fp, pLibDefFiles)) {

            if(showIncludes) {
                cout << "INCLUDE: " << fp.string() << ":" << lineNum << " " << includePath <<
                     endl;
            }

            pLibDefFiles->push_back(fp.string());
            evaluate(vm, includePath.string(), pLibDefFiles);

        } else {
            cerr << "ERROR: Recursion in file => " << fp <<
                 " includes file => " << includePath <<
                 " which directly or indirectly references itself." << endl;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, -0x38(%rbp)
movl %r8d, %r12d
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x3ef9(%rip), %rsi      # 0x90d2
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x6052
movq %r14, -0x60(%rbp)
leaq 0x10(%r14), %rdi
leaq -0x58(%rbp), %rsi
callq 0x602e
movq %rax, %r14
leaq -0x58(%rbp), %rdi
callq 0x4150
leaq -0x48(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rcx
movl %r12d, %r8d
callq 0x4887
testb %al, %al
je 0x530f
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
callq 0x5155
testb %al, %al
je 0x5292
movq 0x8da9(%rip), %rdi      # 0xdff0
leaq 0x3e97(%rip), %rsi      # 0x90e5
callq 0x42d0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x5fac
leaq 0x3e9d(%rip), %rsi      # 0x9102
movq %rax, %rdi
callq 0x42d0
leaq -0x58(%rbp), %rsi
movq %rax, %rdi
callq 0x5fac
leaq 0x3e95(%rip), %rsi      # 0x9115
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4170
jmp 0x530f
testq %r14, %r14
je 0x52f2
movq 0x8d2a(%rip), %rdi      # 0xdfc8
leaq 0x3e36(%rip), %rsi      # 0x90db
callq 0x42d0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x42a0
leaq 0x3d95(%rip), %rsi      # 0x9051
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl %r12d, %esi
callq 0x4490
leaq 0x3e0d(%rip), %rsi      # 0x90e3
movq %rax, %rdi
callq 0x42d0
leaq -0x58(%rbp), %rsi
movq %rax, %rdi
callq 0x5fac
movq %rax, %rdi
callq 0x4170
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x6104
leaq -0x58(%rbp), %rsi
movq -0x60(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x5342
leaq -0x58(%rbp), %rdi
callq 0x4150
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x532e
movq %rax, %rbx
jmp 0x533a
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x4150
movq %rbx, %rdi
callq 0x44c0