// File: /workspace/github_c_makefile_star2_O0/pwelke[P]GraphMiningTools/executables/outerplanaritytest.c
// Function: printBlockVertices
void printBlockVertices(struct BBTree* bbTree, int* originalIDs) {

    printf(", \"blocks\": {");
    if (bbTree->blocks) {
        for (int i=0; i<bbTree->blocks->n; ++i) {
            if (i>0) { printf(", "); }
            printf("\"%d\": [", -1 - i);
            char start = 1;
            // init vertices in g (!)
            for (struct VertexList* e=bbTree->blockComponents[i]->edges; e!=NULL; e=e->next) {
                e->startPoint->visited = 0;
                e->endPoint->visited = 0;
            }
            for (struct VertexList* e=bbTree->blockComponents[i]->edges; e!=NULL; e=e->next) {
                if (e->startPoint->visited == 0) {
                    if (start) { 
                        start = 0; 
                    } else { 
                        printf(", ");
                    }
                    printf("%d", originalIDs[e->startPoint->number]);
                    e->startPoint->visited = 1;
                }
                if (e->endPoint->visited == 0) {
                    printf(", ");
                    printf("%d", originalIDs[e->endPoint->number]);
                    e->endPoint->visited = 1;
                }
            }
            putc(']', stdout);
        }
    }
    putc('}', stdout);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
leaq 0x27df(%rip), %rdi      # 0x36704
movb $0x0, %al
callq 0x1090
movq 0x20(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x340e1
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
movq 0x20(%rsp), %rcx
movq 0x8(%rcx), %rcx
cmpl (%rcx), %eax
jge 0x340df
cmpl $0x0, 0x14(%rsp)
jle 0x33f6e
leaq 0x14de(%rip), %rdi      # 0x35445
movb $0x0, %al
callq 0x1090
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
subl 0x14(%rsp), %esi
leaq 0x2794(%rip), %rdi      # 0x36712
movb $0x0, %al
callq 0x1090
movb $0x1, 0x13(%rsp)
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
je 0x33fdc
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rax
movl $0x0, 0x1c(%rax)
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rax
movl $0x0, 0x1c(%rax)
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rsp)
jmp 0x33fa4
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
je 0x340bb
movq (%rsp), %rax
movq 0x10(%rax), %rax
cmpl $0x0, 0x1c(%rax)
jne 0x3405b
cmpb $0x0, 0x13(%rsp)
je 0x3401c
movb $0x0, 0x13(%rsp)
jmp 0x3402a
leaq 0x1422(%rip), %rdi      # 0x35445
movb $0x0, %al
callq 0x1090
movq 0x18(%rsp), %rax
movq (%rsp), %rcx
movq 0x10(%rcx), %rcx
movslq 0x18(%rcx), %rcx
movl (%rax,%rcx,4), %esi
leaq 0x2690(%rip), %rdi      # 0x366d5
movb $0x0, %al
callq 0x1090
movq (%rsp), %rax
movq 0x10(%rax), %rax
movl $0x1, 0x1c(%rax)
movq (%rsp), %rax
movq 0x18(%rax), %rax
cmpl $0x0, 0x1c(%rax)
jne 0x340a8
leaq 0x13d5(%rip), %rdi      # 0x35445
movb $0x0, %al
callq 0x1090
movq 0x18(%rsp), %rax
movq (%rsp), %rcx
movq 0x18(%rcx), %rcx
movslq 0x18(%rcx), %rcx
movl (%rax,%rcx,4), %esi
leaq 0x2643(%rip), %rdi      # 0x366d5
movb $0x0, %al
callq 0x1090
movq (%rsp), %rax
movq 0x18(%rax), %rax
movl $0x1, 0x1c(%rax)
jmp 0x340aa
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, (%rsp)
jmp 0x33ff5
movq 0x9f06(%rip), %rax      # 0x3dfc8
movq (%rax), %rsi
movl $0x5d, %edi
callq 0x1110
movl 0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
jmp 0x33f44
jmp 0x340e1
movq 0x9ee0(%rip), %rax      # 0x3dfc8
movq (%rax), %rsi
movl $0x7d, %edi
callq 0x1110
addq $0x28, %rsp
retq
nopw (%rax,%rax)