// File: /workspace/github_cpp_makefile_star2_O3/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 0x98(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %r13
movq %r13, %rdi
callq 0xde0c
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 0x6a585
callq 0xdce4
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6a597
callq 0xa2b0
testq %r15, %r15
je 0x6a64d
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 0x6a5d7
movq 0x2f9df(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x6a5d3
incl 0x8(%rax)
jmp 0x6a5d7
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 0xde0c
movb $0x1, %bpl
movq %rsp, %rsi
leaq 0x30(%rsp), %rdx
movq %r15, %rdi
callq 0x6aee0
movq %r15, (%rbx)
leaq 0x8(%rbx), %rdi
xorl %ebp, %ebp
movq %r15, %rsi
callq 0x6cd6a
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x6a629
callq 0xa2b0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6a638
callq 0xdce4
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 0x128a7(%rip), %rsi     # 0x7cf08
leaq 0x68(%rsp), %rdi
movq %r12, %rdx
callq 0xdc11
leaq 0x128a4(%rip), %rsi     # 0x7cf19
leaq 0x68(%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 0x6a6a0
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x6a6ad
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 0xa8(%rsp), %rdi
callq *0x8(%rax)
leaq 0xc8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x159ca
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x203f4
xorl %ebp, %ebp
leaq 0x2cf1f(%rip), %rsi     # 0x97638
leaq -0x55bfa(%rip), %rdx    # 0x14b26
movq %rbx, %rdi
callq 0xa4f0
movq %rax, %r14
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6a73a
callq 0xdce4
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6a758
callq 0xa2b0
jmp 0x6a758
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6a776
callq 0xa2b0
jmp 0x6a776
movq %rax, %r14
movb $0x1, %bpl
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x6a785
callq 0xa2b0
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6a798
callq 0xa2b0
testb %bpl, %bpl
jne 0x6a7ba
jmp 0x6a80c
movq %rax, %r14
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6a7ba
callq 0xa2b0
jmp 0x6a7ba
movq %rax, %r14
movq %rbx, %rdi
callq 0xa240
jmp 0x6a80c
movq %rax, %r14
movb $0x1, %bpl
jmp 0x6a7f0
movq %rax, %r14
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x6a807
jmp 0x6a80c
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x6a7f0
callq 0xa2b0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6a7ff
callq 0xdce4
testb %bpl, %bpl
je 0x6a80c
movq %r15, %rdi
callq 0xa2b0
movq %r14, %rdi
callq 0xa510