// File: /workspace/github_cpp_makefile_star2_O3/EDDRSoftware[P]libdefsEval/main.cpp
// Function: evaluateDefine(boost::program_options::variables_map const&, 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&, boost::filesystem::path const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
void evaluateDefine(const variables_map &vm, const string &var1,
                    const string &var2, const path &fp, const string &line, int lineNum)
{
    bool showLibs       = vm.count("libs");
    bool showCells      = vm.count("cells");
    bool showViews      = vm.count("views");
    bool showCellViews  = vm.count("cellviews");
    bool showDefines    = vm.count("defines");
    path libName(var1);
    path libPath;

    if(parse(var2, fp, &libPath, line, lineNum)) {
        if(showDefines) {
            cout << "DEFINE: " << fp.string() << ":" << lineNum << " \"" << line << "\"" <<
                 endl;
        }

        cout << "libPath: " << libPath.string() << endl;

        if(showLibs) {
            cout << "\tlibName: " << libName.string() << endl;
        }

        if(showCells || showViews || showCellViews) {
            recursive_directory_iterator it(libPath), eod;

            for(; it!=eod; ++it) {
                if(*it!=libPath) {
                    if(is_directory(it->path()) &&
                            it->path().parent_path()==libPath) {

                        // Ignore hidden directories.
                        if(it->path().filename().string()[0]=='.'){
                            continue;
                        }

                        if(showCells) {
                            cout << "\t\tcellName: " << it->path().filename().string() << endl;
                        }

                        if(showViews || showCellViews) {
                            recursive_directory_iterator it2(it->path()), eod2;

                            for(; it2!=eod2; ++it2) {
                                if(!is_directory(it2->path()) &&
                                        iCompareString(it2->path().extension().string(), string(".oa"))) {
                                    string viewName = it2->path().parent_path().filename().string();

                                    if(showCellViews) {
                                        cout << "\t\tcellViewName: " << it->path().filename().string() << "/" <<
                                             viewName << endl;
                                    } else if(showViews) {
                                        cout << "\t\t\tviewName: " << viewName << endl;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movl %r9d, -0x54(%rbp)
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r13
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x5283(%rip), %rsi      # 0xa062
leaq 0x5280(%rip), %rdx      # 0xa066
leaq -0x48(%rbp), %rdi
callq 0x75e0
movq %r13, -0x60(%rbp)
addq $0x10, %r13
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x7bee
movq %rax, -0xf8(%rbp)
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4e23
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
leaq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, (%rdi)
leaq 0x5232(%rip), %rsi      # 0xa067
leaq 0x5230(%rip), %rdx      # 0xa06c
callq 0x75e0
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x7bee
movq %rax, -0xe8(%rbp)
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4e6d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
leaq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, (%rdi)
leaq 0x51f2(%rip), %rsi      # 0xa071
leaq 0x51f0(%rip), %rdx      # 0xa076
callq 0x75e0
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x7bee
movq %rax, -0xe0(%rbp)
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4eb7
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
leaq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, (%rdi)
leaq 0x51a4(%rip), %rsi      # 0xa06d
leaq 0x51a6(%rip), %rdx      # 0xa076
callq 0x75e0
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x7bee
movq %rax, -0xf0(%rbp)
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4f01
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
leaq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, (%rdi)
leaq 0x5164(%rip), %rsi      # 0xa077
leaq 0x5164(%rip), %rdx      # 0xa07e
callq 0x75e0
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x7bee
movq %rax, %r13
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4f47
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
leaq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, (%rdi)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
callq 0x7542
leaq -0xc8(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0xd8(%rbp), %rdx
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %r14
movq %r15, %rcx
movl -0x54(%rbp), %r15d
movl %r15d, %r8d
callq 0x497f
testb %al, %al
je 0x563f
movq -0x60(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x60(%rbp)
cmpq %rax, %r13
je 0x5066
movq 0x900e(%rip), %rdi      # 0xdfc8
leaq 0x50be(%rip), %rsi      # 0xa07f
movl $0x8, %edx
callq 0x4300
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0x8fed(%rip), %rdi      # 0xdfc8
callq 0x4300
movq %rax, %rbx
leaq 0x5067(%rip), %rsi      # 0xa051
movl $0x1, %edx
movq %rax, %rdi
callq 0x4300
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4470
movq %rax, %rbx
leaq 0x507c(%rip), %rsi      # 0xa088
movl $0x2, %edx
movq %rax, %rdi
callq 0x4300
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x4300
movq %rax, %rbx
leaq 0x5057(%rip), %rsi      # 0xa089
movl $0x1, %edx
movq %rax, %rdi
callq 0x4300
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x41e0
movq 0x8f5b(%rip), %rdi      # 0xdfc8
leaq 0x5017(%rip), %rsi      # 0xa08b
movl $0x9, %edx
callq 0x4300
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
movq 0x8f35(%rip), %rdi      # 0xdfc8
callq 0x4300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x41e0
movq -0xf8(%rbp), %rax
cmpq -0x60(%rbp), %rax
je 0x5125
movq 0x8ef2(%rip), %rdi      # 0xdfc8
leaq 0x4fb8(%rip), %rsi      # 0xa095
movl $0xa, %edx
callq 0x4300
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x8ed2(%rip), %rdi      # 0xdfc8
callq 0x4300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x41e0
movq -0xf0(%rbp), %rbx
movq -0x60(%rbp), %rcx
xorq %rcx, %rbx
movq -0xe0(%rbp), %r14
xorq %rcx, %r14
movq -0xe8(%rbp), %rax
xorq %rcx, %rax
orq %r14, %rax
orq %rbx, %rax
je 0x563f
leaq -0x88(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x6de8
movq $0x0, -0xb8(%rbp)
movq -0x88(%rbp), %rax
testq %rax, %rax
je 0x5627
leaq -0x70(%rbp), %r12
orq %rbx, %r14
setne -0x54(%rbp)
xorl %ecx, %ecx
leaq -0x88(%rbp), %r13
leaq -0x80(%rbp), %r14
testq %rax, %rax
je 0x51a8
movq 0x8(%rax), %rdx
cmpq 0x10(%rax), %rdx
jne 0x51bf
testq %rcx, %rcx
je 0x5627
movq 0x8(%rcx), %rax
cmpq 0x10(%rcx), %rax
je 0x5627
movq %r13, %rdi
callq 0x7c8c
movq %rax, %rdi
leaq -0xd8(%rbp), %rsi
callq 0x4340
testl %eax, %eax
je 0x5606
movq %r13, %rdi
callq 0x7c8c
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x43e0
cmpl $0x3, -0x80(%rbp)
jne 0x5606
movq %r13, %rdi
callq 0x7c8c
movq %r14, %rdi
movq %rax, %rsi
callq 0x4500
movq %r14, %rdi
leaq -0xd8(%rbp), %rsi
callq 0x4340
movl %eax, %ebx
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x5236
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
testl %ebx, %ebx
jne 0x5606
movq %r13, %rdi
callq 0x7c8c
movq %r14, %rdi
movq %rax, %rsi
callq 0x4260
movq -0x80(%rbp), %rdi
movb (%rdi), %bl
cmpq %r12, %rdi
je 0x5268
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
cmpb $0x2e, %bl
je 0x5606
movq -0xe8(%rbp), %rax
cmpq -0x60(%rbp), %rax
je 0x52fc
movl $0xc, %edx
movq 0x8d3e(%rip), %rdi      # 0xdfc8
leaq 0x4e0f(%rip), %rsi      # 0xa0a0
callq 0x4300
movq %r13, %rdi
callq 0x7c8c
movq %r14, %rdi
movq %rax, %rsi
callq 0x4260
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq 0x8d10(%rip), %rdi      # 0xdfc8
callq 0x4300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x41e0
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x52fc
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
cmpb $0x0, -0x54(%rbp)
je 0x5606
movq %r13, %rdi
callq 0x7c8c
leaq -0x50(%rbp), %rdi
movq %rax, %rsi
callq 0x6de8
movq $0x0, -0xb0(%rbp)
movq -0x50(%rbp), %rcx
testq %rcx, %rcx
je 0x55f1
xorl %eax, %eax
testq %rcx, %rcx
je 0x5343
movq 0x8(%rcx), %rdx
cmpq 0x10(%rcx), %rdx
jne 0x535a
testq %rax, %rax
je 0x55f1
movq 0x8(%rax), %rcx
cmpq 0x10(%rax), %rcx
je 0x55f1
leaq -0x50(%rbp), %rdi
callq 0x7c8c
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x43e0
cmpl $0x3, -0x80(%rbp)
je 0x55d2
movq %r12, %r15
leaq -0x50(%rbp), %rdi
callq 0x7c8c
movq %r14, %rdi
movq %rax, %rsi
callq 0x4310
leaq -0x98(%rbp), %r12
movq %r12, -0xa8(%rbp)
leaq -0xa8(%rbp), %rbx
movq %rbx, %rdi
leaq 0x4cfd(%rip), %rsi      # 0xa0ad
leaq 0x4cf9(%rip), %rdx      # 0xa0b0
callq 0x75e0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x46ef
movl %eax, %ebx
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
je 0x53e4
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x42d0
movq -0x80(%rbp), %rdi
movq %r15, %r12
cmpq %r15, %rdi
je 0x53fc
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
testb %bl, %bl
je 0x55d2
leaq -0x50(%rbp), %rdi
callq 0x7c8c
leaq -0x118(%rbp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x4500
leaq -0xa8(%rbp), %rdi
movq %rbx, %rsi
callq 0x4260
movq %r12, -0x80(%rbp)
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x7542
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x546d
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x42d0
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x548f
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x42d0
movq -0x60(%rbp), %rax
cmpq %rax, -0xf0(%rbp)
je 0x555e
movl $0x10, %edx
movq 0x8b1c(%rip), %rdi      # 0xdfc8
leaq 0x4bfe(%rip), %rsi      # 0xa0b1
callq 0x4300
movq %r13, %rdi
callq 0x7c8c
leaq -0xa8(%rbp), %rdi
movq %rax, %rsi
callq 0x4260
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
movq 0x8ae4(%rip), %rdi      # 0xdfc8
callq 0x4300
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4bc7(%rip), %rsi      # 0xa0c2
callq 0x4300
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq %rbx, %rdi
callq 0x4300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x41e0
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x55bd
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x42d0
jmp 0x55bd
cmpq %rax, -0xe0(%rbp)
je 0x55bd
movl $0xd, %edx
movq 0x8a55(%rip), %rdi      # 0xdfc8
leaq 0x4b4a(%rip), %rsi      # 0xa0c4
callq 0x4300
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq 0x8a3a(%rip), %rdi      # 0xdfc8
callq 0x4300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x41e0
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x55d2
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
callq 0x41b0
movq -0xb0(%rbp), %rax
movq -0x50(%rbp), %rcx
cmpq %rax, %rcx
jne 0x5334
leaq -0xb0(%rbp), %rdi
callq 0x70a8
leaq -0x50(%rbp), %rdi
callq 0x70a8
movq %r13, %rdi
xorl %esi, %esi
callq 0x41b0
movq -0xb8(%rbp), %rcx
movq -0x88(%rbp), %rax
cmpq %rcx, %rax
jne 0x5199
leaq -0xb8(%rbp), %rdi
callq 0x70a8
leaq -0x88(%rbp), %rdi
callq 0x70a8
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x5661
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x42d0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x567a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5784
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x56bb
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x42d0
jmp 0x56bb
movq %rax, %rbx
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x576d
movq -0x108(%rbp), %rsi
jmp 0x5742
jmp 0x5784
jmp 0x56eb
jmp 0x57a1
jmp 0x56eb
jmp 0x576a
movq %rax, %rbx
jmp 0x5735
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x5787
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
jmp 0x5787
jmp 0x5784
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x5735
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x42d0
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x576d
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x42d0
jmp 0x576d
jmp 0x576a
jmp 0x575e
jmp 0x5763
jmp 0x575e
jmp 0x5763
jmp 0x575e
jmp 0x5763
jmp 0x575e
jmp 0x5763
movq %rax, %rbx
jmp 0x57c6
movq %rax, %rbx
jmp 0x57df
jmp 0x5784
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x70a8
leaq -0x50(%rbp), %rdi
callq 0x70a8
jmp 0x5787
movq %rax, %rbx
leaq -0xb8(%rbp), %rdi
callq 0x70a8
leaq -0x88(%rbp), %rdi
callq 0x70a8
jmp 0x57a4
movq %rax, %rbx
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x57c6
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x42d0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x57df
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x42d0
movq %rbx, %rdi
callq 0x44a0