// File: /workspace/github_cpp_makefile_star2_O2/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, %rbx
movl %edi, %ebp
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
leaq 0x28(%rsp), %r12
leaq 0x48(%rsp), %r14
pushq $0x8
popq %r15
movl %ebp, %edi
movq %rbx, %rsi
leaq 0x1a4c1(%rip), %rdx     # 0x39948
leaq 0x31402(%rip), %rcx     # 0x50890
xorl %r8d, %r8d
callq 0x76b0
movl %eax, %r13d
shll $0x18, %eax
cmpl $0xff000000, %eax       # imm = 0xFF000000
je 0x1f540
movq 0x31aba(%rip), %rax     # 0x50f68
movq (%rax), %rsi
testq %rsi, %rsi
leaq 0x19b16(%rip), %rax     # 0x38fd1
cmoveq %rax, %rsi
movq %r12, %rdi
leaq 0x7(%rsp), %rdx
callq 0x8102
movq %r14, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x76c0
movsbl %r13b, %r13d
movq %r12, %rdi
callq 0x7898
cmpl $0x3f, %r13d
je 0x1f512
cmpl $0x50, %r13d
je 0x1f509
cmpl $0x5a, %r13d
je 0x1f51b
cmpl $0x70, %r13d
je 0x1f524
cmpl $0x68, %r13d
jne 0x1f533
jmp 0x1f5a9
movb $0x1, 0x32631(%rip)     # 0x51b41
jmp 0x1f533
movb $0x1, %al
movq %rax, 0x8(%rsp)
jmp 0x1f533
movb $0x1, 0x3261e(%rip)     # 0x51b40
jmp 0x1f533
movq %r14, %rdi
leaq 0x31f82(%rip), %rsi     # 0x514b0
callq 0x72c0
movq %r14, %rdi
callq 0x71d0
jmp 0x1f47b
movq 0x31a59(%rip), %r14     # 0x50fa0
movslq (%r14), %rax
subl %eax, %ebp
cmpl $0x2, %ebp
jl 0x1f5c3
jne 0x1f5cc
testb $0x1, 0x8(%rsp)
jne 0x1f5df
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x32591(%rip), %rdi     # 0x51b00
callq 0x7800
movslq (%r14), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x32598(%rip), %rdi     # 0x51b20
callq 0x7800
leaq 0x10(%rsp), %rdi
callq 0xb80c
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x319e8(%rip), %rdi     # 0x50f98
leaq 0x1a3b2(%rip), %rsi     # 0x39969
callq 0x7400
xorl %edi, %edi
callq 0x74f0
leaq 0x17470(%rip), %rsi     # 0x36a3a
jmp 0x1f5d3
leaq 0x1747a(%rip), %rsi     # 0x36a4d
movq 0x31a0e(%rip), %rdi     # 0x50fe8
callq 0x7400
movq 0x319b2(%rip), %rdi     # 0x50f98
leaq 0x16e4d(%rip), %rsi     # 0x3643a
callq 0x7400
leaq 0x1a370(%rip), %rsi     # 0x39969
movq %rax, %rdi
callq 0x7400
pushq $0x1
popq %rdi
callq 0x74f0
jmp 0x1f60d
jmp 0x1f61c
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x71d0
jmp 0x1f62e
movq %rax, %rbx
jmp 0x1f62e
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x7898
leaq 0x10(%rsp), %rdi
callq 0xb80c
movq %rbx, %rdi
callq 0x7750