// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/ft-eoplist.c
// Function: gt_eoplist_read_trace
void gt_eoplist_read_trace(GtEoplist *eoplist,
                           const char *trace,
                           char separator)
{
  if (eoplist != NULL)
  {
    eoplist->trace.nextfreeint = 0;
  }
  while (true)
  {
    int value;
    const char *ptr;

    if (sscanf(trace,"%d",&value) != 1)
    {
      fprintf(stderr,"cannot read number from trace %s\n",trace);
      exit(GT_EXIT_PROGRAMMING_ERROR);
    }
    if (eoplist != NULL)
    {
      GT_STOREINARRAY(&eoplist->trace,int,
                      256 + eoplist->trace.allocatedint * 0.2,value);
    }
    for (ptr = trace; *ptr != '\0' && *ptr != separator && *ptr != ','; ptr++)
      /* Nothing */;
    if (*ptr == '\0' || *ptr == separator)
    {
      break;
    }
    trace = ptr + 1;
  }
}

// Assembly:
subq $0x38, %rsp
movb %dl, %al
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movb %al, 0x27(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x4c376c
movq 0x30(%rsp), %rax
movq $0x0, 0x80(%rax)
jmp 0x4c376e
movq 0x28(%rsp), %rdi
leaq 0xd9d28(%rip), %rsi     # 0x59d4a2
leaq 0x20(%rsp), %rdx
movb $0x0, %al
callq 0x19770
cmpl $0x1, %eax
je 0x4c37b2
movq 0x17880e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
movq 0x28(%rsp), %rdx
leaq 0xf4ef1(%rip), %rsi     # 0x5b8692
movb $0x0, %al
callq 0x199f0
movl $0x2, %edi
callq 0x19890
cmpq $0x0, 0x30(%rsp)
je 0x4c394e
jmp 0x4c37c0
jmp 0x4c37c2
movq 0x30(%rsp), %rax
movq 0x80(%rax), %rax
addq $0x0, %rax
movq 0x30(%rsp), %rcx
cmpq 0x78(%rcx), %rax
jb 0x4c38d8
movq 0x30(%rsp), %rax
movq 0x78(%rax), %xmm0
movaps 0x5513e(%rip), %xmm1    # 0x518930
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x55142(%rip), %xmm1    # 0x518940
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd 0xae6eb(%rip), %xmm1    # 0x571f00
mulsd %xmm1, %xmm0
movsd 0xae6cf(%rip), %xmm1    # 0x571ef0
addsd %xmm1, %xmm0
movaps %xmm0, %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rdx
sarq $0x3f, %rdx
movsd 0x55534(%rip), %xmm1    # 0x518d70
subsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
andq %rdx, %rcx
orq %rcx, %rax
movq %rax, 0x10(%rsp)
xorl %eax, %eax
cmpq 0x10(%rsp), %rax
jbe 0x4c3891
movq 0x178740(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x527a9(%rip), %rsi     # 0x516013
leaq 0x55936(%rip), %rdx     # 0x5191a7
leaq 0xf4e3c(%rip), %rcx     # 0x5b86b4
leaq 0xf4ab9(%rip), %r8      # 0x5b8338
movl $0x241, %r9d            # imm = 0x241
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c3893
movq 0x10(%rsp), %rcx
movq 0x30(%rsp), %rax
addq 0x78(%rax), %rcx
movq %rcx, 0x78(%rax)
movq 0x30(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0x30(%rsp), %rax
movq 0x78(%rax), %rsi
shlq $0x2, %rsi
leaq 0xf4a76(%rip), %rdx     # 0x5b8338
movl $0x241, %ecx            # imm = 0x241
callq 0xe8540
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x70(%rax)
jmp 0x4c38da
movq 0x30(%rsp), %rax
cmpq $0x0, 0x70(%rax)
jne 0x4c391e
movq 0x1786b3(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x5271c(%rip), %rsi     # 0x516013
leaq 0xf4dcc(%rip), %rdx     # 0x5b86ca
leaq 0xf4daf(%rip), %rcx     # 0x5b86b4
leaq 0xf4a2c(%rip), %r8      # 0x5b8338
movl $0x241, %r9d            # imm = 0x241
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c3920
jmp 0x4c3922
movl 0x20(%rsp), %edx
movq 0x30(%rsp), %rax
movq 0x70(%rax), %rax
movq 0x30(%rsp), %rsi
movq 0x80(%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, 0x80(%rsi)
movl %edx, (%rax,%rcx,4)
jmp 0x4c394e
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, 0xf(%rsp)
je 0x4c3994
movq 0x18(%rsp), %rax
movsbl (%rax), %ecx
movsbl 0x27(%rsp), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, 0xf(%rsp)
je 0x4c3994
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x2c, %eax
setne %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x4c399e
jmp 0x4c39b0
jmp 0x4c39a0
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x4c3958
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x4c39ce
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
movsbl 0x27(%rsp), %ecx
cmpl %ecx, %eax
jne 0x4c39d0
jmp 0x4c39e3
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x4c376e
addq $0x38, %rsp
retq
nopl (%rax,%rax)