// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-contigs-graph.c
// Function: gt_contigs_graph_new
GtContigsGraph* gt_contigs_graph_new(FILE *cjl_i_fp, FILE *cjl_o_fp,
    FILE *junctions_fp, FILE *rlt_fp, FILE *depthinfo_fp, GtError *err)
{
  GtContigsGraph *cg;
  GtUword nofjinfos;
  GtContigJunctionInfo *j_info = NULL;
  int had_err = 0;

  cg = gt_contigs_graph_init();

  had_err = gt_contigs_graph_load_reads_libraries_table(cg, rlt_fp, err);

  if (!had_err)
    had_err = gt_contigs_graph_create_vertices(cg, cjl_i_fp, cjl_o_fp,
        depthinfo_fp, err);

  if (!had_err)
    had_err = gt_contigs_graph_read_junctions(&j_info, &nofjinfos,
        junctions_fp, err);

  if (!had_err)
  {
    unsigned int incoming;
    for (incoming = 0; incoming < 2U; incoming++)
    {
      gt_contigs_graph_create_e_spm(cg->nof_v, cg->v_spm[incoming],
          &(cg->e_spm[incoming]), &(cg->nof_spm_edges[incoming]),
          &(cg->alloc_spm_edges[incoming]), j_info, nofjinfos, (bool)incoming);
    }
  }

  gt_free(j_info);
  if (had_err)
  {
    gt_contigs_graph_delete(cg);
    return NULL;
  }
  return cg;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r13
movq %r8, 0x18(%rsp)
movq %rcx, %r15
movq %rdx, 0x8(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdi, %rbp
leaq 0x1d6c66(%rip), %rsi    # 0x34d591
movl $0xb0, %edi
movl $0x9a, %edx
callq 0x93160
movq %rax, %rbx
movl $0xa8, %edx
movq %rax, %rdi
xorl %esi, %esi
callq 0x17380
leaq 0x1d732a(%rip), %rdi    # 0x34dc7d
pushq $0x8
popq %r14
movq %r14, %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x1d7336(%rip), %rdi    # 0x34dc9e
pushq $0x10
popq %r12
movq %r12, %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x1d7345(%rip), %rdi    # 0x34dcc2
pushq $0x20
popq %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x1d7355(%rip), %rdi    # 0x34dce3
movq %r14, %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x1d7369(%rip), %rdi    # 0x34dd08
pushq $0x18
popq %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x1d737d(%rip), %rdi    # 0x34dd2d
pushq $0x1
popq %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x1d738f(%rip), %rdi    # 0x34dd50
movq %r12, %rsi
movq %rbx, %r12
xorl %eax, %eax
callq 0x92a82
movb $0x0, 0xa8(%rbx)
testq %r15, %r15
je 0x176f2e
movq %r15, %rdi
movq %r13, %rsi
callq 0x18d876
movq %rax, 0xa0(%r12)
testq %rax, %rax
je 0x176c12
testq %rbp, %rbp
je 0x176f5c
movq %r13, %r14
movq %rbp, %r13
movq 0x10(%rsp), %rbp
testq %rbp, %rbp
movq 0x18(%rsp), %r15
je 0x176f8d
testq %r15, %r15
je 0x176fbe
testq %r14, %r14
je 0x176a3a
movq %r14, %rdi
callq 0x89eb7
testb %al, %al
jne 0x176fef
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %r12, %rdi
movq %r13, %rcx
callq 0x17ad0
cmpq $0x1, %rax
jne 0x176aa0
leaq 0x20(%rsp), %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %rbp, %rcx
callq 0x17ad0
xorl %ebx, %ebx
cmpq $0x1, %rax
je 0x176a86
leaq 0x1d73fa(%rip), %rsi    # 0x34de6d
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rbx
movq 0x20(%rsp), %rcx
movq (%r12), %rdx
cmpq %rdx, %rcx
je 0x176aba
leaq 0x1d7437(%rip), %rsi    # 0x34ded2
movq %r14, %rdi
jmp 0x176ab3
pushq $-0x1
popq %rbx
leaq 0x1d735e(%rip), %rsi    # 0x34de08
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0x89dbb
movq (%r12), %rax
movq %rax, 0x8(%r12)
movq %rax, 0x10(%r12)
testl %ebx, %ebx
jne 0x176c12
leaq 0x8(,%rax,8), %rdi
leaq 0x1d6ab2(%rip), %rsi    # 0x34d591
movl $0x173, %edx            # imm = 0x173
callq 0x93160
movq %rax, 0x18(%r12)
movq (%r12), %rdx
pushq $0x8
popq %rsi
movq %rax, %rdi
movq %rbp, %rcx
callq 0x17ad0
movq (%r12), %rdx
cmpq %rdx, %rax
jne 0x176bec
movq 0x8(%r12), %rax
leaq 0x8(,%rax,8), %rdi
leaq 0x1d6a70(%rip), %rsi    # 0x34d591
movl $0x179, %edx            # imm = 0x179
callq 0x93160
movq %rax, 0x20(%r12)
movq (%r12), %rdx
pushq $0x8
popq %rsi
movq %rax, %rdi
movq %r13, %rcx
callq 0x17ad0
movq (%r12), %rdx
cmpq %rdx, %rax
jne 0x176bf5
movq 0x8(%r12), %rdi
shlq $0x5, %rdi
leaq 0x1d6a32(%rip), %rsi    # 0x34d591
movl $0x17f, %edx            # imm = 0x17F
callq 0x93160
movq %rax, 0x30(%r12)
movq (%r12), %rdx
pushq $0x20
popq %rsi
movq %rax, %rdi
movq %r15, %rcx
callq 0x17ad0
movq (%r12), %rdx
cmpq %rdx, %rax
jne 0x176bfe
movq 0x8(%r12), %rdi
leaq 0x1d69fc(%rip), %rsi    # 0x34d591
movl $0x186, %edx            # imm = 0x186
callq 0x93160
movq %rax, 0x38(%r12)
xorl %eax, %eax
xorl %ecx, %ecx
movq 0x8(%rsp), %r15
cmpq (%r12), %rcx
jae 0x176c42
movq 0x38(%r12), %rdx
andb $-0x2, (%rdx,%rcx)
movq 0x30(%r12), %rdx
movq 0x38(%r12), %rsi
cmpq $0x2, (%rdx,%rax)
sete %dl
movb (%rsi,%rcx), %dil
addb %dl, %dl
andb $-0x3, %dil
orb %dl, %dil
movb %dil, (%rsi,%rcx)
incq %rcx
addq $0x20, %rax
jmp 0x176bad
leaq 0x1d733b(%rip), %rsi    # 0x34df2e
jmp 0x176c05
leaq 0x1d7386(%rip), %rsi    # 0x34df82
jmp 0x176c05
leaq 0x1d73d6(%rip), %rsi    # 0x34dfdb
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0x89dbb
xorl %edi, %edi
leaq 0x1d6976(%rip), %rsi    # 0x34d591
movl $0x206, %edx            # imm = 0x206
callq 0x936f9
movq %r12, %rdi
callq 0x177082
xorl %r12d, %r12d
movq %r12, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r15, %r15
je 0x177020
testq %r14, %r14
je 0x176c60
movq %r14, %rdi
callq 0x89eb7
testb %al, %al
jne 0x177051
leaq 0x40(%rsp), %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rcx
callq 0x17ad0
xorl %ebx, %ebx
cmpq $0x1, %rax
je 0x176c95
leaq 0x1d73d8(%rip), %rsi    # 0x34e05a
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rbx
movq 0x40(%rsp), %r13
movq %r13, %rdi
shlq $0x4, %rdi
leaq 0x1d68e9(%rip), %rsi    # 0x34d591
movl $0x19e, %edx            # imm = 0x19E
callq 0x93160
pushq $0x10
popq %rsi
movq %rax, (%rsp)
movq %rax, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq 0x17ad0
cmpq %r13, %rax
je 0x176ce6
leaq 0x1d73d7(%rip), %rsi    # 0x34e0aa
movq %r14, %rdi
movq %r13, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rbx
leaq 0x1a38(%rip), %rcx      # 0x178725
pushq $0x10
popq %rdx
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x17ed0
testl %ebx, %ebx
je 0x176d09
movq (%rsp), %rdi
jmp 0x176c14
movq %r13, 0x30(%rsp)
xorl %r15d, %r15d
movl $0x1fffffff, %ebp       # imm = 0x1FFFFFFF
movl $0xe0000000, %r14d      # imm = 0xE0000000
movq (%rsp), %r9
movq %r12, 0x38(%rsp)
cmpq $0x2, %r15
je 0x176eaf
movq (%r12), %rdx
movq 0x18(%r12,%r15,8), %r8
andq $0x0, 0x60(%r12,%r15,8)
xorl %edi, %edi
xorl %eax, %eax
cmpq %rax, %rdx
je 0x176d59
movzwl (%r8,%rax,8), %ecx
addq %rcx, %rdi
movq %rdi, 0x60(%r12,%r15,8)
incq %rax
jmp 0x176d42
movq %rdi, 0x70(%r12,%r15,8)
shlq $0x3, %rdi
leaq 0x1d6828(%rip), %rsi    # 0x34d591
movq %rdx, 0x8(%rsp)
movl $0x1d4, %edx            # imm = 0x1D4
movq %r8, 0x10(%rsp)
callq 0x93160
movq 0x10(%rsp), %r10
movq 0x8(%rsp), %rcx
movq (%rsp), %r9
movq %rax, 0x80(%r12,%r15,8)
xorl %r13d, %r13d
xorl %edx, %edx
cmpq %rcx, %rdx
je 0x176e97
movq 0x80(%r12,%r15,8), %rbx
movq (%r10,%rdx,8), %rax
movzwl %ax, %r12d
shrq $0x10, %rax
movq %rax, 0x20(%rsp)
movq %r13, %rax
shlq $0x10, %rax
orq %r12, %rax
movq %rax, (%r10,%rdx,8)
testq %r12, %r12
je 0x176e8a
movq %rdx, 0x18(%rsp)
leaq 0x20(%rsp), %rdi
movq %r9, %rsi
movq 0x30(%rsp), %rdx
pushq $0x10
popq %rcx
leaq 0x1938(%rip), %r8       # 0x178725
callq 0x17940
testq %rax, %rax
je 0x176f00
movq 0x20(%rsp), %rcx
movq (%rsp), %r9
movq %rax, %rdx
cmpq %r9, %rax
je 0x176e16
leaq -0x10(%rdx), %rax
cmpq %rcx, -0x10(%rdx)
je 0x176e04
shll $0x3, %r12d
xorl %eax, %eax
movq 0x10(%rsp), %r10
cmpl %eax, %r12d
je 0x176e80
cmpq %rcx, (%rdx,%rax,2)
jne 0x176ec8
testq %r15, %r15
setne %sil
movl 0x8(%rdx,%rax,2), %edi
movl %edi, (%rbx,%r13,8)
movl 0xc(%rdx,%rax,2), %edi
andl %ebp, %edi
movl 0x4(%rbx,%r13,8), %r8d
andl %r14d, %r8d
orl %edi, %r8d
movl %r8d, 0x4(%rbx,%r13,8)
cmpl $0x0, 0xc(%rdx,%rax,2)
setns %dil
xorb %sil, %dil
movzbl %dil, %esi
shll $0x1d, %esi
andl $0x9fffffff, %r8d       # imm = 0x9FFFFFFF
orl %esi, %r8d
movl %r8d, 0x4(%rbx,%r13,8)
incq %r13
addq $0x8, %rax
jmp 0x176e21
movq 0x8(%rsp), %rcx
movq 0x18(%rsp), %rdx
incq %rdx
movq 0x38(%rsp), %r12
jmp 0x176d98
movzwl (%r10,%rcx,8), %eax
shlq $0x10, %r13
orq %rax, %r13
movq %r13, (%r10,%rcx,8)
incq %r15
jmp 0x176d25
leaq 0x1d66db(%rip), %rsi    # 0x34d591
movq %r9, %rdi
movl $0x206, %edx            # imm = 0x206
callq 0x936f9
jmp 0x176c30
movq 0x2c1099(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e13a(%rip), %rsi    # 0x2e5013
leaq 0x1d724c(%rip), %rdx    # 0x34e12c
leaq 0x1d7218(%rip), %rcx    # 0x34e0ff
leaq 0x1d66a3(%rip), %r8     # 0x34d591
movl $0x1bc, %r9d            # imm = 0x1BC
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x2c1061(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e102(%rip), %rsi    # 0x2e5013
leaq 0x1d71d8(%rip), %rdx    # 0x34e0f0
leaq 0x1d71e0(%rip), %rcx    # 0x34e0ff
leaq 0x1d666b(%rip), %r8     # 0x34d591
movl $0x1b7, %r9d            # imm = 0x1B7
jmp 0x176ef4
movq 0x2c1033(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e0d4(%rip), %rsi    # 0x2e5013
leaq 0x1d6e5b(%rip), %rdx    # 0x34dda1
leaq 0x1d6e28(%rip), %rcx    # 0x34dd75
leaq 0x1d663d(%rip), %r8     # 0x34d591
movl $0x1e2, %r9d            # imm = 0x1E2
jmp 0x176ef4
movq 0x2c1005(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e0a6(%rip), %rsi    # 0x2e5013
leaq 0x1d6e5d(%rip), %rdx    # 0x34ddd1
leaq 0x1d6e35(%rip), %rcx    # 0x34ddb0
leaq 0x1d660f(%rip), %r8     # 0x34d591
movl $0x15e, %r9d            # imm = 0x15E
jmp 0x176ef4
movq 0x2c0fd4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e075(%rip), %rsi    # 0x2e5013
leaq 0x1d6e3d(%rip), %rdx    # 0x34dde2
leaq 0x1d6e04(%rip), %rcx    # 0x34ddb0
leaq 0x1d65de(%rip), %r8     # 0x34d591
movl $0x15f, %r9d            # imm = 0x15F
jmp 0x176ef4
movq 0x2c0fa3(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e044(%rip), %rsi    # 0x2e5013
leaq 0x1d6e1d(%rip), %rdx    # 0x34ddf3
leaq 0x1d6dd3(%rip), %rcx    # 0x34ddb0
leaq 0x1d65ad(%rip), %r8     # 0x34d591
movl $0x160, %r9d            # imm = 0x160
jmp 0x176ef4
movq 0x2c0f72(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16e013(%rip), %rsi    # 0x2e5013
leaq 0x16e1b8(%rip), %rdx    # 0x2e51bf
leaq 0x1d6da2(%rip), %rcx    # 0x34ddb0
leaq 0x1d657c(%rip), %r8     # 0x34d591
movl $0x161, %r9d            # imm = 0x161
jmp 0x176ef4
movq 0x2c0f41(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16dfe2(%rip), %rsi    # 0x2e5013
leaq 0x1d700d(%rip), %rdx    # 0x34e045
leaq 0x1d6fe6(%rip), %rcx    # 0x34e025
leaq 0x1d654b(%rip), %r8     # 0x34d591
movl $0x19a, %r9d            # imm = 0x19A
jmp 0x176ef4
movq 0x2c0f10(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16dfb1(%rip), %rsi    # 0x2e5013
leaq 0x16e156(%rip), %rdx    # 0x2e51bf
leaq 0x1d6fb5(%rip), %rcx    # 0x34e025
leaq 0x1d651a(%rip), %r8     # 0x34d591
movl $0x19b, %r9d            # imm = 0x19B
jmp 0x176ef4