// File: /workspace/github_cpp_makefile_star2_O2/Manuel123cool[P]smiley/instruction.cpp
// Function: Instruction::run()
void Instruction::run()
{
    processFunctions();
    Stack stack;
    stack.addStackFrame();
    for (int i{ 0 }; i < m_instructions.size(); ++i)  
    {
        std::string code{ m_instructions.at(i) };
        int jumpNum{ checkJumps(i) };
        if (jumpNum != -1)
            i = jumpNum; 

        if (checkIf(i, stack) != -1)
            i = checkIf(i, stack); 
        if (checkLoop(i, stack) != -1)
            i = checkLoop(i, stack); 

        stack.checkBlock(code);
        if (stack().testIfVariable(code))        
            continue;
        stack().testIfBoolVar(code);

        MyRegex::testComandPrint(code, stack); 
        MyRegex::testUserInput(code, stack);
        MyRegex::testCalculater(code, stack);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
callq 0x8250
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
callq 0x7740
leaq 0x18(%rbx), %rax
movq %rax, 0x8(%rsp)
xorl %r14d, %r14d
leaq 0xe8(%rsp), %r15
leaq 0x10(%rsp), %r12
leaq 0xc8(%rsp), %rbp
movslq %r14d, %rsi
movq 0x20(%rbx), %rax
subq 0x18(%rbx), %rax
sarq $0x5, %rax
cmpq %rsi, %rax
jbe 0x81c1
movq 0x8(%rsp), %rdi
callq 0x94c4
movq %r15, %rdi
movq %rax, %rsi
callq 0x21e0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x8920
cmpl $-0x1, %eax
cmovnel %eax, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r12, %rdx
callq 0x89bc
cmpl $-0x1, %eax
je 0x8088
movq %rbx, %rdi
movl %r14d, %esi
movq %r12, %rdx
callq 0x89bc
movl %eax, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r12, %rdx
callq 0x8dbc
cmpl $-0x1, %eax
je 0x80ac
movq %rbx, %rdi
movl %r14d, %esi
movq %r12, %rdx
callq 0x8dbc
movl %eax, %r14d
leaq 0xa8(%rsp), %rdi
movq %r15, %rsi
callq 0x21e0
movq %r12, %rdi
leaq 0xa8(%rsp), %r13
movq %r13, %rsi
callq 0x7816
movq %r13, %rdi
callq 0x20c0
movq %r12, %rdi
callq 0x77fe
movq %rax, %r13
movq %rbp, %rdi
movq %r15, %rsi
callq 0x21e0
movq %r13, %rdi
movq %rbp, %rsi
callq 0x281c
movl %eax, %r13d
movq %rbp, %rdi
callq 0x20c0
testb %r13b, %r13b
jne 0x81b1
movq %r12, %rdi
callq 0x77fe
movq %rax, %r13
leaq 0x88(%rsp), %rdi
movq %r15, %rsi
callq 0x21e0
movq %r13, %rdi
leaq 0x88(%rsp), %r13
movq %r13, %rsi
callq 0x32da
movq %r13, %rdi
callq 0x20c0
leaq 0x68(%rsp), %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0x68(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x5e38
movq %r13, %rdi
callq 0x20c0
leaq 0x48(%rsp), %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0x48(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x6427
movq %r13, %rdi
callq 0x20c0
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x21e0
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x65f1
movq %r13, %rdi
callq 0x20c0
movq %r15, %rdi
callq 0x20c0
incl %r14d
jmp 0x8025
leaq 0x10(%rsp), %rdi
callq 0x9560
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8229
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x8222
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0x8222
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x8222
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x8222
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
jmp 0x8222
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x20c0
jmp 0x8231
movq %rax, %rbx
jmp 0x823e
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x20c0
leaq 0x10(%rsp), %rdi
callq 0x9560
movq %rbx, %rdi
callq 0x2250