// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/rdj-spmlist.c
// Function: parse_line
static inline int parse_line(GtStr *s, GtUword min_length,
    GtSpmproc proc_e, GtSpmprocA proc_a, void *data, GtError *err)
{
  int had_err = 0;
  GtSplitter *splitter;
  char **tokens = NULL;
  GtUword suffix_seqnum = 0, prefix_seqnum = 0, suffix_length = 0,
                prefix_length, unit_edist;
  bool suffixseq_direct = true, prefixseq_direct = true, exact;

  exact = (proc_e != NULL) ? true : false;
  splitter = gt_splitter_new();
  gt_splitter_split(splitter, gt_str_get(s), gt_str_length(s), ' ');
  if (gt_splitter_size(splitter) != (exact ? 5UL : 7UL))
  {
    gt_error_set(err, "Wrong number of tokens");
    had_err = -1;
  }
  if (!had_err) tokens = gt_splitter_get_tokens(splitter);
  GT_SPMLIST_PARSE(0, gt_parse_uword, &suffix_seqnum);
  GT_SPMLIST_PARSE(1, parse_plusminus, &suffixseq_direct);
  GT_SPMLIST_PARSE(2, gt_parse_uword, &prefix_seqnum);
  GT_SPMLIST_PARSE(3, parse_plusminus, &prefixseq_direct);
  GT_SPMLIST_PARSE(4, gt_parse_uword, &suffix_length);
  if (!exact)
  {
    GT_SPMLIST_PARSE(5, gt_parse_uword, &prefix_length);
    GT_SPMLIST_PARSE(6, gt_parse_uword, &unit_edist);
  }
  if (!had_err)
  {
    if (exact && suffix_length >= min_length)
    {
      gt_assert(proc_e != NULL);
      proc_e(suffix_seqnum, prefix_seqnum, suffix_length,
          suffixseq_direct, prefixseq_direct, data);
    }
    else if (!exact && (suffix_length >= min_length ||
          prefix_length >= min_length))
    {
      gt_assert(proc_a != NULL);
      proc_a(suffix_seqnum, prefix_seqnum, suffix_length, prefix_length,
          unit_edist, suffixseq_direct, prefixseq_direct, data);
    }
  }
  gt_splitter_delete(splitter);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r14
movq %r8, 0x20(%rsp)
movq %rcx, 0x30(%rsp)
movq %rdx, %rbp
movq %rsi, 0x28(%rsp)
movq %rdi, %r15
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
testq %rdx, %rdx
sete %r13b
callq 0x119478
movq %rax, %rbx
movq %r15, %rdi
callq 0x11b0a1
movq %rax, %r12
movq %r15, %rdi
callq 0x11b0ca
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
movl $0x20, %ecx
callq 0x119493
movq %rbx, %rdi
callq 0x1196b0
leaq 0x5(,%r13,2), %rcx
cmpq %rcx, %rax
jne 0x1cdbdb
movq %rbx, %rdi
callq 0x119665
testq %rax, %rax
je 0x1cddcd
movq %rax, %r12
movq (%rax), %rsi
leaq 0x18(%rsp), %rdi
callq 0x10b217
testl %eax, %eax
je 0x1cdbee
movl %eax, %r15d
leaq 0x1e0e80(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xfcb67
jmp 0x1cdc30
leaq 0x1e0e3a(%rip), %rsi    # 0x3aea1c
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
jmp 0x1cdc2a
movq 0x8(%r12), %r15
movq %r15, %rdi
callq 0x172f0
cmpq $0x1, %rax
jne 0x1cdc14
movzbl (%r15), %eax
cmpl $0x2d, %eax
je 0x1cdc4a
cmpl $0x2b, %eax
jne 0x1cdc14
movb $0x1, %r13b
jmp 0x1cdc4d
leaq 0x1e0e32(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
movl $0x1, %edx
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x1196c0
movl %r15d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r13d, %r13d
movq 0x10(%r12), %rsi
leaq 0x10(%rsp), %rdi
callq 0x10b217
testl %eax, %eax
je 0x1cdc77
movl %eax, %r15d
leaq 0x1e0de3(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
movl $0x2, %edx
jmp 0x1cdbd2
movq 0x18(%r12), %r15
movq %r15, %rdi
callq 0x172f0
cmpq $0x1, %rax
jne 0x1cdca0
movzbl (%r15), %eax
cmpl $0x2d, %eax
je 0x1cdcb4
cmpl $0x2b, %eax
jne 0x1cdca0
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0x1cdcbc
leaq 0x1e0da6(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
movl $0x3, %edx
jmp 0x1cdc23
movl $0x0, 0x4(%rsp)
movq 0x20(%r12), %rsi
leaq 0x8(%rsp), %rdi
callq 0x10b217
testl %eax, %eax
je 0x1cdce6
movl %eax, %r15d
leaq 0x1e0d74(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
movl $0x4, %edx
jmp 0x1cdbd2
testq %rbp, %rbp
je 0x1cdd1e
movq 0x8(%rsp), %rdx
xorl %r15d, %r15d
cmpq 0x28(%rsp), %rdx
jb 0x1cdc30
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movzbl %r13b, %ecx
movzbl 0x4(%rsp), %r8d
movq 0x20(%rsp), %r9
callq *%rbp
jmp 0x1cdc30
movq 0x28(%r12), %rsi
leaq 0x40(%rsp), %rdi
callq 0x10b217
testl %eax, %eax
je 0x1cdd48
movl %eax, %r15d
leaq 0x1e0d12(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
movl $0x5, %edx
jmp 0x1cdbd2
movq 0x30(%r12), %rsi
leaq 0x38(%rsp), %rdi
callq 0x10b217
testl %eax, %eax
je 0x1cdd72
movl %eax, %r15d
leaq 0x1e0ce8(%rip), %rsi    # 0x3aea4d
movq %r14, %rdi
movl $0x6, %edx
jmp 0x1cdbd2
movq 0x8(%rsp), %rdx
movq 0x28(%rsp), %rsi
cmpq %rsi, %rdx
setb %al
movq 0x40(%rsp), %rcx
cmpq %rsi, %rcx
setb %sil
xorl %r15d, %r15d
testb %sil, %al
jne 0x1cdc30
movq 0x30(%rsp), %r10
testq %r10, %r10
je 0x1cddd2
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x38(%rsp), %r8
movzbl 0x4(%rsp), %eax
movzbl %r13b, %r9d
pushq 0x20(%rsp)
pushq %rax
callq *%r10
addq $0x10, %rsp
jmp 0x1cdc30
callq 0x6b9fb
callq 0x6b9c2