// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/hpol_processor.c
// Function: gt_hpol_processor_adjust_hlen_of_all_segments
static bool gt_hpol_processor_adjust_hlen_of_all_segments(
    GtAlignedSegmentsPile *asp, char c, GtUword r_hstart,
    GtUword coverage, GtUword r_hlen, GtUword r_supp,
    GtUword a_hlen, GtUword a_supp, GtUword clenmax,
    bool allow_partial, bool allow_multiple, GtUword s_hmin,
    GtUword qmax, GtUword mapqmin, bool output_stats,
    GtFile *outfp_stats, GtHashmap *processed_segments,
    bool output_multihit_stats)
{
  GtDlistelem *dlistelem;
  bool any_edited = false, edited;
  gt_assert(asp != NULL);
  for (dlistelem = gt_dlist_first(gt_aligned_segments_pile_get(asp));
        dlistelem != NULL; dlistelem = gt_dlistelem_next(dlistelem))
  {
    GtAlignedSegment *as;
    as = gt_dlistelem_get_data(dlistelem);
    if (gt_aligned_segment_has_indels(as) &&
        gt_aligned_segment_mapping_quality(as) >= mapqmin)
    {
      bool output_stats_for_as = output_stats;
      if (output_stats_for_as && !output_multihit_stats && processed_segments)
      {
        GtAlignedSegment *stored_as;
        /* if processed_segment exists, disable output_stats if stored_as
         * exists and was edited */
        if ((stored_as = gt_hashmap_get(processed_segments,
                gt_aligned_segment_description(as))) != NULL &&
            gt_aligned_segment_seq_edited(stored_as))
          output_stats_for_as = false;
      }
      edited = gt_hpol_processor_adjust_hlen_of_a_segment(as, c, r_hstart,
          coverage, r_hlen, r_supp, a_hlen, a_supp, clenmax, allow_partial,
          allow_multiple, s_hmin, qmax, output_stats_for_as, outfp_stats);
      if (edited)
        any_edited = true;
    }
  }
  return any_edited;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, 0x50(%rsp)
movq %rdx, %r10
movq %rdi, %rbx
movq 0x50(%rsp), %rdi
movb %sil, %r11b
movb 0x148(%rsp), %al
movq 0x140(%rsp), %rcx
movq 0x138(%rsp), %rcx
movb 0x130(%rsp), %cl
movq 0x128(%rsp), %rdx
movq 0x120(%rsp), %rdx
movq 0x118(%rsp), %rdx
movb 0x110(%rsp), %dl
movb 0x108(%rsp), %sil
movq 0x100(%rsp), %r14
movq 0xf8(%rsp), %r14
movq 0xf0(%rsp), %r14
movq %rbx, 0xb0(%rsp)
movb %r11b, 0xaf(%rsp)
movq %r10, 0xa0(%rsp)
movq %rdi, 0x98(%rsp)
movq %r8, 0x90(%rsp)
movq %r9, 0x88(%rsp)
andb $0x1, %sil
movb %sil, 0x87(%rsp)
andb $0x1, %dl
movb %dl, 0x86(%rsp)
andb $0x1, %cl
movb %cl, 0x85(%rsp)
andb $0x1, %al
movb %al, 0x84(%rsp)
movb $0x0, 0x77(%rsp)
cmpq $0x0, 0xb0(%rsp)
jne 0x190162
movq 0x4abe6f(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x385ed8(%rip), %rsi    # 0x516013
leaq 0x3b6abd(%rip), %rdx    # 0x546bff
leaq 0x3c6489(%rip), %rcx    # 0x5565d2
leaq 0x3c5bb0(%rip), %r8     # 0x555d00
movl $0x2d6, %r9d            # imm = 0x2D6
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x190164
movq 0xb0(%rsp), %rdi
callq 0x129be0
movq %rax, %rdi
callq 0xa5f40
movq %rax, 0x78(%rsp)
cmpq $0x0, 0x78(%rsp)
je 0x19031b
movq 0x78(%rsp), %rdi
callq 0xa60d0
movq %rax, 0x68(%rsp)
movq 0x68(%rsp), %rdi
callq 0x488d80
testb $0x1, %al
jne 0x1901ac
jmp 0x190305
movq 0x68(%rsp), %rdi
callq 0x488170
cmpq 0x128(%rsp), %rax
jb 0x190305
movb 0x85(%rsp), %al
andb $0x1, %al
movb %al, 0x67(%rsp)
testb $0x1, 0x67(%rsp)
je 0x190233
testb $0x1, 0x84(%rsp)
jne 0x190233
cmpq $0x0, 0x140(%rsp)
je 0x190233
movq 0x140(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x68(%rsp), %rdi
callq 0x488bd0
movq 0x48(%rsp), %rdi
movq %rax, %rsi
callq 0xe0f20
movq %rax, 0x58(%rsp)
cmpq $0x0, %rax
je 0x190231
movq 0x58(%rsp), %rdi
callq 0x488c70
testb $0x1, %al
jne 0x19022c
jmp 0x190231
movb $0x0, 0x67(%rsp)
jmp 0x190233
movq 0x68(%rsp), %rdi
movb 0xaf(%rsp), %sil
movq 0xa0(%rsp), %rdx
movq 0x98(%rsp), %rcx
movq 0x90(%rsp), %r8
movq 0x88(%rsp), %r9
movq 0xf0(%rsp), %r13
movq 0xf8(%rsp), %r12
movq 0x100(%rsp), %r15
movb 0x87(%rsp), %r14b
movb 0x86(%rsp), %bpl
movq 0x118(%rsp), %rbx
movq 0x120(%rsp), %r11
movb 0x67(%rsp), %r10b
movq 0x138(%rsp), %rax
andb $0x1, %r14b
andb $0x1, %bpl
andb $0x1, %r10b
movsbl %sil, %esi
movq %r13, (%rsp)
movq %r12, 0x8(%rsp)
movq %r15, 0x10(%rsp)
movzbl %r14b, %r14d
movl %r14d, 0x18(%rsp)
movzbl %bpl, %ebp
movl %ebp, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movzbl %r10b, %r10d
movl %r10d, 0x38(%rsp)
movq %rax, 0x40(%rsp)
callq 0x190410
andb $0x1, %al
movb %al, 0x76(%rsp)
testb $0x1, 0x76(%rsp)
je 0x190303
movb $0x1, 0x77(%rsp)
jmp 0x190305
jmp 0x190307
movq 0x78(%rsp), %rdi
callq 0xa6120
movq %rax, 0x78(%rsp)
jmp 0x19017e
movb 0x77(%rsp), %al
andb $0x1, %al
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)