// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/querymatch-align.c
// Function: gt_querymatchoutoptions_new
GtQuerymatchoutoptions *gt_querymatchoutoptions_new(const
                                                     GtSeedExtendDisplayFlag
                                                      *out_display_flag,
                                                    const char *indexname,
                                                    GtError *err)
{
  GtQuerymatchoutoptions *querymatchoutoptions;

  if (indexname != NULL)
  {
    GtAlphabet *alphabet;
    GtEncseqMetadata *emd = gt_encseq_metadata_new(indexname,err);

    if (emd == NULL)
    {
      return NULL;
    }
    alphabet = gt_encseq_metadata_alphabet(emd);
    querymatchoutoptions = gt_malloc(sizeof *querymatchoutoptions);
    querymatchoutoptions->emd = emd;
    querymatchoutoptions->characters = gt_alphabet_characters(alphabet);
    querymatchoutoptions->wildcardshow = gt_alphabet_wildcard_show(alphabet);
  } else
  {
    querymatchoutoptions = gt_malloc(sizeof *querymatchoutoptions);
    querymatchoutoptions->emd = NULL;
    querymatchoutoptions->characters = NULL;
    querymatchoutoptions->wildcardshow = 0;
  }
  querymatchoutoptions->front_trace = NULL;
  querymatchoutoptions->ggemi = NULL;
  querymatchoutoptions->useqbuffer = NULL;
  querymatchoutoptions->useqbuffer_size = 0;
  querymatchoutoptions->vseqbuffer = NULL;
  querymatchoutoptions->vseqbuffer_size = 0;
  querymatchoutoptions->eoplist_reader_verify = NULL;
  querymatchoutoptions->pol_info = NULL;
  querymatchoutoptions->trace_delta
    = gt_querymatch_trace_delta_display(out_display_flag);
  querymatchoutoptions->eoplist_reader = gt_eoplist_reader_new();
  querymatchoutoptions->eoplist = gt_eoplist_new();
  if (gt_querymatch_alignment_display(out_display_flag))
  {
    gt_eoplist_reader_reset_width(querymatchoutoptions->eoplist_reader,
                                  gt_querymatch_display_alignmentwidth(
                                       out_display_flag));
  }
  querymatchoutoptions->db_esr_for_align_show = NULL;
  querymatchoutoptions->query_esr_for_align_show = NULL;
  querymatchoutoptions->always_polished_ends = true;
  return querymatchoutoptions;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x1b9115
movq %rsi, %rdi
movq %rdx, %rsi
callq 0xfb8bc
testq %rax, %rax
je 0x1b91ac
movq %rax, %r15
movq %rax, %rdi
callq 0xfbec4
movq %rax, %r12
leaq 0x1f0c66(%rip), %rsi    # 0x3a9d4f
movl $0xb8, %edi
movl $0x42, %edx
callq 0x104226
movq %rax, %r14
movq %r15, 0x68(%rax)
movq %r12, %rdi
callq 0xd11de
movq %rax, 0x50(%r14)
movq %r12, %rdi
callq 0xd11f1
jmp 0x1b9138
leaq 0x1f0c33(%rip), %rsi    # 0x3a9d4f
movl $0xb8, %edi
movl $0x48, %edx
callq 0x104226
movq %rax, %r14
xorl %eax, %eax
movq %rax, 0x68(%r14)
movq %rax, 0x50(%r14)
movb %al, 0x70(%r14)
xorl %eax, %eax
movq %rax, 0xb0(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movups %xmm0, 0x18(%r14)
movups %xmm0, 0x38(%r14)
movq %rax, 0x48(%r14)
movq %rbx, %rdi
callq 0x1ba0e3
movq %rax, 0x10(%r14)
callq 0x317f5a
movq %rax, 0x30(%r14)
callq 0x317d9e
movq %rax, 0x28(%r14)
movq %rbx, %rdi
callq 0x1ba0f3
testb %al, %al
je 0x1b919a
movq 0x30(%r14), %r15
movq %rbx, %rdi
callq 0x1ba0d3
movq %r15, %rdi
movl %eax, %esi
callq 0x31879a
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%r14)
movb $0x1, 0xa8(%r14)
jmp 0x1b91af
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq