// File: /workspace/github_cpp_makefile_star2_O3/menhits[P]phplus/src/StackFrame.cpp
// Function: StackFrame::setInput(std::shared_ptr<TypeBase>, std::shared_ptr<TypeBase>)
void StackFrame::setInput(Type left, Type right)
{
	if (inputSet)
	{
		error.log("StackFrame::setInput called multiple times", INTERNAL_ERROR);
	}
	else
	{
		if (left->isCreatable())
		{
			leftInputOffset=frameSize;
			leftInputIndex=members.size();
			addMember(left);
		}
		else if (left!=Void)
		{
			throw PhplusError("stack frame left input set to "+left->getString()+", which is neither creatable nore a normal void", INTERNAL_ERROR);
		}
		
		if (right->isCreatable())
		{
			rightInputOffset=frameSize;
			rightInputIndex=members.size();
			addMember(right);
		}
		else if (right!=Void)
		{
			throw PhplusError("stack frame right input set to "+right->getString()+", which is neither creatable nore a normal void", INTERNAL_ERROR);
		}
		
		inputSet=true;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf0, %rsp
cmpb $0x1, 0x20(%rdi)
jne 0x5347c
leaq 0xe0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x27eae(%rip), %rsi     # 0x7b2ca
leaq 0x27ed1(%rip), %rdx     # 0x7b2f4
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
callq 0xdfa8
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x46ece(%rip), %rdi     # 0x9a313
movq %rbx, %rsi
movl $0x3, %edx
callq 0x1fc46
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x53461
callq 0xdce4
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x53674
callq 0xa2b0
jmp 0x53674
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq (%rsi), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
testb %al, %al
je 0x534dc
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rcx
movq %rcx, 0x30(%rbx)
subq (%rbx), %rax
shrq $0x4, %rax
movl %eax, 0x24(%rbx)
movq (%r12), %rax
movq %rax, 0x10(%rsp)
movq 0x8(%r12), %rax
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x53562
movq 0x46add(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x5355e
incl 0x8(%rax)
jmp 0x53562
movq (%r12), %rax
leaq 0x46f19(%rip), %rcx     # 0x9a400
cmpq (%rcx), %rax
je 0x5357e
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
movq (%r12), %rsi
movq (%rsi), %rax
leaq 0x20(%rsp), %rdi
callq *0x8(%rax)
leaq 0x27de2(%rip), %rsi     # 0x7b2f5
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x158ca
leaq 0x27deb(%rip), %rsi     # 0x7b314
leaq 0x50(%rsp), %rdi
callq 0xa560
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x53684
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x53697
lock
incl 0x8(%rax)
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x53278
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5357e
callq 0xdce4
movq (%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
testb %al, %al
je 0x535d2
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rcx
movq %rcx, 0x38(%rbx)
subq (%rbx), %rax
shrq $0x4, %rax
movl %eax, 0x28(%rbx)
movq (%r15), %rax
movq %rax, (%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x53656
movq 0x469e7(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x53652
incl 0x8(%rax)
jmp 0x53656
movq (%r15), %rax
leaq 0x46e24(%rip), %rcx     # 0x9a400
cmpq (%rcx), %rax
je 0x53670
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
movq (%r15), %rsi
movq (%rsi), %rax
leaq 0x20(%rsp), %rdi
callq *0x8(%rax)
leaq 0x27d3d(%rip), %rsi     # 0x7b344
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x158ca
leaq 0x27cf7(%rip), %rsi     # 0x7b314
leaq 0x50(%rsp), %rdi
callq 0xa560
leaq 0x80(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x536ee
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x536fe
lock
incl 0x8(%rax)
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x53278
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x53670
callq 0xdce4
movb $0x1, 0x20(%rbx)
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
movq 0x8(%rax), %rdx
leaq 0x90(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
leaq 0xc0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
movq %r14, %rdi
movl $0x3, %edx
callq 0x203f4
xorl %ebp, %ebp
leaq 0x43f5b(%rip), %rsi     # 0x97638
leaq -0x3ebbe(%rip), %rdx    # 0x14b26
movq %r14, %rdi
callq 0xa4f0
jmp 0x53750
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
leaq 0xb0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
movq %r14, %rdi
movl $0x3, %edx
callq 0x203f4
xorl %ebp, %ebp
leaq 0x43ef7(%rip), %rsi     # 0x97638
leaq -0x3ec22(%rip), %rdx    # 0x14b26
movq %r14, %rdi
callq 0xa4f0
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x53765
callq 0xdce4
movq 0x70(%rsp), %rdi
jmp 0x5378b
jmp 0x53797
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
testq %rdi, %rdi
je 0x53783
callq 0xdce4
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x5379d
callq 0xa2b0
jmp 0x5379d
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x537b0
callq 0xa2b0
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x537c3
callq 0xa2b0
testb %bpl, %bpl
jne 0x537e9
jmp 0x53835
jmp 0x537cc
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x537e9
callq 0xa2b0
jmp 0x537e9
jmp 0x537e6
movq %rax, %rbx
movq %r14, %rdi
callq 0xa240
jmp 0x53835
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x53805
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x53835
callq 0xdce4
jmp 0x53835
movq %rax, %rbx
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x53823
callq 0xdce4
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x53835
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510
nop