// File: /workspace/github_c_makefile_star2_O1/pwelke[P]GraphMiningTools/lwm_initAndCollect.c
// Function: createSingletonPatternSupportSetsForLocalEasyDB
static struct SupportSet* createSingletonPatternSupportSetsForLocalEasyDB(struct SpanningtreeTree* sptTrees, int nGraphs, struct Vertex* frequentVertices, struct GraphPool* gp, struct ShallowGraphPool* sgp) {
	(void)sgp; // unused
	// init levelwise search data structures for patterns with one vertex

	// data structures for iterative levelwise search
	struct SupportSet* vertexSupportSets = NULL;
	struct SupportSet* vertexSupportSetsTail = NULL;

	int id = 1;
	for (struct VertexList* e=frequentVertices->neighborhood; e!=NULL; e=e->next) {

		struct Graph* candidate = createGraph(1, gp);
		candidate->vertices[0]->label = e->label;
		e->endPoint->lowPoint = id;

		struct SupportSet* vertexSupport = initLocalEasyForVertices(sptTrees, nGraphs, candidate, id);

		if (vertexSupportSetsTail != NULL) {
			vertexSupportSetsTail->next = vertexSupport;
			vertexSupportSetsTail = vertexSupport;
		} else {
			vertexSupportSets = vertexSupport;
			vertexSupportSetsTail = vertexSupport;
		}
		++id;
	}
	return vertexSupportSets;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, 0x70(%rsp)
movq 0x8(%rdx), %r15
testq %r15, %r15
je 0x125bd
movl %esi, %ebx
movq %rdi, %r14
movslq %esi, %rax
movq %rax, 0x90(%rsp)
movl $0x1, %ebp
xorl %ecx, %ecx
xorl %edx, %edx
movl %esi, 0x30(%rsp)
movq %rdx, 0x80(%rsp)
movq %rcx, 0x78(%rsp)
movl $0x1, %edi
movq 0x70(%rsp), %rsi
callq 0x8565
movq %rax, %r12
movq (%r15), %rax
movq 0x10(%r12), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
movq %r15, 0x88(%rsp)
movq 0x18(%r15), %rax
movl %ebp, 0x20(%rax)
xorl %eax, %eax
callq 0x1cf87
movq %rax, 0x38(%rsp)
movl %ebp, 0x34(%rsp)
movl %ebp, 0x8(%r12)
testl %ebx, %ebx
je 0x1257b
xorl %ebx, %ebx
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x60(%rsp)
imulq $0x38, %rbx, %rax
leaq (%r14,%rax), %rcx
movq (%r14,%rax), %rbp
movq %rbp, 0x48(%rsp)
movq %r12, 0x50(%rsp)
movq %rcx, 0x40(%rsp)
cmpl $0x0, (%rbp)
setg %al
jle 0x12538
movq 0x10(%r12), %rax
movq (%rax), %rax
movq (%rax), %r13
movq 0x10(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
movq %r13, %rsi
callq 0x1bc18
testl %eax, %eax
je 0x1252e
movl $0x1, %r15d
movslq (%rbp), %rax
cmpq %rax, %r15
setl %al
jge 0x12538
movq 0x10(%rbp), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rdi
movq %r13, %rsi
callq 0x1bc18
incq %r15
testl %eax, %eax
jne 0x12508
movl $0x1, 0x60(%rsp)
jmp 0x12543
movzbl %al, %eax
movl %eax, 0x60(%rsp)
testb %al, %al
je 0x1256a
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsp)
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq 0x38(%rsp), %rdi
callq 0x1cd7a
incq %rbx
cmpq 0x90(%rsp), %rbx
jne 0x124a7
movq 0x38(%rsp), %rdx
movq %rdx, %rax
movq 0x80(%rsp), %rcx
testq %rcx, %rcx
je 0x12599
movq %rdx, 0x10(%rcx)
movq 0x78(%rsp), %rax
movl 0x34(%rsp), %ebp
incl %ebp
movq 0x88(%rsp), %r15
movq 0x8(%r15), %r15
movq %rax, %rcx
testq %r15, %r15
movl 0x30(%rsp), %ebx
jne 0x1244c
jmp 0x125bf
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq