// File: /workspace/github_cpp_makefile_star2_O1/menhits[P]phplus/src/Type.cpp
// Function: TupleType::getCppLiteral[abi:cxx11](void*, CppProgram*)
string getCppLiteral(void * data, CppProgram * prog)
	{
		if (subTypes->size()==1)
		{
			return (*subTypes)[0].type->getCppLiteral(data, prog);
		}
		
		string out;
		out+=prog->getTypeCode(shared_from_this());
		
		out+="(";
		
		for (int i=0; i<int(subTypes->size()); i++)
		{
			if (i)
				out+=", ";
			
			out+=(*subTypes)[i].type->getCppLiteral((char*)data+getSubType((*subTypes)[i].name).offset, prog);
		}
		
		out+=")";
		
		return out;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %rbp
movq %rdx, %r15
movq %rdi, %rbx
movq 0x48(%rsi), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
cmpq $0x30, %rcx
jne 0x573b6
movq 0x20(%rax), %rsi
movq (%rsi), %rax
movq %rbx, %rdi
movq %r15, %rdx
movq %rbp, %rcx
callq *0x18(%rax)
jmp 0x57567
movq %rsi, %r12
leaq 0x10(%rbx), %r14
movq %r14, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
addq $0x8, %rsi
leaq 0x40(%rsp), %rdi
movq %rbx, 0x8(%rsp)
movq %r14, 0x30(%rsp)
callq 0x579a6
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
movq %rbp, %rsi
callq 0x1a7f4
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0xa110
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5741b
callq 0xa2b0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x5742a
callq 0xdcba
movq %r15, 0x38(%rsp)
leaq 0x245c2(%rip), %rsi     # 0x7b9f8
movq %rbx, %rdi
callq 0xa560
movq 0x48(%r12), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x4, %rcx
imull $0xaaaaaaab, %ecx, %eax # imm = 0xAAAAAAAB
testl %eax, %eax
jle 0x57558
xorl %r14d, %r14d
leaq 0x50(%rsp), %r13
xorl %r15d, %r15d
movq %rbp, %rbx
testq %r14, %r14
je 0x57480
movq 0x8(%rsp), %rdi
leaq 0x2227a(%rip), %rsi     # 0x796f5
callq 0xa560
movq 0x48(%r12), %rax
movq (%rax), %rcx
movq 0x20(%rcx,%r14), %rbp
movq (%rax), %rax
leaq 0x60(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0xdde2
movq (%r12), %rax
leaq 0x70(%rsp), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq *0x50(%rax)
movq 0x70(%rsp), %rdx
addq 0x38(%rsp), %rdx
movq (%rbp), %rax
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq %rbx, %rbp
movq %rbx, %rcx
callq *0x18(%rax)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xa110
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x5750a
callq 0xa2b0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x5751c
callq 0xdcba
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x57530
callq 0xa2b0
incq %r15
movq 0x48(%r12), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x4, %rcx
imull $0xaaaaaaab, %ecx, %eax # imm = 0xAAAAAAAB
cltq
addq $0x30, %r14
cmpq %rax, %r15
jl 0x57467
leaq 0x22f82(%rip), %rsi     # 0x7a4e1
movq %rbx, %rdi
callq 0xa560
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x57597
callq 0xa2b0
jmp 0x57597
movq %rax, %r14
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x575fa
callq 0xdcba
jmp 0x575fa
jmp 0x575ae
jmp 0x575ae
jmp 0x575ae
movq %rax, %r14
jmp 0x575fa
movq %rax, %r14
jmp 0x575e6
movq %rax, %r14
jmp 0x575d4
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x575d4
callq 0xa2b0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x575e6
callq 0xdcba
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x575fa
callq 0xa2b0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
cmpq 0x30(%rsp), %rdi
je 0x5760e
callq 0xa2b0
movq %r14, %rdi
callq 0xa510