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

			std::string label_id = labelGen(contxt);
			std::string ELSE = "$ELSE" + label_id;
			std::string IF = "$IF" + label_id;
			std::string END = "$END" + label_id;
			
			
			if( LogicalORExpression != NULL && ExpressioN == NULL && ConditionalExpressionPtr == NULL) {
				LogicalORExpression->render_asm(file,contxt);
				
				
			}
			else if (LogicalORExpression != NULL && ExpressioN != NULL && ConditionalExpressionPtr != NULL) {
				
				contxt.rhs_of_expression = true;
				LogicalORExpression->render_asm(file,contxt);
				contxt.rhs_of_expression = false;				
				file << std::endl << "\tbeq\t$2,$0," << ELSE;
				file << std::endl << "\tnop";
				file << std::endl << IF << ":";
				contxt.rhs_of_expression = true;
				ExpressioN->render_asm(file,contxt);
				contxt.rhs_of_expression = false;
				file << "\n\tb " << END;
				file << std::endl << "\tnop";
				file << std::endl << ELSE << ":";
				contxt.rhs_of_expression = true;
				ConditionalExpressionPtr->render_asm(file,contxt);
				contxt.rhs_of_expression = false;
				file << "\n\tb " << END;
				file << std::endl << "\tnop";
			}
			if(contxt.function){
				file << std::endl << END << ":";
			}
			
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0xda27
leaq 0x1febb(%rip), %rsi     # 0x2d66f
leaq 0x28(%rsp), %rdi
movq %r12, %rdx
callq 0xdaa7
leaq 0x1fead(%rip), %rsi     # 0x2d675
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xdaa7
leaq 0x1fe9b(%rip), %rsi     # 0x2d679
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xdaa7
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rax
testq %rdi, %rdi
setne %dl
movq 0x18(%r15), %rcx
movq %rax, %rsi
orq %rcx, %rsi
sete %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0xd822
movq %rbx, %rsi
movq %r14, %rdx
callq 0xdb1e
jmp 0xd980
testq %rcx, %rcx
sete %cl
testq %rax, %rax
sete %al
testq %rdi, %rdi
sete %dl
orb %al, %dl
orb %cl, %dl
jne 0xd980
movb $0x1, 0x1d1(%r14)
movq %rbx, %rsi
movq %r14, %rdx
callq 0xdb1e
movb $0x0, 0x1d1(%r14)
movq %rbx, %rdi
callq 0x7190
leaq 0x1fe16(%rip), %rsi     # 0x2d67e
movq %rax, %rdi
callq 0x7310
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x72d0
movq %rbx, %rdi
callq 0x7190
leaq 0x1fd70(%rip), %rsi     # 0x2d5fc
movq %rax, %rdi
callq 0x7310
movq %rbx, %rdi
callq 0x7190
leaq 0x68(%rsp), %rsi
movq %rax, %rdi
callq 0x72d0
leaq 0x1fb46(%rip), %rsi     # 0x2d3f6
movq %rax, %rdi
callq 0x7310
movb $0x1, 0x1d1(%r14)
movq 0x10(%r15), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xe864
movb $0x0, 0x1d1(%r14)
leaq 0x1fdac(%rip), %rsi     # 0x2d68a
movq %rbx, %rdi
callq 0x7310
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x72d0
movq %rbx, %rdi
callq 0x7190
leaq 0x1fcfa(%rip), %rsi     # 0x2d5fc
movq %rax, %rdi
callq 0x7310
movq %rbx, %rdi
callq 0x7190
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x72d0
leaq 0x1fad0(%rip), %rsi     # 0x2d3f6
movq %rax, %rdi
callq 0x7310
movb $0x1, 0x1d1(%r14)
movq 0x18(%r15), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd786
movb $0x0, 0x1d1(%r14)
leaq 0x1fd36(%rip), %rsi     # 0x2d68a
movq %rbx, %rdi
callq 0x7310
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x72d0
movq %rbx, %rdi
callq 0x7190
leaq 0x1fc84(%rip), %rsi     # 0x2d5fc
movq %rax, %rdi
callq 0x7310
cmpb $0x1, 0x218(%r14)
jne 0xd9ae
movq %rbx, %rdi
callq 0x7190
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x72d0
leaq 0x1fa50(%rip), %rsi     # 0x2d3f6
movq %rax, %rdi
callq 0x7310
leaq 0x8(%rsp), %rdi
callq 0x7170
leaq 0x68(%rsp), %rdi
callq 0x7170
leaq 0x28(%rsp), %rdi
callq 0x7170
leaq 0x48(%rsp), %rdi
callq 0x7170
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0xda01
movq %rax, %rbx
jmp 0xda0b
movq %rax, %rbx
jmp 0xda15
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x7170
leaq 0x68(%rsp), %rdi
callq 0x7170
leaq 0x28(%rsp), %rdi
callq 0x7170
leaq 0x48(%rsp), %rdi
callq 0x7170
movq %rbx, %rdi
callq 0x75c0