// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/test-mappedstr.c
// Function: comparecodelists
static int comparecodelists(const GtArrayGtCodetype *codeliststream,
                            const GtArrayGtCodetype *codeliststring,
                            unsigned int kmersize,
                            unsigned int numofchars,
                            const char *characters,
                            GtError *err)
{
  GtUword i;
  char buffer1[64+1], buffer2[64+1];

  gt_error_check(err);
  if (codeliststream->nextfreeGtCodetype != codeliststring->nextfreeGtCodetype)
  {
    gt_error_set(err,"length codeliststream= "GT_WU" != "GT_WU
                 " =length codeliststring",
                 (GtUword) codeliststream->nextfreeGtCodetype,
                 (GtUword) codeliststring->nextfreeGtCodetype);
    return -1;
  }
  for (i=0; i<codeliststream->nextfreeGtCodetype; i++)
  {
    if (codeliststream->spaceGtCodetype[i] !=
          codeliststring->spaceGtCodetype[i])
    {
      gt_fromkmercode2string(buffer1,
                          codeliststream->spaceGtCodetype[i],
                          numofchars,
                          kmersize,
                          characters);
      gt_fromkmercode2string(buffer2,
                          codeliststring->spaceGtCodetype[i],
                          numofchars,
                          kmersize,
                          characters);
      gt_error_set(err,"codeliststream["GT_WU"] = " FormatGtCodetype " != "
                    FormatGtCodetype " = codeliststring["GT_WU"]\n%s != %s",
                    i,
                    codeliststream->spaceGtCodetype[i],
                    codeliststring->spaceGtCodetype[i],
                    i,
                    buffer1,
                    buffer2);
      return -1;
    }
  }
  return 0;
}

// Assembly:
subq $0xe8, %rsp
movq %rdi, 0xd8(%rsp)
movq %rsi, 0xd0(%rsp)
movl %edx, 0xcc(%rsp)
movl %ecx, 0xc8(%rsp)
movq %r8, 0xc0(%rsp)
movq %r9, 0xb8(%rsp)
cmpq $0x0, 0xb8(%rsp)
je 0x2f128b
movq 0xb8(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x2f1253
jmp 0x2f128b
movq 0x34ad46(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x224daf(%rip), %rsi    # 0x516013
leaq 0x224f54(%rip), %rdx    # 0x5161bf
leaq 0x29e1a0(%rip), %rcx    # 0x58f412
leaq 0x29e128(%rip), %r8     # 0x58f3a1
movl $0x8b, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f128d
movq 0xd8(%rsp), %rax
movq 0x10(%rax), %rax
movq 0xd0(%rsp), %rcx
cmpq 0x10(%rcx), %rax
je 0x2f12e5
movq 0xb8(%rsp), %rdi
movq 0xd8(%rsp), %rax
movq 0x10(%rax), %rdx
movq 0xd0(%rsp), %rax
movq 0x10(%rax), %rcx
leaq 0x29e155(%rip), %rsi    # 0x58f423
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xe4(%rsp) # imm = 0xFFFFFFFF
jmp 0x2f1447
movq $0x0, 0xb0(%rsp)
movq 0xb0(%rsp), %rax
movq 0xd8(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x2f143c
movq 0xd8(%rsp), %rax
movq (%rax), %rax
movq 0xb0(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0xd0(%rsp), %rcx
movq (%rcx), %rcx
movq 0xb0(%rsp), %rdx
cmpq (%rcx,%rdx,8), %rax
je 0x2f1421
leaq 0x60(%rsp), %rdi
movq 0xd8(%rsp), %rax
movq (%rax), %rax
movq 0xb0(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
movl 0xc8(%rsp), %edx
movl 0xcc(%rsp), %ecx
movq 0xc0(%rsp), %r8
callq 0x4d2010
leaq 0x10(%rsp), %rdi
movq 0xd0(%rsp), %rax
movq (%rax), %rax
movq 0xb0(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
movl 0xc8(%rsp), %edx
movl 0xcc(%rsp), %ecx
movq 0xc0(%rsp), %r8
callq 0x4d2010
movq 0xb8(%rsp), %rdi
movq 0xb0(%rsp), %rdx
movq 0xd8(%rsp), %rax
movq (%rax), %rax
movq 0xb0(%rsp), %rcx
movq (%rax,%rcx,8), %rcx
movq 0xd0(%rsp), %rax
movq (%rax), %rax
movq 0xb0(%rsp), %rsi
movq (%rax,%rsi,8), %r8
movq 0xb0(%rsp), %r9
leaq 0x60(%rsp), %r10
leaq 0x10(%rsp), %rax
leaq 0x29e058(%rip), %rsi    # 0x58f45c
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xe4(%rsp) # imm = 0xFFFFFFFF
jmp 0x2f1447
jmp 0x2f1423
movq 0xb0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xb0(%rsp)
jmp 0x2f12f1
movl $0x0, 0xe4(%rsp)
movl 0xe4(%rsp), %eax
addq $0xe8, %rsp
retq
nopw %cs:(%rax,%rax)