// File: /workspace/github_cpp_makefile_star2_O1/menhits[P]phplus/src/Type.cpp
// Function: TupleType::actuallyIs(std::shared_ptr<TypeBase>)
Type actuallyIs(Type target)
	{
		if (target->getType()!=TUPLE)
		{
			if ((*subTypes).size()==1)
			{
				return (*subTypes)[0].type->actuallyIs(target);
			}
			else
			{
				throw PhplusError("actuallyIs called on tuple with target that is not tuple", INTERNAL_ERROR);
			}
		}
		
		TupleTypeMaker maker;
		
		auto targetTypes=target->getAllSubTypes();
		
		for (int i=0; i<(int)subTypes->size(); i++)
		{
			maker.add((*subTypes)[i].name, (*subTypes)[i].type->actuallyIs((*targetTypes)[i].type));
		}
		
		return maker.get(true);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq (%rdx), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
cmpl $0x7, %eax
jne 0x56e12
movq %rsp, %rdi
callq 0x54d88
movq (%rbx), %rdi
movq (%rdi), %rax
callq *0x58(%rax)
movq %rax, %r15
movq %r12, 0x28(%rsp)
movq 0x48(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
shrq $0x4, %rcx
imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB
testl %ecx, %ecx
jle 0x56de2
xorl %ebx, %ebx
leaq 0x30(%rsp), %r12
leaq 0x50(%rsp), %r13
xorl %ebp, %ebp
leaq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq (%rax,%rbx), %rsi
movq 0x8(%rax,%rbx), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xdde2
movq 0x48(%r14), %rax
movq (%rax), %rax
movq 0x20(%rax,%rbx), %rsi
movq (%r15), %rax
movq 0x20(%rax,%rbx), %rcx
movq %rcx, 0x8(%rsp)
movq 0x28(%rax,%rbx), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x56d6a
movq 0x4224c(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x56d66
incl 0x8(%rax)
jmp 0x56d6a
lock
incl 0x8(%rax)
movq (%rsi), %rax
movq %r13, %rdi
leaq 0x8(%rsp), %rdx
callq *(%rax)
movq %rsp, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x54dd4
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x56d94
callq 0xdcba
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x56da3
callq 0xdcba
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x56db7
callq 0xa2b0
incq %rbp
movq 0x48(%r14), %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, %rbx
cmpq %rcx, %rbp
jl 0x56d0f
movq %rsp, %rsi
movq 0x28(%rsp), %r12
movq %r12, %rdi
movl $0x1, %edx
callq 0x55306
movq (%rsp), %rbx
testq %rbx, %rbx
je 0x56e71
movq %rbx, %rdi
callq 0x16a16
movq %rbx, %rdi
callq 0xa2b0
jmp 0x56e71
movq 0x48(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
cmpq $0x30, %rcx
jne 0x56e86
movq 0x20(%rax), %rsi
movq (%rbx), %rax
movq %rax, 0x18(%rsp)
movq 0x8(%rbx), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x56e55
movq 0x42161(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x56e51
incl 0x8(%rax)
jmp 0x56e55
lock
incl 0x8(%rax)
movq (%rsi), %rax
leaq 0x18(%rsp), %rdx
movq %r12, %rdi
callq *(%rax)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x56e71
callq 0xdcba
movq %r12, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x23a6d(%rip), %rsi     # 0x7a913
leaq 0x23a9e(%rip), %rdx     # 0x7a94b
leaq 0x78(%rsp), %rdi
callq 0xdf6a
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0x78(%rsp), %rsi
movq %r14, %rdi
movl $0x3, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x3f758(%rip), %rsi     # 0x96638
leaq -0x425ef(%rip), %rdx    # 0x148f8
movq %r14, %rdi
callq 0xa4f0
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x56f01
callq 0xdcba
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x56f18
callq 0xa2b0
jmp 0x56f18
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x56f84
movq %r14, %rdi
callq 0xa240
jmp 0x56f84
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x56f84
callq 0xdcba
jmp 0x56f84
jmp 0x56f3d
movq %rax, %rbx
jmp 0x56f7c
movq %rax, %rbx
jmp 0x56f59
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x56f59
callq 0xdcba
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x56f68
callq 0xdcba
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x56f7c
callq 0xa2b0
movq %rsp, %rdi
callq 0x169e8
movq %rbx, %rdi
callq 0xa510