// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/querymatch-align.c
// Function: gt_querymatchoutoptions_seededmatch2eoplist
void gt_querymatchoutoptions_seededmatch2eoplist(
                                GtQuerymatchoutoptions *querymatchoutoptions,
                                const GtSeqorEncseq *dbes,
                                GtUword dbstart_relative,
                                GtUword db_seqstart,
                                GtUword dblen,
                                GtReadmode query_readmode,
                                const GtSeqorEncseq *queryes,
                                GtUword query_seqstart,
                                GtUword query_seqlen,
                                GtUword querystart_rel,
                                GtUword querylen,
                                GtUword db_seedpos_rel,
                                GtUword query_seedpos_rel,
                                GtUword seedlen,
                                bool verify_alignment,
                                bool greedyextension)
{
  GtUword ulen, vlen, ustart, vstart;
  GtFtPolished_point right_best_polished_point = {0,0,0,0,0},
                     left_best_polished_point = {0,0,0,0,0};
  GtUword pol_size;
  GtSeqpaircoordinates *coords;
  GtUword leftcolumn, rightcolumn;

  gt_assert(querymatchoutoptions != NULL &&
            querymatchoutoptions->pol_info != NULL);
  pol_size = GT_MULT2(querymatchoutoptions->pol_info->cut_depth);
  gt_eoplist_reset(querymatchoutoptions->eoplist);
  ustart = db_seedpos_rel + seedlen;
  vstart = query_seedpos_rel + seedlen;
  gt_assert(dbstart_relative + dblen >= ustart);
  ulen = dbstart_relative + dblen - ustart;
  gt_assert(querystart_rel + querylen >= vstart);
  vlen = querystart_rel + querylen - vstart;
  if (ulen > 0 && vlen > 0)
  {
    gt_align_front_prune_edist(true,
                               &right_best_polished_point,
                               querymatchoutoptions->front_trace,
                               dbes,
                               queryes,
                               query_readmode,
                               query_seqstart,
                               query_seqlen,
                               querymatchoutoptions->ggemi,
                               greedyextension,
                               seedlen,
                               db_seqstart + ustart,
                               ulen,
                               query_seqstart + vstart,
                               vlen);
    if (querymatchoutoptions->front_trace != NULL)
    {
      front_trace2eoplist(querymatchoutoptions->always_polished_ends,
                          querymatchoutoptions->eoplist,
                          querymatchoutoptions->front_trace,
                          &right_best_polished_point,
                          pol_size,
                          querymatchoutoptions->pol_info->match_score,
                          querymatchoutoptions->pol_info->difference_score,
                          NULL,
                          ulen,
                          NULL,
                          vlen);
      front_trace_reset(querymatchoutoptions->front_trace,ulen+vlen);
    }
  }
  gt_eoplist_match_add(querymatchoutoptions->eoplist,seedlen);
  if (db_seedpos_rel > dbstart_relative && query_seedpos_rel > querystart_rel)
  {
    ulen = db_seedpos_rel - dbstart_relative;
    vlen = query_seedpos_rel - querystart_rel;
    gt_align_front_prune_edist(false,
                               &left_best_polished_point,
                               querymatchoutoptions->front_trace,
                               dbes,
                               queryes,
                               query_readmode,
                               query_seqstart,
                               query_seqlen,
                               querymatchoutoptions->ggemi,
                               greedyextension,
                               seedlen,
                               db_seqstart + dbstart_relative,
                               ulen,
                               query_seqstart + querystart_rel,
                               vlen);
    if (querymatchoutoptions->front_trace != NULL)
    {
      GtUword previous_eoplistlen
        = gt_eoplist_length(querymatchoutoptions->eoplist);
      front_trace2eoplist(querymatchoutoptions->always_polished_ends,
                          querymatchoutoptions->eoplist,
                          querymatchoutoptions->front_trace,
                          &left_best_polished_point,
                          pol_size,
                          querymatchoutoptions->pol_info->match_score,
                          querymatchoutoptions->pol_info->difference_score,
                          NULL,
                          ulen,
                          NULL,
                          vlen);
      gt_eoplist_reverse_end(querymatchoutoptions->eoplist,previous_eoplistlen);
      front_trace_reset(querymatchoutoptions->front_trace,ulen+vlen);
    }
  }
  coords = &querymatchoutoptions->correction_info;
  gt_assert(db_seedpos_rel >= dbstart_relative + left_best_polished_point.row);
  coords->uoffset = db_seedpos_rel - left_best_polished_point.row -
                                     dbstart_relative;
  coords->ulen = seedlen + left_best_polished_point.row +
                 right_best_polished_point.row;
  leftcolumn = left_best_polished_point.alignedlen -
               left_best_polished_point.row;
  rightcolumn = right_best_polished_point.alignedlen -
                right_best_polished_point.row;
  gt_assert(query_seedpos_rel >= leftcolumn + querystart_rel);
  coords->voffset = query_seedpos_rel - leftcolumn - querystart_rel;
  coords->vlen = seedlen + leftcolumn + rightcolumn;
  coords->sumdist = left_best_polished_point.distance +
                    right_best_polished_point.distance;
  coords->sum_max_mismatches = left_best_polished_point.max_mismatches +
                               right_best_polished_point.max_mismatches;
  gt_eoplist_reverse_end(querymatchoutoptions->eoplist,0);
  if (verify_alignment)
  {
    gt_querymtch_alignment_verification(querymatchoutoptions,
                                        db_seqstart + dbstart_relative,
                                        coords->ulen,
                                        query_seqstart + querystart_rel,
                                        coords->vlen,
                                        coords->sumdist);
  }
  gt_eoplist_set_seedoffset(querymatchoutoptions->eoplist,
                            db_seedpos_rel - dbstart_relative,
                            seedlen);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rcx, 0x48(%rsp)
movq %rdx, %rax
movq 0x48(%rsp), %rdx
movq %rax, 0x50(%rsp)
movq %rsi, %rax
movq 0x50(%rsp), %rsi
movq %rax, 0x58(%rsp)
movq %rdi, %r10
movq 0x58(%rsp), %rdi
movb 0x1a8(%rsp), %al
movb 0x1a0(%rsp), %cl
movq 0x198(%rsp), %r11
movq 0x190(%rsp), %r11
movq 0x188(%rsp), %r11
movq 0x180(%rsp), %r11
movq 0x178(%rsp), %r11
movq 0x170(%rsp), %r11
movq 0x168(%rsp), %r11
movq 0x160(%rsp), %r11
movq %r10, 0x120(%rsp)
movq %rdi, 0x118(%rsp)
movq %rsi, 0x110(%rsp)
movq %rdx, 0x108(%rsp)
movq %r8, 0x100(%rsp)
movl %r9d, 0xfc(%rsp)
andb $0x1, %cl
movb %cl, 0xfb(%rsp)
andb $0x1, %al
movb %al, 0xfa(%rsp)
leaq 0xb0(%rsp), %rdi
xorl %esi, %esi
movl $0x28, %edx
callq 0x19360
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
movl $0x28, %edx
callq 0x19360
cmpq $0x0, 0x120(%rsp)
je 0x26410e
movq 0x120(%rsp), %rax
cmpq $0x0, 0xb0(%rax)
jne 0x264146
movq 0x3d7e8b(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2b1ef4(%rip), %rsi    # 0x516013
leaq 0x3186e3(%rip), %rdx    # 0x57c809
leaq 0x318723(%rip), %rcx    # 0x57c850
leaq 0x318699(%rip), %r8     # 0x57c7cd
movl $0x111, %r9d            # imm = 0x111
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x264148
movq 0x120(%rsp), %rax
movq 0xb0(%rax), %rax
movq 0x8(%rax), %rax
shlq %rax
movq %rax, 0x80(%rsp)
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x4c1820
movq 0x188(%rsp), %rax
addq 0x198(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0x190(%rsp), %rax
addq 0x198(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0x110(%rsp), %rax
addq 0x100(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jae 0x2641f9
movq 0x3d7dd8(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2b1e41(%rip), %rsi    # 0x516013
leaq 0x3186a3(%rip), %rdx    # 0x57c87c
leaq 0x318670(%rip), %rcx    # 0x57c850
leaq 0x3185e6(%rip), %r8     # 0x57c7cd
movl $0x116, %r9d            # imm = 0x116
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2641fb
movq 0x110(%rsp), %rax
addq 0x100(%rsp), %rax
subq 0xe0(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq 0x178(%rsp), %rax
addq 0x180(%rsp), %rax
cmpq 0xd8(%rsp), %rax
jae 0x26426d
movq 0x3d7d64(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2b1dcd(%rip), %rsi    # 0x516013
leaq 0x318652(%rip), %rdx    # 0x57c89f
leaq 0x3185fc(%rip), %rcx    # 0x57c850
leaq 0x318572(%rip), %r8     # 0x57c7cd
movl $0x118, %r9d            # imm = 0x118
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x26426f
movq 0x178(%rsp), %rax
addq 0x180(%rsp), %rax
subq 0xd8(%rsp), %rax
movq %rax, 0xe8(%rsp)
cmpq $0x0, 0xf0(%rsp)
jbe 0x264444
cmpq $0x0, 0xe8(%rsp)
jbe 0x264444
movq 0x120(%rsp), %rax
movq 0x40(%rax), %rdx
movq 0x118(%rsp), %rcx
movq 0x160(%rsp), %r8
movl 0xfc(%rsp), %r9d
movq 0x168(%rsp), %r13
movq 0x170(%rsp), %r12
movq 0x120(%rsp), %rax
movq 0x48(%rax), %r15
movb 0xfa(%rsp), %bpl
movq 0x198(%rsp), %r14
movq 0x108(%rsp), %rbx
addq 0xe0(%rsp), %rbx
movq 0xf0(%rsp), %r11
movq 0x168(%rsp), %r10
addq 0xd8(%rsp), %r10
movq 0xe8(%rsp), %rax
movl $0x1, %edi
leaq 0xb0(%rsp), %rsi
andb $0x1, %bpl
movq %r13, (%rsp)
movq %r12, 0x8(%rsp)
movq %r15, 0x10(%rsp)
movzbl %bpl, %ebp
movl %ebp, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movq %r10, 0x38(%rsp)
movq %rax, 0x40(%rsp)
callq 0x2ac1b0
movq 0x120(%rsp), %rax
cmpq $0x0, 0x40(%rax)
je 0x264442
movq 0x120(%rsp), %rax
movb 0xa8(%rax), %dil
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rsi
movq 0x120(%rsp), %rax
movq 0x40(%rax), %rdx
movq 0x80(%rsp), %r8
movq 0x120(%rsp), %rax
movq 0xb0(%rax), %rax
movq 0x28(%rax), %r9
movq 0x120(%rsp), %rax
movq 0xb0(%rax), %rax
movq 0x20(%rax), %r11
movq 0xf0(%rsp), %r10
movq 0xe8(%rsp), %rax
leaq 0xb0(%rsp), %rcx
xorl %ebx, %ebx
andb $0x1, %dil
movzbl %dil, %edi
movq %r11, (%rsp)
movq $0x0, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x4c6f40
movq 0x120(%rsp), %rax
movq 0x40(%rax), %rdi
movq 0xf0(%rsp), %rsi
addq 0xe8(%rsp), %rsi
callq 0x4c68d0
jmp 0x264444
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x198(%rsp), %rsi
callq 0x4c28f0
movq 0x188(%rsp), %rax
cmpq 0x110(%rsp), %rax
jbe 0x264679
movq 0x190(%rsp), %rax
cmpq 0x178(%rsp), %rax
jbe 0x264679
movq 0x188(%rsp), %rax
subq 0x110(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq 0x190(%rsp), %rax
subq 0x178(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x120(%rsp), %rax
movq 0x40(%rax), %rdx
movq 0x118(%rsp), %rcx
movq 0x160(%rsp), %r8
movl 0xfc(%rsp), %r9d
movq 0x168(%rsp), %r13
movq 0x170(%rsp), %r12
movq 0x120(%rsp), %rax
movq 0x48(%rax), %r15
movb 0xfa(%rsp), %bpl
movq 0x198(%rsp), %r14
movq 0x108(%rsp), %rbx
addq 0x110(%rsp), %rbx
movq 0xf0(%rsp), %r11
movq 0x168(%rsp), %r10
addq 0x178(%rsp), %r10
movq 0xe8(%rsp), %rax
xorl %edi, %edi
leaq 0x88(%rsp), %rsi
andb $0x1, %bpl
movq %r13, (%rsp)
movq %r12, 0x8(%rsp)
movq %r15, 0x10(%rsp)
movzbl %bpl, %ebp
movl %ebp, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movq %r10, 0x38(%rsp)
movq %rax, 0x40(%rsp)
callq 0x2ac1b0
movq 0x120(%rsp), %rax
cmpq $0x0, 0x40(%rax)
je 0x264677
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x4c2fe0
movq %rax, 0x60(%rsp)
movq 0x120(%rsp), %rax
movb 0xa8(%rax), %dil
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rsi
movq 0x120(%rsp), %rax
movq 0x40(%rax), %rdx
movq 0x80(%rsp), %r8
movq 0x120(%rsp), %rax
movq 0xb0(%rax), %rax
movq 0x28(%rax), %r9
movq 0x120(%rsp), %rax
movq 0xb0(%rax), %rax
movq 0x20(%rax), %r11
movq 0xf0(%rsp), %r10
movq 0xe8(%rsp), %rax
leaq 0x88(%rsp), %rcx
xorl %ebx, %ebx
andb $0x1, %dil
movzbl %dil, %edi
movq %r11, (%rsp)
movq $0x0, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x4c6f40
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x60(%rsp), %rsi
callq 0x4c3010
movq 0x120(%rsp), %rax
movq 0x40(%rax), %rdi
movq 0xf0(%rsp), %rsi
addq 0xe8(%rsp), %rsi
callq 0x4c68d0
jmp 0x264679
movq 0x120(%rsp), %rax
addq $0x78, %rax
movq %rax, 0x78(%rsp)
movq 0x188(%rsp), %rax
movq 0x110(%rsp), %rcx
addq 0x90(%rsp), %rcx
cmpq %rcx, %rax
jae 0x2646df
movq 0x3d78f2(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2b195b(%rip), %rsi    # 0x516013
leaq 0x318204(%rip), %rdx    # 0x57c8c3
leaq 0x31818a(%rip), %rcx    # 0x57c850
leaq 0x318100(%rip), %r8     # 0x57c7cd
movl $0x163, %r9d            # imm = 0x163
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2646e1
movq 0x188(%rsp), %rcx
subq 0x90(%rsp), %rcx
subq 0x110(%rsp), %rcx
movq 0x78(%rsp), %rax
movq %rcx, (%rax)
movq 0x198(%rsp), %rcx
addq 0x90(%rsp), %rcx
addq 0xb8(%rsp), %rcx
movq 0x78(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x88(%rsp), %rax
subq 0x90(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0xb0(%rsp), %rax
subq 0xb8(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x190(%rsp), %rax
movq 0x70(%rsp), %rcx
addq 0x178(%rsp), %rcx
cmpq %rcx, %rax
jae 0x26479e
movq 0x3d7833(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2b189c(%rip), %rsi    # 0x516013
leaq 0x318187(%rip), %rdx    # 0x57c905
leaq 0x3180cb(%rip), %rcx    # 0x57c850
leaq 0x318041(%rip), %r8     # 0x57c7cd
movl $0x16c, %r9d            # imm = 0x16C
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2647a0
movq 0x190(%rsp), %rcx
subq 0x70(%rsp), %rcx
subq 0x178(%rsp), %rcx
movq 0x78(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x198(%rsp), %rcx
addq 0x70(%rsp), %rcx
addq 0x68(%rsp), %rcx
movq 0x78(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x98(%rsp), %rcx
addq 0xc0(%rsp), %rcx
movq 0x78(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0xa8(%rsp), %rcx
addq 0xd0(%rsp), %rcx
movq 0x78(%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x4c3010
testb $0x1, 0xfb(%rsp)
je 0x264872
movq 0x120(%rsp), %rdi
movq 0x108(%rsp), %rsi
addq 0x110(%rsp), %rsi
movq 0x78(%rsp), %rax
movq 0x10(%rax), %rdx
movq 0x168(%rsp), %rcx
addq 0x178(%rsp), %rcx
movq 0x78(%rsp), %rax
movq 0x18(%rax), %r8
movq 0x78(%rsp), %rax
movq 0x20(%rax), %r9
callq 0x2648b0
movq 0x120(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x188(%rsp), %rsi
subq 0x110(%rsp), %rsi
movq 0x198(%rsp), %rdx
callq 0x4c6610
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)