// File: /workspace/github_c_makefile_star2_O1/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 $0x108, %rsp            # imm = 0x108
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, 0x38(%rsp)
testq %rdx, %rdx
je 0x20932c
movq %r12, %rdi
callq 0x101a9a
testb %al, %al
jne 0x209744
movq 0x38(%rsp), %r15
movq %r15, %rdi
callq 0xf02da
movq %rax, %rdi
callq 0xd3713
movl %eax, %r14d
movq %r15, %rdi
callq 0xf08d6
movq %rax, %rbx
movq %r15, %rdi
callq 0xf02da
movq %rax, %rdi
callq 0xd3700
movq $0x0, 0x20(%rsp)
movq %rbx, %rdi
movq %r14, 0x18(%rsp)
movl %r14d, %esi
movl %ebp, 0x34(%rsp)
movl %ebp, %edx
movq %rax, %rcx
xorl %r8d, %r8d
movq %r12, %r9
callq 0x1f8148
movq %rax, %rbx
movq %rax, %rdi
callq 0x1f838f
testb %al, %al
je 0x2093ad
movq $0x0, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
jmp 0x209462
movq $0x0, 0x20(%rsp)
leaq 0x70(%rsp), %r14
xorl %r15d, %r15d
movq $0x0, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x1f82b5
movb $0x1, %bpl
testl %eax, %eax
js 0x2093fd
movq 0x70(%rsp), %r13
testq %r13, %r13
je 0x209406
cmpq %r15, 0x20(%rsp)
jae 0x20940a
movq 0x10(%rsp), %rax
jmp 0x20942f
movb $0x1, %al
movq %rax, 0x8(%rsp)
jmp 0x209452
xorl %ebp, %ebp
jmp 0x209452
leaq 0x2000(,%r15,8), %rsi
addq $0x400, %r15            # imm = 0x400
movq 0x10(%rsp), %rdi
leaq 0x1bc513(%rip), %rdx    # 0x3c5938
movl $0x61, %ecx
callq 0x1094e6
testq %rax, %rax
je 0x20973f
movq 0x8(%r13), %rdx
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
incq %rcx
movq %rcx, 0x20(%rsp)
testb %bpl, %bpl
je 0x209462
testb $0x1, 0x8(%rsp)
je 0x2093d0
movq %rbx, %rdi
callq 0x1f827b
testb $0x1, 0x8(%rsp)
je 0x20947b
movq 0x10(%rsp), %r13
jmp 0x209703
testq %r12, %r12
je 0x209490
movq %r12, %rdi
callq 0x101a9a
testb %al, %al
jne 0x209749
movq %r12, 0x58(%rsp)
movq 0x38(%rsp), %r14
movq %r14, %rdi
callq 0xec1d8
movq %rax, %rbx
movq %r14, %rdi
callq 0xf02da
movq %rax, %rdi
callq 0xd3733
movq %rax, 0x48(%rsp)
movq 0x18(%rsp), %rcx
leal -0x1(%rcx), %eax
movq %rax, 0x28(%rsp)
movl 0x34(%rsp), %r13d
movl %ecx, %eax
movq %rax, 0x40(%rsp)
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r12d, %r12d
movq %r15, 0x68(%rsp)
movb $0x1, %r15b
movq 0x28(%rsp), %rbp
cmpq %rbx, %r14
jae 0x209511
movq 0x38(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xec1f8
movq 0x18(%rsp), %rcx
cmpb $-0x2, %al
setae %r15b
movzbl %al, %ebp
cmovaeq 0x28(%rsp), %rbp
movq %r12, 0x50(%rsp)
leaq (%r14,%r13), %rax
leaq 0x1(%r14), %rdx
movq %rdx, 0x60(%rsp)
cmpq %rax, %rdx
jae 0x2095ba
movl $0x1, %r12d
testb $0x1, %r15b
je 0x209547
cmpl $0x4, %ecx
jne 0x209574
leaq 0x3(,%rbp,4), %rbp
jmp 0x20958f
leaq (%r14,%r12), %rsi
cmpq %rbx, %rsi
jae 0x209565
movq 0x38(%rsp), %rdi
xorl %edx, %edx
callq 0xec1f8
cmpb $-0x2, %al
jb 0x209599
movq 0x18(%rsp), %rcx
cmpl $0x4, %ecx
jne 0x209581
leaq 0x3(,%rbp,4), %rbp
jmp 0x20958c
imulq 0x40(%rsp), %rbp
addq 0x28(%rsp), %rbp
jmp 0x20958f
imulq 0x40(%rsp), %rbp
addq 0x28(%rsp), %rbp
movb $0x1, %r15b
incq %r12
cmpq %r12, %r13
jne 0x209532
jmp 0x2095ba
movzbl %al, %eax
movq 0x18(%rsp), %rcx
cmpl $0x4, %ecx
jne 0x2095af
shlq $0x2, %rbp
orq %rax, %rbp
jmp 0x20958f
imulq 0x40(%rsp), %rbp
addq %rax, %rbp
jmp 0x20958f
movq 0x68(%rsp), %r15
cmpq %r15, %r14
jae 0x2095cb
movq 0x50(%rsp), %r12
jmp 0x2095f8
leaq 0x2000(,%r15,8), %rsi
addq $0x400, %r15            # imm = 0x400
movq 0x50(%rsp), %rdi
leaq 0x1bc352(%rip), %rdx    # 0x3c5938
movl $0x7d, %ecx
callq 0x1094e6
movq 0x18(%rsp), %rcx
movq %rax, %r12
testq %r12, %r12
je 0x20973a
movq %rbp, (%r12,%r14,8)
movq 0x60(%rsp), %rbp
movq %rbp, %r14
cmpq %rbx, %rbp
jbe 0x2094dc
movq 0x58(%rsp), %r15
testq %r15, %r15
je 0x209635
movq %r15, %rdi
callq 0x101a9a
movq 0x18(%rsp), %rcx
testb %al, %al
jne 0x20974e
movq 0x20(%rsp), %rdx
cmpq %rbp, %rdx
movq 0x10(%rsp), %r13
jne 0x209667
testq %rdx, %rdx
je 0x2096ef
xorl %ebx, %ebx
movq (%r13,%rbx,8), %rsi
cmpq (%r12,%rbx,8), %rsi
jne 0x20967d
incq %rbx
cmpq %rbx, %rdx
jne 0x20964f
jmp 0x2096ef
leaq 0x1bc34c(%rip), %rsi    # 0x3c59ba
movq %r15, %rdi
movq %rbp, %rcx
xorl %eax, %eax
callq 0x1019cf
jmp 0x2096e8
leaq 0x70(%rsp), %rdi
movq %rcx, %r14
movl %r14d, %edx
movl 0x34(%rsp), %ebp
movl %ebp, %ecx
movq 0x48(%rsp), %r8
callq 0x329ca0
movq (%r12,%rbx,8), %rsi
leaq 0xc0(%rsp), %rdi
movl %r14d, %edx
movl %ebp, %ecx
movq 0x48(%rsp), %r8
callq 0x329ca0
movq (%r13,%rbx,8), %rcx
movq (%r12,%rbx,8), %r8
leaq 0x1bc330(%rip), %rsi    # 0x3c59f3
movq %r15, %rdi
movq %rbx, %rdx
movq %rbx, %r9
xorl %eax, %eax
leaq 0xc0(%rsp), %r10
pushq %r10
leaq 0x78(%rsp), %r10
pushq %r10
callq 0x1019cf
addq $0x10, %rsp
movb $0x1, %al
movq %rax, 0x8(%rsp)
leaq 0x1bc242(%rip), %rsi    # 0x3c5938
movq %r12, %rdi
movl $0xfb, %edx
callq 0x109670
testq %r13, %r13
je 0x20971c
leaq 0x1bc229(%rip), %rsi    # 0x3c5938
movq %r13, %rdi
movl $0x120, %edx            # imm = 0x120
callq 0x109670
movq 0x8(%rsp), %rax
andb $0x1, %al
movzbl %al, %eax
negl %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x80f5d
callq 0x80eb4
callq 0x80e7b
callq 0x80eeb
callq 0x80f24
nop