// File: /workspace/github_cpp_makefile_star2_O2/gioannides[P]Language_Processors/src/../include/ast/ast_Expressions.cpp
// Function: MultiplicativeExpression::render_asm(std::basic_ofstream<char, std::char_traits<char>>&, Context&)
inline void MultiplicativeExpression::render_asm(std::ofstream& file,Context& contxt) {

			
			if(OPERATOR==NULL && CaStExpression != NULL){
				
				CaStExpression->render_asm(file,contxt);
				//postfix_ops(contxt, file);
				
				

			}
			if(contxt.LocalArray && contxt.reading && contxt.function){
				if( MultiplicativeExpressionPtr != NULL && CaStExpression != NULL){
					MultiplicativeExpressionPtr->render_asm(file,contxt);
					CaStExpression->render_asm(file,contxt);
						
				}
					
				if(contxt.ArraySize.size()>=2){
					if( OPERATOR != NULL && *OPERATOR == "*" ){
							
							int result = contxt.ArraySize[contxt.ArraySize.size()-1] *  contxt.ArraySize[contxt.ArraySize.size()-2];
							contxt.ArraySize.pop_back();
							contxt.ArraySize.pop_back();
							contxt.ArraySize.push_back(result);
						
					}
					else if( OPERATOR != NULL && *OPERATOR== "/") {
							int result = contxt.ArraySize[contxt.ArraySize.size()-2] /  contxt.ArraySize[contxt.ArraySize.size()-1];
							contxt.ArraySize.pop_back();
							contxt.ArraySize.pop_back();
							contxt.ArraySize.push_back(result);
					}
					else if( OPERATOR != NULL && *OPERATOR== "%") {
							int result = contxt.ArraySize[contxt.ArraySize.size()-2] %  contxt.ArraySize[contxt.ArraySize.size()-1];
							contxt.ArraySize.pop_back();
							contxt.ArraySize.pop_back();
							contxt.ArraySize.push_back(result);
					}
				}
				
			}
			else if(MultiplicativeExpressionPtr != NULL && !contxt.reading && CaStExpression != NULL && OPERATOR != NULL){ 
				MultiplicativeExpressionPtr->render_asm(file,contxt);
				contxt.Regs++;			
				CaStExpression->render_asm(file,contxt);


				
				
				if(contxt.enum_constant){
					//postfix_ops(contxt, file);
					if( *OPERATOR == "*" ){
						if(contxt.EnumOperands.size()>=2){
							int result =  contxt.EnumOperands[contxt.EnumOperands.size()-1] * contxt.EnumOperands[contxt.EnumOperands.size()-2];
							contxt.EnumOperands.pop_back();
							contxt.EnumOperands.pop_back();
							contxt.EnumOperands.push_back(result);
						}
					}
					else if(*OPERATOR == "/"){
						if(contxt.EnumOperands.size()>=2){
							int result =  contxt.EnumOperands[contxt.EnumOperands.size()-2] / contxt.EnumOperands[contxt.EnumOperands.size()-1];
							contxt.EnumOperands.pop_back();
							contxt.EnumOperands.pop_back();
							contxt.EnumOperands.push_back(result);
						}
					}
					else if (*OPERATOR == "%")
					{
						if(contxt.EnumOperands.size()>=2){
							int result =  contxt.EnumOperands[contxt.EnumOperands.size()-2] % contxt.EnumOperands[contxt.EnumOperands.size()-1];
							contxt.EnumOperands.pop_back();
							contxt.EnumOperands.pop_back();
							contxt.EnumOperands.push_back(result);
						}
						
					}
					
				}

				if((!contxt.function  && !contxt.sizeof_ && !contxt.enum_constant)){
					//postfix_ops(contxt, file);
					if( *OPERATOR == "*" ){
						contxt.eval[contxt.Regs] = contxt.eval[contxt.Regs]*contxt.eval[contxt.Regs+1];
						contxt.eval_f[contxt.Regs] = contxt.eval_f[contxt.Regs] * contxt.eval_f[contxt.Regs+1];
					}
					else if(*OPERATOR == "/"){
						contxt.eval[contxt.Regs] = contxt.eval[contxt.Regs]/contxt.eval[contxt.Regs+1];
						contxt.eval_f[contxt.Regs] = contxt.eval_f[contxt.Regs] / contxt.eval_f[contxt.Regs+1];
					}
					else if (*OPERATOR == "%")
					{
						contxt.eval[contxt.Regs] = contxt.eval[contxt.Regs]%contxt.eval[contxt.Regs+1];
						
					}
					
				}
				if (contxt.function  && !contxt.sizeof_ && !contxt.enum_constant){
					typePromotion(contxt.Regs,contxt.Regs+1,file,contxt);
					if( *OPERATOR == "*" ){
						if(contxt.regType[contxt.Regs]=='f' || contxt.regType[contxt.Regs+1]=='f'){
							file << std::endl << "\tmul.s\t$f" << contxt.Regs << ",$f" << contxt.Regs << ",$f" << contxt.Regs+1;
							contxt.regType[contxt.Regs]='f';
							contxt.regType[contxt.Regs+1]='f';
						}	
						else if(contxt.regType[contxt.Regs]=='u' || contxt.regType[contxt.Regs+1]=='u' ){
							file << std::endl << "\tmultu\t$" << contxt.Regs << ", $" << contxt.Regs + 1;
							file << std::endl << "\tmflo\t$" << contxt.Regs;
							contxt.regType[contxt.Regs]='u';
							contxt.regType[contxt.Regs+1]='u';
						}
						else{
							file << std::endl << "\tmult\t$" << contxt.Regs << ", $" << contxt.Regs + 1;
							file << std::endl << "\tmflo\t$" << contxt.Regs;
							contxt.regType[contxt.Regs]='i';
							contxt.regType[contxt.Regs+1]='i';
						}						
						
					}
					else if(  *OPERATOR == "/" ){
						if(contxt.regType[contxt.Regs]=='f' || contxt.regType[contxt.Regs+1]=='f'){
							file << std::endl << "\tdiv.s\t$f" << contxt.Regs << ",$f" << contxt.Regs << ",$f" << contxt.Regs+1;
							contxt.regType[contxt.Regs]='f';
							contxt.regType[contxt.Regs+1]='f';
						}
						else if(contxt.regType[contxt.Regs]=='u' || contxt.regType[contxt.Regs+1]=='u'){
							file << std::endl << "\tdivu\t$" << contxt.Regs << ", $" << contxt.Regs + 1;
							file << std::endl << "\tmflo\t$" << contxt.Regs;
							contxt.regType[contxt.Regs]='u';
							contxt.regType[contxt.Regs+1]='u';
						}
						else{
							file << std::endl << "\tdiv\t$" << contxt.Regs << ", $" << contxt.Regs + 1;
							file << std::endl << "\tmflo\t$" << contxt.Regs;
							contxt.regType[contxt.Regs]='i';
							contxt.regType[contxt.Regs+1]='i';
						}
						
					}
					else if(  *OPERATOR == "%" ){
						if(contxt.regType[contxt.Regs]=='u' || contxt.regType[contxt.Regs+1]=='u') {
							file << std::endl << "\tdivu\t$" << contxt.Regs << ", $" << contxt.Regs + 1;
							contxt.regType[contxt.Regs]='u';
							contxt.regType[contxt.Regs+1]='u';
						}
						else{
							file << std::endl << "\tdiv\t$" << contxt.Regs << ", $" << contxt.Regs + 1;
							contxt.regType[contxt.Regs]='i';
							contxt.regType[contxt.Regs+1]='u';
						}
						
						file << std::endl << "\tmfhi\t$" << contxt.Regs;
						
					}
					
				}
				contxt.Regs--;
			}

		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
cmpq $0x0, 0x10(%rdi)
jne 0x12903
movq 0x8(%r15), %rdi
testq %rdi, %rdi
je 0x12903
movq %r14, %rsi
movq %rbx, %rdx
callq 0x12ff0
cmpb $0x1, 0x74(%rbx)
jne 0x129b0
cmpb $0x1, 0x21b(%rbx)
jne 0x129b0
cmpb $0x1, 0x218(%rbx)
jne 0x129b0
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x12951
cmpq $0x0, 0x8(%r15)
je 0x12951
movq %r14, %rsi
movq %rbx, %rdx
callq 0x128d8
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x12ff0
movq 0x80(%rbx), %rax
subq 0x78(%rbx), %rax
cmpq $0x5, %rax
jb 0x12d55
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x12d55
leaq 0x78(%rbx), %r14
leaq 0x1b416(%rip), %rsi     # 0x2dd94
callq 0x820e
testb %al, %al
je 0x12ab9
movq 0x80(%rbx), %rax
movl -0x8(%rax), %ecx
imull -0x4(%rax), %ecx
leaq 0x4(%rsp), %rsi
movl %ecx, (%rsi)
addq $-0x8, %rax
movq %rax, 0x80(%rbx)
jmp 0x12d99
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x12d55
cmpb $0x0, 0x21b(%rbx)
jne 0x12d55
cmpq $0x0, 0x8(%r15)
je 0x12d55
cmpq $0x0, 0x10(%r15)
je 0x12d55
movq %r14, %rsi
movq %rbx, %rdx
callq 0x128d8
incl 0x310(%rbx)
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x12ff0
cmpb $0x1, 0x14d(%rbx)
jne 0x12b4b
movq 0x10(%r15), %rdi
leaq 0x1b37c(%rip), %rsi     # 0x2dd94
callq 0x820e
testb %al, %al
je 0x12a69
movq 0x150(%rbx), %rcx
movq 0x158(%rbx), %rax
movq %rax, %rdx
subq %rcx, %rdx
cmpq $0x5, %rdx
jb 0x12b4b
leaq 0x150(%rbx), %rdi
movl -0x8(%rcx,%rdx), %r8d
imull -0x4(%rcx,%rdx), %r8d
leaq 0x4(%rsp), %rsi
movl %r8d, (%rsi)
addq $-0x8, %rax
movq %rax, 0x158(%rbx)
jmp 0x12b46
movq 0x10(%r15), %rdi
leaq 0x1ae04(%rip), %rsi     # 0x2d878
callq 0x820e
testb %al, %al
je 0x12af4
movq 0x150(%rbx), %rsi
movq 0x158(%rbx), %rcx
movq %rcx, %r8
subq %rsi, %r8
cmpq $0x5, %r8
jb 0x12b4b
leaq 0x150(%rbx), %rdi
movl -0x8(%rsi,%r8), %eax
cltd
idivl -0x4(%rsi,%r8)
leaq 0x4(%rsp), %rsi
movl %eax, (%rsi)
jmp 0x12b3b
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x12d55
leaq 0x1adab(%rip), %rsi     # 0x2d878
callq 0x820e
testb %al, %al
je 0x12d60
movq 0x80(%rbx), %rcx
movl -0x8(%rcx), %eax
cltd
idivl -0x4(%rcx)
leaq 0x4(%rsp), %rsi
movl %eax, (%rsi)
jmp 0x12d8e
movq 0x10(%r15), %rdi
leaq 0x1ad7b(%rip), %rsi     # 0x2d87a
callq 0x820e
testb %al, %al
je 0x12b4b
movq 0x150(%rbx), %rsi
movq 0x158(%rbx), %rcx
movq %rcx, %r8
subq %rsi, %r8
cmpq $0x5, %r8
jb 0x12b4b
leaq 0x150(%rbx), %rdi
movl -0x8(%rsi,%r8), %eax
cltd
idivl -0x4(%rsi,%r8)
leaq 0x4(%rsp), %rsi
movl %edx, (%rsi)
addq $-0x8, %rcx
movq %rcx, 0x158(%rbx)
callq 0xfa9e
cmpb $0x0, 0x218(%rbx)
jne 0x12c15
cmpb $0x0, 0x1f8(%rbx)
jne 0x12c15
cmpb $0x0, 0x14d(%rbx)
jne 0x12c15
movq 0x10(%r15), %rdi
leaq 0x1b217(%rip), %rsi     # 0x2dd94
callq 0x820e
testb %al, %al
je 0x12bbe
movslq 0x310(%rbx), %rax
movl 0x5fc(%rbx,%rax,4), %ecx
imull 0x5f8(%rbx,%rax,4), %ecx
movl %ecx, 0x5f8(%rbx,%rax,4)
movslq 0x310(%rbx), %rax
movss 0xa238(%rbx,%rax,4), %xmm0
mulss 0xa23c(%rbx,%rax,4), %xmm0
jmp 0x12c0c
movq 0x10(%r15), %rdi
leaq 0x1acaf(%rip), %rsi     # 0x2d878
callq 0x820e
testb %al, %al
je 0x12da3
movslq 0x310(%rbx), %rcx
movl 0x5f8(%rbx,%rcx,4), %eax
cltd
idivl 0x5fc(%rbx,%rcx,4)
movl %eax, 0x5f8(%rbx,%rcx,4)
movslq 0x310(%rbx), %rax
movss 0xa238(%rbx,%rax,4), %xmm0
divss 0xa23c(%rbx,%rax,4), %xmm0
movss %xmm0, 0xa238(%rbx,%rax,4)
cmpb $0x1, 0x218(%rbx)
jne 0x12d4f
cmpb $0x0, 0x1f8(%rbx)
jne 0x12d4f
cmpb $0x0, 0x14d(%rbx)
jne 0x12d4f
movl 0x310(%rbx), %edi
leal 0x1(%rdi), %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xfb3c
movq 0x10(%r15), %rdi
leaq 0x1b139(%rip), %rsi     # 0x2dd94
callq 0x820e
testb %al, %al
je 0x12c97
movslq 0x310(%rbx), %rcx
movb 0x341(%rbx,%rcx), %al
cmpb $0x66, %al
je 0x12c86
movb 0x342(%rbx,%rcx), %cl
cmpb $0x66, %cl
jne 0x12e19
movq %r14, %rdi
callq 0x7190
leaq 0x1abe7(%rip), %rsi     # 0x2d87c
jmp 0x12ce0
movq 0x10(%r15), %rdi
leaq 0x1abd6(%rip), %rsi     # 0x2d878
callq 0x820e
testb %al, %al
je 0x12ddd
movslq 0x310(%rbx), %rcx
movb 0x341(%rbx,%rcx), %al
cmpb $0x66, %al
je 0x12cd1
movb 0x342(%rbx,%rcx), %cl
cmpb $0x66, %cl
jne 0x12e40
movq %r14, %rdi
callq 0x7190
leaq 0x1abbf(%rip), %rsi     # 0x2d89f
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
leaq 0x1aa82(%rip), %r14     # 0x2d77f
movq %rax, %rdi
movq %r14, %rsi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
movq %rax, %rdi
movq %r14, %rsi
callq 0x7310
movl 0x310(%rbx), %esi
incl %esi
movq %rax, %rdi
callq 0x7590
movslq 0x310(%rbx), %rax
movb $0x66, %cl
movb %cl, 0x341(%rbx,%rax)
movslq 0x310(%rbx), %rax
movb %cl, 0x342(%rbx,%rax)
decl 0x310(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x12d55
leaq 0x1ab0a(%rip), %rsi     # 0x2d87a
callq 0x820e
testb %al, %al
je 0x12d55
movq 0x80(%rbx), %rcx
movl -0x8(%rcx), %eax
cltd
idivl -0x4(%rcx)
leaq 0x4(%rsp), %rsi
movl %edx, (%rsi)
addq $-0x8, %rcx
movq %rcx, 0x80(%rbx)
movq %r14, %rdi
callq 0xfa9e
jmp 0x12d55
movq 0x10(%r15), %rdi
leaq 0x1aacc(%rip), %rsi     # 0x2d87a
callq 0x820e
testb %al, %al
je 0x12c15
movslq 0x310(%rbx), %rcx
movl 0x5f8(%rbx,%rcx,4), %eax
cltd
idivl 0x5fc(%rbx,%rcx,4)
movl %edx, 0x5f8(%rbx,%rcx,4)
jmp 0x12c15
movq 0x10(%r15), %rdi
leaq 0x1aa92(%rip), %rsi     # 0x2d87a
callq 0x820e
testb %al, %al
je 0x12d4f
movslq 0x310(%rbx), %rax
cmpb $0x75, 0x341(%rbx,%rax)
jne 0x12ecd
movb $0x75, %bpl
leaq 0x1aa95(%rip), %r15     # 0x2d8a9
jmp 0x12ef0
cmpb $0x75, %al
setne %bpl
cmpb $0x75, %cl
setne %r15b
movq %r14, %rdi
callq 0x7190
testb %r15b, %bpl
jne 0x12f78
leaq 0x1aa48(%rip), %rsi     # 0x2d886
jmp 0x12e65
cmpb $0x75, %al
setne %bpl
cmpb $0x75, %cl
setne %r15b
movq %r14, %rdi
callq 0x7190
testb %r15b, %bpl
jne 0x12f81
leaq 0x1aa44(%rip), %rsi     # 0x2d8a9
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
leaq 0x1a919(%rip), %rsi     # 0x2d79b
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
incl %esi
movq %rax, %rdi
callq 0x7590
movq %r14, %rdi
callq 0x7190
leaq 0x1a9e6(%rip), %rsi     # 0x2d88f
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
movslq 0x310(%rbx), %rax
movb $0x75, %cl
jmp 0x12d3a
cmpb $0x75, 0x342(%rbx,%rax)
leaq 0x1a9cd(%rip), %rax     # 0x2d8a9
leaq 0x1a9ce(%rip), %r15     # 0x2d8b1
cmoveq %rax, %r15
pushq $0x75
popq %rax
pushq $0x69
popq %rbp
cmovel %eax, %ebp
movq %r14, %rdi
callq 0x7190
movq %rax, %rdi
movq %r15, %rsi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
leaq 0x1a883(%rip), %rsi     # 0x2d79b
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
incl %esi
movq %rax, %rdi
callq 0x7590
movslq 0x310(%rbx), %rax
movb %bpl, 0x341(%rbx,%rax)
movslq 0x310(%rbx), %rax
movb $0x75, 0x342(%rbx,%rax)
movq %r14, %rdi
callq 0x7190
leaq 0x1a95b(%rip), %rsi     # 0x2d8b8
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
jmp 0x12d4f
leaq 0x1a918(%rip), %rsi     # 0x2d897
jmp 0x12f88
leaq 0x1a929(%rip), %rsi     # 0x2d8b1
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
leaq 0x1a7f6(%rip), %rsi     # 0x2d79b
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
incl %esi
movq %rax, %rdi
callq 0x7590
movq %r14, %rdi
callq 0x7190
leaq 0x1a8c3(%rip), %rsi     # 0x2d88f
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
movslq 0x310(%rbx), %rax
movb $0x69, %cl
jmp 0x12d3a