// File: /workspace/github_c_makefile_star2_O2/pwelke[P]GraphMiningTools/iterativeSubtreeIsomorphism.c
// Function: computeCharacteristic
int computeCharacteristic(struct SubtreeIsoDataStore data, struct Vertex* y, struct Vertex* u, struct Vertex* v, struct GraphPool* gp) {
	// TODO speedup by handling leaf case separately
	struct Graph* B = makeBipartiteInstanceFromVertices(data, y, u, v, gp);
	int sizeofMatching = bipartiteMatchingEvenMoreDirty(B);

	int nNeighbors = B->number;
	dumpGraph(gp, B);
	return (sizeofMatching == nNeighbors) ? 1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r13
movq 0xd0(%rsp), %rax
movq %rax, 0x70(%rsp)
movaps 0xb0(%rsp), %xmm0
movaps 0xc0(%rsp), %xmm1
movaps %xmm1, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movq %rsi, %rdi
callq 0x5a8a
movl %eax, %ebp
movq %r14, %rdi
callq 0x5a8a
movl 0x18(%r13), %edx
movl 0x18(%r15), %esi
xorl %ecx, %ecx
movl %edx, 0x30(%rsp)
movl %esi, 0x28(%rsp)
cmpl %esi, %edx
setne %cl
movl %ebp, 0x38(%rsp)
subl %ecx, %ebp
leal (%rax,%rbp), %edi
movq %rbx, 0x40(%rsp)
movq %rbx, %rsi
callq 0x630e
movq %rax, %r12
movq %rbp, %r9
movl %ebp, 0x8(%rax)
xorl %eax, %eax
movq %r15, 0x48(%rsp)
xorl %edx, %edx
movq 0x8(%r15), %r15
testq %r15, %r15
je 0x7a11
movq 0x18(%r15), %rsi
movl 0x18(%rsi), %esi
cmpl 0x18(%r13), %esi
je 0x79de
movq 0x10(%r12), %rdi
movl %edx, %r8d
movq (%rdi,%r8,8), %rdi
movl %esi, 0x20(%rdi)
movq (%r15), %rsi
movq %rsi, (%rdi)
incl %edx
addq $0x8, %rax
jmp 0x79de
movq %r14, %rcx
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0x7a3c
movq 0x18(%rcx), %rdx
movl 0x18(%rdx), %edx
movq 0x10(%r12), %rsi
movq (%rsi,%rax), %rsi
movl %edx, 0x20(%rsi)
movq (%rcx), %rdx
movq %rdx, (%rsi)
addq $0x8, %rax
jmp 0x7a14
xorl %eax, %eax
movl 0x28(%rsp), %ecx
cmpl %ecx, 0x30(%rsp)
setne %al
movslq 0x38(%rsp), %rcx
subq %rax, %rcx
movq %rcx, 0x28(%rsp)
xorl %ebp, %ebp
testl %r9d, %r9d
cmovlel %ebp, %r9d
movq %r9, 0x30(%rsp)
cmpq 0x30(%rsp), %rbp
je 0x7b3e
movq 0x10(%r12), %rax
movq (%rax,%rbp,8), %rax
movslq 0x20(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x28(%rsp), %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jge 0x7b36
movq 0x10(%r12), %rcx
movq (%rcx,%rbx,8), %rax
movslq 0x20(%rax), %r15
movq 0x58(%rsp), %r13
movq 0x10(%r13), %rdx
movq (%rdx,%r15,8), %rdx
movl 0x1c(%rdx), %edx
cmpl 0x1c(%r14), %edx
jge 0x7b2e
movq (%rcx,%rbp,8), %rcx
movq (%rcx), %rdi
movq (%rax), %rsi
callq 0x19340
testl %eax, %eax
jne 0x7b2e
movq 0x60(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x38(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
movq 0x10(%r13), %rax
movq (%rax,%r15,8), %rdx
movq 0x70(%rsp), %rax
movq %rax, 0x20(%rsp)
movaps 0x50(%rsp), %xmm0
movaps 0x60(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq 0x48(%rsp), %rdi
callq 0x133cf
testl %eax, %eax
je 0x7b2e
movq 0x10(%r12), %rax
movq (%rax,%rbp,8), %rdi
movq (%rax,%rbx,8), %rsi
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rdx
callq 0x17e4
incl 0x4(%r12)
incq %rbx
jmp 0x7a86
incq %rbp
jmp 0x7a64
movq %r12, %rdi
callq 0x1aac
xorl %ebp, %ebp
cmpl 0x8(%r12), %eax
sete %bpl
movq 0x40(%rsp), %rdi
movq %r12, %rsi
callq 0x1166e
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq