// File: /workspace/github_cpp_makefile_star2_O3/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 0x57fea
movq 0x20(%rax), %rsi
movq (%rsi), %rax
movq %rbx, %rdi
movq %r15, %rdx
movq %rbp, %rcx
callq *0x18(%rax)
jmp 0x5819d
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 0x585be
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
movq %rbp, %rsi
callq 0x1aab2
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 0x5804f
callq 0xa2b0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x5805e
callq 0xdce4
movq %r15, 0x38(%rsp)
leaq 0x2494e(%rip), %rsi     # 0x7c9b8
movq %rbx, %rdi
callq 0xa560
movq 0x48(%r12), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
shrq $0x4, %rcx
imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB
testl %ecx, %ecx
jle 0x5818e
xorl %r14d, %r14d
leaq 0x50(%rsp), %r13
xorl %r15d, %r15d
testq %r14, %r14
je 0x580ba
movq %rbx, %rdi
leaq 0x22608(%rip), %rsi     # 0x7a6b5
callq 0xa560
movq 0x48(%r12), %rax
movq (%rax), %rax
movq %rbp, %rbx
movq 0x20(%rax,%r14), %rbp
leaq 0x60(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0xde0c
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 0x5813c
callq 0xa2b0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x5814e
callq 0xdce4
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x58162
callq 0xa2b0
incq %r15
movq 0x48(%r12), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
shrq $0x4, %rcx
imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB
movslq %ecx, %rcx
addq $0x30, %r14
cmpq %rcx, %r15
jl 0x5809e
leaq 0x2330c(%rip), %rsi     # 0x7b4a1
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 0x581cd
callq 0xa2b0
jmp 0x581cd
movq %rax, %r14
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x58230
callq 0xdce4
jmp 0x58230
jmp 0x581e4
jmp 0x581e4
jmp 0x581e4
movq %rax, %r14
jmp 0x58230
movq %rax, %r14
jmp 0x5821c
movq %rax, %r14
jmp 0x5820a
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x5820a
callq 0xa2b0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x5821c
callq 0xdce4
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x58230
callq 0xa2b0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
cmpq 0x30(%rsp), %rdi
je 0x58244
callq 0xa2b0
movq %r14, %rdi
callq 0xa510