// File: /workspace/github_cpp_makefile_star2_O3/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 0x6240b
movq 0x37bab(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x62407
incl 0x8(%rax)
jmp 0x6240b
lock
incl 0x8(%rax)
leaq 0x37fee(%rip), %r12     # 0x9a400
movq (%r12), %rdx
movq 0x8(%r12), %rax
movq %rdx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x62444
movq 0x37b77(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x62453
incl 0x8(%rax)
movq %rdx, (%rsp)
movq %rax, 0x8(%rsp)
jmp 0x6246e
movq %rdx, (%rsp)
movq $0x0, 0x8(%rsp)
jmp 0x6247c
lock
incl 0x8(%rax)
movq (%r12), %rdx
movq 0x8(%r12), %rax
movq %rdx, (%rsp)
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x6247c
cmpb $0x0, (%rcx)
je 0x62478
incl 0x8(%rax)
jmp 0x6247c
lock
incl 0x8(%rax)
leaq 0x70(%rsp), %rsi
leaq 0x60(%rsp), %rdx
movq %rsp, %rcx
movq %rbx, %rdi
callq 0x5f40c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x624a0
callq 0xdce4
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x624af
callq 0xdce4
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x624be
callq 0xdce4
leaq 0x36edb(%rip), %rax     # 0x993a0
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
movq (%r15), %rax
testq %rax, %rax
je 0x62649
cmpq $0x0, (%r14)
je 0x626ab
movq %rax, 0x78(%rbx)
leaq 0x80(%rbx), %rdi
addq $0x8, %r15
movq %r15, %rsi
callq 0xdea2
movq (%r14), %rax
movq %rax, 0x88(%rbx)
leaq 0x90(%rbx), %rdi
addq $0x8, %r14
movq %r14, %rsi
callq 0xdea2
movq 0x88(%rbx), %rax
movq 0x38(%rax), %rdi
movq (%r12), %rcx
movq 0x8(%r12), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x62558
movq 0x37a5e(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x62554
incl 0x8(%rax)
jmp 0x62558
lock
incl 0x8(%rax)
leaq 0x50(%rsp), %rsi
callq 0x55538
movb $0x1, %bpl
testb %al, %al
je 0x625c0
movq 0x88(%rbx), %rax
movq 0x48(%rax), %rdi
movq (%r12), %rcx
movq 0x8(%r12), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x625a1
movq 0x37a15(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x6259d
incl 0x8(%rax)
jmp 0x625a1
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %rsi
callq 0x55538
movl %eax, %ebp
xorb $0x1, %bpl
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x625c0
callq 0xdce4
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x625cf
callq 0xdce4
testb %bpl, %bpl
jne 0x6270d
movq 0x78(%rbx), %rax
movq 0x88(%rbx), %rcx
movq 0x28(%rcx), %rdi
movq 0x48(%rax), %rcx
movq %rcx, 0x30(%rsp)
movq 0x50(%rax), %rax
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x62613
movq 0x379a3(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x6260f
incl 0x8(%rax)
jmp 0x62613
lock
incl 0x8(%rax)
leaq 0x30(%rsp), %rsi
callq 0x55538
movl %eax, %ebp
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6262e
callq 0xdce4
testb %bpl, %bpl
je 0x6276a
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 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x1a102(%rip), %rsi     # 0x7c777
leaq 0x10(%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 0x627ce
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x627e1
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x1a0c7(%rip), %rsi     # 0x7c79e
leaq 0x10(%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 0x6283b
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x6284e
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
movq 0x88(%rbx), %rsi
movq (%rsi), %rax
leaq 0x10(%rsp), %rdi
callq *0x18(%rax)
leaq 0x1a096(%rip), %rsi     # 0x7c7c9
leaq 0x10(%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 0x628a8
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x628bb
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r15
movq 0x88(%rbx), %rsi
movq (%rsi), %rax
leaq 0x128(%rsp), %rdi
callq *0x18(%rax)
leaq 0x1a06b(%rip), %rsi     # 0x7c7fe
leaq 0x128(%rsp), %rdi
callq 0xa560
leaq 0x78(%rbx), %rcx
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rdx
addq $0x10, %rdx
cmpq %rdx, %rsi
jne 0x62915
movups (%rdx), %xmm0
movups %xmm0, (%r12)
jmp 0x62922
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 0x203f4
xorl %ebp, %ebp
leaq 0x34e11(%rip), %rsi     # 0x97638
leaq -0x4dd08(%rip), %rdx    # 0x14b26
movq %r15, %rdi
callq 0xa4f0
jmp 0x629a3
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 0x203f4
xorl %ebp, %ebp
leaq 0x34da4(%rip), %rsi     # 0x97638
leaq -0x4dd75(%rip), %rdx    # 0x14b26
movq %r15, %rdi
callq 0xa4f0
jmp 0x629a3
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 0x203f4
xorl %ebp, %ebp
leaq 0x34d37(%rip), %rsi     # 0x97638
leaq -0x4dde2(%rip), %rdx    # 0x14b26
movq %r15, %rdi
callq 0xa4f0
jmp 0x629a3
movq %rsi, 0x10(%rsp)
movq (%rdx), %rsi
movq %rsi, 0x20(%rsp)
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rdx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rcx), %rsi
movq (%rsi), %rax
leaq 0x148(%rsp), %rdi
callq *0x18(%rax)
leaq 0x168(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x148(%rsp), %rdx
callq 0x159ca
xorps %xmm0, %xmm0
leaq 0xe0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0x168(%rsp), %rsi
movq %r15, %rdi
movl $0x3, %edx
callq 0x203f4
xorl %ebp, %ebp
leaq 0x34ca4(%rip), %rsi     # 0x97638
leaq -0x4de75(%rip), %rdx    # 0x14b26
movq %r15, %rdi
callq 0xa4f0
movq %rax, %r14
movq 0xe8(%rsp), %rdi
testq %rdi, %rdi
je 0x629b8
callq 0xdce4
leaq 0x178(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x629d6
callq 0xa2b0
jmp 0x629d6
movq %rax, %r14
movb $0x1, %bpl
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x629f4
callq 0xa2b0
jmp 0x629f4
movq %rax, %r14
movb $0x1, %bpl
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x62a03
callq 0xa2b0
leaq 0x138(%rsp), %rax
jmp 0x62a46
movq %rax, %r14
leaq 0x138(%rsp), %rax
jmp 0x62a60
movq %rax, %r14
movq 0xf8(%rsp), %rdi
testq %rdi, %rdi
je 0x62a2f
callq 0xdce4
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x62a41
callq 0xa2b0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x62af0
jmp 0x62af5
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x62afa
callq 0xa2b0
jmp 0x62afa
jmp 0x62a79
movq %rax, %r14
jmp 0x62afa
movq %rax, %r14
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x62b11
callq 0xdce4
jmp 0x62b11
movq %rax, %r14
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x62aab
callq 0xdce4
movq 0xa0(%rsp), %rdi
jmp 0x62ad4
jmp 0x62ae0
movq %rax, %r14
movq 0x118(%rsp), %rdi
testq %rdi, %rdi
je 0x62acc
callq 0xdce4
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x62ae6
callq 0xa2b0
jmp 0x62ae6
movq %rax, %r14
movb $0x1, %bpl
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x62af5
callq 0xa2b0
testb %bpl, %bpl
je 0x62b20
movq %r15, %rdi
callq 0xa240
jmp 0x62b20
movq %rax, %r14
movq 0x38(%rsp), %rdi
jmp 0x62b16
movq %rax, %r14
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x62b20
callq 0xdce4
movq 0x90(%rbx), %rdi
testq %rdi, %rdi
je 0x62b31
callq 0xdce4
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x62b42
callq 0xdce4
movq %rbx, %rdi
callq 0x600b4
movq %r14, %rdi
callq 0xa510
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x62b64
callq 0xdce4
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x62b73
callq 0xdce4
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x62b4a
callq 0xdce4
jmp 0x62b4a