// File: /workspace/github_cpp_makefile_star2_O2/menhits[P]phplus/src/AstNode.cpp
// Function: AstTupleType::resolveReturnType()
void AstTupleType::resolveReturnType()
{
	TupleTypeMaker maker;
	
	for (unsigned i=0; i<subTypes.size(); i++)
	{
		subTypes[i].type->setInput(ns, false, Void, Void);
		
		if (subTypes[i].name)
		{
			maker.add(subTypes[i].name->getText(), subTypes[i].type->getReturnType()->getSubType());
		}
		else
		{
			maker.add(subTypes[i].type->getReturnType()->getSubType());
		}
	}
	
	returnType=maker.get(true)->getMeta();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3e21a
leaq 0x70(%rbx), %rax
movq %rax, 0x20(%rsp)
xorl %edi, %edi
leaq 0x98(%rsp), %r15
movl %edi, %edi
movq 0x88(%rbx), %rcx
movq 0x90(%rbx), %rax
subq %rcx, %rax
cqto
pushq $0x18
popq %rsi
idivq %rsi
cmpq %rdi, %rax
jbe 0x11578
movq %rbx, %r14
movq %rdi, 0x28(%rsp)
imulq $0x18, %rdi, %r13
movq 0x10(%rcx,%r13), %rax
movq %rax, 0x30(%rsp)
leaq 0x48(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x12bf6
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
leaq 0x68f7e(%rip), %r12     # 0x7a3e0
movq %r12, %rsi
callq 0x12c0a
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x12c0a
movq 0x30(%rsp), %rdi
leaq 0x48(%rsp), %rsi
xorl %edx, %edx
movq %rbx, %rcx
movq %rbp, %r8
callq 0x116a8
leaq 0x80(%rsp), %rdi
callq 0xc984
leaq 0x90(%rsp), %rdi
callq 0xc984
leaq 0x50(%rsp), %rdi
callq 0xc984
movq %r14, %rbx
movq 0x88(%r14), %rax
movq (%rax,%r13), %rsi
testq %rsi, %rsi
je 0x11527
movq %r15, %rdi
callq 0xa3b0
movq 0x88(%rbx), %rax
movq 0x10(%rax,%r13), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11a44
movq 0x10(%rsp), %rsi
movq (%rsi), %rax
leaq 0x68(%rsp), %r14
movq %r14, %rdi
callq *0x48(%rax)
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3e26e
leaq 0x70(%rsp), %rdi
callq 0xc984
leaq 0x18(%rsp), %rdi
callq 0xc984
movq %r15, %rdi
callq 0xa558
jmp 0x1156c
addq %r13, %rax
movq 0x10(%rax), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11a44
movq 0x10(%rsp), %rsi
movq (%rsi), %rax
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq *0x48(%rax)
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x3e368
leaq 0x60(%rsp), %rdi
callq 0xc984
leaq 0x18(%rsp), %rdi
callq 0xc984
movq 0x28(%rsp), %rdi
incl %edi
jmp 0x11407
leaq 0x38(%rsp), %rdi
leaq 0x8(%rsp), %rsi
pushq $0x1
popq %rdx
callq 0x3e5ae
movq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x3dc60
addq $0x58, %rbx
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x135a2
leaq 0x18(%rsp), %rdi
callq 0xc984
leaq 0x40(%rsp), %rdi
callq 0xc984
leaq 0x8(%rsp), %rdi
callq 0x12ede
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
jmp 0x11658
jmp 0x11601
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0xc984
jmp 0x115f8
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0x11658
jmp 0x11601
movq %rax, %rbx
jmp 0x1165d
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xc984
jmp 0x11618
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xc984
jmp 0x11627
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0xa558
jmp 0x1165d
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xc984
leaq 0x90(%rsp), %rdi
callq 0xc984
leaq 0x50(%rsp), %rdi
callq 0xc984
leaq 0x8(%rsp), %rdi
callq 0x12ede
movq %rbx, %rdi
callq 0xa500
nop