// File: /workspace/github_cpp_makefile_star2_O2/menhits[P]phplus/src/Actions/FunctionAction.cpp
// Function: FunctionAction::FunctionAction(std::shared_ptr<ActionData>, std::shared_ptr<StackFrame>)
FunctionAction(Action actionIn, shared_ptr<StackFrame> stackFameIn):
		ActionData(actionIn->getReturnType(), stackFameIn->getLeftInType(), stackFameIn->getRightInType())
	{
		stackFame=stackFameIn;
		action=actionIn;
		node=nullptr;
		
		setDescription("function ("+getInLeftType()->getString()+"."+getInRightType()->getString()+" > "+getReturnType()->getString()+")");
		
		if (action->getInLeftType()!=Void || action->getInRightType()!=Void)
		{
			throw PhplusError(action->getDescription() + " put into function even though its inputs are not void", INTERNAL_ERROR);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
movq (%rsi), %rsi
addq $0x28, %rsi
leaq 0x20(%rsp), %rdi
callq 0x12c0a
movq (%r13), %rsi
leaq 0x10(%rsp), %rdi
callq 0x3cac4
movq (%r13), %rsi
movq %rsp, %rdi
callq 0x3caf2
leaq 0x20(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %rsp, %rcx
movq %rbx, %rdi
callq 0x44704
leaq 0x8(%rsp), %rdi
callq 0xc984
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x28(%rsp), %rdi
callq 0xc984
leaq 0x30dc9(%rip), %rax     # 0x795a8
movq %rax, (%rbx)
leaq 0x78(%rbx), %rdi
leaq 0x88(%rbx), %r15
leaq 0x98(%rbx), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
andq $0x0, 0x98(%rbx)
movq %r13, %rsi
callq 0x1e030
movq %r15, %rdi
movq %r12, %rsi
callq 0x12bbe
movq %r14, %rdi
xorl %esi, %esi
callq 0x12dbe
movq 0x38(%rbx), %rsi
movq (%rsi), %rax
leaq 0xa8(%rsp), %rdi
callq *0x8(%rax)
leaq 0x11157(%rip), %rsi     # 0x59997
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x11ff8
leaq 0xf3c8(%rip), %rdx      # 0x57c24
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xc882
movq 0x48(%rbx), %rsi
movq (%rsi), %rax
leaq 0x88(%rsp), %rdi
callq *0x8(%rax)
leaq 0x108(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x1205e
leaq 0x110fb(%rip), %rdx     # 0x599a2
leaq 0x128(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0xc882
movq 0x28(%rbx), %rsi
movq (%rsi), %rax
leaq 0x68(%rsp), %rdi
callq *0x8(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x128(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x1205e
leaq 0xfbb0(%rip), %rdx      # 0x58499
leaq 0x148(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0xc882
leaq 0x58(%rbx), %rdi
leaq 0x148(%rsp), %rsi
callq 0xa1d0
leaq 0x148(%rsp), %rdi
callq 0xa558
leaq 0x30(%rsp), %rdi
callq 0xa558
leaq 0x68(%rsp), %rdi
callq 0xa558
leaq 0x128(%rsp), %rdi
callq 0xa558
leaq 0x108(%rsp), %rdi
callq 0xa558
leaq 0x88(%rsp), %rdi
callq 0xa558
leaq 0xe8(%rsp), %rdi
callq 0xa558
leaq 0xc8(%rsp), %rdi
callq 0xa558
leaq 0xa8(%rsp), %rdi
callq 0xa558
movq (%r15), %rax
movq 0x38(%rax), %rcx
leaq 0x31a57(%rip), %rdx     # 0x7a3e0
cmpq (%rdx), %rcx
jne 0x489a6
cmpq %rcx, 0x48(%rax)
jne 0x489a6
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r12
movq (%r15), %rsi
movq (%rsi), %rax
leaq 0x30(%rsp), %rdi
callq *0x18(%rax)
leaq 0x10fe0(%rip), %rdx     # 0x599a6
leaq 0x168(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0xc882
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0x168(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r12, %rdi
callq 0x19f06
xorl %ebp, %ebp
leaq 0x2eb96(%rip), %rsi     # 0x77598
leaq -0x37377(%rip), %rdx    # 0x11692
movq %r12, %rdi
callq 0xa4e0
movq %rax, %r15
leaq 0x58(%rsp), %rdi
callq 0xc984
leaq 0x168(%rsp), %rdi
callq 0xa558
jmp 0x48a33
movq %rax, %r15
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0xa558
testb %bpl, %bpl
jne 0x48a4a
jmp 0x48add
movq %rax, %r15
movq %r12, %rdi
callq 0xa230
jmp 0x48add
movq %rax, %r15
leaq 0x148(%rsp), %rdi
callq 0xa558
jmp 0x48a6c
movq %rax, %r15
leaq 0x30(%rsp), %rdi
callq 0xa558
jmp 0x48a7b
movq %rax, %r15
leaq 0x68(%rsp), %rdi
callq 0xa558
jmp 0x48a8a
movq %rax, %r15
leaq 0x128(%rsp), %rdi
callq 0xa558
jmp 0x48a9c
movq %rax, %r15
leaq 0x108(%rsp), %rdi
callq 0xa558
leaq 0x88(%rsp), %rdi
callq 0xa558
leaq 0xe8(%rsp), %rdi
callq 0xa558
leaq 0xc8(%rsp), %rdi
callq 0xa558
leaq 0xa8(%rsp), %rdi
callq 0xa558
movq %r14, %rdi
callq 0x11c58
leaq 0x90(%rbx), %rdi
callq 0xc984
leaq 0x80(%rbx), %rdi
callq 0xc984
movq %rbx, %rdi
callq 0x44e86
jmp 0x48b4b
movq %rax, %r15
jmp 0x48aa9
movq %rax, %r15
jmp 0x48ab6
movq %rax, %r15
jmp 0x48ac3
movq %rax, %r15
jmp 0x48ad0
movq %rax, %r15
jmp 0x48add
movq %rax, %r15
leaq 0x8(%rsp), %rdi
callq 0xc984
jmp 0x48b32
movq %rax, %r15
leaq 0x18(%rsp), %rdi
callq 0xc984
jmp 0x48b41
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0xc984
movq %r15, %rdi
callq 0xa500
nop