// File: /workspace/github_c_makefile_star2_O3/pwelke[P]GraphMiningTools/localEasySubtreeIsomorphism.c
// Function: printSptTree
void printSptTree(struct SpanningtreeTree sptTree) {
	printf("\nbase graph:\n");
	printGraph(sptTree.g);

	printf("\nnRoots: %i\n", sptTree.nRoots);
	printf("nNonTrivialRoots: %i\n", countNontrivialRoots(sptTree));

	printf("local spanning trees:\n");
	for (int v=0; v<sptTree.nRoots; ++v) {
		printf("root %i (-> %i): lps (%i %i) \n", sptTree.roots[v]->number, sptTree.parents[v]->number, sptTree.roots[v]->lowPoint, sptTree.parents[v]->lowPoint);
		printGraph(sptTree.localSpanningTrees[v]);
	}

	printf("Characteristics:\n");
	for (int v=0; v<sptTree.nRoots; ++v) {
		printf("root %i (-> %i):\n", sptTree.roots[v]->number, sptTree.parents[v]->number);
		if (sptTree.characteristics && sptTree.characteristics[v]) {
			for (struct SupportSetElement* e=sptTree.characteristics[v]->first; e!=NULL; e=e->next) {
				printNewCubeCondensed(e->data.S, e->data.g->n, e->data.h->n, stdout);
			}
		} else {
			printf("empty\n");
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x112ec(%rip), %rdi     # 0x20894
callq 0x1070
movq 0x40(%rsp), %rdi
callq 0x8c7c
movslq 0x70(%rsp), %rbx
leaq 0x1127d(%rip), %rdi     # 0x20840
xorl %r14d, %r14d
movl %ebx, %esi
xorl %eax, %eax
callq 0x10b0
testq %rbx, %rbx
jle 0xf711
leaq 0x40(%rsp), %r15
movq 0x18(%r15), %r12
xorl %eax, %eax
movq (%r12,%rax,8), %rcx
cmpq $0x1, 0x18(%rcx)
sbbl $-0x1, %r14d
incq %rax
cmpq %rax, %rbx
jne 0xf5e3
leaq 0x1124e(%rip), %rdi     # 0x2084d
movl %r14d, %esi
xorl %eax, %eax
callq 0x10b0
leaq 0x11291(%rip), %rdi     # 0x208a1
callq 0x1070
testl %ebx, %ebx
jle 0xf72d
movq 0x8(%r15), %r13
movq 0x10(%r15), %rbp
leaq 0x11237(%rip), %r14     # 0x20863
xorl %r15d, %r15d
movq (%r13,%r15,8), %rax
movq (%rbp,%r15,8), %rdi
movl 0x18(%rax), %esi
movl 0x20(%rax), %ecx
movl 0x18(%rdi), %edx
movl 0x20(%rdi), %r8d
movq %r14, %rdi
xorl %eax, %eax
callq 0x10b0
movq (%r12,%r15,8), %rdi
callq 0x8c7c
incq %r15
cmpq %r15, %rbx
jne 0xf62f
leaq 0x1124f(%rip), %rdi     # 0x208b7
callq 0x1070
testl %ebx, %ebx
jle 0xf702
leaq 0x40(%rsp), %rax
movq 0x8(%rax), %rcx
movq %rcx, (%rsp)
movq 0x10(%rax), %r13
movq 0x20(%rax), %rbp
movq 0x1d937(%rip), %r15     # 0x2cfc8
xorl %r14d, %r14d
movq (%rsp), %rax
movq (%rax,%r14,8), %rax
movl 0x18(%rax), %esi
movq (%r13,%r14,8), %rax
movl 0x18(%rax), %edx
leaq 0x111d4(%rip), %rdi     # 0x20882
xorl %eax, %eax
callq 0x10b0
testq %rbp, %rbp
je 0xf6ee
movq (%rbp,%r14,8), %rax
testq %rax, %rax
je 0xf6ee
movq (%rax), %r12
testq %r12, %r12
je 0xf6fa
movq 0x18(%r12), %rdi
movq 0x8(%r12), %rax
movq 0x10(%r12), %rcx
movl (%rax), %esi
movl (%rcx), %edx
movq (%r15), %rcx
callq 0x16285
movq 0x28(%r12), %r12
jmp 0xf6c7
leaq 0x111d3(%rip), %rdi     # 0x208c8
callq 0x1070
incq %r14
cmpq %rbx, %r14
jne 0xf694
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x11135(%rip), %rdi     # 0x2084d
xorl %esi, %esi
xorl %eax, %eax
callq 0x10b0
leaq 0x11179(%rip), %rdi     # 0x208a1
callq 0x1070
leaq 0x11183(%rip), %rdi     # 0x208b7
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1070