// File: /workspace/github_c_makefile_star2_O1/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 0x1adc18
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1add3b
movq (%r13), %rdi
callq 0xd4a9a
testq %rax, %rax
je 0x1add04
movq %r15, 0x8(%rsp)
movq %rbx, 0x10(%rsp)
leaq 0x20067f(%rip), %rbx    # 0x3ae2ba
xorl %r15d, %r15d
movq (%r13), %rdi
movq %r15, %rsi
callq 0xd47ba
movq %rax, %rbp
cmpb $0x1, 0x22(%rax)
jne 0x1adc7b
cmpb $0x1, 0x21(%rbp)
jne 0x1adc8d
movq 0x8(%rbp), %rax
testq %rax, %rax
je 0x1adcbd
movq (%rbp), %rdx
movl (%rax), %ecx
movq %r12, %rdi
leaq 0x200633(%rip), %rsi    # 0x3ae2a5
xorl %eax, %eax
callq 0x10906e
jmp 0x1adc9e
movq 0x28(%rbp), %rax
testq %rax, %rax
je 0x1add08
movb $0x0, (%rax)
jmp 0x1adcaa
movq (%rbp), %rdx
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10906e
movq 0x28(%rbp), %rax
testq %rax, %rax
je 0x1adcaa
movb $0x1, (%rax)
incq %r15
movq (%r13), %rdi
callq 0xd4a9a
cmpq %rax, %r15
jb 0x1adc3e
jmp 0x1add04
movq 0x10(%rbp), %rax
testq %rax, %rax
je 0x1adce0
movq (%rbp), %rdx
movq (%rax), %rcx
movq %r12, %rdi
leaq 0x2005d4(%rip), %rsi    # 0x3ae2ab
xorl %eax, %eax
callq 0x10906e
jmp 0x1adc9e
movq 0x18(%rbp), %rax
testq %rax, %rax
je 0x1add40
movq (%rbp), %rdx
movsd (%rax), %xmm0
movq %r12, %rdi
leaq 0x2005b7(%rip), %rsi    # 0x3ae2b2
movb $0x1, %al
callq 0x10906e
jmp 0x1adc9e
xorl %eax, %eax
jmp 0x1add2c
movq (%rbp), %r8
leaq 0x2005ac(%rip), %rsi    # 0x3ae2bf
movq %r14, %rdi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
xorl %eax, %eax
callq 0x1019cf
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x63bce
callq 0x63c07