// File: FreeSlave[P]def2fgd/src/defreader.cpp
// Function: (anonymous namespace)::readFlags(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, unsigned long, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
static std::string::iterator readFlags(std::string::iterator it, size_t lineNum, const std::string::iterator& begin, const std::string::iterator& end, std::string* flags)
    {
        if (it == end)
            return it;
        int i=0;
        while(it != end && (isalnum(*it) || (*it) == '-'))
        {
            if (*it == '-')
            {
                it++;
            }
            else
            {
                std::string::iterator start = it;
                it = skipAlpha(it, end);
                flags[i] = std::string(start, it);
            }
            it = skipSpaces(it, end);
            i++;
        }
        return it;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x28(%rbp), %rsi
leaq -0x10(%rbp), %rdi
callq 0xc6d0
testb $0x1, %al
jne 0xc242
jmp 0xc24f
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xc3ea
movl $0x0, -0x34(%rbp)
movq -0x28(%rbp), %rsi
leaq -0x10(%rbp), %rdi
callq 0xc630
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0xb1(%rbp)
jne 0xc274
jmp 0xc2b8
leaq -0x10(%rbp), %rdi
callq 0xc670
movsbl (%rax), %edi
callq 0x4350
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0xb2(%rbp)
jne 0xc2ac
leaq -0x10(%rbp), %rdi
callq 0xc670
movsbl (%rax), %eax
cmpl $0x2d, %eax
sete %al
movb %al, -0xb2(%rbp)
movb -0xb2(%rbp), %al
movb %al, -0xb1(%rbp)
movb -0xb1(%rbp), %al
testb $0x1, %al
jne 0xc2c7
jmp 0xc3e2
leaq -0x10(%rbp), %rdi
callq 0xc670
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0xc2ec
leaq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0xc690
movq %rax, -0x40(%rbp)
jmp 0xc3a7
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x28(%rbp), %rsi
movq -0x58(%rbp), %rdi
callq 0xbad0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq -0x89(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x4600
movq -0xc0(%rbp), %rcx
movq -0x80(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x78(%rbp), %rdi
callq 0xc770
jmp 0xc358
movq -0x30(%rbp), %rdi
movslq -0x34(%rbp), %rax
shlq $0x5, %rax
addq %rax, %rdi
leaq -0x78(%rbp), %rsi
callq 0x4420
leaq -0x78(%rbp), %rdi
callq 0x41f0
leaq -0x89(%rbp), %rdi
callq 0x4390
jmp 0xc3a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
leaq -0x89(%rbp), %rdi
callq 0x4390
jmp 0xc3f7
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x28(%rbp), %rsi
movq -0xb0(%rbp), %rdi
callq 0xbb60
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x10(%rbp)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xc256
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
movq -0x98(%rbp), %rdi
callq 0x45f0
nopw %cs:(%rax,%rax)