// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/test-mappedstr.c
// Function: gt_verifymappedstr
int gt_verifymappedstr(const GtEncseq *encseq,
                       unsigned int prefixlength,
                       GtError *err)
{
  unsigned int numofchars;
  GtArrayGtCodetype codeliststream;
  bool haserr = false;

  gt_error_check(err);
  numofchars = gt_alphabet_num_of_chars(gt_encseq_alphabet(encseq));
  GT_INITARRAY(&codeliststream,GtCodetype);
  if (getfastastreamkmers(gt_encseq_filenames(encseq),
                          numofchars,
                          prefixlength,
                          gt_alphabet_symbolmap(
                                gt_encseq_alphabet(encseq)),
                          false,
                          &codeliststream,
                          err) != 0)
  {
    haserr = true;
  }
  if (!haserr)
  {
    if (verifycodelists(encseq,
                        prefixlength,
                        numofchars,
                        &codeliststream,
                        err) != 0)
    {
      haserr = true;
    }
  }
  GT_FREEARRAY(&codeliststream,GtCodetype);
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r13
movl %esi, %r12d
movq %rdi, 0x20(%rsp)
testq %rdx, %rdx
je 0x1ffb75
movq %r13, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1fff49
movq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0xebcd9
movq %rax, %rdi
callq 0xd11be
movl %eax, %r15d
movq %r14, %rdi
callq 0xec2d5
movq %rax, %rbx
movq %r14, %rdi
callq 0xebcd9
movq %rax, %rdi
callq 0xd11ab
xorl %r14d, %r14d
movq %rbx, %rdi
movl %r15d, %esi
movl %r12d, %edx
movq %rax, %rcx
xorl %r8d, %r8d
movq %r13, %r9
callq 0x1ee97c
movq %rax, %rbx
movq %rax, %rdi
callq 0x1eebc2
movl $0x0, %ecx
testb %al, %al
movl %r12d, 0x1c(%rsp)
jne 0x1ffc88
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x1eeae3
testl %eax, %eax
js 0x1ffc68
xorl %r14d, %r14d
xorl %r12d, %r12d
movq $0x0, 0x8(%rsp)
movq 0x60(%rsp), %rbp
testq %rbp, %rbp
je 0x1ffc7e
cmpq %r12, %r14
movq 0x8(%rsp), %rdi
jb 0x1ffc39
leaq 0x2000(,%r12,8), %rsi
addq $0x400, %r12            # imm = 0x400
leaq 0x1bc69c(%rip), %rdx    # 0x3bc2c8
movl $0x61, %ecx
callq 0x104461
movq %rax, %rdi
testq %rdi, %rdi
je 0x1fff44
movq 0x8(%rbp), %rax
movq %rdi, 0x8(%rsp)
movq %rax, (%rdi,%r14,8)
incq %r14
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x1eeae3
testl %eax, %eax
jns 0x1ffc02
jmp 0x1ffc71
movq $0x0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x1eeaa9
jmp 0x1ffe78
movq 0x8(%rsp), %rcx
movl 0x1c(%rsp), %r12d
movq %r14, 0x40(%rsp)
movq %rcx, 0x8(%rsp)
movq %rbx, %rdi
callq 0x1eeaa9
testq %r13, %r13
je 0x1ffcaf
movq %r13, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1fff4e
movq %r13, 0x48(%rsp)
movq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0xe7b9c
movq %rax, %r14
movq %rbx, %rdi
callq 0xebcd9
movq %rax, %rdi
callq 0xd11de
movq %rax, 0x38(%rsp)
leal -0x1(%r15), %eax
movq %rax, 0x10(%rsp)
movl %r12d, %r12d
movl %r15d, %eax
movq %rax, 0x28(%rsp)
xorl %ebp, %ebp
xorl %r13d, %r13d
xorl %ecx, %ecx
movq %rcx, 0x30(%rsp)
movq %rbp, %rbx
movb $0x1, %cl
movq 0x10(%rsp), %rbp
cmpq %r14, %rbx
jae 0x1ffd25
movq 0x20(%rsp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe7bbc
cmpb $-0x2, %al
setae %cl
movzbl %al, %ebp
cmovaeq 0x10(%rsp), %rbp
movq %r13, 0x58(%rsp)
leaq (%rbx,%r12), %rax
leaq 0x1(%rbx), %rdx
movq %rdx, 0x50(%rsp)
cmpq %rax, %rdx
jae 0x1ffda6
movl $0x1, %r13d
testb $0x1, %cl
jne 0x1ffd60
leaq (%rbx,%r13), %rsi
cmpq %r14, %rsi
jae 0x1ffd60
movq 0x20(%rsp), %rdi
xorl %edx, %edx
callq 0xe7bbc
cmpb $-0x2, %al
jb 0x1ffd87
cmpl $0x4, %r15d
jne 0x1ffd70
leaq 0x3(,%rbp,4), %rbp
jmp 0x1ffd7b
imulq 0x28(%rsp), %rbp
addq 0x10(%rsp), %rbp
movb $0x1, %cl
incq %r13
cmpq %r13, %r12
jne 0x1ffd42
jmp 0x1ffda6
movzbl %al, %eax
cmpl $0x4, %r15d
jne 0x1ffd99
shlq $0x2, %rbp
orq %rax, %rbp
jmp 0x1ffda2
imulq 0x28(%rsp), %rbp
addq %rax, %rbp
xorl %ecx, %ecx
jmp 0x1ffd7d
movq 0x58(%rsp), %r13
cmpq %r13, %rbx
jae 0x1ffdb7
movq 0x30(%rsp), %rcx
jmp 0x1ffddf
leaq 0x2000(,%r13,8), %rsi
addq $0x400, %r13            # imm = 0x400
movq 0x30(%rsp), %rdi
leaq 0x1bc4f6(%rip), %rdx    # 0x3bc2c8
movl $0x7d, %ecx
callq 0x104461
movq %rax, %rcx
testq %rcx, %rcx
je 0x1fff3f
movq %rbp, (%rcx,%rbx,8)
movq 0x50(%rsp), %rbp
cmpq %r14, %rbp
jbe 0x1ffcf4
movq 0x48(%rsp), %r13
testq %r13, %r13
je 0x1ffe1a
movq %r13, %rdi
movq %rcx, %r14
callq 0xfcc32
movq %r14, %rcx
testb %al, %al
jne 0x1fff53
movq 0x40(%rsp), %rdx
cmpq %rbp, %rdx
movl 0x1c(%rsp), %r12d
jne 0x1ffe4d
incq %rbx
xorl %r14d, %r14d
movq 0x8(%rsp), %rax
movq (%rax,%r14,8), %rsi
cmpq (%rcx,%r14,8), %rsi
jne 0x1ffe90
incq %r14
cmpq %r14, %rbx
jne 0x1ffe34
xorl %ebx, %ebx
jmp 0x1fff01
leaq 0x1bc4f6(%rip), %rsi    # 0x3bc34a
movq %r13, %rdi
movq %rcx, %rbx
movq %rbp, %rcx
xorl %eax, %eax
callq 0xfcb67
leaq 0x1bc45d(%rip), %rsi    # 0x3bc2c8
movq %rbx, %rdi
movl $0xfb, %edx
callq 0x1045eb
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
jne 0x1fff1a
jmp 0x1fff2b
leaq 0x60(%rsp), %rdi
movl %r15d, %edx
movq %rcx, %rbx
movl %r12d, %ecx
movq 0x38(%rsp), %rbp
movq %rbp, %r8
callq 0x31fa08
movq (%rbx,%r14,8), %rsi
movl %r12d, %ecx
leaq 0xb0(%rsp), %r12
movq %r12, %rdi
movl %r15d, %edx
movq %rbp, %r8
callq 0x31fa08
movq 0x8(%rsp), %rax
movq (%rax,%r14,8), %rcx
movq (%rbx,%r14,8), %r8
leaq 0x1bc4a7(%rip), %rsi    # 0x3bc383
movq %r13, %rdi
movq %r14, %rdx
movq %r14, %r9
xorl %eax, %eax
pushq %r12
leaq 0x68(%rsp), %r10
pushq %r10
callq 0xfcb67
movq %rbx, %rcx
addq $0x10, %rsp
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
leaq 0x1bc3c0(%rip), %rsi    # 0x3bc2c8
movq %rcx, %rdi
movl $0xfb, %edx
callq 0x1045eb
movq 0x8(%rsp), %rdi
leaq 0x1bc3a7(%rip), %rsi    # 0x3bc2c8
movl $0x120, %edx            # imm = 0x120
callq 0x1045eb
movl %ebx, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7f153
callq 0x7f0aa
callq 0x7f071
callq 0x7f0e1
callq 0x7f11a