// File: /workspace/github_cpp_makefile_star2_O1/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 $0xf8, %rsp
movq %rdi, %rbx
callq 0xb6b8
xorps %xmm0, %xmm0
leaq 0xe0(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0xa838
movq 0x18(%rbx), %rax
cmpq %rax, 0x20(%rbx)
je 0xb597
xorl %ecx, %ecx
leaq 0xe0(%rsp), %r15
leaq 0xc0(%rsp), %r12
leaq 0xa0(%rsp), %r13
xorl %ebp, %ebp
shlq $0x5, %rcx
leaq 0x10(%rsp), %rdx
movq %rdx, (%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x2a3e
movq %rbx, %rdi
movl %ebp, %esi
callq 0xc24c
movl %eax, %r14d
cmpl $-0x1, %eax
cmovel %ebp, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xc33c
cmpl $-0x1, %eax
je 0xb335
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xc33c
movl %eax, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xcad0
cmpl $-0x1, %eax
je 0xb359
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xcad0
movl %eax, %r14d
leaq 0xd0(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x2a3e
movq %r15, %rdi
movq %r12, %rsi
callq 0xa934
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0xb3ad
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2170
movq %r15, %rdi
callq 0xa8f4
movq %rax, %rbp
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x2a3e
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2ad0
movl %eax, %ebp
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0xb40e
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2170
testb %bpl, %bpl
jne 0xb55b
movq %r15, %rdi
callq 0xa8f4
movq %rax, %rbp
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x2a3e
movq %rbp, %rdi
leaq 0x80(%rsp), %rsi
callq 0x3d32
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0xb480
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2170
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x2a3e
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq 0x807a
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xb4c9
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2170
leaq 0x50(%rsp), %rax
movq %rax, 0x40(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x2a3e
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x898f
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xb512
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2170
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x2a3e
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x8c7e
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xb55b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2170
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xb576
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2170
incl %r14d
movslq %r14d, %rcx
movq 0x18(%rbx), %rax
movq 0x20(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
movl %r14d, %ebp
cmpq %rcx, %rdx
ja 0xb2dc
leaq 0xe0(%rsp), %rdi
callq 0xd75a
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb633
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xb687
movq 0x70(%rsp), %rsi
jmp 0xb67a
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xb687
movq 0x30(%rsp), %rsi
jmp 0xb67a
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0xb687
movq 0x90(%rsp), %rsi
jmp 0xb67a
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xb687
movq 0x50(%rsp), %rsi
jmp 0xb67a
movq %rax, %rbx
jmp 0xb6a2
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0xb687
movq 0xd0(%rsp), %rsi
jmp 0xb67a
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0xb687
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2170
jmp 0xb687
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xb6a2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2170
leaq 0xe0(%rsp), %rdi
callq 0xd75a
movq %rbx, %rdi
callq 0x2250
nop