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

// Assembly:
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, 0x70(%rsp)
movq %rdx, 0x78(%rsp)
movq %rcx, 0x80(%rsp)
movq %rdi, 0x1b0(%rsp)
movq %rsi, 0x1a8(%rsp)
movq %rdx, 0x1a0(%rsp)
movq %rcx, 0x198(%rsp)
movq 0x1b0(%rsp), %rax
movq %rax, 0x90(%rsp)
leaq 0x595b8(%rip), %rsi     # 0x1184a8
movq %rsi, 0x88(%rsp)
leaq 0x188(%rsp), %rdi
movq %rdi, 0x98(%rsp)
callq 0x1a920
movq 0x88(%rsp), %rsi
leaq 0x178(%rsp), %rdi
movq %rdi, 0xa0(%rsp)
callq 0x1a920
movq 0x88(%rsp), %rsi
leaq 0x168(%rsp), %rdi
movq %rdi, 0xa8(%rsp)
callq 0x1a920
movq 0x90(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq 0xa8(%rsp), %rcx
callq 0xaf570
jmp 0xbef6e
leaq 0x168(%rsp), %rdi
callq 0x1a950
leaq 0x178(%rsp), %rdi
callq 0x1a950
leaq 0x188(%rsp), %rdi
callq 0x1a950
movq 0x90(%rsp), %rdi
leaq 0x58894(%rip), %rax     # 0x117838
movq %rax, (%rdi)
addq $0x78, %rdi
movq %rdi, 0x60(%rsp)
callq 0x1bcc0
movq 0x90(%rsp), %rdi
addq $0x88, %rdi
movq %rdi, 0x50(%rsp)
callq 0x1bcc0
movq 0x90(%rsp), %rdi
addq $0x98, %rdi
movq %rdi, 0x58(%rsp)
callq 0x1bcc0
movq 0x70(%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x1a510
movq 0x50(%rsp), %rdi
movq 0x80(%rsp), %rsi
callq 0x1a510
movq 0x58(%rsp), %rdi
movq 0x78(%rsp), %rsi
callq 0x1a510
movq 0x60(%rsp), %rdi
callq 0x1bb50
movq %rax, %rdi
callq 0x1bed0
movq %rax, 0x68(%rsp)
jmp 0xbf030
movq 0x68(%rsp), %rdi
leaq 0x5948c(%rip), %rsi     # 0x1184c8
callq 0x1be90
testb $0x1, %al
jne 0xbf04a
jmp 0xbf188
leaq 0x137(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0xb690
movq 0x48(%rsp), %rdx
leaq 0x185a1(%rip), %rsi     # 0xd7609
leaq 0x138(%rsp), %rdi
callq 0xb4c0
jmp 0xbf077
xorl %eax, %eax
movl %eax, %esi
leaq 0x120(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0xfbe0
movq 0x40(%rsp), %rcx
leaq 0x5932a(%rip), %rdi     # 0x1183c3
leaq 0x138(%rsp), %rsi
movl $0x3, %edx
callq 0x34c70
jmp 0xbf0ad
leaq 0x120(%rsp), %rdi
callq 0xfc00
leaq 0x138(%rsp), %rdi
callq 0xb6e8
leaq 0x137(%rsp), %rdi
callq 0xb3f0
jmp 0xbf188
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
leaq 0x168(%rsp), %rdi
callq 0x1a950
leaq 0x178(%rsp), %rdi
callq 0x1a950
leaq 0x188(%rsp), %rdi
callq 0x1a950
jmp 0xbf45e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
jmp 0xbf433
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
jmp 0xbf176
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
leaq 0x120(%rsp), %rdi
callq 0xfc00
leaq 0x138(%rsp), %rdi
callq 0xb6e8
leaq 0x137(%rsp), %rdi
callq 0xb3f0
jmp 0xbf433
movq 0x90(%rsp), %rdi
addq $0x78, %rdi
callq 0x1bb50
movq %rax, %rdi
callq 0x3f060
movq %rax, 0x38(%rsp)
jmp 0xbf1a8
movq 0x38(%rsp), %rdi
leaq 0x592f4(%rip), %rsi     # 0x1184a8
callq 0x1be90
testb $0x1, %al
jne 0xbf1f7
movq 0x90(%rsp), %rdi
addq $0x78, %rdi
callq 0x1bb50
movq %rax, %rdi
callq 0x3f070
movq %rax, 0x30(%rsp)
jmp 0xbf1dd
movq 0x30(%rsp), %rdi
leaq 0x592bf(%rip), %rsi     # 0x1184a8
callq 0x1be90
testb $0x1, %al
jne 0xbf1f7
jmp 0xbf2d9
leaq 0xff(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0xb690
movq 0x28(%rsp), %rdx
leaq 0x18437(%rip), %rsi     # 0xd764c
leaq 0x100(%rsp), %rdi
callq 0xb4c0
jmp 0xbf224
xorl %eax, %eax
movl %eax, %esi
leaq 0xe8(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xfbe0
movq 0x20(%rsp), %rcx
leaq 0x5917d(%rip), %rdi     # 0x1183c3
leaq 0x100(%rsp), %rsi
movl $0x3, %edx
callq 0x34c70
jmp 0xbf25a
leaq 0xe8(%rsp), %rdi
callq 0xfc00
leaq 0x100(%rsp), %rdi
callq 0xb6e8
leaq 0xff(%rsp), %rdi
callq 0xb3f0
jmp 0xbf2d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
jmp 0xbf2c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
leaq 0xe8(%rsp), %rdi
callq 0xfc00
leaq 0x100(%rsp), %rdi
callq 0xb6e8
leaq 0xff(%rsp), %rdi
callq 0xb3f0
jmp 0xbf433
movq 0x90(%rsp), %rdi
addq $0x88, %rdi
callq 0x1bb50
movq %rax, %rdi
callq 0x3f060
movq %rax, 0x18(%rsp)
jmp 0xbf2fc
movq 0x18(%rsp), %rdi
leaq 0x591a0(%rip), %rsi     # 0x1184a8
callq 0x1be90
testb $0x1, %al
jne 0xbf34e
movq 0x90(%rsp), %rdi
addq $0x88, %rdi
callq 0x1bb50
movq %rax, %rdi
callq 0x3f070
movq %rax, 0x10(%rsp)
jmp 0xbf334
movq 0x10(%rsp), %rdi
leaq 0x59168(%rip), %rsi     # 0x1184a8
callq 0x1be90
testb $0x1, %al
jne 0xbf34e
jmp 0xbf42b
leaq 0xc7(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xb690
movq 0x8(%rsp), %rdx
leaq 0x18331(%rip), %rsi     # 0xd769d
leaq 0xc8(%rsp), %rdi
callq 0xb4c0
jmp 0xbf37b
xorl %eax, %eax
movl %eax, %esi
leaq 0xb0(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xfbe0
movq (%rsp), %rcx
leaq 0x59028(%rip), %rdi     # 0x1183c3
leaq 0xc8(%rsp), %rsi
movl $0x3, %edx
callq 0x34c70
jmp 0xbf3af
leaq 0xb0(%rsp), %rdi
callq 0xfc00
leaq 0xc8(%rsp), %rdi
callq 0xb6e8
leaq 0xc7(%rsp), %rdi
callq 0xb3f0
jmp 0xbf42b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
jmp 0xbf41c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0xfc00
leaq 0xc8(%rsp), %rdi
callq 0xb6e8
leaq 0xc7(%rsp), %rdi
callq 0xb3f0
jmp 0xbf433
addq $0x1b8, %rsp            # imm = 0x1B8
retq
movq 0x58(%rsp), %rdi
callq 0x1acc0
movq 0x50(%rsp), %rdi
callq 0x1acc0
movq 0x60(%rsp), %rdi
callq 0x1acc0
movq 0x90(%rsp), %rdi
callq 0xb0270
movq 0x160(%rsp), %rdi
callq 0xb680
nopl (%rax,%rax)