// File: /workspace/github_c_makefile_star2_O0/pwelke[P]GraphMiningTools/cactustree.c
// Function: processRootTree
struct Characteristics *processRootTree(struct Vertex *root, struct Graph *graph, struct ShallowGraph **rootedComponents, struct Graph *pattern, struct GraphPool *gPool, struct ShallowGraphPool *sgPool){
    struct VertexList *ehlp;
    struct VertexList **deletedEdges;
    struct Characteristics *chars=NULL, *newChars, *res;
    int numComponents, treeNumber=0;
    char exNext;
    root->visited=root->visited | 1;
    for(ehlp=root->neighborhood;ehlp;ehlp=ehlp->next){
        if(1^(ehlp->endPoint->visited)){
            res=processRootTree(ehlp->endPoint, graph, rootedComponents, pattern, gPool, sgPool);
            if(hasSolution(res)){
                freeCharacteristics(chars);
                return res;
            }
            chars=mergeCharacteristics(chars,res);
        }
    }
    //printf("root tree %i", root->number);
    //printCharacteristics(chars);

    numComponents=rootedComponents[root->number]->data;
    deletedEdges=malloc(numComponents*sizeof(struct VertexList *));
    newChars=NULL;
    initSpanningTree(rootedComponents[root->number], deletedEdges,1);
    treeNumber=0;
    do{
        newChars=processComponentTree(graph, graph->vertices[root->d], graph->vertices[root->d], treeNumber, rootedComponents, chars, newChars, pattern, gPool, sgPool);
        exNext=nextSpanningTree(rootedComponents[root->number], deletedEdges,1);
        ++treeNumber;
    }while(exNext);
    freeCharacteristics(chars);
    free(deletedEdges);
    return newChars;
}

// Assembly:
pushq %rbx
subq $0x90, %rsp
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x60(%rsp)
movq %r9, 0x58(%rsp)
movq $0x0, 0x40(%rsp)
movl $0x0, 0x28(%rsp)
movq 0x80(%rsp), %rax
movl 0x1c(%rax), %ecx
orl $0x1, %ecx
movq 0x80(%rsp), %rax
movl %ecx, 0x1c(%rax)
movq 0x80(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x50(%rsp)
cmpq $0x0, 0x50(%rsp)
je 0x3383
movq 0x50(%rsp), %rax
movq 0x18(%rax), %rax
movl 0x1c(%rax), %eax
xorl $0x1, %eax
cmpl $0x0, %eax
je 0x336e
movq 0x50(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x78(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x68(%rsp), %rcx
movq 0x60(%rsp), %r8
movq 0x58(%rsp), %r9
callq 0x3280
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdi
callq 0x34d0
cmpb $0x0, %al
je 0x335a
movq 0x40(%rsp), %rdi
callq 0x3550
movq 0x30(%rsp), %rax
movq %rax, 0x88(%rsp)
jmp 0x34bc
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x3660
movq %rax, 0x40(%rsp)
jmp 0x3370
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x50(%rsp)
jmp 0x32e4
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
movslq 0x18(%rcx), %rcx
movq (%rax,%rcx,8), %rax
movl 0x28(%rax), %eax
movl %eax, 0x2c(%rsp)
movslq 0x2c(%rsp), %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x48(%rsp)
movq $0x0, 0x38(%rsp)
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
movslq 0x18(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
movq 0x48(%rsp), %rsi
movl $0x1, %edx
callq 0x3920
movl $0x0, 0x28(%rsp)
movq 0x78(%rsp), %rdi
movq 0x78(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x80(%rsp), %rcx
movslq 0x28(%rcx), %rcx
movq (%rax,%rcx,8), %rsi
movq 0x78(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x80(%rsp), %rcx
movslq 0x28(%rcx), %rcx
movq (%rax,%rcx,8), %rdx
movl 0x28(%rsp), %ecx
movq 0x70(%rsp), %r8
movq 0x40(%rsp), %r9
movq 0x38(%rsp), %rbx
movq 0x68(%rsp), %r11
movq 0x60(%rsp), %r10
movq 0x58(%rsp), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x3a40
movq %rax, 0x38(%rsp)
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
movslq 0x18(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
movq 0x48(%rsp), %rsi
movl $0x1, %edx
callq 0x3d00
movb %al, 0x27(%rsp)
movl 0x28(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x28(%rsp)
cmpb $0x0, 0x27(%rsp)
jne 0x33e7
movq 0x40(%rsp), %rdi
callq 0x3550
movq 0x48(%rsp), %rdi
callq 0x1030
movq 0x38(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rax
addq $0x90, %rsp
popq %rbx
retq
nopl (%rax)