// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x23ac1d
movq 0x18(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x23abe5
jmp 0x23ac1d
movq 0x4013b4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2db41d(%rip), %rsi    # 0x516013
leaq 0x2db5c2(%rip), %rdx    # 0x5161bf
leaq 0x33c8a7(%rip), %rcx    # 0x5774ab
leaq 0x33c819(%rip), %r8     # 0x577424
movl $0xc2, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x23ac1f
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x81370
movq %rax, %rcx
movq (%rsp), %rax
cmpq %rcx, %rax
jae 0x23adf6
movq 0x28(%rsp), %rax
movq (%rax), %rdi
movq 0x10(%rsp), %rsi
callq 0x80b60
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
testb $0x1, 0x22(%rax)
je 0x23ad9a
movq 0x8(%rsp), %rax
testb $0x1, 0x21(%rax)
je 0x23ad65
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x23acba
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rax
movq (%rax), %rdx
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movl (%rax), %ecx
leaq 0x33c81d(%rip), %rsi    # 0x5774cb
movb $0x0, %al
callq 0xe7cd0
jmp 0x23ad63
movq 0x8(%rsp), %rax
cmpq $0x0, 0x10(%rax)
je 0x23acef
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rax
movq (%rax), %rdx
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
leaq 0x33c7eb(%rip), %rsi    # 0x5774d1
movb $0x0, %al
callq 0xe7cd0
jmp 0x23ad61
movq 0x8(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x23ad25
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rax
movq (%rax), %rdx
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rax
movsd (%rax), %xmm0
leaq 0x33c7bc(%rip), %rsi    # 0x5774d8
movb $0x1, %al
callq 0xe7cd0
jmp 0x23ad5f
jmp 0x23ad27
movq 0x401272(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2db2db(%rip), %rsi    # 0x516013
leaq 0x31e024(%rip), %rdx    # 0x558d63
leaq 0x33c765(%rip), %rcx    # 0x5774ab
leaq 0x33c6d7(%rip), %r8     # 0x577424
movl $0xde, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x23ad61
jmp 0x23ad63
jmp 0x23ad80
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rax
movq (%rax), %rdx
leaq 0x33c767(%rip), %rsi    # 0x5774e0
movb $0x0, %al
callq 0xe7cd0
movq 0x8(%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x23ad98
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rax
movb $0x1, (%rax)
jmp 0x23ade1
movq 0x8(%rsp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x23add5
movq 0x18(%rsp), %rdi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x8(%rsp), %rax
movq (%rax), %r8
leaq 0x33c721(%rip), %rsi    # 0x5774e5
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x44(%rsp) # imm = 0xFFFFFFFF
jmp 0x23adfe
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rax
movb $0x0, (%rax)
jmp 0x23ade3
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x23ac28
movl $0x0, 0x44(%rsp)
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopw (%rax,%rax)