// File: /workspace/github_cpp_makefile_star2_O1/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
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
leaq 0x1e760(%rip), %rdx     # 0x43928
leaq 0x31681(%rip), %rcx     # 0x56850
movq $0x0, (%rsp)
movq %rsi, 0x8(%rsp)
xorl %r8d, %r8d
callq 0x76b0
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
je 0x2530e
leaq 0x20(%rsp), %rbx
movq $0x0, (%rsp)
leaq 0x10(%rsp), %r15
leaq 0x48(%rsp), %r12
movq 0x31d42(%rip), %rax     # 0x56f58
movq (%rax), %r13
testq %r13, %r13
leaq 0x1dd8e(%rip), %rax     # 0x42fb1
cmoveq %rax, %r13
movq %rbx, 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
cmpq %rbx, %rdi
je 0x2526a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7420
sarl $0x18, %r14d
cmpl $0x59, %r14d
jle 0x25291
cmpl $0x5a, %r14d
je 0x252ae
cmpl $0x70, %r14d
jne 0x252b7
movq %r12, %rdi
leaq 0x321f6(%rip), %rsi     # 0x57480
callq 0x72a0
jmp 0x252c1
cmpl $0x3f, %r14d
je 0x252a6
cmpl $0x50, %r14d
jne 0x252c1
movb $0x1, 0x3286d(%rip)     # 0x57b11
jmp 0x252c1
movb $0x1, %al
movq %rax, (%rsp)
jmp 0x252c1
movb $0x1, 0x3285b(%rip)     # 0x57b10
jmp 0x252c1
cmpl $0x68, %r14d
je 0x253e5
movq %r12, %rdi
movq 0x31cb5(%rip), %rsi     # 0x56f80
callq 0x75d0
leaq 0xc0(%rsp), %rdi
callq 0x7130
movl %ebp, %edi
movq 0x8(%rsp), %rsi
leaq 0x1e63d(%rip), %rdx     # 0x43928
leaq 0x3155e(%rip), %rcx     # 0x56850
xorl %r8d, %r8d
callq 0x76b0
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
jne 0x2520f
movq 0x31c8b(%rip), %rbx     # 0x56fa0
subl (%rbx), %ebp
cmpl $0x2, %ebp
jge 0x2532a
movl $0x12, %edx
leaq 0x1b712(%rip), %rsi     # 0x40a3a
jmp 0x2533c
movq (%rsp), %r14
je 0x2534b
movl $0x13, %edx
leaq 0x1b711(%rip), %rsi     # 0x40a4d
movb $0x1, %r14b
movq 0x31ca2(%rip), %rdi     # 0x56fe8
callq 0x74b0
testb $0x1, %r14b
jne 0x253ff
movslq (%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%rbx)
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %r14
movq 0x3276b(%rip), %r15     # 0x57ad8
leaq 0x3275c(%rip), %r12     # 0x57ad0
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 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rbx
movq 0x32751(%rip), %r14     # 0x57af8
leaq 0x32742(%rip), %r15     # 0x57af0
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 0xd250
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x31bac(%rip), %rdi     # 0x56f98
leaq 0x1e556(%rip), %rsi     # 0x43949
callq 0x7400
xorl %edi, %edi
callq 0x7510
movq 0x31b92(%rip), %rdi     # 0x56f98
leaq 0x1b02d(%rip), %rsi     # 0x4043a
movl $0x1, %edx
callq 0x74b0
movq 0x31b7a(%rip), %rdi     # 0x56f98
leaq 0x1e524(%rip), %rsi     # 0x43949
callq 0x7400
movl $0x1, %edi
callq 0x7510
jmp 0x25436
movq %rax, %r14
movq 0x31b40(%rip), %rsi     # 0x56f80
leaq 0x48(%rsp), %rdi
callq 0x75d0
leaq 0xc0(%rsp), %rdi
callq 0x7130
jmp 0x2547a
jmp 0x2545b
movq %rax, %r14
jmp 0x2547a
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2547a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7420
leaq 0x30(%rsp), %rdi
callq 0xd250
movq %r14, %rdi
callq 0x7740