// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/seed-extend-iter.c
// Function: gt_seedextend_match_iterator_querymatchoutoptions_set
int gt_seedextend_match_iterator_querymatchoutoptions_set(
                    GtSeedextendMatchIterator *semi,
                    bool always_polished_ends,
                    GtExtendCharAccess a_extend_char_access,
                    GtExtendCharAccess b_extend_char_access,
                    const GtSeedExtendDisplayFlag *out_display_flag,
                    GtError *err)
{
  double matchscore_bias = GT_DEFAULT_MATCHSCORE_BIAS;

  semi->querymatchoutoptions
    = gt_querymatchoutoptions_new(out_display_flag,gt_str_get(semi->ii),err);
  if (semi->querymatchoutoptions == NULL)
  {
    return -1;
  }
  gt_assert(semi->in_display_flag != NULL && out_display_flag != NULL);
  if (gt_querymatch_cigar_display(semi->in_display_flag) &&
      gt_querymatch_cigarX_display(out_display_flag))
  {
    gt_error_set(err,"match file with alignments in cigar format cannot be "
                     "converted to cigarX format");
    return -1;
  }
  if (gt_seedextend_match_iterator_bias_parameters(semi))
  {
    matchscore_bias = gt_greedy_dna_sequence_bias_get(semi->aencseq);
  }
  gt_querymatchoutoptions_for_align_only(semi->querymatchoutoptions,
                            semi->errorpercentage,
                            matchscore_bias,
                            gt_seedextend_match_iterator_history_size(semi),
                            always_polished_ends,
                            a_extend_char_access,
                            b_extend_char_access,
                            out_display_flag);
  gt_querymatch_outoptions_set(semi->querymatchptr,semi->querymatchoutoptions);
  return 0;
}

// Assembly:
subq $0x68, %rsp
movb %sil, %al
movq %rdi, 0x58(%rsp)
andb $0x1, %al
movb %al, 0x57(%rsp)
movl %edx, 0x50(%rsp)
movl %ecx, 0x4c(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x38(%rsp)
movsd 0x26c324(%rip), %xmm0   # 0x517240
movsd %xmm0, 0x30(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x58(%rsp), %rax
movq (%rax), %rdi
callq 0x11dee0
movq 0x28(%rsp), %rdi
movq %rax, %rsi
movq 0x38(%rsp), %rdx
callq 0x263940
movq %rax, %rcx
movq 0x58(%rsp), %rax
movq %rcx, 0x80(%rax)
movq 0x58(%rsp), %rax
cmpq $0x0, 0x80(%rax)
jne 0x2aaf76
movl $0xffffffff, 0x64(%rsp) # imm = 0xFFFFFFFF
jmp 0x2ab0c0
jmp 0x2aaf78
movq 0x58(%rsp), %rax
cmpq $0x0, 0xa0(%rax)
je 0x2aaf8f
cmpq $0x0, 0x40(%rsp)
jne 0x2aafc7
movq 0x39100a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26b073(%rip), %rsi    # 0x516013
leaq 0x2db626(%rip), %rdx    # 0x5865cd
leaq 0x2db659(%rip), %rcx    # 0x586607
leaq 0x2db275(%rip), %r8     # 0x58622a
movl $0x1fa, %r9d            # imm = 0x1FA
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2aafc9
movq 0x58(%rsp), %rax
movq 0xa0(%rax), %rdi
callq 0x2657f0
testb $0x1, %al
jne 0x2aafe0
jmp 0x2ab010
movq 0x40(%rsp), %rdi
callq 0x265810
testb $0x1, %al
jne 0x2aaff0
jmp 0x2ab010
movq 0x38(%rsp), %rdi
leaq 0x2db641(%rip), %rsi    # 0x58663d
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x64(%rsp) # imm = 0xFFFFFFFF
jmp 0x2ab0c0
movq 0x58(%rsp), %rdi
callq 0x2aaaa0
testb $0x1, %al
jne 0x2ab020
jmp 0x2ab034
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x2ab8d0
movsd %xmm0, 0x30(%rsp)
movq 0x58(%rsp), %rax
movq 0x80(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x18(%rsp)
movsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x58(%rsp), %rdi
callq 0x2aaa00
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movsd 0x20(%rsp), %xmm0
movq %rax, %rdx
movb 0x57(%rsp), %cl
movl 0x50(%rsp), %r8d
movl 0x4c(%rsp), %r9d
movq 0x40(%rsp), %rax
andb $0x1, %cl
movzbl %cl, %ecx
movq %rax, (%rsp)
callq 0x263e40
movq 0x58(%rsp), %rax
movq 0x78(%rax), %rdi
movq 0x58(%rsp), %rax
movq 0x80(%rax), %rsi
callq 0x2675a0
movl $0x0, 0x64(%rsp)
movl 0x64(%rsp), %eax
addq $0x68, %rsp
retq
nopl (%rax)