// File: /workspace/github_cpp_makefile_star2_O1/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 $0xc8, %rsp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x3314f(%rip), %r13     # 0x99400
movq (%r13), %rcx
movq 0x8(%r13), %rax
movq %rcx, 0x20(%rsp)
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x662dd
movq 0x32cd9(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x662d9
incl 0x8(%rax)
jmp 0x662dd
lock
incl 0x8(%rax)
movq (%r13), %rcx
movq 0x8(%r13), %rax
movq %rcx, 0x10(%rsp)
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x66309
movq 0x32cad(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x66305
incl 0x8(%rax)
jmp 0x66309
lock
incl 0x8(%rax)
movq (%r13), %rcx
movq 0x8(%r13), %rax
movq %rcx, (%rsp)
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x66334
movq 0x32c82(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x66330
incl 0x8(%rax)
jmp 0x66334
lock
incl 0x8(%rax)
leaq 0x20(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %rsp, %rcx
movq %rbx, %rdi
callq 0x5e6ec
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x66358
callq 0xdcba
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x66367
callq 0xdcba
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x66376
callq 0xdcba
leaq 0x322c3(%rip), %rax     # 0x98640
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
movq (%r15), %rax
movq %rax, 0x78(%rbx)
leaq 0x80(%rbx), %r14
addq $0x8, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xde72
movq (%r12), %rax
movq %rax, 0x88(%rbx)
leaq 0x90(%rbx), %r15
addq $0x8, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xde72
movq 0x78(%rbx), %rax
movq 0x28(%rax), %rax
leaq 0x33045(%rip), %rcx     # 0x99420
cmpq (%rcx), %rax
je 0x6644c
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x15717(%rip), %rsi     # 0x7bb0a
leaq 0x15750(%rip), %rdx     # 0x7bb4a
leaq 0xa8(%rsp), %rdi
callq 0xdf6a
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x32efa(%rip), %rdi     # 0x99313
leaq 0xa8(%rsp), %rsi
movl $0x3, %edx
callq 0x1f926
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6643a
callq 0xdcba
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6644c
callq 0xa2b0
leaq 0x78(%rbx), %rax
movq (%rax), %rax
movq (%r13), %rcx
cmpq %rcx, 0x38(%rax)
jne 0x66463
cmpq %rcx, 0x48(%rax)
je 0x664cf
leaq 0x98(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x156d5(%rip), %rsi     # 0x7bb4b
leaq 0x1571c(%rip), %rdx     # 0x7bb99
leaq 0x88(%rsp), %rdi
callq 0xdf6a
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x32e77(%rip), %rdi     # 0x99313
leaq 0x88(%rsp), %rsi
movl $0x3, %edx
callq 0x1f926
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x664bd
callq 0xdcba
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x664cf
callq 0xa2b0
movq 0x88(%rbx), %rax
movq (%r13), %rcx
cmpq %rcx, 0x38(%rax)
jne 0x664e6
cmpq %rcx, 0x48(%rax)
je 0x66546
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x156a4(%rip), %rsi     # 0x7bb9a
leaq 0x156e1(%rip), %rdx     # 0x7bbde
leaq 0x68(%rsp), %rdi
callq 0xdf6a
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x32dfa(%rip), %rdi     # 0x99313
leaq 0x68(%rsp), %rsi
movl $0x3, %edx
callq 0x1f926
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x66537
callq 0xdcba
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x66546
callq 0xa2b0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6656a
callq 0xdcba
movq 0xa8(%rsp), %rdi
jmp 0x665b0
jmp 0x665bc
movq %rax, %r12
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x66588
callq 0xdcba
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
jne 0x665b5
jmp 0x665bf
jmp 0x665bc
movq %rax, %r12
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x665a8
callq 0xdcba
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x665bf
callq 0xa2b0
jmp 0x665bf
movq %rax, %r12
movq (%r15), %rdi
testq %rdi, %rdi
je 0x665cc
callq 0xdcba
movq (%r14), %rdi
testq %rdi, %rdi
je 0x665d9
callq 0xdcba
movq %rbx, %rdi
callq 0x5f370
movq %r12, %rdi
callq 0xa510
movq %rax, %r12
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x665fb
callq 0xdcba
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6660a
callq 0xdcba
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x665e1
callq 0xdcba
jmp 0x665e1
nop