// File: /workspace/github_c_makefile_star2_O3/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 0x1b92fc
movq %rdi, %rbx
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
testq %rdi, %rdi
je 0x1b930b
movl %r9d, %ebp
movq %r8, %r15
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r12
callq 0x31a07c
cmpq $0x15, %r12
movl $0x14, %ecx
cmovaeq %r12, %rcx
cmpb $0x0, 0x60(%rsp)
cmoveq %r12, %rcx
movq %rcx, %xmm1
punpckldq 0x18e698(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x18e6a0(%rip), %xmm1   # 0x3478f0
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 0x1af7d0
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 0x1e0ab4
addq $0x20, %rsp
movq %rax, 0x48(%rbx)
testb %bpl, %bpl
je 0x1b92e0
movq 0x28(%rbx), %r14
movq 0xb0(%rbx), %r15
movq %r12, %rdi
callq 0x1b9e37
movzbl %al, %ecx
movq %r14, %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0x319fbf
movq %r12, %rdi
callq 0x1b9e28
testb %al, %al
je 0x1b92f5
movq 0x28(%rbx), %rdi
callq 0x319fa6
movb %bpl, 0xa8(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x673e9