// File: /workspace/github_c_makefile_star2_O3/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, %rbx
movq %rdi, %r15
testq %r8, %r8
je 0x1a5134
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1a5257
movq (%r13), %rdi
callq 0xd24e0
testq %rax, %rax
je 0x1a5220
movq %r15, 0x8(%rsp)
movq %rbx, 0x10(%rsp)
leaq 0x1ffbc1(%rip), %rbx    # 0x3a4d18
xorl %r15d, %r15d
movq (%r13), %rdi
movq %r15, %rsi
callq 0xd2207
movq %rax, %rbp
cmpb $0x1, 0x22(%rax)
jne 0x1a5197
cmpb $0x1, 0x21(%rbp)
jne 0x1a51a9
movq 0x8(%rbp), %rax
testq %rax, %rax
je 0x1a51d9
movq (%rbp), %rdx
movl (%rax), %ecx
movq %r12, %rdi
leaq 0x1ffb75(%rip), %rsi    # 0x3a4d03
xorl %eax, %eax
callq 0x103fe1
jmp 0x1a51ba
movq 0x28(%rbp), %rax
testq %rax, %rax
je 0x1a5224
movb $0x0, (%rax)
jmp 0x1a51c6
movq (%rbp), %rdx
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x103fe1
movq 0x28(%rbp), %rax
testq %rax, %rax
je 0x1a51c6
movb $0x1, (%rax)
incq %r15
movq (%r13), %rdi
callq 0xd24e0
cmpq %rax, %r15
jb 0x1a515a
jmp 0x1a5220
movq 0x10(%rbp), %rax
testq %rax, %rax
je 0x1a51fc
movq (%rbp), %rdx
movq (%rax), %rcx
movq %r12, %rdi
leaq 0x1ffb16(%rip), %rsi    # 0x3a4d09
xorl %eax, %eax
callq 0x103fe1
jmp 0x1a51ba
movq 0x18(%rbp), %rax
testq %rax, %rax
je 0x1a525c
movq (%rbp), %rdx
movsd (%rax), %xmm0
movq %r12, %rdi
leaq 0x1ffaf9(%rip), %rsi    # 0x3a4d10
movb $0x1, %al
callq 0x103fe1
jmp 0x1a51ba
xorl %eax, %eax
jmp 0x1a5248
movq (%rbp), %r8
leaq 0x1ffaee(%rip), %rsi    # 0x3a4d1d
movq %r14, %rdi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x62528
callq 0x62561