// File: /workspace/github_cpp_makefile_star2_O2/jovermann[P]streplace/src/CommandLineParser.cpp
// Function: ut1::CommandLineParser::parseShortOptions(int, char const**, int&)
void CommandLineParser::parseShortOptions(int argc, const char* argv[], int& i)
{
    for (int j = 1; argv[i][j]; j++)
    {
        char    opt    = argv[i][j];
        Option* option = getShortOption(opt);
        if (option)
        {
            if (option->hasArg())
            {
                if (argv[i][j + 1])
                {
                    // -fvalue
                    option->setValue(argv[i] + j + 1, listSepChar);
                    break;
                }
                else
                {
                    // -f value
                    if (++i < argc)
                    {
                        option->setValue(argv[i], listSepChar);
                    }
                    else
                    {
                        error("Option --" + option->longOption + " requires an argument.");
                    }
                }
            }
            else
            {
                // -f
                option->setValue("", 0);
            }
        }
        else
        {
            error("Unknown option -" + std::string(1, opt) + "!");
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rcx, %r14
movq %rdx, %r15
movl %esi, 0x14(%rsp)
movq %rdi, 0x8(%rsp)
pushq $0x2
popq %rbx
leaq 0x18(%rsp), %r13
movslq (%r14), %rax
movq (%r15,%rax,8), %rax
movb -0x1(%rax,%rbx), %al
testb %al, %al
je 0x685c
movsbl %al, %ebp
movq 0x8(%rsp), %rdi
movl %ebp, %esi
callq 0x6086
testq %rax, %rax
je 0x686b
movq %rax, %r12
cmpq $0x0, 0x50(%rax)
je 0x67f6
movslq (%r14), %rax
movq (%r15,%rax,8), %rsi
cmpb $0x0, (%rsi,%rbx)
jne 0x6827
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
cmpl 0x14(%rsp), %ecx
jge 0x68c1
movq 0x8(%r15,%rax,8), %rsi
movq %r13, %rdi
leaq 0x38(%rsp), %rdx
callq 0x760a
movq 0x8(%rsp), %rax
movsbl 0x90(%rax), %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x59cc
jmp 0x6817
movq %r13, %rdi
leaq 0x148aa(%rip), %rsi     # 0x1b0aa
leaq 0x38(%rsp), %rdx
callq 0x760a
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x59cc
movq %r13, %rdi
callq 0x51f0
incq %rbx
jmp 0x6779
addq %rbx, %rsi
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x760a
movq 0x8(%rsp), %rax
movsbl 0x90(%rax), %edx
leaq 0x18(%rsp), %rsi
movq %r12, %rdi
callq 0x59cc
leaq 0x18(%rsp), %rdi
callq 0x51f0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x58(%rsp), %rdi
pushq $0x1
popq %rsi
movl %ebp, %edx
callq 0x54d0
leaq 0x14a1d(%rip), %rsi     # 0x1b2a7
leaq 0x38(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x7717
leaq 0x1486f(%rip), %rdx     # 0x1b10f
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x76f8
leaq 0x18(%rsp), %rsi
pushq $0x1
popq %rdx
movq 0x8(%rsp), %rdi
callq 0x7540
addq $0x8, %r12
leaq 0x1499e(%rip), %rsi     # 0x1b26a
leaq 0x38(%rsp), %r14
movq %r14, %rdi
movq %r12, %rdx
callq 0x7667
leaq 0x14991(%rip), %rdx     # 0x1b274
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x76f8
leaq 0x18(%rsp), %rsi
pushq $0x1
popq %rdx
movq 0x8(%rsp), %rdi
callq 0x7540
jmp 0x694d
jmp 0x695c
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x51f0
jmp 0x6918
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x51f0
jmp 0x6927
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x6955
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x51f0
jmp 0x6940
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
jmp 0x6955
jmp 0x694d
jmp 0x695c
jmp 0x695c
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x51f0
jmp 0x695f
movq %rax, %rbx
movq %rbx, %rdi
callq 0x5730
nop