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

			if(BIT_AND==NULL && EqualitYExpression != NULL){
				EqualitYExpression->render_asm(file,contxt);
				//postfix_ops(contxt, file);
			}
			if(contxt.LocalArray && contxt.reading && contxt.function){
					if(AndExpressionPtr != NULL && EqualitYExpression != NULL){
						AndExpressionPtr->render_asm(file,contxt);				
						EqualitYExpression->render_asm(file,contxt);
					}
					if(contxt.ArraySize.size()>=2){
						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(AndExpressionPtr != NULL && !contxt.reading && EqualitYExpression != NULL && BIT_AND != NULL){ 
				AndExpressionPtr->render_asm(file,contxt);
				
				contxt.Regs++;
				EqualitYExpression->render_asm(file,contxt);
				
				if(contxt.enum_constant){
					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){
					typePromotion(contxt.Regs,contxt.Regs+1,file,contxt);
					file << std::endl << "\tand\t$" << contxt.Regs <<", $" << contxt.Regs << ", $" << contxt.Regs + 1;
					//postfix_ops(contxt, file);
					contxt.regType[contxt.Regs]='i';
					contxt.regType[contxt.Regs+1]='i';
				}
				else 
				{
					if(!contxt.sizeof_ && !contxt.enum_constant){
						contxt.eval[contxt.Regs] = contxt.eval[contxt.Regs] & contxt.eval[contxt.Regs+1];
					}
					
					
				}
				contxt.Regs--;
			}
		}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
cmpq $0x0, 0x10(%rdi)
jne 0x10261
movq 0x8(%r15), %rdi
testq %rdi, %rdi
je 0x10261
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10476
cmpb $0x1, 0x74(%rbx)
jne 0x102ed
cmpb $0x1, 0x21b(%rbx)
jne 0x102ed
cmpb $0x1, 0x218(%rbx)
jne 0x102ed
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x102a7
cmpq $0x0, 0x8(%r15)
je 0x102a7
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10234
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10476
movq 0x78(%rbx), %rcx
movq 0x80(%rbx), %rax
movq %rax, %rdx
subq %rcx, %rdx
cmpq $0x5, %rdx
jb 0x1046c
movl -0x4(%rcx,%rdx), %edi
andl -0x8(%rcx,%rdx), %edi
leaq 0xc(%rsp), %rsi
movl %edi, (%rsi)
addq $-0x8, %rax
movq %rax, 0x80(%rbx)
addq $0x78, %rbx
movq %rbx, %rdi
callq 0xfa9e
jmp 0x1046c
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x1046c
cmpb $0x0, 0x21b(%rbx)
jne 0x1046c
cmpq $0x0, 0x8(%r15)
je 0x1046c
cmpq $0x0, 0x10(%r15)
je 0x1046c
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10234
incl 0x310(%rbx)
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10476
cmpb $0x1, 0x14d(%rbx)
jne 0x10389
movq 0x150(%rbx), %rcx
movq 0x158(%rbx), %rax
movq %rax, %rdx
subq %rcx, %rdx
cmpq $0x5, %rdx
jb 0x10389
leaq 0x150(%rbx), %rdi
movl -0x4(%rcx,%rdx), %r8d
andl -0x8(%rcx,%rdx), %r8d
leaq 0x8(%rsp), %rsi
movl %r8d, (%rsi)
addq $-0x8, %rax
movq %rax, 0x158(%rbx)
callq 0xfa9e
movb 0x1f8(%rbx), %al
cmpb $0x1, 0x218(%rbx)
jne 0x103a5
testb $0x1, %al
jne 0x103a5
cmpb $0x0, 0x14d(%rbx)
je 0x103d4
testb $0x1, %al
jne 0x10466
cmpb $0x0, 0x14d(%rbx)
jne 0x10466
movslq 0x310(%rbx), %rax
movl 0x5fc(%rbx,%rax,4), %ecx
andl %ecx, 0x5f8(%rbx,%rax,4)
jmp 0x10466
movl 0x310(%rbx), %edi
leal 0x1(%rdi), %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xfb3c
movq %r14, %rdi
callq 0x7190
leaq 0x1d35b(%rip), %rsi     # 0x2d752
movq %rax, %rdi
callq 0x7310
movl 0x310(%rbx), %esi
movq %rax, %rdi
callq 0x7590
leaq 0x1d387(%rip), %r14     # 0x2d79b
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 $0x69, %cl
movb %cl, 0x341(%rbx,%rax)
movslq 0x310(%rbx), %rax
movb %cl, 0x342(%rax,%rbx)
decl 0x310(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq