// File: /workspace/github_cpp_makefile_star2_O3/Eronana[P]strawberry/src/assembler.cpp
// Function: get_opnd(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int&)
bool get_opnd(const string &s,int &v)
{
    int opnd_int;
    FLOAT_TYPE opnd_float;
    string opnd_string;
    init_escape_table();
    switch(get_opnd_type(s))
    {
        case OT_BOOL:
            opnd_int=s[0]=='T'?1:0;
            if(!int_table.count(opnd_int))
            {
                v=int_table.size();
                int_table[opnd_int]=v;
                int_table_list.push_back(opnd_int);
            }
            else v=int_table[opnd_int];
            break;
        case OT_INT:
            opnd_int=atoi(s.c_str());
            if(!int_table.count(opnd_int))
            {
                v=int_table.size();
                int_table[opnd_int]=v;
                int_table_list.push_back(opnd_int);
            }
            else v=int_table[opnd_int];
            break;
        case OT_FLOAT:
            opnd_float=atof(s.c_str());
            if(!float_table.count(opnd_float))
            {
                v=float_table.size();
                float_table[opnd_float]=v;
                float_table_list.push_back(opnd_float);
            }
            else v=float_table[opnd_float];
            break;
        case OT_STRING:
            opnd_string=process_string(s);
            if(!string_table.count(opnd_string))
            {
                v=string_table.size();
                string_table[opnd_string]=v;
                string_table_list.push_back(opnd_string);
            }
            else v=string_table[opnd_string];
            break;
        case OT_LABEL:
            if(!labels.count(s))return false;
            v=labels[s];
            break;
        default:
            break;
    }
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
callq 0x18adf
movq %r15, %rdi
callq 0x189fb
movb $0x1, %bl
cmpl $0x5, %eax
ja 0x18f14
movl %eax, %eax
leaq 0x8004(%rip), %rcx      # 0x20c40
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq (%r15), %rdi
callq 0x63f0
movl %eax, 0x4(%rsp)
movq 0x16d78(%rip), %rdx     # 0x2f9d0
testq %rdx, %rdx
je 0x18c90
leaq 0x16d64(%rip), %rcx     # 0x2f9c8
xorl %esi, %esi
cmpl %eax, 0x20(%rdx)
setl %sil
cmovgeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x18c64
leaq 0x16d46(%rip), %rdx     # 0x2f9c8
cmpq %rdx, %rcx
je 0x18c90
cmpl 0x20(%rcx), %eax
jge 0x18eeb
leaq 0x16d29(%rip), %rdi     # 0x2f9c0
movl 0x16d4b(%rip), %ebp     # 0x2f9e8
movl %ebp, (%r14)
leaq 0x4(%rsp), %rsi
callq 0x199ec
jmp 0x18db5
movq (%r15), %rdi
callq 0x62f0
movsd %xmm0, 0x8(%rsp)
movq 0x16cdc(%rip), %rcx     # 0x2f9a0
testq %rcx, %rcx
je 0x18d03
leaq 0x16cc8(%rip), %rax     # 0x2f998
xorl %edx, %edx
ucomisd 0x20(%rcx), %xmm0
cmovbeq %rcx, %rax
seta %dl
movq 0x10(%rcx,%rdx,8), %rcx
testq %rcx, %rcx
jne 0x18cd0
leaq 0x16ca9(%rip), %rcx     # 0x2f998
cmpq %rcx, %rax
je 0x18d03
movsd 0x20(%rax), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x18ed8
leaq 0x16c86(%rip), %rdi     # 0x2f990
movl 0x16ca8(%rip), %ebp     # 0x2f9b8
movl %ebp, (%r14)
leaq 0x8(%rsp), %rsi
callq 0x19a52
movl %ebp, (%rax)
movq 0x16cea(%rip), %rsi     # 0x2fa10
cmpq 0x16ceb(%rip), %rsi     # 0x2fa18
je 0x18ec5
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x16cc8(%rip)     # 0x2fa10
jmp 0x18f14
movq (%r15), %rcx
xorl %eax, %eax
cmpb $0x54, (%rcx)
sete %al
movl %eax, 0x4(%rsp)
movq 0x16c6d(%rip), %rdx     # 0x2f9d0
testq %rdx, %rdx
je 0x18d9b
leaq 0x16c59(%rip), %rcx     # 0x2f9c8
xorl %esi, %esi
cmpl %eax, 0x20(%rdx)
setl %sil
cmovgeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x18d6f
leaq 0x16c3b(%rip), %rdx     # 0x2f9c8
cmpq %rdx, %rcx
je 0x18d9b
cmpl %eax, 0x20(%rcx)
jle 0x18efe
leaq 0x16c1e(%rip), %rdi     # 0x2f9c0
movl 0x16c40(%rip), %ebp     # 0x2f9e8
movl %ebp, (%r14)
leaq 0x4(%rsp), %rsi
callq 0x199ec
movl %ebp, (%rax)
movq 0x16c3a(%rip), %rsi     # 0x2f9f8
cmpq 0x16c3b(%rip), %rsi     # 0x2fa00
je 0x18e7c
movl 0x4(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x16c1c(%rip)     # 0x2f9f8
jmp 0x18f14
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x18b4d
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %r15
movq %r15, %rsi
callq 0x62e0
movq (%r15), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x18e1a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6230
leaq 0x16b3f(%rip), %rdi     # 0x2f960
leaq 0x10(%rsp), %rsi
callq 0xd774
leaq 0x16b36(%rip), %rcx     # 0x2f968
cmpq %rcx, %rax
je 0x18e96
leaq 0x16b22(%rip), %rdi     # 0x2f960
leaq 0x10(%rsp), %rsi
callq 0xd504
jmp 0x18f0f
leaq 0x16adc(%rip), %rdi     # 0x2f930
movq %r15, %rsi
callq 0xd774
leaq 0x16ad5(%rip), %rcx     # 0x2f938
cmpq %rcx, %rax
je 0x18e92
leaq 0x16ac1(%rip), %rdi     # 0x2f930
movq %r15, %rsi
callq 0xd504
jmp 0x18f0f
leaq 0x16b6d(%rip), %rdi     # 0x2f9f0
leaq 0x4(%rsp), %rdx
callq 0x1a26c
jmp 0x18f14
xorl %ebx, %ebx
jmp 0x18f14
leaq 0x16ac3(%rip), %rdi     # 0x2f960
movl 0x16ae5(%rip), %ebp     # 0x2f988
movl %ebp, (%r14)
leaq 0x10(%rsp), %rsi
callq 0xd504
movl %ebp, (%rax)
leaq 0x16b67(%rip), %rdi     # 0x2fa20
leaq 0x10(%rsp), %rsi
callq 0x19abe
jmp 0x18f14
leaq 0x16b3c(%rip), %rdi     # 0x2fa08
leaq 0x8(%rsp), %rdx
callq 0x1a5e8
jmp 0x18f14
leaq 0x16ab1(%rip), %rdi     # 0x2f990
leaq 0x8(%rsp), %rsi
callq 0x19a52
jmp 0x18f0f
leaq 0x16ace(%rip), %rdi     # 0x2f9c0
leaq 0x4(%rsp), %rsi
callq 0x199ec
jmp 0x18f0f
leaq 0x16abb(%rip), %rdi     # 0x2f9c0
leaq 0x4(%rsp), %rsi
callq 0x199ec
movl (%rax), %eax
movl %eax, (%r14)
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x18f2b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6230
movl %ebx, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x18f3c
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x18f56
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6230
movq %rbx, %rdi
callq 0x6450