// File: /workspace/github_cpp_makefile_star2_O1/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 0x526b0
leaq 0xe0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x27cba(%rip), %rsi     # 0x7a30a
leaq 0x27cdd(%rip), %rdx     # 0x7a334
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
callq 0xdf6a
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x46c9a(%rip), %rdi     # 0x99313
movq %rbx, %rsi
movl $0x3, %edx
callq 0x1f926
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x52695
callq 0xdcba
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x528a8
callq 0xa2b0
jmp 0x528a8
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq (%rsi), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
testb %al, %al
je 0x52710
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 0x52796
movq 0x468a9(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x52792
incl 0x8(%rax)
jmp 0x52796
movq (%r12), %rax
leaq 0x46ce5(%rip), %rcx     # 0x99400
cmpq (%rcx), %rax
je 0x527b2
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
movq (%r12), %rsi
movq (%rsi), %rax
leaq 0x30(%rsp), %rdi
callq *0x8(%rax)
leaq 0x27bee(%rip), %rsi     # 0x7a335
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1562b
leaq 0x27bf7(%rip), %rsi     # 0x7a354
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 0x528b8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x528cb
lock
incl 0x8(%rax)
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x524b8
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x527b2
callq 0xdcba
movq (%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
testb %al, %al
je 0x52806
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 0x5288a
movq 0x467b3(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x52886
incl 0x8(%rax)
jmp 0x5288a
movq (%r15), %rax
leaq 0x46bf0(%rip), %rcx     # 0x99400
cmpq (%rcx), %rax
je 0x528a4
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
movq (%r15), %rsi
movq (%rsi), %rax
leaq 0x30(%rsp), %rdi
callq *0x8(%rax)
leaq 0x27b49(%rip), %rsi     # 0x7a384
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1562b
leaq 0x27b03(%rip), %rsi     # 0x7a354
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 0x52922
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x52932
lock
incl 0x8(%rax)
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x524b8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x528a4
callq 0xdcba
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 0x200e4
xorl %ebp, %ebp
leaq 0x43d27(%rip), %rsi     # 0x96638
leaq -0x3e020(%rip), %rdx    # 0x148f8
movq %r14, %rdi
callq 0xa4f0
jmp 0x52984
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 0x200e4
xorl %ebp, %ebp
leaq 0x43cc3(%rip), %rsi     # 0x96638
leaq -0x3e084(%rip), %rdx    # 0x148f8
movq %r14, %rdi
callq 0xa4f0
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x52999
callq 0xdcba
movq 0x70(%rsp), %rdi
jmp 0x529bf
jmp 0x529cb
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
testq %rdi, %rdi
je 0x529b7
callq 0xdcba
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x529d1
callq 0xa2b0
jmp 0x529d1
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x529ee
callq 0xa2b0
jmp 0x529ee
jmp 0x529e8
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52a0b
callq 0xa2b0
jmp 0x52a0b
jmp 0x52a05
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x52a5c
movq %r14, %rdi
callq 0xa240
jmp 0x52a5c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x52a2c
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x52a5c
callq 0xdcba
jmp 0x52a5c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x52a4a
callq 0xdcba
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x52a5c
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510