// File: menhits[P]phplus/src/AstNode.cpp
// Function: AstFuncBody::resolveAction()
void AstFuncBody::resolveAction()
{
	setTypesInput();
	Namespace subNs=ns->makeChildAndFrame(nameHint.empty()?"unnamed function's namespace":nameHint+"'s namespace");
	subNs->setInput(leftTypeNode->getReturnType()->getSubType(), rightTypeNode->getReturnType()->getSubType());
	bodyNode->setInput(subNs, true, Void, Void);
	Type funcReturnType=returnTypeNode->getReturnType()->getSubType();
	if (funcReturnType->isWhatev())
	{
		funcReturnType=funcReturnType->actuallyIs(bodyNode->getReturnType());
	}
	action=functionAction(bodyNode->makeCopy(true), funcReturnType, subNs->getStackFrame());
}

// Assembly:
subq $0x198, %rsp            # imm = 0x198
movq %rdi, 0x190(%rsp)
movq 0x190(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x1b740
movq 0x50(%rsp), %rdi
addq $0x70, %rdi
callq 0x1a6a0
movq 0x50(%rsp), %rdi
movq %rax, 0x58(%rsp)
addq $0x8, %rdi
callq 0xb610
movb $0x0, 0x15e(%rsp)
testb $0x1, %al
jne 0x13e90
jmp 0x13ec7
leaq 0x15f(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0xb690
movq 0x48(%rsp), %rdx
movb $0x1, 0x15e(%rsp)
leaq 0xbd279(%rip), %rsi     # 0xd112f
leaq 0x160(%rsp), %rdi
callq 0xb4c0
jmp 0x13ec5
jmp 0x13ee8
movq 0x50(%rsp), %rsi
addq $0x8, %rsi
leaq 0xbd268(%rip), %rdx     # 0xd113f
leaq 0x160(%rsp), %rdi
callq 0x1ba50
jmp 0x13ee6
jmp 0x13ee8
movq 0x58(%rsp), %rsi
leaq 0x180(%rsp), %rdi
leaq 0x160(%rsp), %rdx
callq 0x39e60
jmp 0x13f04
leaq 0x160(%rsp), %rdi
callq 0xb6e8
testb $0x1, 0x15e(%rsp)
jne 0x13f1d
jmp 0x13f2a
leaq 0x15f(%rsp), %rdi
callq 0xb3f0
leaq 0x180(%rsp), %rdi
callq 0x1a6a0
movq 0x50(%rsp), %rdi
movq %rax, 0x40(%rsp)
addq $0x88, %rdi
callq 0x1a5f0
movq %rax, %rsi
leaq 0x128(%rsp), %rdi
callq 0x1aec0
jmp 0x13f5f
leaq 0x128(%rsp), %rdi
callq 0x1a660
movq %rax, %rsi
movq (%rsi), %rax
movq 0x48(%rax), %rax
leaq 0x138(%rsp), %rdi
callq *%rax
jmp 0x13f82
movq 0x50(%rsp), %rdi
addq $0x90, %rdi
callq 0x1a5f0
movq %rax, %rsi
leaq 0x108(%rsp), %rdi
callq 0x1aec0
jmp 0x13fa5
leaq 0x108(%rsp), %rdi
callq 0x1a660
movq %rax, %rsi
movq (%rsi), %rax
movq 0x48(%rax), %rax
leaq 0x118(%rsp), %rdi
callq *%rax
jmp 0x13fc8
movq 0x40(%rsp), %rdi
leaq 0x138(%rsp), %rsi
leaq 0x118(%rsp), %rdx
callq 0x3a460
jmp 0x13fe4
leaq 0x118(%rsp), %rdi
callq 0x1a950
leaq 0x108(%rsp), %rdi
callq 0x1a950
leaq 0x138(%rsp), %rdi
callq 0x1a950
leaq 0x128(%rsp), %rdi
callq 0x1a950
movq 0x50(%rsp), %rdi
addq $0xa0, %rdi
callq 0x1a5f0
movq %rax, 0x20(%rsp)
leaq 0xf8(%rsp), %rdi
movq %rdi, 0x28(%rsp)
leaq 0x180(%rsp), %rsi
callq 0x1a8f0
leaq 0x104459(%rip), %rsi    # 0x1184a8
movq %rsi, 0x18(%rsp)
leaq 0xe8(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x1a920
movq 0x18(%rsp), %rsi
leaq 0xd8(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x1a920
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %r8
movl $0x1, %edx
callq 0x1a6f0
jmp 0x1409d
leaq 0xd8(%rsp), %rdi
callq 0x1a950
leaq 0xe8(%rsp), %rdi
callq 0x1a950
leaq 0xf8(%rsp), %rdi
callq 0x1a6e0
movq 0x50(%rsp), %rdi
addq $0x98, %rdi
callq 0x1a5f0
movq %rax, %rsi
leaq 0xb8(%rsp), %rdi
callq 0x1aec0
jmp 0x140e7
leaq 0xb8(%rsp), %rdi
callq 0x1a660
movq %rax, %rsi
movq (%rsi), %rax
movq 0x48(%rax), %rax
leaq 0xc8(%rsp), %rdi
callq *%rax
jmp 0x1410a
leaq 0xb8(%rsp), %rdi
callq 0x1a950
leaq 0xc8(%rsp), %rdi
callq 0x1a660
movq %rax, %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movb %al, 0x17(%rsp)
jmp 0x14136
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0x14143
jmp 0x1436d
leaq 0xc8(%rsp), %rdi
callq 0x1a660
movq 0x50(%rsp), %rdi
movq %rax, 0x8(%rsp)
addq $0xa0, %rdi
callq 0x1a5f0
movq %rax, %rsi
leaq 0x98(%rsp), %rdi
callq 0x1aec0
jmp 0x14178
movq 0x8(%rsp), %rsi
movq (%rsi), %rax
movq (%rax), %rax
leaq 0xa8(%rsp), %rdi
leaq 0x98(%rsp), %rdx
callq *%rax
jmp 0x14197
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x1bae0
leaq 0xa8(%rsp), %rdi
callq 0x1a950
leaq 0x98(%rsp), %rdi
callq 0x1a950
jmp 0x1436d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x14202
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
leaq 0x160(%rsp), %rdi
callq 0xb6e8
testb $0x1, 0x15e(%rsp)
jne 0x1420e
jmp 0x1421b
leaq 0x15f(%rsp), %rdi
callq 0xb3f0
jmp 0x144b3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x144a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x142b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x142a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x1429c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
leaq 0x118(%rsp), %rdi
callq 0x1a950
leaq 0x108(%rsp), %rdi
callq 0x1a950
leaq 0x138(%rsp), %rdi
callq 0x1a950
leaq 0x128(%rsp), %rdi
callq 0x1a950
jmp 0x144a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x1a950
leaq 0xe8(%rsp), %rdi
callq 0x1a950
leaq 0xf8(%rsp), %rdi
callq 0x1a6e0
jmp 0x144a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
leaq 0xb8(%rsp), %rdi
callq 0x1a950
jmp 0x144a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x14499
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x1a950
jmp 0x14499
movq 0x50(%rsp), %rdi
addq $0xa0, %rdi
callq 0x1a5f0
movq %rax, %rsi
movq (%rsi), %rax
movq 0x20(%rax), %rax
leaq 0x80(%rsp), %rdi
movl $0x1, %edx
callq *%rax
jmp 0x14399
leaq 0x70(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x1a920
leaq 0x180(%rsp), %rdi
callq 0x1a6a0
movq %rax, %rsi
leaq 0x60(%rsp), %rdi
callq 0x1bb10
jmp 0x143c7
leaq 0x88(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0x60(%rsp), %rcx
callq 0xb7bf0
jmp 0x143e8
movq 0x50(%rsp), %rdi
addq $0x48, %rdi
leaq 0x88(%rsp), %rsi
callq 0x1ac90
leaq 0x88(%rsp), %rdi
callq 0x1acc0
leaq 0x60(%rsp), %rdi
callq 0x1bb40
leaq 0x70(%rsp), %rdi
callq 0x1a950
leaq 0x80(%rsp), %rdi
callq 0x1b3f0
leaq 0xc8(%rsp), %rdi
callq 0x1a950
leaq 0x180(%rsp), %rdi
callq 0x1a6e0
addq $0x198, %rsp            # imm = 0x198
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
jmp 0x14482
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x150(%rsp)
movl %eax, 0x14c(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x1bb40
leaq 0x70(%rsp), %rdi
callq 0x1a950
leaq 0x80(%rsp), %rdi
callq 0x1b3f0
leaq 0xc8(%rsp), %rdi
callq 0x1a950
leaq 0x180(%rsp), %rdi
callq 0x1a6e0
movq 0x150(%rsp), %rdi
callq 0xb680