// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/encseq_access_type.c
// Function: determinesmallestrep
static GtEncseqAccessType determinesmallestrep(
                                  GtUword *specialranges,
                                  GtUword *wildcardranges,
                                  const Definedunsignedlong *equallength,
                                  GtUword totallength,
                                  GtUword numofsequences,
                                  GtUword numofdbfiles,
                                  GtUword lengthofdbfilenames,
                                  const GtUword *specialrangestab,
                                  const GtUword *wildcardrangestab,
                                  unsigned int numofchars,
                                  GtUword lengthofalphadef)
{
  GtEncseqAccessType cret;
  uint64_t tmp, cmin;

  cret = GT_ACCESS_TYPE_BITACCESS;
  cmin = gt_encseq_determine_size(cret, totallength,numofsequences,
                                  numofdbfiles, lengthofdbfilenames,
                                  wildcardrangestab[0], numofchars, 0,
                                  lengthofalphadef);
  *specialranges = specialrangestab[0];
  *wildcardranges = wildcardrangestab[0];
  if (equallength != NULL && equallength->defined)
  {
    cret = GT_ACCESS_TYPE_EQUALLENGTH;
  } else
  {
    CHECKANDUPDATE(GT_ACCESS_TYPE_UCHARTABLES, 0);
    CHECKANDUPDATE(GT_ACCESS_TYPE_USHORTTABLES, 1);
    CHECKANDUPDATE(GT_ACCESS_TYPE_UINT32TABLES, 2);
  }
  return cret;
}

// Assembly:
subq $0x68, %rsp
movq 0x90(%rsp), %rax
movl 0x88(%rsp), %eax
movq 0x80(%rsp), %rax
movq 0x78(%rsp), %rax
movq 0x70(%rsp), %rax
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x38(%rsp)
movl $0x3, 0x34(%rsp)
movl 0x34(%rsp), %edi
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0x80(%rsp), %rax
movq (%rax), %r9
movl 0x88(%rsp), %r10d
movq 0x90(%rsp), %rax
xorl %r11d, %r11d
movl %r10d, (%rsp)
movl $0x0, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x11cb80
movq %rax, 0x20(%rsp)
movq 0x78(%rsp), %rax
movq (%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, (%rax)
movq 0x80(%rsp), %rax
movq (%rax), %rcx
movq 0x58(%rsp), %rax
movq %rcx, (%rax)
cmpq $0x0, 0x50(%rsp)
je 0x13ee1e
movq 0x50(%rsp), %rax
testb $0x1, (%rax)
je 0x13ee1e
movl $0x2, 0x34(%rsp)
jmp 0x13efdf
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0x80(%rsp), %rax
movq (%rax), %r9
movl 0x88(%rsp), %r10d
movq 0x90(%rsp), %rax
movl $0x4, %edi
xorl %r11d, %r11d
movl %r10d, (%rsp)
movl $0x0, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x11cb80
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x13eeb1
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x4, 0x34(%rsp)
movq 0x78(%rsp), %rax
movq (%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, (%rax)
movq 0x80(%rsp), %rax
movq (%rax), %rcx
movq 0x58(%rsp), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0x80(%rsp), %rax
movq 0x8(%rax), %r9
movl 0x88(%rsp), %r10d
movq 0x90(%rsp), %rax
movl $0x5, %edi
xorl %r11d, %r11d
movl %r10d, (%rsp)
movl $0x0, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x11cb80
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x13ef47
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x5, 0x34(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, (%rax)
movq 0x80(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x58(%rsp), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0x80(%rsp), %rax
movq 0x10(%rax), %r9
movl 0x88(%rsp), %r10d
movq 0x90(%rsp), %rax
movl $0x6, %edi
xorl %r11d, %r11d
movl %r10d, (%rsp)
movl $0x0, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x11cb80
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x13efdd
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x6, 0x34(%rsp)
movq 0x78(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, (%rax)
movq 0x80(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x58(%rsp), %rax
movq %rcx, (%rax)
jmp 0x13efdf
movl 0x34(%rsp), %eax
addq $0x68, %rsp
retq
nopl (%rax,%rax)