// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_check_descriptions
void gt_encseq_check_descriptions(const GtEncseq *encseq)
{
  GtUword desclen, seqnum, totaldesclength, offset = 0;
  const char *desptr;
  char *copydestab;

  gt_assert(encseq != NULL);
  totaldesclength = encseq->numofdbsequences; /* for each new line */
  for (seqnum = 0; seqnum < encseq->numofdbsequences; seqnum++) {
    (void) gt_encseq_description(encseq, &desclen, seqnum);
    totaldesclength += desclen;
  }
  copydestab = gt_malloc(sizeof (*copydestab) * totaldesclength);
  for (seqnum = 0; seqnum < encseq->numofdbsequences; seqnum++) {
    desptr = gt_encseq_description(encseq, &desclen, seqnum);
    strncpy(copydestab + offset, desptr, (size_t) desclen);
    copydestab[offset+desclen] = '\n';
    offset += (desclen+1);
  }
  gt_assert(encseq->destab != NULL);
  if (strncmp(copydestab, encseq->destab, (size_t) totaldesclength) != 0) {
    fprintf(stderr, "different descriptions\n");
    exit(GT_EXIT_PROGRAMMING_ERROR);
  }
  gt_free(copydestab);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq $0x0, 0x10(%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x11c212
movq 0x97df7(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x41e7b(%rip), %rsi     # 0x15e066
leaq 0x69ba2(%rip), %rdx     # 0x185d94
leaq 0x6a0e8(%rip), %rcx     # 0x1862e1
leaq 0x6945e(%rip), %r8      # 0x18565e
movl $0x1321, %r9d           # imm = 0x1321
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x11c214
movq 0x30(%rsp), %rax
movq 0x40(%rax), %rax
movq %rax, 0x18(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x40(%rcx), %rax
jae 0x11c26e
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x28(%rsp), %rsi
callq 0x11bd20
movq 0x28(%rsp), %rax
addq 0x18(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x11c22b
movq 0x18(%rsp), %rdi
shlq $0x0, %rdi
leaq 0x693e0(%rip), %rsi     # 0x18565e
movl $0x1327, %edx           # imm = 0x1327
callq 0xd2e0
movq %rax, (%rsp)
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x40(%rcx), %rax
jae 0x11c30b
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x28(%rsp), %rsi
callq 0x11bd20
movq %rax, 0x8(%rsp)
movq (%rsp), %rdi
addq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0xb2b0
movq (%rsp), %rax
movq 0x10(%rsp), %rcx
addq 0x28(%rsp), %rcx
movb $0xa, (%rax,%rcx)
movq 0x28(%rsp), %rax
addq $0x1, %rax
addq 0x10(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x11c295
jmp 0x11c30d
movq 0x30(%rsp), %rax
cmpq $0x0, 0x200(%rax)
jne 0x11c354
movq 0x97cb5(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x41d39(%rip), %rsi     # 0x15e066
leaq 0x69eff(%rip), %rdx     # 0x186233
leaq 0x69fa6(%rip), %rcx     # 0x1862e1
leaq 0x6931c(%rip), %r8      # 0x18565e
movl $0x132e, %r9d           # imm = 0x132E
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x11c356
movq (%rsp), %rdi
movq 0x30(%rsp), %rax
movq 0x200(%rax), %rsi
movq 0x18(%rsp), %rdx
callq 0xb280
cmpl $0x0, %eax
je 0x11c397
movq 0x97c5c(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x69f78(%rip), %rsi     # 0x1862fe
movb $0x0, %al
callq 0xb890
movl $0x2, %edi
callq 0xb780
movq (%rsp), %rdi
leaq 0x692bc(%rip), %rsi     # 0x18565e
movl $0x1333, %edx           # imm = 0x1333
callq 0xdab0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)