// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_sfxmap.c
// Function: gt_sfxmap_comparelcpvalue
static int gt_sfxmap_comparelcpvalue(void *info,GtUword lcp,GtError *err)
{
  GtUword currentlcpvalue;
  Sequentialsuffixarrayreader *ssar = (Sequentialsuffixarrayreader *) info;
  bool haserr = false;

  gt_error_check(err);
  do /* fake loop to allow for the use of a break statement */
  {
    SSAR_NEXTSEQUENTIALLCPTABVALUE(currentlcpvalue,ssar);
    if (lcp != currentlcpvalue)
    {
      gt_error_set(err,"lcp="GT_WU" != "GT_WU"=currentlcpvalue",
                   lcp,currentlcpvalue);
      haserr = true;
      break;
    }
    break;
  } while (true);
  return haserr ? -1 : 0;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x20(%rsp)
movb $0x0, 0x1f(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x6d1d2
movq 0x30(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x6d19a
jmp 0x6d1d2
movq 0x5cedff(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4a8e68(%rip), %rsi    # 0x516013
leaq 0x4a900d(%rip), %rdx    # 0x5161bf
leaq 0x4be013(%rip), %rcx    # 0x52b1cc
leaq 0x4bd42a(%rip), %r8     # 0x52a5ea
movl $0x41d, %r9d            # imm = 0x41D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x6d1d4
jmp 0x6d1d6
movq 0x20(%rsp), %rax
testb $0x1, 0x40(%rax)
je 0x6d284
movq 0x20(%rsp), %rax
movq (%rax), %rsi
addq $0xd0, %rsi
leaq 0x1e(%rsp), %rdi
callq 0x6bdb0
movl %eax, 0x18(%rsp)
cmpl $0x0, 0x18(%rsp)
jle 0x6d27a
movzbl 0x1e(%rsp), %eax
cmpl $0xff, %eax
jge 0x6d221
movzbl 0x1e(%rsp), %eax
movq %rax, 0x28(%rsp)
jmp 0x6d278
movq 0x20(%rsp), %rax
movq (%rax), %rsi
addq $0xe8, %rsi
leaq 0x8(%rsp), %rdi
callq 0x6be90
movl %eax, 0x18(%rsp)
cmpl $0x0, 0x18(%rsp)
jne 0x6d26e
movq 0x30(%rsp), %rdi
leaq 0x4bda17(%rip), %rsi    # 0x52ac68
leaq 0x4bd392(%rip), %rdx    # 0x52a5ea
movl $0x420, %ecx            # imm = 0x420
movb $0x0, %al
callq 0xd88c0
movb $0x1, 0x1f(%rsp)
jmp 0x6d3b3
movq 0x10(%rsp), %rax
movq %rax, 0x28(%rsp)
jmp 0x6d27f
jmp 0x6d3b3
jmp 0x6d381
movq 0x20(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x20(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x6d37d
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq 0x60(%rax), %rax
movq 0x20(%rsp), %rdx
movq 0x20(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x20(%rdx)
movb (%rax,%rcx), %al
movb %al, 0x1e(%rsp)
movzbl 0x1e(%rsp), %eax
cmpl $0xff, %eax
jge 0x6d2de
movzbl 0x1e(%rsp), %eax
movq %rax, 0x28(%rsp)
jmp 0x6d37b
jmp 0x6d2e0
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq 0x68(%rax), %rax
movq 0x20(%rsp), %rcx
movq 0x28(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq 0x20(%rsp), %rcx
movq 0x20(%rcx), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
je 0x6d349
movq 0x5cec88(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4a8cf1(%rip), %rsi    # 0x516013
leaq 0x4bd97c(%rip), %rdx    # 0x52aca5
leaq 0x4bde9c(%rip), %rcx    # 0x52b1cc
leaq 0x4bd2b3(%rip), %r8     # 0x52a5ea
movl $0x420, %r9d            # imm = 0x420
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x6d34b
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq 0x68(%rax), %rax
movq 0x20(%rsp), %rdx
movq 0x28(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x28(%rdx)
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
jmp 0x6d37f
jmp 0x6d3b3
jmp 0x6d381
movq 0x38(%rsp), %rax
cmpq 0x28(%rsp), %rax
je 0x6d3b1
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rdx
movq 0x28(%rsp), %rcx
leaq 0x4bde43(%rip), %rsi    # 0x52b1e6
movb $0x0, %al
callq 0xd88c0
movb $0x1, 0x1f(%rsp)
jmp 0x6d3b3
jmp 0x6d3b3
movb 0x1f(%rsp), %dl
xorl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
testb $0x1, %dl
cmovnel %ecx, %eax
addq $0x48, %rsp
retq
nopl (%rax)