// File: /workspace/github_cpp_makefile_star2_O1/menhits[P]phplus/src/Actions/MakeTupleAction.cpp
// Function: getElemFromTupleAction(std::shared_ptr<TypeBase>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Action getElemFromTupleAction(Type source, string name)
{
	if (!source->getSubType(name).type)
		throw PhplusError("could not find '"+name+"' in "+source->getString(), SOURCE_ERROR);
	
	Action out=Action(new GetElemFromTupleAction(source, name));
	
	return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r15
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %r13
movq %r13, %rdi
callq 0xdde2
movq (%r15), %rax
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq *0x50(%rax)
movq 0x18(%rsp), %r15
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x69683
callq 0xdcba
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x69692
callq 0xa2b0
testq %r15, %r15
je 0x69748
movl $0xc8, %edi
callq 0xa2d0
movq %rax, %r15
movq (%r14), %rax
movq %rax, (%rsp)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x696d2
movq 0x2f8e4(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x696ce
incl 0x8(%rax)
jmp 0x696d2
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0xdde2
movb $0x1, %bpl
movq %rsp, %rsi
leaq 0x30(%rsp), %rdx
movq %r15, %rdi
callq 0x69fd4
movq %r15, (%rbx)
leaq 0x8(%rbx), %rdi
xorl %ebp, %ebp
movq %r15, %rsi
callq 0x6be46
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x69724
callq 0xa2b0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x69733
callq 0xdcba
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0xa1b0
movq %rax, %rbx
leaq 0x127ec(%rip), %rsi     # 0x7bf48
leaq 0xa8(%rsp), %rdi
movq %r12, %rdx
callq 0xdbef
leaq 0x127e6(%rip), %rsi     # 0x7bf59
leaq 0xa8(%rsp), %rdi
callq 0xa560
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x697a1
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x697ae
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movq (%rsi), %rax
leaq 0x88(%rsp), %rdi
callq *0x8(%rax)
leaq 0xc8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x1572b
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x2ce1e(%rip), %rsi     # 0x96638
leaq -0x54f29(%rip), %rdx    # 0x148f8
movq %rbx, %rdi
callq 0xa4f0
movq %rax, %r14
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6983b
callq 0xdcba
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x69859
callq 0xa2b0
jmp 0x69859
movq %rax, %r14
movb $0x1, %bpl
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x69877
callq 0xa2b0
jmp 0x69877
movq %rax, %r14
movb $0x1, %bpl
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x6988e
callq 0xa2b0
jmp 0x6988e
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x698ac
callq 0xa2b0
jmp 0x698ac
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x69900
movq %rbx, %rdi
callq 0xa240
jmp 0x69900
movq %rax, %r14
movb $0x1, %bpl
jmp 0x698e4
movq %rax, %r14
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x698fb
jmp 0x69900
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x698e4
callq 0xa2b0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x698f3
callq 0xdcba
testb %bpl, %bpl
je 0x69900
movq %r15, %rdi
callq 0xa2b0
movq %r14, %rdi
callq 0xa510