// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/hpol_processor.c
// Function: gt_hpol_processor_output_sorted_segments
static int gt_hpol_processor_output_sorted_segments(GtHpolProcessor *hpp,
    GtSeqIterator *reads_iter, GtFile *outfile, GtError *err)
{
  const GtUchar *s;
  char *d;
  int next_rval;
  GtUword len, i;
  GtStr *d_str = NULL;
  GtAlignedSegment *as;
  gt_assert(hpp != NULL);
  gt_assert(hpp->processed_segments != NULL);
  gt_assert(reads_iter != NULL);
  d_str = gt_str_new();
  while ((next_rval = gt_seq_iterator_next(reads_iter, &s, &len, &d, err))
      > 0)
  {
    gt_str_set(d_str, d);
    for (i = 0; i < (GtUword)strlen(d); i++)
    {
      if (d[i] == ' ')
        d[i] = '\0';
    }
    if ((as = gt_hashmap_get(hpp->processed_segments, d)) != NULL)
    {
      gt_hpol_processor_output_segment(as, true, outfile, gt_str_get(d_str));
    }
    else
    {
      gt_warning("ID not found: %s", d);
    }
  }
  gt_str_delete(d_str);
  return next_rval;
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movq %rcx, 0x58(%rsp)
movq $0x0, 0x28(%rsp)
cmpq $0x0, 0x70(%rsp)
jne 0x18f201
movq 0x4acdd0(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x386e39(%rip), %rsi    # 0x516013
leaq 0x3c6b5c(%rip), %rdx    # 0x555d3d
leaq 0x3c7593(%rip), %rcx    # 0x55677b
leaq 0x3c6b11(%rip), %r8     # 0x555d00
movl $0x38c, %r9d            # imm = 0x38C
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x18f203
jmp 0x18f205
movq 0x70(%rsp), %rax
cmpq $0x0, 0xe8(%rax)
jne 0x18f24c
movq 0x4acd85(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x386dee(%rip), %rsi    # 0x516013
leaq 0x3c7578(%rip), %rdx    # 0x5567a4
leaq 0x3c7548(%rip), %rcx    # 0x55677b
leaq 0x3c6ac6(%rip), %r8     # 0x555d00
movl $0x38d, %r9d            # imm = 0x38D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x18f24e
jmp 0x18f250
cmpq $0x0, 0x68(%rsp)
jne 0x18f290
movq 0x4acd41(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x386daa(%rip), %rsi    # 0x516013
leaq 0x3c7554(%rip), %rdx    # 0x5567c4
leaq 0x3c7504(%rip), %rcx    # 0x55677b
leaq 0x3c6a82(%rip), %r8     # 0x555d00
movl $0x38e, %r9d            # imm = 0x38E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x18f292
callq 0x11d4a0
movq %rax, 0x28(%rsp)
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %r8
leaq 0x50(%rsp), %rsi
leaq 0x38(%rsp), %rdx
leaq 0x48(%rsp), %rcx
callq 0x111ab0
movl %eax, 0x44(%rsp)
cmpl $0x0, %eax
jle 0x18f3a3
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x11d650
movq $0x0, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rdi
callq 0x192b0
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0x18f333
movq 0x48(%rsp), %rax
movq 0x30(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x20, %eax
jne 0x18f321
movq 0x48(%rsp), %rax
movq 0x30(%rsp), %rcx
movb $0x0, (%rax,%rcx)
jmp 0x18f323
movq 0x30(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x30(%rsp)
jmp 0x18f2df
movq 0x70(%rsp), %rax
movq 0xe8(%rax), %rdi
movq 0x48(%rsp), %rsi
callq 0xe0f20
movq %rax, 0x20(%rsp)
cmpq $0x0, %rax
je 0x18f38b
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x28(%rsp), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rdx
movq %rax, %rcx
movl $0x1, %esi
callq 0x18f9f0
jmp 0x18f39e
movq 0x48(%rsp), %rsi
leaq 0x3c7440(%rip), %rdi    # 0x5567d7
movb $0x0, %al
callq 0x1267d0
jmp 0x18f29c
movq 0x28(%rsp), %rdi
callq 0x11f560
movl 0x44(%rsp), %eax
addq $0x78, %rsp
retq
nopw %cs:(%rax,%rax)