// File: /workspace/github_cpp_makefile_star2_O2/menhits[P]phplus/src/AstNode.cpp
// Function: AstList::resolveAction()
void AstList::resolveAction()
{
	if (!inLeftType->isVoid() || !inRightType->isVoid())
	{
		throw PhplusError("AstList given non void input", INTERNAL_ERROR, getToken());
	}
	
	ns=ns->makeChild();
	
	for (int i=0; i<int(nodes.size()); i++)
	{
		nodes[i]->setInput(ns, dynamic, Void, Void);
		nodes[i]->dealWithConstants();
	}
	
	vector<Action> actions;
	
	for (int i=0; i<int(nodes.size()); i++)
	{
		try
		{
			Action action=nodes[i]->getAction();
			
			if (i!=(int)nodes.size()-1)
				action=ns->wrapInDestroyer(action);
			
			actions.push_back(action);
		}
		catch (PhplusError err)
		{
			err.log();
		}
	}
	
	action=listAction(actions, *ns->getDestroyerActions());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
testb %al, %al
je 0xd5fe
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
testb %al, %al
je 0xd5fe
leaq 0x70(%rbx), %r14
movq 0x70(%rbx), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x1b452
movq %r14, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x135d0
leaq 0x10(%rsp), %rdi
callq 0xc984
xorl %r15d, %r15d
movq 0x88(%rbx), %rax
movq 0x90(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %r15
jge 0xd44d
movq (%rax,%r15,8), %r14
leaq 0x68(%rsp), %rdi
movq (%rsp), %rsi
callq 0x12bf6
movzbl 0x68(%rbx), %ebp
movq %rbx, %r12
leaq 0x58(%rsp), %rdi
leaq 0x6d002(%rip), %r13     # 0x7a3e0
movq %r13, %rsi
callq 0x12c0a
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x12c0a
movq %r14, %rdi
leaq 0x68(%rsp), %rsi
movl %ebp, %edx
leaq 0x58(%rsp), %rcx
movq %rbx, %r8
callq 0x116a8
leaq 0x90(%rsp), %rdi
callq 0xc984
leaq 0x60(%rsp), %rdi
callq 0xc984
leaq 0x70(%rsp), %rdi
callq 0xc984
movq 0x88(%r12), %rax
movq (%rax,%r15,8), %rdi
callq 0x117e0
incq %r15
movq %r12, %rbx
jmp 0xd395
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rbp
andq $0x0, 0x10(%rbp)
movaps %xmm0, (%rbp)
leaq 0x10(%rsp), %r14
xorl %r13d, %r13d
leaq 0x8(%rsp), %rdi
leaq 0xa8(%rsp), %r15
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r13
jge 0xd5ac
movq (%rax,%r13,8), %rsi
callq 0x1189c
movq 0x90(%rbx), %rax
subq 0x88(%rbx), %rax
shrq $0x3, %rax
decl %eax
cmpq %rax, %r13
je 0xd501
movq (%rsp), %rax
movq (%rax), %r14
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
leaq 0x8(%rsp), %r12
movq %r12, %rsi
callq 0x12c1e
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x1dbc8
movq %r12, %rdi
movq %r15, %rsi
callq 0x13816
leaq 0xb0(%rsp), %rdi
callq 0xc984
leaq 0x80(%rsp), %rdi
callq 0xc984
leaq 0x10(%rsp), %r14
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1198c
movq %r14, %rdi
callq 0xc984
incq %r13
movq 0x88(%rbx), %rax
movq 0x90(%rbx), %rcx
leaq 0x8(%rsp), %rdi
jmp 0xd473
movq %rdx, %r14
movq %rax, %r12
leaq 0x80(%rsp), %rdi
callq 0xc984
jmp 0xd54c
movq %rdx, %r14
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0xc984
jmp 0xd55e
movq %rdx, %r14
movq %rax, %r12
cmpl $0x1, %r14d
jne 0xd6b5
movq %r12, %rdi
callq 0xa360
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x119b8
movq %r12, %rdi
callq 0xa160
movq %r14, %rdi
callq 0x19f60
movq %r14, %rdi
callq 0x11692
callq 0xa4b0
leaq 0x10(%rsp), %r14
leaq 0x40(%rsp), %rbp
jmp 0xd516
movl $0x130, %edx            # imm = 0x130
movq (%rsp), %rax
addq (%rax), %rdx
leaq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x4ab39
addq $0x48, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x13816
leaq 0x10(%rsp), %rdi
callq 0xc984
leaq 0x40(%rsp), %rdi
callq 0x119e8
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x38
popq %rdi
callq 0xa1b0
movq %rax, %r14
leaq 0x46ba3(%rip), %rsi     # 0x541b3
leaq 0xb8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xa150
movq (%rbx), %rax
leaq 0x98(%rsp), %rdi
movq %rbx, %rsi
callq *0x38(%rax)
movb $0x1, %bl
leaq 0xb8(%rsp), %rsi
pushq $0x3
popq %rdx
leaq 0x98(%rsp), %rcx
movq %r14, %rdi
callq 0x19f06
xorl %ebx, %ebx
leaq 0x69f3f(%rip), %rsi     # 0x77598
leaq 0x4032(%rip), %rdx      # 0x11692
movq %r14, %rdi
callq 0xa4e0
jmp 0xd6b2
movq %rax, %r12
leaq 0x8(%rsp), %rdi
callq 0x11692
callq 0xa4b0
jmp 0xd6b5
jmp 0xd680
movq %rax, %rdi
callq 0xc944
movq %rax, %r12
leaq 0xa0(%rsp), %rdi
callq 0xc984
jmp 0xd69f
movq %rax, %r12
movb $0x1, %bl
leaq 0xb8(%rsp), %rdi
callq 0xa558
testb %bl, %bl
jne 0xd6c4
jmp 0xd6f2
movq %rax, %r12
leaq 0x40(%rsp), %rdi
callq 0x119e8
jmp 0xd6f2
movq %rax, %r12
movq %r14, %rdi
callq 0xa230
jmp 0xd6f2
movq %rax, %r12
leaq 0x90(%rsp), %rdi
callq 0xc984
leaq 0x60(%rsp), %rdi
callq 0xc984
leaq 0x70(%rsp), %rdi
callq 0xc984
movq %r12, %rdi
callq 0xa500