// File: /workspace/github_c_makefile_star2_O2/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 0x1680df
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x87eb0
testq %rax, %rax
je 0x168176
movq %rax, %r15
movq %rax, %rdi
callq 0x88545
movq %rax, %r12
leaq 0x1e2047(%rip), %rsi    # 0x34a0fc
pushq $0x42
popq %rdx
movl $0xb8, %edi
callq 0x93160
movq %rax, %r14
movq %r15, 0x68(%rax)
movq %r12, %rdi
callq 0x56d14
movq %rax, 0x50(%r14)
movq %r12, %rdi
callq 0x56d5a
jmp 0x168102
leaq 0x1e2016(%rip), %rsi    # 0x34a0fc
pushq $0x48
popq %rdx
movl $0xb8, %edi
callq 0x93160
movq %rax, %r14
andq $0x0, 0x68(%rax)
andq $0x0, 0x50(%rax)
xorl %eax, %eax
movb %al, 0x70(%r14)
andq $0x0, 0xb0(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movups %xmm0, 0x18(%r14)
movups %xmm0, 0x38(%r14)
andq $0x0, 0x48(%r14)
movq %rbx, %rdi
callq 0x169226
movq %rax, 0x10(%r14)
callq 0x2b7b71
movq %rax, 0x30(%r14)
callq 0x2b79ac
movq %rax, 0x28(%r14)
movq %rbx, %rdi
callq 0x169236
testb %al, %al
je 0x168164
movq 0x30(%r14), %r15
movq %rbx, %rdi
callq 0x169216
movq %r15, %rdi
movl %eax, %esi
callq 0x2b8678
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%r14)
movb $0x1, 0xa8(%r14)
jmp 0x168179
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq