// File: /workspace/github_c_makefile_star2_O1/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 0x1c1db9
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x1000e4
movq %rax, %r15
testq %rax, %rax
je 0x1c1de3
movq %r15, %rdi
callq 0x100d2c
movq %rax, %r12
leaq 0x1f15d6(%rip), %rsi    # 0x3b335f
movl $0xb8, %edi
movl $0x42, %edx
callq 0x1092b2
movq %rax, %r14
movq %r15, 0x68(%rax)
movq %r12, %rdi
callq 0xd3733
movq %rax, 0x50(%r14)
movq %r12, %rdi
callq 0xd3746
movb %al, 0x70(%r14)
jmp 0x1c1de3
leaq 0x1f159f(%rip), %rsi    # 0x3b335f
movl $0xb8, %edi
movl $0x48, %edx
callq 0x1092b2
movq %rax, %r14
xorl %eax, %eax
movq %rax, 0x68(%r14)
movq %rax, 0x50(%r14)
movb $0x0, 0x70(%r14)
jmp 0x1c1de8
testq %r15, %r15
je 0x1c1e58
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 0x1c2d82
movq %rax, 0x10(%r14)
callq 0x3222fa
movq %rax, 0x30(%r14)
callq 0x32213e
movq %rax, 0x28(%r14)
movq %rbx, %rdi
callq 0x1c2d92
testb %al, %al
je 0x1c1e46
movq 0x30(%r14), %r15
movq %rbx, %rdi
callq 0x1c2d72
movq %r15, %rdi
movl %eax, %esi
callq 0x322a95
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%r14)
movb $0x1, 0xa8(%r14)
jmp 0x1c1e5b
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq