// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-contigs-graph.c
// Function: gt_contigs_graph_create_vertices
static int gt_contigs_graph_create_vertices(GtContigsGraph *cg,
    FILE *cjl_i_fp, FILE *cjl_o_fp, FILE *depthinfo_fp, GtError *err)
{
  int had_err = 0;
  GtUword vnum, nofv;
  gt_assert(cg != NULL);
  gt_assert(cjl_i_fp != NULL);
  gt_assert(cjl_o_fp != NULL);
  gt_assert(depthinfo_fp != NULL);
  gt_error_check(err);
  GT_CONTIGS_GRAPH_NEW_FREAD(&cg->nof_v, 1, cjl_i_fp,
      "number of contigs", "incoming contigs-junctions links file");
  if (!had_err)
  {
    GT_CONTIGS_GRAPH_NEW_FREAD(&nofv, 1, cjl_o_fp,
        "number of contigs", "outgoing contigs-junctions links file");
    if (nofv != cg->nof_v)
    {
      gt_error_set(err, "number of contigs differ in "
      "incoming ("GT_WU") and outgoing ("GT_WU") contigs-junctions links files",
      (GtUword)cg->nof_v, (GtUword)nofv);
    }
  }
  cg->alloc_v = cg->nof_v;
  cg->nof_simple_v = cg->nof_v;
  if (!had_err)
  {
    cg->v_spm[0] = gt_malloc(sizeof (*cg->v_spm[0]) * (cg->alloc_v + 1UL));
    GT_CONTIGS_GRAPH_NEW_FREAD(cg->v_spm[0], cg->nof_v, cjl_o_fp,
        "links", "outgoing contigs-junctions links");
  }
  if (!had_err)
  {
    cg->v_spm[1] = gt_malloc(sizeof (*cg->v_spm[1]) * (cg->alloc_v + 1UL));
    GT_CONTIGS_GRAPH_NEW_FREAD(cg->v_spm[1], cg->nof_v, cjl_i_fp,
        "links", "incoming contigs-junctions links file");
  }
  if (!had_err)
  {
    cg->v_d = gt_malloc(sizeof (*cg->v_d) * (cg->alloc_v));
    GT_CONTIGS_GRAPH_NEW_FREAD(cg->v_d, cg->nof_v, depthinfo_fp,
        "depth information", "depth info");
  }
  if (!had_err)
  {
    /* cg->v_scf = gt_malloc(sizeof (*cg->v_scf) * (cg->alloc_v + 1UL)); */
    cg->v_m = gt_malloc(sizeof (*cg->v_m) * (cg->alloc_v));
    for (vnum = 0; vnum < cg->nof_v; vnum++)
    {
      cg->v_m[vnum].deleted = false;
      cg->v_m[vnum].optional = (cg->v_d[vnum].depth == 2UL);
    }
#ifdef GG_DEBUG
    gt_contigs_graph_show_e_links(cg->v_spm[1], cg->nof_v, "debug.cjl_i");
    gt_contigs_graph_show_e_links(cg->v_spm[0], cg->nof_v, "debug.cjl_o");
#endif
  }
  return had_err;
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movl $0x0, 0x3c(%rsp)
cmpq $0x0, 0x60(%rsp)
jne 0x27e075
movq 0x3bdf5c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297fc5(%rip), %rsi    # 0x516013
leaq 0x301cb3(%rip), %rdx    # 0x57fd08
leaq 0x3024f4(%rip), %rcx    # 0x580550
leaq 0x301cce(%rip), %r8     # 0x57fd31
movl $0x15d, %r9d            # imm = 0x15D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e077
jmp 0x27e079
cmpq $0x0, 0x58(%rsp)
jne 0x27e0b9
movq 0x3bdf18(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297f81(%rip), %rsi    # 0x516013
leaq 0x3024d8(%rip), %rdx    # 0x580571
leaq 0x3024b0(%rip), %rcx    # 0x580550
leaq 0x301c8a(%rip), %r8     # 0x57fd31
movl $0x15e, %r9d            # imm = 0x15E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e0bb
jmp 0x27e0bd
cmpq $0x0, 0x50(%rsp)
jne 0x27e0fd
movq 0x3bded4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297f3d(%rip), %rsi    # 0x516013
leaq 0x3024a5(%rip), %rdx    # 0x580582
leaq 0x30246c(%rip), %rcx    # 0x580550
leaq 0x301c46(%rip), %r8     # 0x57fd31
movl $0x15f, %r9d            # imm = 0x15F
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e0ff
jmp 0x27e101
cmpq $0x0, 0x48(%rsp)
jne 0x27e141
movq 0x3bde90(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297ef9(%rip), %rsi    # 0x516013
leaq 0x302472(%rip), %rdx    # 0x580593
leaq 0x302428(%rip), %rcx    # 0x580550
leaq 0x301c02(%rip), %r8     # 0x57fd31
movl $0x160, %r9d            # imm = 0x160
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e143
jmp 0x27e145
cmpq $0x0, 0x40(%rsp)
je 0x27e195
movq 0x40(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x27e15d
jmp 0x27e195
movq 0x3bde3c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297ea5(%rip), %rsi    # 0x516013
leaq 0x29804a(%rip), %rdx    # 0x5161bf
leaq 0x3023d4(%rip), %rcx    # 0x580550
leaq 0x301bae(%rip), %r8     # 0x57fd31
movl $0x161, %r9d            # imm = 0x161
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e197
movq 0x60(%rsp), %rdi
movq 0x58(%rsp), %rcx
movl $0x8, %esi
movl $0x1, %edx
callq 0x19a70
movq %rax, 0x20(%rsp)
cmpq $0x1, 0x20(%rsp)
je 0x27e1e2
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rcx
leaq 0x3023da(%rip), %rsi    # 0x5805a8
movl $0x1, %edx
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x3c(%rsp) # imm = 0xFFFFFFFF
cmpl $0x0, 0x3c(%rsp)
jne 0x27e265
movq 0x50(%rsp), %rcx
leaq 0x28(%rsp), %rdi
movl $0x8, %esi
movl $0x1, %edx
callq 0x19a70
movq %rax, 0x18(%rsp)
cmpq $0x1, 0x18(%rsp)
je 0x27e234
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rcx
leaq 0x3023ed(%rip), %rsi    # 0x58060d
movl $0x1, %edx
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x3c(%rsp) # imm = 0xFFFFFFFF
movq 0x28(%rsp), %rax
movq 0x60(%rsp), %rcx
cmpq (%rcx), %rax
je 0x27e263
movq 0x40(%rsp), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq 0x28(%rsp), %rcx
leaq 0x302416(%rip), %rsi    # 0x580672
movb $0x0, %al
callq 0xd88c0
jmp 0x27e265
movq 0x60(%rsp), %rax
movq (%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x60(%rsp), %rax
movq (%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x10(%rax)
cmpl $0x0, 0x3c(%rsp)
jne 0x27e31e
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
addq $0x1, %rdi
shlq $0x3, %rdi
leaq 0x301a87(%rip), %rsi    # 0x57fd31
movl $0x173, %edx            # imm = 0x173
callq 0xe80f0
movq %rax, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x60(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq 0x50(%rsp), %rcx
movl $0x8, %esi
callq 0x19a70
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq 0x60(%rsp), %rcx
cmpq (%rcx), %rax
je 0x27e31c
movq 0x40(%rsp), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq 0x10(%rsp), %rcx
leaq 0x3023c1(%rip), %rsi    # 0x5806ce
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x3c(%rsp) # imm = 0xFFFFFFFF
jmp 0x27e31e
cmpl $0x0, 0x3c(%rsp)
jne 0x27e3b5
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
addq $0x1, %rdi
shlq $0x3, %rdi
leaq 0x3019f0(%rip), %rsi    # 0x57fd31
movl $0x179, %edx            # imm = 0x179
callq 0xe80f0
movq %rax, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x60(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq 0x58(%rsp), %rcx
movl $0x8, %esi
callq 0x19a70
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x60(%rsp), %rcx
cmpq (%rcx), %rax
je 0x27e3b3
movq 0x40(%rsp), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq 0x8(%rsp), %rcx
leaq 0x30237e(%rip), %rsi    # 0x580722
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x3c(%rsp) # imm = 0xFFFFFFFF
jmp 0x27e3b5
cmpl $0x0, 0x3c(%rsp)
jne 0x27e445
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
shlq $0x5, %rdi
leaq 0x30195d(%rip), %rsi    # 0x57fd31
movl $0x17f, %edx            # imm = 0x17F
callq 0xe80f0
movq %rax, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x30(%rax)
movq 0x60(%rsp), %rax
movq 0x30(%rax), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq 0x48(%rsp), %rcx
movl $0x20, %esi
callq 0x19a70
movq %rax, (%rsp)
movq (%rsp), %rax
movq 0x60(%rsp), %rcx
cmpq (%rcx), %rax
je 0x27e443
movq 0x40(%rsp), %rdi
movq 0x60(%rsp), %rax
movq (%rax), %rdx
movq (%rsp), %rcx
leaq 0x302347(%rip), %rsi    # 0x58077b
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x3c(%rsp) # imm = 0xFFFFFFFF
jmp 0x27e445
cmpl $0x0, 0x3c(%rsp)
jne 0x27e4fc
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
shlq $0x0, %rdi
leaq 0x3018cd(%rip), %rsi    # 0x57fd31
movl $0x186, %edx            # imm = 0x186
callq 0xe80f0
movq %rax, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x38(%rax)
movq $0x0, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq 0x60(%rsp), %rcx
cmpq (%rcx), %rax
jae 0x27e4fa
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x30(%rsp), %rcx
movb (%rax,%rcx), %dl
andb $-0x2, %dl
orb $0x0, %dl
movb %dl, (%rax,%rcx)
movq 0x60(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x30(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpq $0x2, (%rax)
sete %sil
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x30(%rsp), %rcx
andb $0x1, %sil
movb (%rax,%rcx), %dl
shlb %sil
andb $-0x3, %dl
orb %sil, %dl
movb %dl, (%rax,%rcx)
movq 0x30(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x30(%rsp)
jmp 0x27e483
jmp 0x27e4fc
movl 0x3c(%rsp), %eax
addq $0x68, %rsp
retq
nopw %cs:(%rax,%rax)