// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/encseq_col.c
// Function: gt_encseq_col_enable_match_desc_start
static void gt_encseq_col_enable_match_desc_start(GtSeqCol *sc)
{
  GtEncseqCol *esc;
  GtUword j;
  GtSeqInfo seq_info;
  GtStr *descbuf = gt_str_new();
  esc = gt_encseq_col_cast(sc);
  esc->matchstart = true;
  /* pre-cache seqids for faster search */
  if (!esc->grep_cache)
    esc->grep_cache = gt_seq_info_cache_new();
  for (j = 0; j < gt_encseq_num_of_sequences(esc->encseq); j++) {
    const char *desc;
    GtUword desc_len;
    desc = gt_encseq_description(esc->encseq, &desc_len, j);
    gt_assert(desc);
    gt_str_reset(descbuf);
    gt_str_append_cstr_nt(descbuf, desc, desc_len);
    seq_info.filenum = gt_encseq_filenum(esc->encseq,
                                         gt_encseq_seqstartpos(esc->encseq, j));
    seq_info.seqnum = j - gt_encseq_filenum_first_seqnum(esc->encseq,
                                                         seq_info.filenum);
    if (!gt_seq_info_cache_get(esc->grep_cache, gt_str_get(descbuf)))
      gt_seq_info_cache_add(esc->grep_cache, gt_str_get(descbuf), &seq_info);
    else {
      if (!esc->duplicates)
        esc->duplicates = gt_hashmap_new(GT_HASH_STRING, NULL, NULL);
      gt_hashmap_add(esc->duplicates, gt_str_get(descbuf), (void*) 1);
    }
  }
  gt_str_delete(descbuf);
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
callq 0x18f00
movq %rax, 0x48(%rsp)
callq 0x13f230
movq %rax, %rdi
movq 0x70(%rsp), %rsi
callq 0x14a350
movq %rax, 0x68(%rsp)
movq 0x68(%rsp), %rax
movb $0x1, 0x28(%rax)
movq 0x68(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x13f3f0
callq 0x14ad00
movq %rax, %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x18(%rax)
movq $0x0, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x113f30
movq %rax, %rcx
movq 0x30(%rsp), %rax
cmpq %rcx, %rax
jae 0x13f5be
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x60(%rsp), %rdx
leaq 0x38(%rsp), %rsi
callq 0x11bd20
movq %rax, 0x40(%rsp)
cmpq $0x0, 0x40(%rsp)
jne 0x13f47f
movq 0x74b8a(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x1ec0e(%rip), %rsi     # 0x15e066
leaq 0x39b17(%rip), %rdx     # 0x178f76
leaq 0x4bac0(%rip), %rcx     # 0x18af26
leaq 0x4ba41(%rip), %r8      # 0x18aeae
movl $0x8c, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x13f481
movq 0x48(%rsp), %rdi
callq 0x19b70
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rdx
callq 0x19290
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x60(%rsp), %rsi
callq 0x11a710
movq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x12ccd0
movq %rax, 0x50(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x50(%rsp), %rsi
callq 0x12cea0
movq %rax, %rcx
movq 0x20(%rsp), %rax
subq %rcx, %rax
movq %rax, 0x58(%rsp)
movq 0x68(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x48(%rsp), %rdi
callq 0x19940
movq 0x28(%rsp), %rdi
movq %rax, %rsi
callq 0x14ad80
cmpq $0x0, %rax
jne 0x13f556
movq 0x68(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x48(%rsp), %rdi
callq 0x19940
movq 0x10(%rsp), %rdi
movq %rax, %rsi
leaq 0x50(%rsp), %rdx
callq 0x14adf0
jmp 0x13f5a9
movq 0x68(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x13f57f
movl $0x1, %edi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x86190
movq %rax, %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x68(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rdi
callq 0x19940
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x86510
jmp 0x13f5ab
movq 0x60(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x60(%rsp)
jmp 0x13f3f9
movq 0x48(%rsp), %rdi
callq 0x1afc0
addq $0x78, %rsp
retq
nopl (%rax)