// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/gff3_parser.c
// Function: verify_seqid
static int verify_seqid(const GtStr *seqid, const char *filename,
                        unsigned int line_number, GtError *err)
{
  int had_err = 0;
  gt_error_check(err);
  gt_assert(seqid);
  if (gt_md5_seqid_has_prefix(gt_str_get(seqid))) {
    if (gt_str_length(seqid) < GT_MD5_SEQID_PREFIX_LEN +
                               GT_MD5_SEQID_HASH_LEN) {
      gt_error_set(err, "MD5 sequence ID '%s' on line %u in file \"%s\" is too "
                   "short", gt_str_get(seqid), line_number, filename);
      had_err = -1;
    }
    if (!had_err && gt_str_length(seqid) >= GT_MD5_SEQID_TOTAL_LEN) {
      const char *sid = gt_str_get(seqid);
      if (sid[GT_MD5_SEQID_TOTAL_LEN-1] != GT_MD5_SEQID_SEPARATOR) {
        gt_error_set(err, "MD5 sequence ID '%s' on line %u in file \"%s\" has "
                     "wrong separator '%c' (must be '%c')",
                     gt_str_get(seqid), line_number, filename,
                     sid[GT_MD5_SEQID_TOTAL_LEN-1], GT_MD5_SEQID_SEPARATOR);
        had_err = -1;
      }
    }
    if (!had_err && gt_str_length(seqid) == GT_MD5_SEQID_TOTAL_LEN) {
      gt_error_set(err, "MD5 sequence ID '%s' on line %u in file \"%s\" has "
                   "missing sequence ID after separator '%c'",
                   gt_str_get(seqid), line_number, filename,
                   GT_MD5_SEQID_SEPARATOR);
      had_err = -1;
    }
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
testq %rcx, %rcx
je 0x2271c
movq %r14, %rdi
callq 0xc103
testb %al, %al
jne 0x22824
testq %r15, %r15
je 0x227f6
movq %r15, %rdi
callq 0x143d2
movq %rax, %rdi
callq 0x59a50
xorl %r12d, %r12d
testb %al, %al
je 0x227e4
movq %r15, %rdi
callq 0x14461
cmpq $0x23, %rax
jbe 0x2278d
movq %r15, %rdi
callq 0x14461
cmpq $0x25, %rax
jb 0x2276a
movq %r15, %rdi
callq 0x143d2
cmpb $0x3a, 0x24(%rax)
jne 0x227b0
movq %r15, %rdi
callq 0x14461
cmpq $0x25, %rax
jne 0x227e4
movq %r15, %rdi
callq 0x143d2
leaq 0xad187(%rip), %rsi     # 0xcf90e
pushq $0x3a
popq %r9
jmp 0x227ce
movq %r15, %rdi
callq 0x143d2
leaq 0xad0e3(%rip), %rsi     # 0xcf87f
movq %r14, %rdi
movq %rax, %rdx
movl %ebp, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq 0xc007
jmp 0x227e0
movq %rax, %r13
movq %r15, %rdi
callq 0x143d2
movsbl 0x24(%r13), %r9d
movl $0x3a, (%rsp)
leaq 0xad0eb(%rip), %rsi     # 0xcf8b9
movq %r14, %rdi
movq %rax, %rdx
movl %ebp, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq 0xc007
pushq $-0x1
popq %r12
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10b7bb(%rip), %rax    # 0x12dfb8
movq (%rax), %rdi
leaq 0xa785f(%rip), %rsi     # 0xca066
leaq 0xc8762(%rip), %rdx     # 0xeaf70
leaq 0xad05d(%rip), %rcx     # 0xcf872
leaq 0xacc74(%rip), %r8      # 0xcf490
movl $0xed, %r9d
jmp 0x22850
movq 0x10b78d(%rip), %rax    # 0x12dfb8
movq (%rax), %rdi
leaq 0xa7831(%rip), %rsi     # 0xca066
leaq 0xa7e1d(%rip), %rdx     # 0xca659
leaq 0xad02f(%rip), %rcx     # 0xcf872
leaq 0xacc46(%rip), %r8      # 0xcf490
movl $0xec, %r9d
xorl %eax, %eax
callq 0xb8c0
callq 0xb300