// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-scanprj.c
// Function: gt_scannedprjkey_allkeysdefined
int gt_scannedprjkey_allkeysdefined(
                               const char *indexname,
                               const char *suffix,
                               const GtScannedprjkeytable *scannedprjkeytable,
                               GtLogger *logger,
                               GtError *err)
{
  GtUword idx;
  GtScannedprjkey *rikptr;

  gt_error_check(err);
  for (idx=0; idx<gt_array_size(scannedprjkeytable->arr); idx++)
  {
    rikptr = (GtScannedprjkey *) gt_array_get(scannedprjkeytable->arr,idx);
    if (rikptr->found)
    {
      if (rikptr->ptrdefined)
      {
        if (rikptr->uint32valueptr != NULL)
        {
          gt_logger_log(logger,"%s=%u",
                      rikptr->keystring,
                      (unsigned int) *(rikptr->uint32valueptr));
        } else
        {
          if (rikptr->uint64valueptr != NULL)
          {
            gt_logger_log(logger,"%s=" Formatuint64_t,
                        rikptr->keystring,
                        PRINTuint64_tcast(*(rikptr->uint64valueptr)));
          } else
          {
            if (rikptr->doublevalueptr != NULL)
            {
              gt_logger_log(logger,"%s=%.2f", rikptr->keystring,
                            *(rikptr->doublevalueptr));
            } else
            {
              gt_assert(false);
            }
          }
        }
      } else
      {
        gt_logger_log(logger,"%s=0",rikptr->keystring);
      }
      if (rikptr->readflag != NULL)
      {
        *(rikptr->readflag) = true;
      }
    } else
    {
      if (rikptr->readflag == NULL)
      {
        gt_error_set(err,"file %s%s: missing line beginning with \"%s=\"",
                     indexname, suffix, rikptr->keystring);
        return -1;
      }
      *(rikptr->readflag) = false;
    }
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
testq %r8, %r8
je 0x151222
movq %r14, %rdi
callq 0x89eb7
testb %al, %al
jne 0x15134f
leaq 0x1f3e6f(%rip), %r15    # 0x345098
xorl %ebp, %ebp
movq (%r13), %rdi
callq 0x586a4
cmpq %rax, %rbp
jae 0x1512ed
movq (%r13), %rdi
movq %rbp, %rsi
callq 0x581aa
movq %rax, %rbx
cmpb $0x1, 0x22(%rax)
jne 0x151279
cmpb $0x1, 0x21(%rbx)
jne 0x151287
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x1512a8
movq (%rbx), %rdx
movl (%rax), %ecx
movq %r12, %rdi
leaq 0x1f3e13(%rip), %rsi    # 0x345083
xorl %eax, %eax
callq 0x92e71
jmp 0x151297
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x1512f1
movb $0x0, (%rax)
jmp 0x1512a3
movq (%rbx), %rdx
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x92e71
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x1512a3
movb $0x1, (%rax)
incq %rbp
jmp 0x15122b
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x1512ca
movq (%rbx), %rdx
movq (%rax), %rcx
movq %r12, %rdi
leaq 0x1f3dc8(%rip), %rsi    # 0x345089
xorl %eax, %eax
callq 0x92e71
jmp 0x151297
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x151321
movq (%rbx), %rdx
movsd (%rax), %xmm0
movq %r12, %rdi
leaq 0x1f3dac(%rip), %rsi    # 0x345090
movb $0x1, %al
callq 0x92e71
jmp 0x151297
xorl %eax, %eax
jmp 0x151312
movq (%rbx), %r8
leaq 0x1f3da2(%rip), %rsi    # 0x34509d
movq %r14, %rdi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e6c40(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x193ce1(%rip), %rsi    # 0x2e5013
leaq 0x1d56b3(%rip), %rdx    # 0x3269ec
leaq 0x1f3d23(%rip), %rcx    # 0x345063
leaq 0x1f3c95(%rip), %r8     # 0x344fdc
movl $0xde, %r9d
jmp 0x15137b
movq 0x2e6c12(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x193cb3(%rip), %rsi    # 0x2e5013
leaq 0x193e58(%rip), %rdx    # 0x2e51bf
leaq 0x1f3cf5(%rip), %rcx    # 0x345063
leaq 0x1f3c67(%rip), %r8     # 0x344fdc
movl $0xc2, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390