// File: /workspace/github_c_makefile_star2_O3/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 $0x58, %rsp
movq %r9, %r14
movq %r8, %r12
movq %rcx, %r15
movq %rdx, 0x8(%rsp)
movq %rsi, %rbp
movq %rdi, %r13
leaq 0x1e6cf1(%rip), %rsi    # 0x3ad241
movl $0xb0, %edi
movl $0x9a, %edx
callq 0x104226
movq %rax, %rbx
movl $0xa8, %edx
movq %rax, %rdi
xorl %esi, %esi
callq 0x173a0
leaq 0x1e73b5(%rip), %rdi    # 0x3ad92d
movl $0x8, %esi
xorl %eax, %eax
callq 0x103d72
leaq 0x1e73c3(%rip), %rdi    # 0x3ad94e
movl $0x10, %esi
xorl %eax, %eax
callq 0x103d72
leaq 0x1e73d4(%rip), %rdi    # 0x3ad972
movl $0x20, %esi
xorl %eax, %eax
callq 0x103d72
leaq 0x1e73e2(%rip), %rdi    # 0x3ad993
movl $0x8, %esi
xorl %eax, %eax
callq 0x103d72
leaq 0x1e73f4(%rip), %rdi    # 0x3ad9b8
movl $0x18, %esi
xorl %eax, %eax
callq 0x103d72
leaq 0x1e7406(%rip), %rdi    # 0x3ad9dd
movl $0x1, %esi
xorl %eax, %eax
callq 0x103d72
leaq 0x1e7416(%rip), %rdi    # 0x3ada00
movl $0x10, %esi
xorl %eax, %eax
callq 0x103d72
movb $0x0, 0xa8(%rbx)
testq %r15, %r15
je 0x1c6b83
movq %r15, %rdi
movq %r14, %rsi
callq 0x1df5a5
movq %rax, 0xa0(%rbx)
testq %rax, %rax
je 0x1c6b10
testq %r13, %r13
je 0x1c6b88
testq %rbp, %rbp
je 0x1c6b8d
testq %r12, %r12
je 0x1c6b92
testq %r14, %r14
je 0x1c6651
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1c6b97
movl $0x8, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rcx
callq 0x17b40
cmpq $0x1, %rax
jne 0x1c6ac4
leaq 0x38(%rsp), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %rbp, %rcx
callq 0x17b40
movq %rax, %r15
cmpq $0x1, %rax
je 0x1c66a9
leaq 0x1e7486(%rip), %rsi    # 0x3adb1d
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0xfcb67
movq 0x38(%rsp), %rcx
movq (%rbx), %rdx
cmpq %rdx, %rcx
je 0x1c66ca
leaq 0x1e74c5(%rip), %rsi    # 0x3adb82
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
movq (%rbx), %rcx
movq %rcx, 0x8(%rbx)
movq %rcx, 0x10(%rbx)
cmpq $0x1, %r15
jne 0x1c6b10
leaq 0x8(,%rcx,8), %rdi
leaq 0x1e6b56(%rip), %rsi    # 0x3ad241
movl $0x173, %edx            # imm = 0x173
callq 0x104226
movq %rax, 0x18(%rbx)
movq (%rbx), %rdx
movl $0x8, %esi
movq %rax, %rdi
movq %rbp, %rcx
callq 0x17b40
movq (%rbx), %rdx
cmpq %rdx, %rax
jne 0x1c6aea
movq 0x8(%rbx), %rax
leaq 0x8(,%rax,8), %rdi
leaq 0x1e6b16(%rip), %rsi    # 0x3ad241
movl $0x179, %edx            # imm = 0x179
callq 0x104226
movq %rax, 0x20(%rbx)
movq (%rbx), %rdx
movl $0x8, %esi
movq %rax, %rdi
movq %r13, %rcx
callq 0x17b40
movq (%rbx), %rdx
cmpq %rdx, %rax
jne 0x1c6af3
movq 0x8(%rbx), %rdi
shlq $0x5, %rdi
leaq 0x1e6ada(%rip), %rsi    # 0x3ad241
movl $0x17f, %edx            # imm = 0x17F
callq 0x104226
movq %rax, 0x30(%rbx)
movq (%rbx), %rdx
movl $0x20, %esi
movq %rax, %rdi
movq %r12, %rcx
callq 0x17b40
movq (%rbx), %rdx
cmpq %rdx, %rax
jne 0x1c6afc
movq 0x8(%rbx), %rdi
leaq 0x1e6aa2(%rip), %rsi    # 0x3ad241
movl $0x186, %edx            # imm = 0x186
callq 0x104226
movq %rax, 0x38(%rbx)
cmpq $0x0, (%rbx)
je 0x1c67ec
xorl %eax, %eax
xorl %ecx, %ecx
movq 0x38(%rbx), %rdx
andb $-0x2, (%rdx,%rcx)
movq 0x30(%rbx), %rdx
movq 0x38(%rbx), %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
cmpq (%rbx), %rcx
jb 0x1c67b7
movq 0x8(%rsp), %r12
testq %r12, %r12
je 0x1c6b9c
testq %r14, %r14
je 0x1c680f
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1c6ba1
leaq 0x50(%rsp), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r12, %rcx
callq 0x17b40
movq %rax, %r15
cmpq $0x1, %rax
je 0x1c6848
leaq 0x1e74d4(%rip), %rsi    # 0x3add0a
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0xfcb67
movq 0x50(%rsp), %rbp
movq %rbp, %rdi
shlq $0x4, %rdi
leaq 0x1e69e6(%rip), %rsi    # 0x3ad241
movl $0x19e, %edx            # imm = 0x19E
callq 0x104226
movq %rax, %r13
movl $0x10, %esi
movq %rax, %rdi
movq %rbp, %rdx
movq %r12, %rcx
callq 0x17b40
cmpq %rbp, %rax
jne 0x1c6b3f
leaq 0x1722(%rip), %rcx      # 0x1c7fad
movl $0x10, %edx
movq %r13, 0x10(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x17f60
cmpq $0x1, %r15
jne 0x1c6b72
movq %rbp, 0x48(%rsp)
movb $0x1, %r14b
xorl %ebp, %ebp
movl $0xe0000000, %r15d      # imm = 0xE0000000
xorl %r9d, %r9d
movq %rbx, 0x30(%rsp)
movq (%rbx), %rdx
movq 0x18(%rbx,%r9,8), %rsi
movq $0x0, 0x60(%rbx,%r9,8)
testq %rdx, %rdx
movq %rdx, 0x18(%rsp)
movq %rsi, 0x8(%rsp)
je 0x1c6a50
movl %r14d, 0x24(%rsp)
xorl %edi, %edi
xorl %eax, %eax
movzwl (%rsi,%rax,8), %ecx
addq %rcx, %rdi
movq %rdi, 0x60(%rbx,%r9,8)
incq %rax
cmpq %rax, %rdx
jne 0x1c68ef
movq %rdi, 0x70(%rbx,%r9,8)
shlq $0x3, %rdi
leaq 0x1e692e(%rip), %rsi    # 0x3ad241
movl $0x1d4, %edx            # imm = 0x1D4
movq %r9, 0x28(%rsp)
callq 0x104226
movq 0x18(%rsp), %r11
movq 0x28(%rsp), %r10
movq %rax, 0x80(%rbx,%r10,8)
xorl %ebx, %ebx
xorl %r13d, %r13d
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rax
movq 0x80(%rax,%r10,8), %r12
movq 0x8(%rsp), %rcx
movq (%rcx,%rbx,8), %rax
movzwl %ax, %r14d
shrq $0x10, %rax
movq %rax, 0x38(%rsp)
movq %r13, %rax
shlq $0x10, %rax
orq %r14, %rax
movq %rax, (%rcx,%rbx,8)
testq %r14, %r14
je 0x1c6a2f
movl $0x10, %ecx
leaq 0x38(%rsp), %rdi
movq %r8, %rsi
movq 0x48(%rsp), %rdx
leaq 0x161c(%rip), %r8       # 0x1c7fad
callq 0x17990
testq %rax, %rax
je 0x1c6b7e
movq 0x38(%rsp), %rcx
movq 0x10(%rsp), %r8
movl $0x1fffffff, %r9d       # imm = 0x1FFFFFFF
movq 0x18(%rsp), %r11
movq %rax, %rdx
cmpq %r8, %rax
je 0x1c69c6
leaq -0x10(%rdx), %rax
cmpq %rcx, -0x10(%rdx)
je 0x1c69b4
cmpq $0x1, %r14
adcq $0x0, %r14
addl %r14d, %r14d
xorl %eax, %eax
movq 0x28(%rsp), %r10
cmpq %rcx, (%rdx,%rax,8)
jne 0x1c6b79
movl 0x8(%rdx,%rax,8), %esi
movl %esi, (%r12,%r13,8)
movl 0xc(%rdx,%rax,8), %esi
andl %r9d, %esi
movl 0x4(%r12,%r13,8), %edi
andl %r15d, %edi
orl %esi, %edi
movl %edi, 0x4(%r12,%r13,8)
cmpl $0x0, 0xc(%rdx,%rax,8)
setns %sil
xorb %bpl, %sil
movzbl %sil, %esi
andl $0x1, %esi
shll $0x1d, %esi
andl $0x9fffffff, %edi       # imm = 0x9FFFFFFF
orl %esi, %edi
movl %edi, 0x4(%r12,%r13,8)
incq %r13
addq $0x2, %rax
cmpl %eax, %r14d
jne 0x1c69d8
incq %rbx
cmpq %r11, %rbx
jne 0x1c693e
shlq $0x10, %r13
movq 0x30(%rsp), %rbx
movl 0x24(%rsp), %r14d
movq 0x8(%rsp), %rcx
jmp 0x1c6a89
movq $0x0, 0x70(%rbx,%r9,8)
xorl %edi, %edi
leaq 0x1e67df(%rip), %rsi    # 0x3ad241
movl $0x1d4, %edx            # imm = 0x1D4
movq %r9, %r12
callq 0x104226
movq 0x8(%rsp), %rcx
movq 0x18(%rsp), %r11
movq 0x10(%rsp), %r8
movq %rax, 0x80(%rbx,%r12,8)
xorl %r13d, %r13d
movzwl (%rcx,%r11,8), %eax
orq %r13, %rax
movq %rax, (%rcx,%r11,8)
movl $0x1, %r9d
movb $0x1, %bpl
testb $0x1, %r14b
movl $0x0, %r14d
jne 0x1c68c2
leaq 0x1e678c(%rip), %rsi    # 0x3ad241
movq %r8, %rdi
movl $0x206, %edx            # imm = 0x206
callq 0x1045eb
jmp 0x1c6b2d
leaq 0x1e6fed(%rip), %rsi    # 0x3adab8
movl $0x1, %edx
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xfcb67
movq (%rbx), %rax
movq %rax, 0x8(%rbx)
movq %rax, 0x10(%rbx)
jmp 0x1c6b10
leaq 0x1e70ed(%rip), %rsi    # 0x3adbde
jmp 0x1c6b03
leaq 0x1e7138(%rip), %rsi    # 0x3adc32
jmp 0x1c6b03
leaq 0x1e7188(%rip), %rsi    # 0x3adc8b
movq %r14, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xfcb67
xorl %edi, %edi
leaq 0x1e6728(%rip), %rsi    # 0x3ad241
movl $0x206, %edx            # imm = 0x206
callq 0x1045eb
movq %rbx, %rdi
callq 0x1c6ba6
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1e7214(%rip), %rsi    # 0x3add5a
movq %r14, %rdi
movq %rbp, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xfcb67
leaq 0x1450(%rip), %rcx      # 0x1c7fad
movl $0x10, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x17f60
movq %r13, %rdi
jmp 0x1c6b12
movq 0x10(%rsp), %rdi
jmp 0x1c6b12
callq 0x69f44
callq 0x69f7d
callq 0x6a09a
callq 0x6a061
callq 0x6a028
callq 0x69fef
callq 0x69ed2
callq 0x69fb6
callq 0x69f0b