// File: /workspace/github_c_makefile_star2_O2/pwelke[P]GraphMiningTools/localEasySubtreeIsomorphism.c
// Function: computeCharacteristics
void computeCharacteristics(struct SubtreeIsoDataStore* current, struct SubtreeIsoDataStore* wCharacteristics, struct CachedGraph* cachedB, struct Vertex* u, struct Vertex* w, struct Vertex* wBelow, struct GraphPool* gp) {

	// compute maximum matching
	struct Graph* B = makeBipartiteInstanceFromVerticesForLocalEasyCached(*current, wCharacteristics, cachedB, u, w, wBelow, gp);
	int sizeofMatching = bipartiteMatchingEvenMoreDirty(B);
	int nNeighbors = B->number;

	// is there a subgraph iso here?
	if (sizeofMatching == nNeighbors) {
//		addCharacteristic(current, u, u, w); // in early termination we do not need to keep the books correct here
		current->foundIso = 1;

		returnCachedGraph(cachedB);
		return; // early termination when subtree iso is found
	}

	// compute partial subgraph isomorphisms
	if (sizeofMatching == nNeighbors - 1) {
		addNoncriticalVertexCharacteristics(current, B, u, w);
	}

	returnCachedGraph(cachedB);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, %r12
movq %r8, %r15
movq %rdx, %rbx
movq %rsi, 0x68(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x20(%rdi), %rax
movq %rax, 0x90(%rsp)
movups (%rdi), %xmm0
movq %rdi, 0x38(%rsp)
movups 0x10(%rdi), %xmm1
movaps %xmm1, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq %rcx, 0x28(%rsp)
movq %rcx, %rdi
callq 0x5a8a
movl %eax, %r13d
movq %r15, %rdi
callq 0x5a8a
movl %eax, %r14d
testq %r12, %r12
je 0xcd16
movq %r12, %rdi
callq 0x5a8a
jmp 0xcd18
xorl %eax, %eax
movl %r14d, %edi
movq %r13, %rbp
addl %ebp, %edi
movl %eax, 0x30(%rsp)
addl %eax, %edi
movq %rbx, 0x50(%rsp)
movq %rbx, %rsi
callq 0x1f5e
movq %rax, %rbx
movl %ebp, 0x8(%rax)
xorl %eax, %eax
movq 0x28(%rsp), %rcx
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0xcd66
movq 0x18(%rcx), %rdx
movl 0x18(%rdx), %edx
movq 0x10(%rbx), %rsi
movq (%rsi,%rax,8), %rsi
movl %edx, 0x20(%rsi)
movq (%rcx), %rdx
movq %rdx, (%rsi)
incq %rax
jmp 0xcd40
movslq %eax, %rcx
leaq (,%rcx,8), %rax
movq %r15, %rdx
movq 0x8(%rdx), %rdx
testq %rdx, %rdx
je 0xcdae
movq 0x18(%rdx), %rsi
movl 0x1c(%rsi), %edi
cmpl 0x1c(%r15), %edi
jl 0xcd8f
decl %r14d
jmp 0xcd74
movl 0x18(%rsi), %esi
movq 0x10(%rbx), %rdi
movslq %ecx, %rcx
movq (%rdi,%rcx,8), %rdi
movl %esi, 0x20(%rdi)
movq (%rdx), %rsi
movq %rsi, (%rdi)
incl %ecx
addq $0x8, %rax
jmp 0xcd74
testq %r12, %r12
movl 0x30(%rsp), %esi
je 0xcde1
movq 0x8(%r12), %r12
testq %r12, %r12
je 0xcde1
movq 0x18(%r12), %rcx
movl 0x18(%rcx), %ecx
movq 0x10(%rbx), %rdx
movq (%rdx,%rax), %rdx
movl %ecx, 0x20(%rdx)
movq (%r12), %rcx
movq %rcx, (%rdx)
addq $0x8, %rax
jmp 0xcdb7
movq %r15, 0x48(%rsp)
addl %r13d, %r14d
addl %r14d, %esi
movslq %r13d, %rax
movq %rax, 0x58(%rsp)
movslq %r14d, %r15
movslq %esi, %r12
xorl %ebp, %ebp
testl %r13d, %r13d
cmovlel %ebp, %r13d
movq %r13, 0x60(%rsp)
cmpq 0x60(%rsp), %rbp
je 0xcf6a
movq 0x10(%rbx), %rax
movq (%rax,%rbp,8), %rax
movslq 0x20(%rax), %rax
movq %rax, 0x30(%rsp)
movq 0x58(%rsp), %r14
cmpq %r15, %r14
jge 0xcec9
movq 0x10(%rbx), %rax
movq (%rax,%r14,8), %rcx
movslq 0x20(%rcx), %r13
movq (%rax,%rbp,8), %rax
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0x19340
testl %eax, %eax
jne 0xcec1
movq 0x78(%rsp), %rax
movq 0x80(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x30(%rsp), %rdx
movq (%rcx,%rdx,8), %rsi
movq 0x10(%rax), %rax
movq (%rax,%r13,8), %rdx
movq 0x90(%rsp), %rax
movq %rax, 0x20(%rsp)
movaps 0x70(%rsp), %xmm0
movaps 0x80(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq 0x28(%rsp), %rdi
callq 0x133cf
testl %eax, %eax
je 0xcec1
movq 0x10(%rbx), %rax
movq (%rax,%rbp,8), %rdi
movq (%rax,%r14,8), %rsi
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rdx
callq 0x17e4
incl 0x4(%rbx)
incq %r14
jmp 0xce29
movq %r15, %r14
cmpq %r12, %r14
jge 0xcf62
movq 0x10(%rbx), %rax
movq (%rax,%r14,8), %rcx
movslq 0x20(%rcx), %r13
movq (%rax,%rbp,8), %rax
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0x19340
testl %eax, %eax
jne 0xcf5a
movq 0x68(%rsp), %rdi
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rcx
movq 0x10(%rcx), %rcx
movq 0x30(%rsp), %rdx
movq (%rcx,%rdx,8), %rsi
movq 0x10(%rax), %rax
movq (%rax,%r13,8), %rdx
movq 0x20(%rdi), %rax
movq %rax, 0x20(%rsp)
movups (%rdi), %xmm0
movups 0x10(%rdi), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq 0x28(%rsp), %rdi
callq 0x133cf
testl %eax, %eax
je 0xcf5a
movq 0x10(%rbx), %rax
movq (%rax,%rbp,8), %rdi
movq (%rax,%r14,8), %rsi
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rdx
callq 0x17e4
incl 0x4(%rbx)
incq %r14
jmp 0xcecc
incq %rbp
jmp 0xce08
movq %rbx, %rdi
callq 0x1aac
movl 0x8(%rbx), %ecx
cmpl %ecx, %eax
jne 0xcf87
movq 0x38(%rsp), %rax
movl $0x1, 0x20(%rax)
jmp 0xcfa4
decl %ecx
cmpl %ecx, %eax
jne 0xcfa4
movq 0x38(%rsp), %rdi
movq %rbx, %rsi
movq 0x28(%rsp), %rdx
movq 0x48(%rsp), %rcx
callq 0x8461
movq 0x50(%rsp), %rdi
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1fd4