// File: /workspace/github_cpp_makefile_star2_O3/millanek[P]Dsuite/Dsuite_fBranch.cpp
// Function: parseFbranchOptions(int, char**)
void parseFbranchOptions(int argc, char** argv) {
    bool die = false;
    std::vector<string> windowSizeStep;
    for (char c; (c = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1;)
    {
        std::istringstream arg(optarg != NULL ? optarg : "");
        switch (c)
        {
            case '?': die = true; break;
            case 'p': arg >> opt::pthresh; break;
            case 'Z': opt::printZb = true; break;
            case 'P': opt::printPb = true; break;
            case 'h':
                std::cout << BRANCHSCORE_USAGE_MESSAGE;
                exit(EXIT_SUCCESS);
        }
    }
    
    if (argc - optind < 2) {
        std::cerr << "missing arguments\n";
        die = true;
    }
    else if (argc - optind > 2)
    {
        std::cerr << "too many arguments\n";
        die = true;
    }
    
    if (die) {
        std::cout << "\n" << BRANCHSCORE_USAGE_MESSAGE;
        exit(EXIT_FAILURE);
    }
    
    // Parse the input filenames
    opt::treeFile = argv[optind++];
    opt::DvalsFile = argv[optind++]; 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %r13
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
leaq 0x1eede(%rip), %rdx     # 0x449b8
leaq 0x31d9f(%rip), %rcx     # 0x57880
movq $0x0, 0x8(%rsp)
xorl %r8d, %r8d
callq 0x76b0
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
je 0x25c27
movq $0x0, 0x8(%rsp)
leaq 0x10(%rsp), %r15
leaq 0x48(%rsp), %r12
movq %r13, %rbx
movq 0x32435(%rip), %rax     # 0x57f58
movq (%rax), %r13
testq %r13, %r13
leaq 0x1e511(%rip), %rax     # 0x44041
cmoveq %rax, %r13
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r13, %rdi
callq 0x7190
leaq (%rax,%r13), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x88ba
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x76c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
movq %rbx, %r13
je 0x25b84
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7420
sarl $0x18, %r14d
cmpl $0x59, %r14d
jle 0x25bab
cmpl $0x5a, %r14d
je 0x25bc9
cmpl $0x70, %r14d
jne 0x25bd2
movq %r12, %rdi
leaq 0x328dc(%rip), %rsi     # 0x58480
callq 0x72a0
jmp 0x25bdc
cmpl $0x3f, %r14d
je 0x25bc0
cmpl $0x50, %r14d
jne 0x25bdc
movb $0x1, 0x32f53(%rip)     # 0x58b11
jmp 0x25bdc
movb $0x1, %al
movq %rax, 0x8(%rsp)
jmp 0x25bdc
movb $0x1, 0x32f40(%rip)     # 0x58b10
jmp 0x25bdc
cmpl $0x68, %r14d
je 0x25cd2
movq %r12, %rdi
movq 0x3239a(%rip), %rsi     # 0x57f80
callq 0x75d0
leaq 0xc0(%rsp), %rdi
callq 0x7130
movl %ebp, %edi
movq %r13, %rsi
leaq 0x1edb4(%rip), %rdx     # 0x449b8
leaq 0x31c75(%rip), %rcx     # 0x57880
xorl %r8d, %r8d
callq 0x76b0
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
jne 0x25b19
movq 0x32372(%rip), %rbx     # 0x57fa0
movslq (%rbx), %rax
subl %eax, %ebp
cmpl $0x2, %ebp
jl 0x25cec
jne 0x25cfa
testb $0x1, 0x8(%rsp)
jne 0x25d12
leal 0x1(%rax), %ecx
movl %ecx, (%rbx)
movq (%r13,%rax,8), %r14
movq 0x32e7a(%rip), %r15     # 0x58ad8
leaq 0x32e6b(%rip), %r12     # 0x58ad0
movq %r14, %rdi
callq 0x7190
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x7640
movslq (%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%rbx)
movq (%r13,%rax,8), %rbx
movq 0x32e64(%rip), %r14     # 0x58af8
leaq 0x32e55(%rip), %r15     # 0x58af0
movq %rbx, %rdi
callq 0x7190
movq %r15, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %rbx, %rcx
movq %rax, %r8
callq 0x7640
leaq 0x30(%rsp), %rdi
callq 0xd1ac
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x322bf(%rip), %rdi     # 0x57f98
leaq 0x1ecf9(%rip), %rsi     # 0x449d9
callq 0x7400
xorl %edi, %edi
callq 0x7510
movl $0x12, %edx
leaq 0x1bdaa(%rip), %rsi     # 0x41aa2
jmp 0x25d06
movl $0x13, %edx
leaq 0x1bdaf(%rip), %rsi     # 0x41ab5
movq 0x322db(%rip), %rdi     # 0x57fe8
callq 0x74b0
movq 0x3227f(%rip), %rdi     # 0x57f98
leaq 0x1b71a(%rip), %rsi     # 0x4143a
movl $0x1, %edx
callq 0x74b0
movq 0x32267(%rip), %rdi     # 0x57f98
leaq 0x1eca1(%rip), %rsi     # 0x449d9
callq 0x7400
movl $0x1, %edi
callq 0x7510
jmp 0x25d49
movq %rax, %r14
movq 0x3222d(%rip), %rsi     # 0x57f80
leaq 0x48(%rsp), %rdi
callq 0x75d0
leaq 0xc0(%rsp), %rdi
callq 0x7130
jmp 0x25d92
jmp 0x25d6e
movq %rax, %r14
jmp 0x25d92
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x25d92
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x30(%rsp), %rdi
callq 0xd1ac
movq %r14, %rdi
callq 0x7740