// File: /workspace/github_cpp_makefile_star2_O2/menhits[P]phplus/src/Actions/IfAction.cpp
// Function: IfAction::IfAction(std::shared_ptr<ActionData>, std::shared_ptr<ActionData>)
IfAction(Action conditionIn, Action ifActionIn)
		:ActionData(Void, Void, Void)
	{
		condition=conditionIn;
		ifAction=ifActionIn;
		
		if (condition->getReturnType()!=Bool)
		{
			error.log("IfAction created with condition action that does not return Bool", INTERNAL_ERROR);
		}
		
		if (condition->getInLeftType()!=Void || condition->getInRightType()!=Void)
		{
			error.log("IfAction created with condition action that takes in something other then Void", INTERNAL_ERROR);
		}
		
		if (ifAction->getInLeftType()!=Void || ifAction->getInRightType()!=Void)
		{
			error.log("IfAction created with action that takes in something other then Void", INTERNAL_ERROR);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdx, 0x8(%rsp)
movq %rsi, %rbp
movq %rdi, %rbx
leaq 0x30a59(%rip), %r13     # 0x7a3e0
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0x12c0a
leaq 0x58(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x12c0a
leaq 0x48(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x12c0a
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x44704
leaq 0x50(%rsp), %rdi
callq 0xc984
leaq 0x60(%rsp), %rdi
callq 0xc984
leaq 0x70(%rsp), %rdi
callq 0xc984
leaq 0x2fc63(%rip), %rax     # 0x79650
movq %rax, (%rbx)
leaq 0x78(%rbx), %r12
leaq 0x88(%rbx), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x12bbe
movq %r15, %rdi
movq 0x8(%rsp), %rsi
callq 0x12bbe
movq 0x78(%rbx), %rcx
movq 0x28(%rcx), %rax
leaq 0x309d0(%rip), %rdx     # 0x7a400
cmpq (%rdx), %rax
leaq 0x309a6(%rip), %r14     # 0x7a3e0
je 0x49a92
leaq 0x1006f(%rip), %rsi     # 0x59ab2
leaq 0xb8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xa150
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x30894(%rip), %rdi     # 0x7a2fb
leaq 0xb8(%rsp), %rsi
pushq $0x3
popq %rdx
callq 0x19a6e
leaq 0x38(%rsp), %rdi
callq 0xc984
leaq 0xb8(%rsp), %rdi
callq 0xa558
movq (%r12), %rcx
movq 0x38(%rcx), %rax
cmpq (%r14), %rax
jne 0x49aa1
cmpq %rax, 0x48(%rcx)
je 0x49af6
leaq 0x1004b(%rip), %rsi     # 0x59af3
leaq 0x98(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xa150
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x3082f(%rip), %rdi     # 0x7a2fb
leaq 0x98(%rsp), %rsi
pushq $0x3
popq %rdx
callq 0x19a6e
leaq 0x28(%rsp), %rdi
callq 0xc984
leaq 0x98(%rsp), %rdi
callq 0xa558
movq (%r14), %rax
movq (%r15), %rcx
cmpq %rax, 0x38(%rcx)
jne 0x49b05
cmpq %rax, 0x48(%rcx)
je 0x49b4e
leaq 0x10036(%rip), %rsi     # 0x59b42
leaq 0x78(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xa150
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x307ce(%rip), %rdi     # 0x7a2fb
leaq 0x78(%rsp), %rsi
pushq $0x3
popq %rdx
callq 0x19a6e
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x78(%rsp), %rdi
callq 0xa558
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0xc984
leaq 0xb8(%rsp), %rdi
jmp 0x49ba4
jmp 0x49bab
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x78(%rsp), %rdi
jmp 0x49ba4
jmp 0x49bab
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0xc984
leaq 0x98(%rsp), %rdi
callq 0xa558
jmp 0x49bae
movq %rax, %r14
leaq 0x90(%rbx), %rdi
callq 0xc984
leaq 0x80(%rbx), %rdi
callq 0xc984
movq %rbx, %rdi
callq 0x44e86
movq %r14, %rdi
callq 0xa500
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0xc984
leaq 0x60(%rsp), %rdi
callq 0xc984
leaq 0x70(%rsp), %rdi
callq 0xc984
jmp 0x49bce
nop