// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/querymatch-align.c
// Function: gt_querymatchoutoptions_extend
void gt_querymatchoutoptions_extend(
                  GtQuerymatchoutoptions *querymatchoutoptions,
                  GtUword errorpercentage,
                  double evalue_threshold,
                  GtUword maxalignedlendifference,
                  GtUword history_size,
                  GtUword perc_mat_history,
                  GtExtendCharAccess a_extend_char_access,
                  GtExtendCharAccess b_extend_char_access,
                  bool cam_generic,
                  bool weakends,
                  GtUword sensitivity,
                  double matchscore_bias,
                  bool always_polished_ends,
                  const GtSeedExtendDisplayFlag *out_display_flag)
{
  if (errorpercentage > 0)
  {
    gt_assert(querymatchoutoptions != NULL);
    querymatchoutoptions->front_trace = front_trace_new();
    querymatchoutoptions->pol_info
      = polishing_info_new_with_bias(weakends ? GT_MAX(errorpercentage,20)
                                              : errorpercentage,
                                     matchscore_bias,
                                     history_size);
    querymatchoutoptions->ggemi
      = gt_greedy_extend_matchinfo_new(maxalignedlendifference,
                                       history_size, /* default value */
                                       perc_mat_history,
                                       0,/* userdefinedleastlength not used */
                                       errorpercentage,
                                       evalue_threshold,
                                       a_extend_char_access,
                                       b_extend_char_access,
                                       cam_generic,
                                       sensitivity,
                                       querymatchoutoptions->pol_info);
    if (always_polished_ends)
    {
      gt_eoplist_polished_ends(querymatchoutoptions->eoplist,
                               querymatchoutoptions->pol_info,true,
                               gt_querymatch_polinfo_display(out_display_flag));
    }
    if (gt_querymatch_seed_in_algn_display(out_display_flag))
    {
      gt_eoplist_display_seed_in_alignment_set(querymatchoutoptions->eoplist);
    }
    querymatchoutoptions->always_polished_ends = always_polished_ends;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rsi, %rsi
je 0x1682bc
movq %rdi, %rbx
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
testq %rdi, %rdi
je 0x1682cb
movl %r9d, %ebp
movq %r8, %r15
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r12
callq 0x2ba3a8
cmpq $0x15, %r12
pushq $0x14
popq %rcx
cmovaeq %r12, %rcx
cmpb $0x0, 0x60(%rsp)
cmoveq %r12, %rcx
movq %rcx, %xmm1
punpckldq 0x17f6d6(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x17f6de(%rip), %xmm1   # 0x2e78f0
movq %rax, 0x40(%rbx)
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movsd 0x8(%rsp), %xmm1
movq %r13, %rdi
callq 0x15cd14
movq %rax, 0xb0(%rbx)
movzbl 0x58(%rsp), %r10d
movq %r14, %rdi
movq %r13, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
movq %r12, %r8
movq 0x78(%rsp), %r12
movsd 0x10(%rsp), %xmm0
movl %ebp, %r9d
movb 0x70(%rsp), %bpl
pushq %rax
pushq 0x70(%rsp)
pushq %r10
movl 0x68(%rsp), %eax
pushq %rax
callq 0x18f32e
addq $0x20, %rsp
movq %rax, 0x48(%rbx)
testb %bpl, %bpl
je 0x1682a0
movq 0x28(%rbx), %r14
movq 0xb0(%rbx), %r15
movq %r12, %rdi
callq 0x1690b4
movzbl %al, %ecx
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2ba2bd
movq %r12, %rdi
callq 0x169094
testb %al, %al
je 0x1682b5
movq 0x28(%rbx), %rdi
callq 0x2ba271
movb %bpl, 0xa8(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2cfc96(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x17cd37(%rip), %rsi    # 0x2e5013
leaq 0x1e383a(%rip), %rdx    # 0x34bb1d
leaq 0x1e1e2f(%rip), %rcx    # 0x34a119
leaq 0x1e1e0b(%rip), %r8     # 0x34a0fc
movl $0x86, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390