// File: /workspace/github_cpp_makefile_star2_O3/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 0xb34c
xorps %xmm0, %xmm0
leaq 0xe0(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0xa4dc
movq 0x18(%rbx), %rax
cmpq %rax, 0x20(%rbx)
je 0xb22b
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 0x2a32
movq %rbx, %rdi
movl %ebp, %esi
callq 0xbee6
movl %eax, %r14d
cmpl $-0x1, %eax
cmovel %ebp, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xbf9e
cmpl $-0x1, %eax
je 0xafc9
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xbf9e
movl %eax, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xc6f2
cmpl $-0x1, %eax
je 0xafed
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0xc6f2
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 0x2a32
movq %r15, %rdi
movq %r12, %rsi
callq 0xa5d8
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0xb041
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2170
movq %r15, %rdi
callq 0xa598
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 0x2a32
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2ac8
movl %eax, %ebp
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0xb0a2
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2170
testb %bpl, %bpl
jne 0xb1ef
movq %r15, %rdi
callq 0xa598
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 0x2a32
movq %rbp, %rdi
leaq 0x80(%rsp), %rsi
callq 0x3b9e
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0xb114
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 0x2a32
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq 0x7dc0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xb15d
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 0x2a32
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x867b
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xb1a6
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 0x2a32
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x896b
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xb1ef
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2170
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xb20a
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 0xaf70
leaq 0xe0(%rsp), %rdi
callq 0xd336
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb2c7
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xb31b
movq 0x70(%rsp), %rsi
jmp 0xb30e
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xb31b
movq 0x30(%rsp), %rsi
jmp 0xb30e
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0xb31b
movq 0x90(%rsp), %rsi
jmp 0xb30e
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xb31b
movq 0x50(%rsp), %rsi
jmp 0xb30e
movq %rax, %rbx
jmp 0xb336
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0xb31b
movq 0xd0(%rsp), %rsi
jmp 0xb30e
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0xb31b
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2170
jmp 0xb31b
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xb336
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2170
leaq 0xe0(%rsp), %rdi
callq 0xd336
movq %rbx, %rdi
callq 0x2250
nop