// File: /workspace/github_cpp_makefile_star2_O2/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 $0xa8, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq (%rdx), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
cmpl $0x7, %eax
jne 0x3f89d
movq %r14, 0x8(%rsp)
movq %rsp, %rdi
callq 0x3e21a
movq (%rbx), %rdi
movq (%rdi), %rax
callq *0x58(%rax)
movq %rax, 0x18(%rsp)
movq %r12, 0x10(%rsp)
pushq $0x20
popq %r13
xorl %ebx, %ebx
leaq 0x88(%rsp), %r15
leaq 0x30(%rsp), %rbp
movq 0x8(%rsp), %r12
movq 0x48(%r12), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rax
subq %rcx, %rax
cqto
pushq $0x30
popq %rsi
idivq %rsi
cltq
cmpq %rax, %rbx
jge 0x3f8df
leaq (%rcx,%r13), %rsi
addq $-0x20, %rsi
movq %r15, %r14
movq %r15, %rdi
callq 0xa3b0
movq 0x48(%r12), %rax
movq (%rax), %rax
movq (%rax,%r13), %r12
movq 0x18(%rsp), %rax
movq (%rax), %rsi
addq %r13, %rsi
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x12c0a
movq (%r12), %rax
movq %rbp, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq *(%rax)
movq %rsp, %rdi
movq %r14, %r15
movq %r14, %rsi
movq %rbp, %rdx
callq 0x3e26e
leaq 0x38(%rsp), %rdi
callq 0xc984
leaq 0x28(%rsp), %rdi
callq 0xc984
movq %r15, %rdi
callq 0xa558
incq %rbx
addq $0x30, %r13
jmp 0x3f7f7
movq 0x48(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
cmpq $0x30, %rcx
jne 0x3f90f
movq 0x20(%rax), %r14
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x12c0a
movq (%r14), %rax
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq *(%rax)
leaq 0x48(%rsp), %rdi
callq 0xc984
jmp 0x3f8fa
movq %rsp, %rsi
pushq $0x1
popq %rdx
movq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0x3e5ae
movq %rsp, %rdi
callq 0x12ede
movq %r12, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r14
leaq 0x18faa(%rip), %rsi     # 0x588cb
leaq 0x68(%rsp), %rdi
movq %rsp, %rdx
callq 0xa150
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0x68(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r14, %rdi
callq 0x19f06
xorl %ebp, %ebp
leaq 0x37c43(%rip), %rsi     # 0x77598
leaq -0x2e2ca(%rip), %rdx    # 0x11692
movq %r14, %rdi
callq 0xa4e0
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0xc984
leaq 0x68(%rsp), %rdi
callq 0xa558
testb %bpl, %bpl
jne 0x3f985
jmp 0x3f9d6
movq %rax, %rbx
movq %r14, %rdi
callq 0xa230
jmp 0x3f9d6
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xc984
jmp 0x3f9d6
jmp 0x3f9cb
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xc984
jmp 0x3f9b2
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xc984
leaq 0x88(%rsp), %rdi
callq 0xa558
jmp 0x3f9ce
movq %rax, %rbx
movq %rsp, %rdi
callq 0x12ede
movq %rbx, %rdi
callq 0xa500