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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdx, %r13
movq %rsi, 0x28(%rsp)
movq %rdi, %r15
movq (%rdx), %rsi
addq $0x28, %rsi
leaq 0x80(%rsp), %r14
movq %r14, %rdi
callq 0x12c0a
leaq 0x33726(%rip), %r12     # 0x7a3e0
leaq 0x70(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x12c0a
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x12c0a
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x44704
leaq 0x68(%rsp), %rdi
callq 0xc984
leaq 0x78(%rsp), %rdi
callq 0xc984
leaq 0x88(%rsp), %rdi
callq 0xc984
leaq 0x326f5(%rip), %rax     # 0x79408
movq %rax, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%r15)
movups %xmm0, 0x88(%r15)
cmpq $0x0, (%r13)
movq %r15, 0x20(%rsp)
je 0x46e29
movq 0x28(%rsp), %rbx
cmpq $0x0, (%rbx)
je 0x46e9c
leaq 0x78(%r15), %r12
leaq 0x88(%r15), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x12bbe
movq %r12, %rdi
movq %rbx, %rsi
callq 0x12bbe
movq (%r12), %rax
movq 0x38(%rax), %rbx
leaq 0x3366b(%rip), %rsi     # 0x7a3e0
leaq 0x30(%rsp), %r15
movq %r15, %rdi
callq 0x12c0a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3de4c
testb %al, %al
je 0x46f0f
movq (%r12), %rax
movq 0x48(%rax), %rbx
leaq 0x3363c(%rip), %rsi     # 0x7a3e0
leaq 0x50(%rsp), %r15
movq %r15, %rdi
callq 0x12c0a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3de4c
movl %eax, %ebp
leaq 0x58(%rsp), %rdi
callq 0xc984
leaq 0x38(%rsp), %rdi
callq 0xc984
testb %bpl, %bpl
je 0x46f19
movq (%r12), %rax
movq 0x28(%rax), %rbx
movq (%r14), %rsi
addq $0x38, %rsi
leaq 0x40(%rsp), %r15
movq %r15, %rdi
callq 0x12c0a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3de4c
movl %eax, %ebp
leaq 0x48(%rsp), %rdi
callq 0xc984
testb %bpl, %bpl
je 0x46f88
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r15
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x12913(%rip), %rdx     # 0x5975f
leaq 0x178(%rsp), %rdi
movq %rsp, %rsi
callq 0xc882
xorps %xmm0, %xmm0
leaq 0xc0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bl
leaq 0x178(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r15, %rdi
callq 0x19f06
xorl %ebx, %ebx
leaq 0x30710(%rip), %rsi     # 0x77598
leaq -0x357fd(%rip), %rdx    # 0x11692
movq %r15, %rdi
callq 0xa4e0
jmp 0x47020
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r15
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x12976(%rip), %rdx     # 0x59835
leaq 0x158(%rsp), %rdi
movq %rsp, %rsi
callq 0xc882
xorps %xmm0, %xmm0
leaq 0xb0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bl
leaq 0x158(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r15, %rdi
callq 0x19f06
xorl %ebx, %ebx
leaq 0x3069d(%rip), %rsi     # 0x77598
leaq -0x35870(%rip), %rdx    # 0x11692
movq %r15, %rdi
callq 0xa4e0
jmp 0x47020
leaq 0x38(%rsp), %rdi
callq 0xc984
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r15
movq (%r12), %rsi
movq (%rsi), %rax
movq %rsp, %rdi
callq *0x18(%rax)
leaq 0x12879(%rip), %rdx     # 0x597b1
leaq 0x138(%rsp), %rdi
movq %rsp, %rsi
callq 0xc882
xorps %xmm0, %xmm0
leaq 0xa0(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bl
leaq 0x138(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r15, %rdi
callq 0x19f06
xorl %ebx, %ebx
leaq 0x30624(%rip), %rsi     # 0x77598
leaq -0x358e9(%rip), %rdx    # 0x11692
movq %r15, %rdi
callq 0xa4e0
jmp 0x47020
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r15
movq (%r12), %rsi
movq (%rsi), %rax
leaq 0xf8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x128b3(%rip), %rdx     # 0x5985f
movq %rsp, %rdi
leaq 0xf8(%rsp), %rsi
callq 0xc882
movq (%r14), %rsi
movq (%rsi), %rax
leaq 0xd8(%rsp), %rdi
callq *0x18(%rax)
leaq 0x118(%rsp), %rdi
movq %rsp, %rsi
leaq 0xd8(%rsp), %rdx
callq 0x1205e
xorps %xmm0, %xmm0
leaq 0x90(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bl
leaq 0x118(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r15, %rdi
callq 0x19f06
xorl %ebx, %ebx
leaq 0x30587(%rip), %rsi     # 0x77598
leaq -0x35986(%rip), %rdx    # 0x11692
movq %r15, %rdi
callq 0xa4e0
movq %rax, %r14
leaq 0x98(%rsp), %rdi
callq 0xc984
leaq 0x118(%rsp), %rdi
callq 0xa558
jmp 0x47044
movq %rax, %r14
movb $0x1, %bl
leaq 0xd8(%rsp), %rdi
callq 0xa558
jmp 0x47058
movq %rax, %r14
movb $0x1, %bl
movq %rsp, %rdi
callq 0xa558
jmp 0x47067
movq %rax, %r14
movb $0x1, %bl
leaq 0xf8(%rsp), %rdi
jmp 0x470d2
jmp 0x470e7
movq %rax, %r14
leaq 0xa8(%rsp), %rdi
callq 0xc984
leaq 0x138(%rsp), %rdi
jmp 0x470c3
jmp 0x470ca
movq %rax, %r14
leaq 0xb8(%rsp), %rdi
callq 0xc984
leaq 0x158(%rsp), %rdi
jmp 0x470c3
jmp 0x470ca
movq %rax, %r14
leaq 0xc8(%rsp), %rdi
callq 0xc984
leaq 0x178(%rsp), %rdi
callq 0xa558
jmp 0x470cf
movq %rax, %r14
movb $0x1, %bl
movq %rsp, %rdi
callq 0xa558
testb %bl, %bl
jne 0x470ea
jmp 0x47110
movq %rax, %r14
leaq 0x48(%rsp), %rdi
jmp 0x4710b
movq %rax, %r14
movq %r15, %rdi
callq 0xa230
jmp 0x47110
movq %rax, %r14
leaq 0x58(%rsp), %rdi
callq 0xc984
jmp 0x47106
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0xc984
movq 0x20(%rsp), %rbx
leaq 0x90(%rbx), %rdi
callq 0xc984
leaq 0x80(%rbx), %rdi
callq 0xc984
movq %rbx, %rdi
callq 0x44e86
movq %r14, %rdi
callq 0xa500
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0xc984
leaq 0x78(%rsp), %rdi
callq 0xc984
leaq 0x88(%rsp), %rdi
callq 0xc984
jmp 0x47135
nop