// File: /workspace/github_cpp_makefile_star2_O1/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 $0x98, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
callq 0x54d88
movq 0x88(%rbx), %rax
cmpq %rax, 0x90(%rbx)
je 0x1476f
movl $0x1, %r13d
xorl %ecx, %ecx
leaq 0x84e87(%rip), %rbp     # 0x99400
leaq 0x78(%rsp), %r15
leaq 0x88(%rsp), %r12
leaq (%rcx,%rcx,2), %r14
movq 0x10(%rax,%r14,8), %rdi
movq 0x70(%rbx), %rax
movq %rax, 0x38(%rsp)
movq 0x78(%rbx), %rax
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x145bb
movq 0x849fb(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x145b7
incl 0x8(%rax)
jmp 0x145bb
lock
incl 0x8(%rax)
movq (%rbp), %rcx
movq 0x8(%rbp), %rax
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x145e7
movq 0x849cf(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x145e3
incl 0x8(%rax)
jmp 0x145e7
lock
incl 0x8(%rax)
movq (%rbp), %rcx
movq 0x8(%rbp), %rax
movq %rcx, 0x18(%rsp)
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x14613
movq 0x849a3(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x1460f
incl 0x8(%rax)
jmp 0x14613
lock
incl 0x8(%rax)
leaq 0x38(%rsp), %rsi
xorl %edx, %edx
leaq 0x28(%rsp), %rcx
leaq 0x18(%rsp), %r8
callq 0x1491e
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x14638
callq 0xdcba
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x14647
callq 0xdcba
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x14656
callq 0xdcba
movq 0x88(%rbx), %rcx
movq (%rcx,%r14,8), %rax
testq %rax, %rax
je 0x146f2
leaq 0x68(%rsp), %rcx
movq %rcx, 0x58(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xdde2
movq 0x88(%rbx), %rax
movq 0x10(%rax,%r14,8), %rsi
movq %rsp, %rdi
callq 0x14dfe
movq (%rsp), %rsi
movq (%rsi), %rax
movq %r12, %rdi
callq *0x48(%rax)
leaq 0x10(%rsp), %rdi
leaq 0x58(%rsp), %rsi
movq %r12, %rdx
callq 0x54dd4
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x146cd
callq 0xdcba
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x146dc
callq 0xdcba
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x1473d
callq 0xa2b0
jmp 0x1473d
leaq (%rcx,%r14,8), %rax
movq 0x10(%rax), %rsi
movq %rsp, %rdi
callq 0x14dfe
movq (%rsp), %rsi
movq (%rsi), %rax
movq %r15, %rdi
callq *0x48(%rax)
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x54f74
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1472e
callq 0xdcba
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1473d
callq 0xdcba
movl %r13d, %ecx
movq 0x88(%rbx), %rax
movq 0x90(%rbx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
incl %r13d
cmpq %rcx, %rdx
ja 0x14586
leaq 0x48(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movl $0x1, %edx
callq 0x55306
movq 0x48(%rsp), %rsi
movq %rsp, %rdi
callq 0x545f4
movaps (%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%rsp)
movq 0x60(%rbx), %rdi
movups %xmm0, 0x58(%rbx)
testq %rdi, %rdi
je 0x147ad
callq 0xdcba
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x147bc
callq 0xdcba
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x147cb
callq 0xdcba
movq 0x10(%rsp), %rbx
testq %rbx, %rbx
je 0x147e5
movq %rbx, %rdi
callq 0x16a16
movq %rbx, %rdi
callq 0xa2b0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x50(%rsp), %rdi
jmp 0x14898
jmp 0x1486d
jmp 0x1486d
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x14822
callq 0xdcba
jmp 0x14822
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x14898
movq %rax, %rbx
jmp 0x14857
movq %rax, %rbx
jmp 0x14848
movq %rax, %rbx
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x14848
callq 0xdcba
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14857
callq 0xdcba
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x148a2
callq 0xa2b0
jmp 0x148a2
movq %rax, %rbx
jmp 0x148a2
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x14884
callq 0xdcba
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x14893
callq 0xdcba
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x148a2
callq 0xdcba
leaq 0x10(%rsp), %rdi
callq 0x169e8
movq %rbx, %rdi
callq 0xa510