// File: /workspace/github_cpp_makefile_star2_O2/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, %rbx
callq 0x11dc6
movq 0x10(%rbx), %r15
movq 0x70(%rbx), %r14
testq %r15, %r15
je 0xddf6
leaq 0x8(%rbx), %rsi
leaq 0x46402(%rip), %rdx     # 0x541e9
leaq 0xc8(%rsp), %rdi
callq 0x11fb8
jmp 0xde0f
leaq 0x463dc(%rip), %rsi     # 0x541d9
leaq 0xc8(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xa150
leaq 0x38(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
movq %r14, %rsi
callq 0x1b53a
leaq 0xc8(%rsp), %rdi
callq 0xa558
testq %r15, %r15
movq 0x38(%rsp), %r14
movq 0x88(%rbx), %rsi
leaq 0x20(%rsp), %rdi
callq 0x11a44
movq 0x20(%rsp), %rsi
movq (%rsi), %rax
leaq 0x68(%rsp), %rdi
callq *0x48(%rax)
movq 0x90(%rbx), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11a44
movq 0x10(%rsp), %rsi
movq (%rsi), %rax
leaq 0x58(%rsp), %rdi
callq *0x48(%rax)
leaq 0x68(%rsp), %rsi
leaq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x1b96c
leaq 0x60(%rsp), %rdi
callq 0xc984
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x70(%rsp), %rdi
callq 0xc984
leaq 0x28(%rsp), %rdi
callq 0xc984
movq 0xa0(%rbx), %r14
leaq 0xb8(%rsp), %r15
leaq 0x38(%rsp), %rsi
movq %r15, %rdi
callq 0x12bf6
leaq 0x6c508(%rip), %r12     # 0x7a3e0
leaq 0xa8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x12c0a
leaq 0x98(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x12c0a
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rcx
movq %rbp, %r8
callq 0x116a8
leaq 0xa0(%rsp), %rdi
callq 0xc984
leaq 0xb0(%rsp), %rdi
callq 0xc984
leaq 0xc0(%rsp), %rdi
callq 0xc984
movq 0x98(%rbx), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11a44
movq 0x10(%rsp), %rsi
movq (%rsi), %rax
leaq 0x20(%rsp), %rdi
callq *0x48(%rax)
leaq 0x18(%rsp), %rdi
callq 0xc984
movq 0x20(%rsp), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
testb %al, %al
je 0xdfbe
movq 0x20(%rsp), %r14
movq 0xa0(%rbx), %rsi
leaq 0x48(%rsp), %rdi
callq 0x11a44
movq (%r14), %rax
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r14, %rsi
callq *(%rax)
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x135a2
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x50(%rsp), %rdi
callq 0xc984
movq 0xa0(%rbx), %rsi
movq (%rsi), %rax
leaq 0x30(%rsp), %rdi
pushq $0x1
popq %rdx
callq *0x20(%rax)
leaq 0x88(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x12c0a
movq 0x38(%rsp), %rsi
addq $0x40, %rsi
leaq 0x78(%rsp), %r15
movq %r15, %rdi
callq 0x12e1a
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0x48684
addq $0x48, %rbx
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x13816
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x80(%rsp), %rdi
callq 0xc984
leaq 0x90(%rsp), %rdi
callq 0xc984
leaq 0x30(%rsp), %rdi
callq 0x11c58
leaq 0x28(%rsp), %rdi
callq 0xc984
leaq 0x40(%rsp), %rdi
callq 0xc984
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0xe110
jmp 0xe117
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xc984
leaq 0x90(%rsp), %rdi
callq 0xc984
leaq 0x30(%rsp), %rdi
callq 0x11c58
jmp 0xe11a
jmp 0xe117
jmp 0xe117
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0xe11f
jmp 0xe136
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0xc984
leaq 0xb0(%rsp), %rdi
callq 0xc984
leaq 0xc0(%rsp), %rdi
jmp 0xe11f
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0xc984
jmp 0xe0fc
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xc984
jmp 0xe10b
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xc984
jmp 0xe11a
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xc984
leaq 0x40(%rsp), %rdi
callq 0xc984
movq %rbx, %rdi
callq 0xa500
movq %rax, %rbx
jmp 0xe124
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xa558
jmp 0xe150
movq %rax, %rbx
testq %r15, %r15
jmp 0xe12e
nop