// File: /workspace/github_cpp_makefile_star2_O1/menhits[P]phplus/src/Actions/BranchAction.cpp
// Function: RightBranchAction::RightBranchAction(std::shared_ptr<ActionData>, std::shared_ptr<ActionData>)
RightBranchAction(Action actionIn, Action rightInputIn)
		:ActionData(actionIn->getReturnType(), Void, Void)
	{
		if (!actionIn)
			throw PhplusError(string() + "branch action created sent null action", INTERNAL_ERROR);
			
		if (!rightInputIn)
			throw PhplusError(string() + "branch action created sent null rightInput", INTERNAL_ERROR);
		
		action=actionIn;
		rightInput=rightInputIn;
		
		if (!rightInput->getInLeftType()->matches(Void) || !rightInput->getInRightType()->matches(Void))
		{
			throw PhplusError(rightInput->getDescription() + " put into branch even though its inputs are not void", INTERNAL_ERROR);
		}
		
		if (!rightInput->getReturnType()->matches(action->getInRightType()))
		{
			throw PhplusError(rightInput->getDescription() + " return type is not the same as the right input of " + action->getDescription(), INTERNAL_ERROR);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x28(%rax), %rcx
movq %rcx, 0x70(%rsp)
movq 0x30(%rax), %rax
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x61663
movq 0x37953(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x6165f
incl 0x8(%rax)
jmp 0x61663
lock
incl 0x8(%rax)
leaq 0x37d96(%rip), %r12     # 0x99400
movq (%r12), %rcx
movq 0x8(%r12), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x61697
movq 0x3791f(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x61693
incl 0x8(%rax)
jmp 0x61697
lock
incl 0x8(%rax)
movq (%r12), %rcx
movq 0x8(%r12), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x616c4
movq 0x378f2(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x616c0
incl 0x8(%rax)
jmp 0x616c4
lock
incl 0x8(%rax)
leaq 0x70(%rsp), %rsi
leaq 0x60(%rsp), %rdx
leaq 0x50(%rsp), %rcx
movq %rbx, %rdi
callq 0x5e6ec
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x616ea
callq 0xdcba
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x616f9
callq 0xdcba
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x61708
callq 0xdcba
leaq 0x36c91(%rip), %rax     # 0x983a0
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
movq (%r15), %rax
testq %rax, %rax
je 0x6189b
cmpq $0x0, (%r14)
je 0x618fb
movq %rax, 0x78(%rbx)
leaq 0x80(%rbx), %rdi
addq $0x8, %r15
movq %r15, %rsi
callq 0xde72
movq (%r14), %rax
movq %rax, 0x88(%rbx)
leaq 0x90(%rbx), %rdi
addq $0x8, %r14
movq %r14, %rsi
callq 0xde72
movq 0x88(%rbx), %rax
movq 0x38(%rax), %rdi
movq (%r12), %rcx
movq 0x8(%r12), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x617a2
movq 0x37814(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x6179e
incl 0x8(%rax)
jmp 0x617a2
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %rsi
callq 0x548ce
movl %eax, %ebp
movb $0x1, %r14b
testb %al, %al
je 0x617fe
movq 0x88(%rbx), %rax
movq 0x48(%rax), %rdi
movq (%r12), %rcx
movq 0x8(%r12), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x617ed
movq 0x377c9(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x617e9
incl 0x8(%rax)
jmp 0x617ed
lock
incl 0x8(%rax)
leaq 0x30(%rsp), %rsi
callq 0x548ce
movl %eax, %r14d
xorb $0x1, %r14b
testb %bpl, %bpl
je 0x61812
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x61812
callq 0xdcba
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x61821
callq 0xdcba
testb %r14b, %r14b
jne 0x6195b
movq 0x78(%rbx), %rax
movq 0x88(%rbx), %rcx
movq 0x28(%rcx), %rdi
movq 0x48(%rax), %rcx
movq %rcx, 0x20(%rsp)
movq 0x50(%rax), %rax
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x61865
movq 0x37751(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x61861
incl 0x8(%rax)
jmp 0x61865
lock
incl 0x8(%rax)
leaq 0x20(%rsp), %rsi
callq 0x548ce
movl %eax, %ebp
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x61880
callq 0xdcba
testb %bpl, %bpl
je 0x619b4
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x19ef0(%rip), %rsi     # 0x7b7b7
movq %rsp, %rdi
callq 0xa560
leaq 0xd0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x61a18
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x61a2b
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x19eb7(%rip), %rsi     # 0x7b7de
movq %rsp, %rdi
callq 0xa560
leaq 0xb0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x61a85
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x61a98
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
movq 0x88(%rbx), %rsi
movq (%rsi), %rax
movq %rsp, %rdi
callq *0x18(%rax)
leaq 0x19e8a(%rip), %rsi     # 0x7b809
movq %rsp, %rdi
callq 0xa560
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x61af2
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x61b05
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
movq 0x88(%rbx), %rsi
movq (%rsi), %rax
leaq 0x148(%rsp), %rdi
callq *0x18(%rax)
leaq 0x19e61(%rip), %rsi     # 0x7b83e
leaq 0x148(%rsp), %rdi
callq 0xa560
leaq 0x78(%rbx), %rcx
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rdx
addq $0x10, %rdx
cmpq %rdx, %rsi
jne 0x61b5f
movups (%rdx), %xmm0
movups %xmm0, (%r12)
jmp 0x61b6b
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
leaq 0x110(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
movq %r15, %rdi
movl $0x3, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x34bc7(%rip), %rsi     # 0x96638
leaq -0x4d180(%rip), %rdx    # 0x148f8
movq %r15, %rdi
callq 0xa4f0
jmp 0x61bea
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
movq 0x8(%rax), %rdx
leaq 0xa0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
leaq 0x100(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
movq %r15, %rdi
movl $0x3, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x34b5a(%rip), %rsi     # 0x96638
leaq -0x4d1ed(%rip), %rdx    # 0x148f8
movq %r15, %rdi
callq 0xa4f0
jmp 0x61bea
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
leaq 0xf0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
movq %r15, %rdi
movl $0x3, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x34aed(%rip), %rsi     # 0x96638
leaq -0x4d25a(%rip), %rdx    # 0x148f8
movq %r15, %rdi
callq 0xa4f0
jmp 0x61bea
movq %rsi, (%rsp)
movq (%rdx), %rsi
movq %rsi, 0x10(%rsp)
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rdx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rcx), %rsi
movq (%rsi), %rax
leaq 0x128(%rsp), %rdi
callq *0x18(%rax)
leaq 0x168(%rsp), %rdi
movq %rsp, %rsi
leaq 0x128(%rsp), %rdx
callq 0x1572b
xorps %xmm0, %xmm0
leaq 0xe0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0x168(%rsp), %rsi
movq %r15, %rdi
movl $0x3, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x34a5d(%rip), %rsi     # 0x96638
leaq -0x4d2ea(%rip), %rdx    # 0x148f8
movq %r15, %rdi
callq 0xa4f0
movq %rax, %r14
movq 0xe8(%rsp), %rdi
testq %rdi, %rdi
je 0x61bff
callq 0xdcba
leaq 0x178(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x61c1d
callq 0xa2b0
jmp 0x61c1d
movq %rax, %r14
movb $0x1, %bpl
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x61c3b
callq 0xa2b0
jmp 0x61c3b
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x61c51
callq 0xa2b0
jmp 0x61c51
movq %rax, %r14
movb $0x1, %bpl
leaq 0x158(%rsp), %rax
jmp 0x61c8f
movq %rax, %r14
movq 0xf8(%rsp), %rdi
testq %rdi, %rdi
je 0x61c70
callq 0xdcba
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x61c8a
callq 0xa2b0
jmp 0x61c8a
movq %rax, %r14
movb $0x1, %bpl
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x61d1c
jmp 0x61d21
jmp 0x61ca3
movq %rax, %r14
movb $0x1, %bpl
jmp 0x61d21
movq %rax, %r14
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x61d3d
callq 0xdcba
jmp 0x61d3d
movq %rax, %r14
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x61cd8
callq 0xdcba
movq 0xa0(%rsp), %rdi
jmp 0x61d01
jmp 0x61d0d
movq %rax, %r14
movq 0x118(%rsp), %rdi
testq %rdi, %rdi
je 0x61cf9
callq 0xdcba
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x61d13
callq 0xa2b0
jmp 0x61d13
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x61d21
callq 0xa2b0
testb %bpl, %bpl
je 0x61d4c
movq %r15, %rdi
callq 0xa240
jmp 0x61d4c
movq %rax, %r14
movq 0x28(%rsp), %rdi
jmp 0x61d42
movq %rax, %r14
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x61d4c
callq 0xdcba
movq 0x90(%rbx), %rdi
testq %rdi, %rdi
je 0x61d5d
callq 0xdcba
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x61d6e
callq 0xdcba
movq %rbx, %rdi
callq 0x5f370
movq %r14, %rdi
callq 0xa510
movq %rax, %r14
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x61d90
callq 0xdcba
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x61d9f
callq 0xdcba
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x61d76
callq 0xdcba
jmp 0x61d76