// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-contigs-graph.c
// Function: gt_contigs_graph_read_junctions
static int gt_contigs_graph_read_junctions(GtContigJunctionInfo **j_info,
    GtUword *nofjinfos, FILE *junctions_fp, GtError *err)
{
  int had_err = 0;
  gt_assert(nofjinfos != NULL);
  gt_assert(j_info != NULL);
  gt_assert(junctions_fp != NULL);
  gt_error_check(err);
  GT_CONTIGS_GRAPH_NEW_FREAD(nofjinfos, 1, junctions_fp,
      "number of junctions", "junctions info");
  *j_info = gt_malloc(sizeof (**j_info) * (*nofjinfos));
  GT_CONTIGS_GRAPH_NEW_FREAD(*j_info, *nofjinfos, junctions_fp,
      "junctions", "junctions info");
  qsort(*j_info, (size_t)*nofjinfos, sizeof (**j_info),
      gt_contigs_graph_jinfo_cmp);
#ifdef GG_DEBUG
  gt_contigs_graph_show_junctions(*j_info, *nofjinfos,
      "debug.sorted_junctions");
#endif
  return had_err;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movl $0x0, 0x14(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0x27e570
movq 0x3bda61(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297aca(%rip), %rsi    # 0x516013
leaq 0x302275(%rip), %rdx    # 0x5807c5
leaq 0x302280(%rip), %rcx    # 0x5807d7
leaq 0x3017d3(%rip), %r8     # 0x57fd31
movl $0x198, %r9d            # imm = 0x198
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e572
jmp 0x27e574
cmpq $0x0, 0x30(%rsp)
jne 0x27e5b4
movq 0x3bda1d(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297a86(%rip), %rsi    # 0x516013
leaq 0x302263(%rip), %rdx    # 0x5807f7
leaq 0x30223c(%rip), %rcx    # 0x5807d7
leaq 0x30178f(%rip), %r8     # 0x57fd31
movl $0x199, %r9d            # imm = 0x199
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e5b6
jmp 0x27e5b8
cmpq $0x0, 0x20(%rsp)
jne 0x27e5f8
movq 0x3bd9d9(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x297a42(%rip), %rsi    # 0x516013
leaq 0x30222e(%rip), %rdx    # 0x580806
leaq 0x3021f8(%rip), %rcx    # 0x5807d7
leaq 0x30174b(%rip), %r8     # 0x57fd31
movl $0x19a, %r9d            # imm = 0x19A
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e5fa
jmp 0x27e5fc
cmpq $0x0, 0x18(%rsp)
je 0x27e64c
movq 0x18(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x27e614
jmp 0x27e64c
movq 0x3bd985(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2979ee(%rip), %rsi    # 0x516013
leaq 0x297b93(%rip), %rdx    # 0x5161bf
leaq 0x3021a4(%rip), %rcx    # 0x5807d7
leaq 0x3016f7(%rip), %r8     # 0x57fd31
movl $0x19b, %r9d            # imm = 0x19B
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27e64e
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rcx
movl $0x8, %esi
movl $0x1, %edx
callq 0x19a70
movq %rax, 0x8(%rsp)
cmpq $0x1, 0x8(%rsp)
je 0x27e699
movq 0x18(%rsp), %rdi
movq 0x8(%rsp), %rcx
leaq 0x302196(%rip), %rsi    # 0x58081b
movl $0x1, %edx
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x28(%rsp), %rax
movq (%rax), %rdi
shlq $0x4, %rdi
leaq 0x301685(%rip), %rsi    # 0x57fd31
movl $0x19e, %edx            # imm = 0x19E
callq 0xe80f0
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, (%rax)
movq 0x30(%rsp), %rax
movq (%rax), %rdi
movq 0x28(%rsp), %rax
movq (%rax), %rdx
movq 0x20(%rsp), %rcx
movl $0x10, %esi
callq 0x19a70
movq %rax, (%rsp)
movq (%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq (%rcx), %rax
je 0x27e719
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rax
movq (%rax), %rdx
movq (%rsp), %rcx
leaq 0x302161(%rip), %rsi    # 0x58086b
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x30(%rsp), %rax
movq (%rax), %rdi
movq 0x28(%rsp), %rax
movq (%rax), %rsi
movl $0x10, %edx
leaq 0x2f0b(%rip), %rcx      # 0x281640
callq 0x19e70
movl 0x14(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)