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

			if(EXCL_OR==NULL && ANDexpression != NULL){
				ANDexpression->render_asm(file,contxt);
			}
			if(contxt.LocalArray && contxt.reading && contxt.function){
				if(ExclusiveOrExpressionPtr != NULL && 	ANDexpression != NULL){
					ExclusiveOrExpressionPtr->render_asm(file,contxt);
					ANDexpression->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(ExclusiveOrExpressionPtr != NULL && !contxt.reading && ANDexpression != NULL && EXCL_OR != NULL) { 
				ExclusiveOrExpressionPtr->render_asm(file,contxt);
				contxt.Regs++;
				ANDexpression->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 << "\txor\t$" << contxt.Regs << ", $" << contxt.Regs << ", $" << contxt.Regs + 1;
					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 0x14053
movq 0x8(%r15), %rdi
testq %rdi, %rdi
je 0x14053
movq %r14, %rsi
movq %rbx, %rdx
callq 0x142c2
cmpb $0x1, 0x74(%rbx)
jne 0x140ef
cmpb $0x1, 0x21b(%rbx)
jne 0x140ef
cmpb $0x1, 0x218(%rbx)
jne 0x140ef
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x1409d
cmpq $0x0, 0x8(%r15)
je 0x1409d
movq %r14, %rsi
movq %rbx, %rdx
callq 0x14026
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x142c2
movq 0x78(%rbx), %rcx
movq 0x80(%rbx), %rax
movq %rax, %rsi
subq %rcx, %rsi
cmpq $0x5, %rsi
jb 0x142b8
movl -0x4(%rcx,%rsi), %edx
xorl -0x8(%rcx,%rsi), %edx
movl %edx, 0xc(%rsp)
leaq -0x8(%rax), %rsi
movq %rsi, 0x80(%rbx)
cmpq 0x88(%rbx), %rsi
je 0x14192
movl %edx, -0x8(%rax)
addq $-0x4, %rax
movq %rax, 0x80(%rbx)
jmp 0x142b8
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x142b8
cmpb $0x0, 0x21b(%rbx)
jne 0x142b8
cmpq $0x0, 0x8(%r15)
je 0x142b8
cmpq $0x0, 0x10(%r15)
je 0x142b8
movq %r14, %rsi
movq %rbx, %rdx
callq 0x14026
incl 0x310(%rbx)
movq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x142c2
cmpb $0x1, 0x14d(%rbx)
jne 0x141b9
movq 0x150(%rbx), %rcx
movq 0x158(%rbx), %rax
movq %rax, %rsi
subq %rcx, %rsi
cmpq $0x5, %rsi
jb 0x141b9
movl -0x4(%rcx,%rsi), %edx
xorl -0x8(%rcx,%rsi), %edx
movl %edx, 0x8(%rsp)
leaq -0x8(%rax), %rsi
movq %rsi, 0x158(%rbx)
cmpq 0x160(%rbx), %rsi
je 0x141a8
movl %edx, -0x8(%rax)
addq $-0x4, %rax
movq %rax, 0x158(%rbx)
jmp 0x141b9
addq $0x78, %rbx
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0x20a34
jmp 0x142b8
leaq 0x150(%rbx), %rdi
leaq 0x8(%rsp), %rdx
callq 0x20a34
cmpb $0x1, 0x218(%rbx)
jne 0x141d4
cmpb $0x0, 0x1f8(%rbx)
jne 0x141d4
cmpb $0x0, 0x14d(%rbx)
je 0x14208
cmpb $0x0, 0x1f8(%rbx)
jne 0x142b2
cmpb $0x0, 0x14d(%rbx)
jne 0x142b2
movslq 0x310(%rbx), %rax
movl 0x5fc(%rbx,%rax,4), %ecx
xorl %ecx, 0x5f8(%rbx,%rax,4)
jmp 0x142b2
movl 0x310(%rbx), %edi
leal 0x1(%rdi), %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x138f3
movq %r14, %rdi
callq 0x7180
movq %rax, %r14
leaq 0x23513(%rip), %rsi     # 0x37741
movl $0x6, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x310(%rbx), %esi
movq %r14, %rdi
callq 0x75c0
movq %rax, %r14
leaq 0x2353e(%rip), %r15     # 0x37791
movl $0x3, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x73a0
movl 0x310(%rbx), %esi
movq %r14, %rdi
callq 0x75c0
movq %rax, %r14
movl $0x3, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x73a0
movl 0x310(%rbx), %esi
incl %esi
movq %r14, %rdi
callq 0x75c0
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