// File: /workspace/github_cpp_makefile_star2_O3/Fohlen[P]cubescript-standalone/command.cpp
// Function: compileword(vector<unsigned int>&, char const*&, int, char*&, int&)
static bool compileword(vector<uint> &code, const char *&p, int wordtype, char *&word, int &wordlen)
{
    skipcomments(p);
    switch(*p)
    {
        case '\"': word = cutstring(p, wordlen); break;
        case '$': compilelookup(code, p, wordtype); return true;
        case '(':
            p++;
            code.add(CODE_ENTER);
            compilestatements(code, p, VAL_ANY, ')');
            code.add(CODE_EXIT|(wordtype < VAL_ANY ? wordtype<<CODE_RET : 0));
            switch(wordtype)
            {
                case VAL_CODE: code.add(CODE_COMPILE); break;
                case VAL_IDENT: code.add(CODE_IDENTU); break;
            }
            return true;        
        case '[':
            p++;
            compileblock(code, p, wordtype);
            return true;
        default: word = cutword(p, wordlen); break;
    }
    return word!=NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, -0x40(%rbp)
movq %rcx, -0x50(%rbp)
movl %edx, -0x54(%rbp)
movq %rsi, %r14
movq %rdi, -0x38(%rbp)
movq (%rsi), %rbx
leaq 0x8412(%rip), %rsi      # 0x181f5
movq %rbx, %rdi
callq 0x2070
leaq (%rbx,%rax), %r13
movq %r13, (%r14)
movb (%rbx,%rax), %al
cmpb $0x2f, %al
jne 0xfe40
leaq 0x7e39(%rip), %rbx      # 0x17c39
leaq 0x83ee(%rip), %r15      # 0x181f5
cmpb $0x2f, 0x1(%r13)
jne 0x103bf
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2030
movq %rax, %r12
addq %r13, %r12
movq %r12, (%r14)
movq %r12, %rdi
movq %r15, %rsi
callq 0x2070
leaq (%r12,%rax), %r13
movq %r13, (%r14)
movb (%rax,%r12), %al
cmpb $0x2f, %al
je 0xfe07
movzbl %al, %eax
cmpl $0x27, %eax
jg 0xfe71
cmpl $0x22, %eax
je 0x103ee
cmpl $0x24, %eax
jne 0x103bf
movq -0x38(%rbp), %rdi
movq %r14, %rsi
movl -0x54(%rbp), %edx
callq 0x108fb
movb $0x1, %r15b
jmp 0x103dc
cmpl $0x28, %eax
je 0x1043b
cmpl $0x5b, %eax
jne 0x103bf
incq %r13
movq %r13, (%r14)
movl $0x1, -0x50(%rbp)
movq %r13, %r12
movl $0x0, -0x40(%rbp)
movq (%r14), %rbx
movq %rbx, %rdi
leaq 0x7d95(%rip), %rsi      # 0x17c3c
callq 0x2030
leaq (%rbx,%rax), %r15
incq %r15
movq %r15, (%r14)
movzbl -0x1(%r15), %ecx
cmpl $0x3f, %ecx
jle 0xff59
cmpl $0x5d, %ecx
je 0xff81
cmpl $0x5b, %ecx
je 0xff89
cmpl $0x40, %ecx
jne 0x10368
cmpb $0x40, (%r15)
jne 0xfefd
leaq (%rbx,%rax), %r15
addq $0x2, %r15
movq %r15, (%r14)
cmpb $0x40, (%r15)
leaq 0x1(%r15), %r15
je 0xfeed
decq %r15
addq %rax, %rbx
subl %ebx, %r15d
cmpl %r15d, -0x50(%rbp)
jg 0x10368
movq -0x38(%rbp), %r15
jge 0xff24
movq %r13, %rdi
leaq 0x82e8(%rip), %rsi      # 0x18205
xorl %eax, %eax
callq 0x107a6
movl -0x40(%rbp), %eax
testl %eax, %eax
je 0xffbd
cmpl $0x18, %eax
jl 0xffda
shll $0x8, %eax
orl $0xd5, %eax
movl %eax, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x13178
movl $0x1, %eax
jmp 0xffda
cmpl $0x22, %ecx
je 0xff91
cmpl $0x2f, %ecx
jne 0xffb0
cmpb $0x2f, (%r15)
jne 0x10368
movq %r15, %rdi
leaq 0x7cc2(%rip), %rsi      # 0x17c39
callq 0x2030
addq %r15, %rax
jmp 0xffa8
decl -0x50(%rbp)
jmp 0x10368
incl -0x50(%rbp)
jmp 0x10368
movq %r15, %rdi
callq 0x4f49
movq %rax, (%r14)
cmpb $0x22, (%rax)
jne 0x10368
incq %rax
movq %rax, (%r14)
jmp 0x10368
testl %ecx, %ecx
jne 0x10368
jmp 0x105ea
movl $0x3, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x13178
movq $0x0, -0x60(%rbp)
jmp 0xffde
movq %rax, -0x60(%rbp)
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x11212
movq (%r14), %rbx
movzbl (%rbx), %eax
cmpl $0x22, %eax
movq %r12, -0x70(%rbp)
je 0x1016f
movq -0x60(%rbp), %rcx
incl %ecx
movl %ecx, -0x40(%rbp)
cmpl $0x28, %eax
je 0x100d6
cmpl $0x5b, %eax
jne 0x101c0
movq $0x0, -0x30(%rbp)
movl $0x0, -0x44(%rbp)
movq %r15, %rdi
movq %r14, %rsi
movl $0x3, %edx
leaq -0x30(%rbp), %rcx
leaq -0x44(%rbp), %r8
callq 0xfdb6
testb %al, %al
je 0x10167
movq -0x30(%rbp), %rbx
testq %rbx, %rbx
je 0x100be
movslq -0x44(%rbp), %r15
movl %r15d, %eax
shll $0x8, %eax
orl $0x7, %eax
movl %eax, -0x48(%rbp)
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %r12
movq %r12, %rsi
callq 0x13178
movl %r15d, %edx
sarl $0x2, %edx
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x13236
movl %r15d, %edx
andl $0x3, %edx
movl $0x0, -0x48(%rbp)
addq %rbx, %r15
subq %rdx, %r15
movq %r12, %rdi
movq %r15, %rsi
movq -0x38(%rbp), %r15
callq 0x2130
movq %r15, %rdi
movq %r12, %rsi
callq 0x13178
movq %rbx, %rdi
callq 0x1572b
movl $0xe1, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x13178
jmp 0x10346
movq $0x0, -0x30(%rbp)
movl $0x0, -0x44(%rbp)
movq %r15, %rdi
movq %r14, %rsi
movl $0x3, %edx
leaq -0x30(%rbp), %rcx
leaq -0x44(%rbp), %r8
callq 0xfdb6
testb %al, %al
je 0x10167
movq -0x30(%rbp), %rbx
testq %rbx, %rbx
je 0x10346
movslq -0x44(%rbp), %r15
movl %r15d, %eax
shll $0x8, %eax
orl $0x7, %eax
movl %eax, -0x48(%rbp)
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %r12
movq %r12, %rsi
callq 0x13178
movl %r15d, %edx
sarl $0x2, %edx
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x13236
movl %r15d, %edx
andl $0x3, %edx
movl $0x0, -0x48(%rbp)
addq %rbx, %r15
subq %rdx, %r15
movq %r12, %rdi
movq %r15, %rsi
movq -0x38(%rbp), %r15
callq 0x2130
jmp 0x102f7
movl -0x40(%rbp), %eax
jmp 0x1034d
incq %rbx
movq %rbx, (%r14)
movq %rbx, %rdi
callq 0x4f49
movq %rax, %r15
movq %rax, %rdi
subq %rbx, %rdi
incq %rdi
callq 0x15705
movq %rax, %rdi
movq %rbx, %rsi
movq %rax, %rbx
movq %r15, %rdx
callq 0x4f82
movl %eax, %r12d
cltq
movb $0x0, (%rbx,%rax)
movq %r15, (%r14)
cmpb $0x22, (%r15)
jne 0x10250
incq %r15
movq %r15, (%r14)
jmp 0x10250
cmpq $0x5f, %rax
je 0x101d7
leaq 0x80a3(%rip), %rcx      # 0x18270
movb (%rcx,%rax), %al
movq %rbx, %r12
andb $0xc, %al
je 0x101fd
leaq 0x1(%rbx), %r12
movq %r12, (%r14)
movzbl (%r12), %eax
incq %r12
cmpq $0x5f, %rax
je 0x101db
leaq 0x807d(%rip), %rcx      # 0x18270
movb (%rcx,%rax), %al
andb $0xc, %al
jne 0x101db
decq %r12
subq %rbx, %r12
testl %r12d, %r12d
movl -0x40(%rbp), %eax
je 0x1034d
movslq %r12d, %rdi
incq %rdi
movq %rdi, -0x68(%rbp)
callq 0x15705
movq %rax, -0x40(%rbp)
movq %rbx, %rdi
callq 0x2080
movq %rax, %r15
incq %r15
movq -0x68(%rbp), %rax
cmpq %rax, %r15
cmovaeq %rax, %r15
movq -0x40(%rbp), %rdi
movq %rbx, %rsi
movq %rdi, %rbx
movq %r15, %rdx
callq 0x2130
movb $0x0, -0x1(%rbx,%r15)
movq %rbx, %rdi
movl $0x20, %esi
callq 0x3e12
testq %rax, %rax
movq -0x38(%rbp), %r15
je 0x1028e
movl (%rax), %ecx
cmpq $0x4, %rcx
ja 0x1028e
leaq 0x77d7(%rip), %rdx      # 0x17a4c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movl 0x3c(%rax), %eax
shll $0x8, %eax
orl $0xda, %eax
jmp 0x1032f
movl %r12d, %eax
shll $0x8, %eax
orl $0x7, %eax
movl %eax, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x13178
movq %rbx, %r15
movslq %r12d, %rbx
movl %ebx, %edx
sarl $0x2, %edx
movq -0x38(%rbp), %rdi
movq %r15, %rsi
callq 0x13236
movl %ebx, %edx
andl $0x3, %edx
movl $0x0, -0x30(%rbp)
addq %r15, %rbx
subq %rdx, %rbx
leaq -0x30(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rbx
movq -0x38(%rbp), %r15
callq 0x2130
movq %r15, %rdi
movq %r12, %rsi
callq 0x13178
movl $0xe1, -0x30(%rbp)
movq %r15, %rdi
movq %r12, %rsi
jmp 0x10339
movl 0x3c(%rax), %eax
shll $0x8, %eax
orl $0xd8, %eax
jmp 0x1032f
movl 0x3c(%rax), %eax
shll $0x8, %eax
orl $0xde, %eax
jmp 0x1032f
movl 0x3c(%rax), %eax
xorl %ecx, %ecx
cmpl $0x19, %eax
setl %cl
shll $0x8, %eax
leal (%rax,%rcx,2), %eax
addl $0xe0, %eax
movl %eax, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x13178
movq %rbx, %rdi
callq 0x1572b
movq -0x60(%rbp), %rax
addl $0x2, %eax
testl %eax, %eax
je 0x10359
movl %eax, -0x40(%rbp)
movq (%r14), %r12
jmp 0x10368
decl 0xc(%r15)
movl $0x0, -0x40(%rbp)
movq -0x70(%rbp), %r12
cmpl $0x0, -0x50(%rbp)
jne 0xfe9a
movq (%r14), %rdx
decq %rdx
movq %rdx, %rsi
movq %r12, %r13
subq %r12, %rsi
movq -0x38(%rbp), %r15
movl -0x54(%rbp), %r12d
jbe 0x104b3
movl -0x40(%rbp), %ebx
testl %ebx, %ebx
je 0x10560
xorl %ecx, %ecx
testl %ebx, %ebx
setg %cl
movq %r15, %rdi
movq %r13, %rsi
callq 0x11212
cmpl $0x1, %ebx
jle 0x104b3
movl -0x40(%rbp), %ecx
incl %ecx
jmp 0x104ba
movq %r14, %rdi
movq -0x40(%rbp), %rsi
callq 0x10dc1
movq %rax, %rbx
movq -0x50(%rbp), %rax
movq %rbx, (%rax)
testq %rbx, %rbx
setne %r15b
movl %r15d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
incq %r13
movq %r13, (%r14)
movq %r13, %rdi
callq 0x4f49
movq %rax, %r15
movq %rax, %rdi
subq %r13, %rdi
incq %rdi
callq 0x15705
movq %rax, %rbx
movq %rax, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x4f82
movq -0x40(%rbp), %rcx
movl %eax, (%rcx)
cltq
movb $0x0, (%rbx,%rax)
movq %r15, (%r14)
cmpb $0x22, (%r15)
jne 0x103ce
incq %r15
movq %r15, (%r14)
jmp 0x103ce
incq %r13
movq %r13, (%r14)
leaq -0x30(%rbp), %rbx
movl $0x3, (%rbx)
movq -0x38(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x13178
movq %r15, %rdi
movq %r14, %rsi
movl $0x29, %edx
callq 0xe21b
movl -0x54(%rbp), %r14d
movl %r14d, %eax
shll $0x6, %eax
orl $0x4, %eax
cmpl $0x4, %r14d
movl $0x4, %ecx
cmovll %eax, %ecx
movl %ecx, (%rbx)
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
callq 0x13178
movb $0x1, %r15b
cmpl $0x7, %r14d
je 0x10504
cmpl $0x5, %r14d
jne 0x103dc
leaq -0x30(%rbp), %rsi
movl $0xa, (%rsi)
jmp 0x10552
movl -0x40(%rbp), %ecx
testl %ecx, %ecx
je 0x10510
movl %r12d, %eax
shll $0x6, %eax
cmpl $0x4, %r12d
movl $0xc0, %r15d
cmovll %eax, %r15d
shll $0x8, %ecx
orl %r15d, %ecx
orl $0x16, %ecx
leaq -0x30(%rbp), %rbx
movl %ecx, (%rbx)
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x13178
orl $0x4, %r15d
movl %r15d, (%rbx)
movq -0x38(%rbp), %r15
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
callq 0x13178
xorl %eax, %eax
jmp 0x10512
leaq -0x30(%rbp), %rsi
movl $0xe, (%rsi)
jmp 0x10552
movb $0x1, %al
cmpl $0x7, %r12d
ja 0x10609
movl %r12d, %ecx
leaq 0x753a(%rip), %rdx      # 0x17a60
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq (%r14), %rcx
decq %rcx
cmpq %r13, %rcx
setbe %cl
andb %cl, %al
movb $0x1, %r15b
cmpb $0x1, %al
jne 0x103dc
leaq -0x30(%rbp), %rsi
movl $0xc6, (%rsi)
movq -0x38(%rbp), %rdi
callq 0x13178
jmp 0x103dc
cmpl $0x7, %r12d
je 0x106ae
cmpl $0x5, %r12d
movl -0x40(%rbp), %ebx
jne 0x1039a
movq %r13, (%r14)
movq %r15, %r12
movslq 0xc(%r15), %r15
leaq -0x30(%rbp), %rbx
movl $0x9, (%rbx)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x13178
movl %r15d, %eax
shll $0x8, %eax
addl $0x201, %eax            # imm = 0x201
movl %eax, (%rbx)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x13178
movq %r12, %rdi
movq %r14, %rsi
movl $0x5d, %edx
callq 0xe21b
movl $0x4, (%rbx)
leaq -0x30(%rbp), %rsi
movq %r12, %rdi
callq 0x13178
movl %r15d, %eax
notl %eax
addl 0xc(%r12), %eax
shll $0x8, %eax
movq (%r12), %rcx
orl %eax, (%rcx,%r15,4)
jmp 0xfe69
leaq 0x7c08(%rip), %rsi      # 0x181f9
movq %r13, %rdi
xorl %eax, %eax
callq 0x107a6
movq (%r14), %rdx
decq %rdx
movq %rdx, (%r14)
jmp 0x10375
movb $0x1, %r15b
testb %al, %al
je 0x103dc
movq (%r14), %rax
decq %rax
cmpq %r13, %rax
jbe 0x106dd
shll $0x6, %r12d
orl $0xb, %r12d
leaq -0x30(%rbp), %rsi
movl %r12d, (%rsi)
jmp 0x10552
movq (%r14), %rcx
decq %rcx
cmpq %r13, %rcx
setbe %cl
andb %cl, %al
cmpb $0x1, %al
jne 0x1068b
movq %r15, %rdi
callq 0x106f2
jmp 0xfe69
movq (%r14), %rcx
decq %rcx
cmpq %r13, %rcx
setbe %cl
andb %cl, %al
cmpb $0x1, %al
jne 0x10697
movq 0xf021(%rip), %rax      # 0x1f690
movl 0x3c(%rax), %eax
xorl %ecx, %ecx
cmpl $0x19, %eax
setl %cl
shll $0x8, %eax
leal (%rax,%rcx,2), %eax
addl $0xd, %eax
leaq -0x30(%rbp), %rsi
movl %eax, (%rsi)
jmp 0x106a1
leaq -0x30(%rbp), %rsi
movl $0xa, (%rsi)
jmp 0x106a1
leaq -0x30(%rbp), %rsi
movl $0xe, (%rsi)
movq %r15, %rdi
callq 0x13178
jmp 0xfe69
movq %r13, %rdi
callq 0x12d2d
movq %rax, %rbx
movq %r15, %rdi
movq %rax, %rsi
callq 0x10759
movb $0x1, %r15b
testq %rbx, %rbx
je 0x103dc
movq %rbx, %rdi
callq 0x1572b
jmp 0x103dc
movq -0x38(%rbp), %rdi
movl %r12d, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x10f06
jmp 0x103dc