// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/sfx-lcpvalues.c
// Function: gt_Outlcpinfo_resizereservoir
GtLcpvalues *gt_Outlcpinfo_resizereservoir(GtOutlcpinfo *outlcpinfo,
                                           const GtBcktab *bcktab)
{
  Lcpsubtab *lcpsubtab;

  gt_assert(outlcpinfo != NULL);
  lcpsubtab = &outlcpinfo->lcpsubtab;
  if (lcpsubtab->lcp2file != NULL)
  {
    size_t sizeforlcpvalues; /* in bytes */

    gt_assert(bcktab != NULL);
    sizeforlcpvalues = gt_bcktab_sizeforlcpvalues(bcktab);
    if (lcpsubtab->lcp2file->sizereservoir < sizeforlcpvalues)
    {
      lcpsubtab->lcp2file->sizereservoir = sizeforlcpvalues;
      lcpsubtab->lcp2file->reservoir
        = gt_realloc(lcpsubtab->lcp2file->reservoir,
                     lcpsubtab->lcp2file->sizereservoir);
          /* point to the same area, since this is not used simultaneously */
          /* be careful for the parallel version */
      lcpsubtab->lcp2file->smalllcpvalues
        = (uint8_t *) lcpsubtab->lcp2file->reservoir;
#ifndef NDEBUG
      lcpsubtab->tableoflcpvalues.isset = NULL;
#endif
      lcpsubtab->tableoflcpvalues.bucketoflcpvalues
        = (GtLcpvaluetype *) lcpsubtab->lcp2file->reservoir;
      lcpsubtab->tableoflcpvalues.lcptaboffset = 0;
      lcpsubtab->tableoflcpvalues.numofentries
        = (GtUword) lcpsubtab->lcp2file->sizereservoir/
          sizeof (*lcpsubtab->tableoflcpvalues.bucketoflcpvalues);
    }
  } else
  {
    if (lcpsubtab->lcpprocess != NULL)
    {
      outlcpinfo->sizeofinfo
        += gt_tableoflcpvalues_realloc(&lcpsubtab->tableoflcpvalues,
                                       gt_bcktab_maxbucketsize(bcktab));
    }
  }
  return &lcpsubtab->tableoflcpvalues;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
cmpq $0x0, 0x20(%rsp)
jne 0x2c798e
movq 0x374643(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x24e6ac(%rip), %rsi    # 0x516013
leaq 0x2c2eb4(%rip), %rdx    # 0x58a822
leaq 0x2c3075(%rip), %rcx    # 0x58a9ea
leaq 0x2c2e8c(%rip), %r8     # 0x58a808
movl $0x322, %r9d            # imm = 0x322
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c7990
movq 0x20(%rsp), %rax
addq $0x40, %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x2c7acb
jmp 0x2c79b0
cmpq $0x0, 0x18(%rsp)
jne 0x2c79f0
movq 0x3745e1(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x24e64a(%rip), %rsi    # 0x516013
leaq 0x2c5d58(%rip), %rdx    # 0x58d728
leaq 0x2c3013(%rip), %rcx    # 0x58a9ea
leaq 0x2c2e2a(%rip), %r8     # 0x58a808
movl $0x328, %r9d            # imm = 0x328
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c79f2
movq 0x18(%rsp), %rdi
callq 0x206750
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x48(%rax), %rax
cmpq 0x8(%rsp), %rax
jae 0x2c7ac9
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq %rcx, 0x48(%rax)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x40(%rax), %rdi
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x48(%rax), %rsi
leaq 0x2c2dbc(%rip), %rdx    # 0x58a808
movl $0x32f, %ecx            # imm = 0x32F
callq 0xe8540
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq %rcx, 0x40(%rax)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq %rcx, 0x50(%rax)
movq 0x10(%rsp), %rax
movq $0x0, (%rax)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x20(%rax)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x48(%rax), %rcx
shrq $0x2, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x10(%rax)
jmp 0x2c7b08
movq 0x10(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x2c7b06
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0x18(%rsp), %rdi
callq 0x2067b0
movq (%rsp), %rdi
movq %rax, %rsi
callq 0x2c6340
movq %rax, %rcx
movq 0x20(%rsp), %rax
addq 0x18(%rax), %rcx
movq %rcx, 0x18(%rax)
jmp 0x2c7b08
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)