// File: /workspace/github_cpp_makefile_star2_O1/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
movl %esi, 0x34(%rsp)
movq %rdi, 0x28(%rsp)
movslq (%rcx), %rax
movq (%rdx,%rax,8), %rax
movb 0x1(%rax), %al
testb %al, %al
je 0x722e
movq %rcx, %r14
movq %rdx, %r15
movl $0x2, %ebx
leaq 0x8(%rsp), %r13
movsbl %al, %ebp
movq 0x28(%rsp), %rdi
movl %ebp, %esi
callq 0x6680
testq %rax, %rax
je 0x723d
movq %rax, %r12
cmpq $0x0, 0x50(%rax)
je 0x7176
movslq (%r14), %rax
movq (%r15,%rax,8), %rbp
cmpb $0x0, (%rbp,%rbx)
jne 0x71d2
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
cmpl 0x34(%rsp), %ecx
jge 0x72ab
movq 0x8(%r15,%rax,8), %rsi
movq %r13, %rdi
leaq 0x38(%rsp), %rdx
callq 0x8890
movq 0x28(%rsp), %rax
movsbl 0x90(%rax), %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x5b4c
jmp 0x719f
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rdi
leaq 0x19f20(%rip), %rdx     # 0x210aa
movq %rdx, %rsi
callq 0x90b2
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x5b4c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x71bb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
movslq (%r14), %rax
movq (%r15,%rax,8), %rax
movb (%rax,%rbx), %al
incq %rbx
testb %al, %al
jne 0x7107
jmp 0x722e
addq %rbx, %rbp
leaq 0x8(%rsp), %r14
leaq 0x18(%rsp), %rax
movq %rax, (%r14)
movq %rbp, %rdi
callq 0x51b0
leaq (%rax,%rbp), %rdx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x90b2
movq 0x28(%rsp), %rax
movsbl 0x90(%rax), %edx
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x5b4c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x722e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x68(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x58(%rsp), %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0x54e0
leaq 0x1a049(%rip), %rsi     # 0x212a7
leaq 0x38(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x89b1
leaq 0x19e9b(%rip), %rsi     # 0x2110f
leaq 0x38(%rsp), %rdi
callq 0x57c0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7333
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x7340
addq $0x8, %r12
leaq 0x19fb4(%rip), %rsi     # 0x2126a
leaq 0x38(%rsp), %r14
movq %r14, %rdi
movq %r12, %rdx
callq 0x8929
leaq 0x19fa7(%rip), %rsi     # 0x21274
movq %r14, %rdi
callq 0x57c0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x72fb
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x7308
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
movl $0x1, %edx
callq 0x87f0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
movl $0x1, %edx
callq 0x87f0
jmp 0x740e
jmp 0x7409
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7399
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
jmp 0x7399
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x73b9
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x5410
jmp 0x73b9
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r14, %rdi
je 0x742d
movq 0x68(%rsp), %rsi
jmp 0x7425
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x73ee
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
jmp 0x73ee
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x742d
movq 0x48(%rsp), %rsi
jmp 0x7425
jmp 0x7409
jmp 0x740e
jmp 0x7409
movq %rax, %rbx
jmp 0x742d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x742d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5410
movq %rbx, %rdi
callq 0x5720
nop