LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshutils.c
// Function: reportDepths
void reportDepths (Moshset *ms, Array ma, FILE *f)
{
  U32 i, j, index ;
  for (i = 1 ; i <= ms->max ; ++i)
    { fprintf (f, "MH\t%llx\t%d\t%u", ms->value[i], msCopy(ms,i), ms->depth[i]) ;
      for (j = 0 ; j < arrayMax(ma) ; ++j)
	if ((index = moshsetIndexFind (arr(ma,j,Moshset*), ms->value[i], FALSE)))
	  fprintf (f, "\t%u", arr(ma,j,Moshset*)->depth[index]) ;
	else
	  fprintf (f, "\t0") ;
      fputc ('\n', f) ;
    }
}

// Assembly:
cmpl $0x0, 0x40(%rdi)
je 0x24d0
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x1, %r12d
leaq 0x3c19(%rip), %rbp      # 0x6018
movl %r12d, %r12d
movq 0x28(%r15), %rax
movq 0x30(%r15), %rsi
movq (%rax,%r12,8), %rdx
movq 0x38(%r15), %rax
movzbl (%rax,%r12), %ecx
andl $0x3, %ecx
movzwl (%rsi,%r12,2), %r8d
movq %rbx, %rdi
leaq 0x3be5(%rip), %rsi      # 0x600e
xorl %eax, %eax
callq 0x1120
cmpl $0x0, 0x18(%r14)
je 0x24a8
xorl %r13d, %r13d
movq 0x8(%r14), %rax
movl 0x14(%r14), %ecx
imull %r13d, %ecx
movq (%rax,%rcx), %rdi
movq 0x28(%r15), %rax
movq (%rax,%r12,8), %rsi
xorl %edx, %edx
callq 0x3d7f
testl %eax, %eax
je 0x2486
movq 0x8(%r14), %rcx
movl 0x14(%r14), %edx
imull %r13d, %edx
movq (%rcx,%rdx), %rcx
movq 0x30(%rcx), %rcx
movl %eax, %eax
movzwl (%rcx,%rax,2), %edx
movq %rbx, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x1120
jmp 0x249f
movl $0x2, %esi
movl $0x1, %edx
leaq 0x3b85(%rip), %rdi      # 0x601c
movq %rbx, %rcx
callq 0x1220
incl %r13d
cmpl 0x18(%r14), %r13d
jb 0x243a
movl $0xa, %edi
movq %rbx, %rsi
callq 0x10e0
incl %r12d
cmpl 0x40(%r15), %r12d
jbe 0x23ff
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshutils.c
// Function: addSequenceFile
static BOOL addSequenceFile (Moshset *ms, char *filename, BOOL is10x)
{
  char *seq ;			/* ignore the name for now */
  int len ;
  U64 nSeq = 0, totLen = 0, totHash = 0 ;

  dna2indexConv['N'] = dna2indexConv['n'] = 0 ; /* to get 2-bit encoding */
  SeqIO *si = seqIOopen (filename, dna2indexConv, FALSE) ; /* false for no qualities */
  if (!si) return FALSE ;
  while (seqIOread (si))
    { ++nSeq ; totLen += si->seqLen ;
      if (is10x && (nSeq & 0x1)) totHash += addSequence (ms, sqioSeq(si)+23, si->seqLen-23) ;
      else totHash += addSequence (ms, sqioSeq(si), si->seqLen) ;
    }
  seqIOclose (si) ;
  fprintf (outFile, "added %llu sequences total length %llu total hashes %llu, new max %u\n",
	   nSeq, totLen, totHash, ms->max) ;
  return TRUE ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rax
movq %rdi, (%rsp)
leaq 0x81c4(%rip), %rsi      # 0xa740
xorl %ebx, %ebx
movl %ebx, 0x1b8(%rsi)
movl %ebx, 0x138(%rsi)
movq %rax, %rdi
xorl %edx, %edx
callq 0x270c
testq %rax, %rax
je 0x2660
movq %rax, %r14
movq %rax, %rdi
callq 0x28cd
testb %al, %al
je 0x2627
xorl %r15d, %r15d
xorl %r13d, %r13d
xorl %r12d, %r12d
testb %bpl, %bpl
setne %al
movslq 0x18(%r14), %rbx
testb $0x1, %r12b
sete %cl
andb %al, %cl
movl (%r14), %eax
cmpb $0x1, %cl
jne 0x25db
cmpl $0x2, %eax
jne 0x25e6
movq 0x70(%r14), %rsi
jmp 0x25ee
cmpl $0x2, %eax
jne 0x25fb
movq 0x70(%r14), %rsi
jmp 0x2603
movslq 0x24(%r14), %rsi
addq 0x50(%r14), %rsi
addq $0x17, %rsi
leal -0x17(%rbx), %edx
movq (%rsp), %rdi
jmp 0x2609
movslq 0x24(%r14), %rsi
addq 0x50(%r14), %rsi
movq (%rsp), %rdi
movl %ebx, %edx
callq 0x2671
addq %rbx, %r13
cltq
addq %rax, %r15
movq %r14, %rdi
callq 0x28cd
incq %r12
testb %al, %al
jne 0x25b5
jmp 0x2630
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %r15d, %r15d
movq %r14, %rdi
callq 0x2892
movq 0x8d11(%rip), %rdi      # 0xb350
movq (%rsp), %rax
movl 0x40(%rax), %r9d
leaq 0x41e6(%rip), %rsi      # 0x6834
movq %r12, %rdx
movq %r13, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x1120
movb $0x1, %bl
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshutils.c
// Function: addSequence
static int addSequence (Moshset *ms, char *s, int len) /* return number of hashes */
{
  int nHash = 0 ;
  SeqhashRCiterator *mi = moshRCiterator (ms->hasher, s, len) ;
  U64 hash ; int pos ;
  while (moshRCnext (mi, &hash, &pos, 0))
    { U32 index = moshsetIndexFind (ms, hash, TRUE) ;
      U16 *di = &ms->depth[index] ; ++*di ; if (!*di) *di = U16MAX ;
      ++nHash ;
    }
  return nHash ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x3906
movq %rax, %r14
xorl %r15d, %r15d
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x3a98
testb %al, %al
je 0x26f7
xorl %r15d, %r15d
movl $0xffff, %ebp           # imm = 0xFFFF
leaq 0x10(%rsp), %r12
leaq 0xc(%rsp), %r13
movq 0x10(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x3d7f
movq 0x30(%rbx), %rcx
movl %eax, %eax
movzwl (%rcx,%rax,2), %edx
incw %dx
cmovel %ebp, %edx
movw %dx, (%rcx,%rax,2)
incl %r15d
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x3a98
testb %al, %al
jne 0x26ba
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: seqIOclose
void seqIOclose (SeqIO *si)
{ free (si->buf) ;
  if (si->seqBuf) free (si->seqBuf) ; if (si->qualBuf) free (si->qualBuf) ;
  gzclose (si->f) ;
  free (si) ;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x50(%rdi), %rdi
callq 0x1040
movq 0x70(%rbx), %rdi
testq %rdi, %rdi
je 0x28ad
callq 0x1040
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0x28bb
callq 0x1040
movq 0x48(%rbx), %rdi
callq 0x1030
movq %rbx, %rdi
popq %rbx
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: bufRefill
static int bufRefill (SeqIO *si)
{ si->b -= si->recStart ;		/* will be position after move */
  memmove (si->buf, si->buf + si->recStart, si->b - si->buf) ;
  si->idStart -= si->recStart ; si->descStart -= si->recStart ; /* adjust all the offsets */
  si->seqStart -= si->recStart ; si->qualStart -= si->recStart ;
  si->recStart = 0 ;
  si->nb = gzread (si->f, si->b, si->buf + si->bufSize - si->b) ;
  return si->nb ;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movslq 0x40(%rdi), %rsi
movq 0x50(%rdi), %rdi
movq 0x58(%rbx), %rdx
subq %rsi, %rdx
movq %rdx, 0x58(%rbx)
addq %rdi, %rsi
subq %rdi, %rdx
callq 0x11a0
movl 0x40(%rbx), %eax
subl %eax, 0x1c(%rbx)
subl %eax, 0x20(%rbx)
subl %eax, 0x24(%rbx)
subl %eax, 0x28(%rbx)
movl $0x0, 0x40(%rbx)
movq 0x48(%rbx), %rdi
movq 0x58(%rbx), %rsi
movl 0x50(%rbx), %edx
addl 0x34(%rbx), %edx
subl %esi, %edx
callq 0x1110
movl %eax, 0x38(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: bufExtend
static int bufExtend (SeqIO *si)
{
  char *newbuf = new (si->bufSize*2, char) ;
  memcpy (newbuf, si->buf, si->bufSize) ;
  free (si->buf) ; si->buf = newbuf ;
  si->b = si->buf + si->bufSize ; si->nb = si->bufSize ;
  si->nb = gzread (si->f, si->b, si->bufSize) ;
  si->bufSize *= 2 ;
  return si->nb ;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movslq 0x34(%rdi), %rdi
addq %rdi, %rdi
callq 0x57a0
movq %rax, %r14
movq 0x50(%rbx), %rsi
movslq 0x34(%rbx), %rdx
movq %rax, %rdi
callq 0x1140
movq 0x50(%rbx), %rdi
callq 0x1040
movq %r14, 0x50(%rbx)
movslq 0x34(%rbx), %rdx
addq %rdx, %r14
movq %r14, 0x58(%rbx)
movl %edx, 0x38(%rbx)
movq 0x48(%rbx), %rdi
movq %r14, %rsi
callq 0x1110
movl %eax, 0x38(%rbx)
shll 0x34(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: sqioSeqUnpack
void sqioSeqUnpack (U8 *u, char *s, int len) /* uncompress (len+3)/4 u into s */
{
  int i ;
  while (len > 4)
    { for (i = 4 ; i-- ; ) { s[i] = (*u & 0x3) ; *u >>= 2 ; }
      len -= 4 ; ++u ; s += 4 ;
    }
  if (len) for (i = len ; --i ; ) { s[i] = (*u & 0x3) ; *u >>= 2 ; }
}

// Assembly:
cmpl $0x5, %edx
jl 0x314f
movl $0x4, %eax
movb (%rdi), %cl
andb $0x3, %cl
movb %cl, -0x1(%rsi,%rax)
shrb $0x2, (%rdi)
decq %rax
jne 0x312b
leal -0x4(%rdx), %eax
incq %rdi
addq $0x4, %rsi
cmpl $0x8, %edx
movl %eax, %edx
jg 0x3126
jmp 0x3151
movl %edx, %eax
cmpl $0x2, %eax
jb 0x316a
decl %eax
cltq
movb (%rdi), %cl
andb $0x3, %cl
movb %cl, (%rsi,%rax)
shrb $0x2, (%rdi)
decq %rax
jne 0x315a
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: sqioQualUnpack
void sqioQualUnpack (U8 *u, char *q, int len, int thresh) /* uncompress (len+7)/8 u into q */
{
  int i ;
  while (len > 8)
    { for (i = 8 ; i-- ; ) { q[i] = (*u & 0x1) ? thresh : 0 ; *u >>= 1 ; }
      len -= 8 ; ++u ; q += 8 ;
    }
  if (len) for (i = len ; --i ; ) { q[i] = (*u & 0x1) ? thresh : 0 ; *u >>= 1 ; }
}

// Assembly:
cmpl $0x9, %edx
jl 0x31a1
movl $0x8, %eax
movb (%rdi), %r8b
andb $0x1, %r8b
negb %r8b
andb %cl, %r8b
movb %r8b, -0x1(%rsi,%rax)
shrb (%rdi)
decq %rax
jne 0x3175
leal -0x8(%rdx), %eax
incq %rdi
addq $0x8, %rsi
cmpl $0x10, %edx
movl %eax, %edx
jg 0x3170
jmp 0x31a3
movl %edx, %eax
testl %eax, %eax
je 0x31c0
decl %eax
je 0x31c0
cltq
movb (%rdi), %dl
andb $0x1, %dl
negb %dl
andb %cl, %dl
movb %dl, (%rsi,%rax)
shrb (%rdi)
decq %rax
jne 0x31ad
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: sqioSeqPack
void sqioSeqPack (char *s, U8 *u, int len) /* compress s into (len+3)/4 u  */
{
  int i ;
  while (len > 4)
    { *u = 0 ; for (i = 0 ; i < 4 ; ++i) *u = (*u << 2) | dna2indexConv[*s++] ;
      len -= 4 ; ++u ;
    }
  if (len) { *u = 0 ; for (i = 0 ; i < len ; ++i) *u = (*u << 2) | dna2indexConv[*s++] ; }
}

// Assembly:
cmpl $0x5, %edx
jl 0x320f
leaq 0x7573(%rip), %rax      # 0xa740
movq %rdi, %rcx
movb $0x0, (%rsi)
xorl %r8d, %r8d
xorl %edi, %edi
movzbl %dil, %edi
shll $0x2, %edi
movsbq (%rcx,%r8), %r9
orl (%rax,%r9,4), %edi
movb %dil, (%rsi)
incq %r8
cmpl $0x4, %r8d
jne 0x31d8
leal -0x4(%rdx), %r9d
incq %rsi
leaq (%rcx,%r8), %rdi
cmpl $0x8, %edx
movl %r9d, %edx
jg 0x31cd
addq %r8, %rcx
movq %rcx, %rdi
jmp 0x3212
movl %edx, %r9d
testl %r9d, %r9d
je 0x3242
movb $0x0, (%rsi)
jle 0x3242
movb (%rsi), %al
movl %r9d, %ecx
xorl %edx, %edx
leaq 0x7516(%rip), %r8       # 0xa740
movzbl %al, %eax
shll $0x2, %eax
movsbq (%rdi,%rdx), %r9
orl (%r8,%r9,4), %eax
movb %al, (%rsi)
incq %rdx
cmpl %edx, %ecx
jne 0x322a
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqio.c
// Function: sqioQualPack
void sqioQualPack (char *q, U8 *u, int len, int thresh) /* compress q into (len+7)/8 u  */
{
  int i ;
  while (len > 8)
    { *u = 0 ; for (i = 0 ; i < 8 ; ++i) { if (*q++ >= thresh) *u |= 1 ; *u <<= 1 ; }
      len -= 8 ; ++u ;
    }
  if (len) { *u = 0 ; for (i = 0 ; i < len ; ++i) { if (*q++ >= thresh) *u |= 1 ; *u <<= 1 ; } }
}

// Assembly:
cmpl $0x9, %edx
jl 0x3284
movb $0x0, (%rsi)
xorl %eax, %eax
xorl %r8d, %r8d
movsbl (%rdi,%rax), %r9d
cmpl %ecx, %r9d
jl 0x3261
orb $0x1, %r8b
movb %r8b, (%rsi)
addb %r8b, %r8b
movb %r8b, (%rsi)
incq %rax
cmpl $0x8, %eax
jne 0x3250
addq $0x8, %rdi
leal -0x8(%rdx), %r8d
incq %rsi
cmpl $0x10, %edx
movl %r8d, %edx
jg 0x3248
jmp 0x3287
movl %edx, %r8d
testl %r8d, %r8d
je 0x32b3
movb $0x0, (%rsi)
jle 0x32b3
movb (%rsi), %al
movl %r8d, %edx
xorl %r8d, %r8d
movsbl (%rdi,%r8), %r9d
cmpl %ecx, %r9d
jl 0x32a7
orb $0x1, %al
movb %al, (%rsi)
addb %al, %al
movb %al, (%rsi)
incq %r8
cmpl %r8d, %edx
jne 0x3299
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqhash.c
// Function: seqhashCreate
Seqhash *seqhashCreate (int k, int w)
{
  assert (sizeof (U64) == 8) ;
  Seqhash *sh = new0 (1, Seqhash) ;
  sh->k = k ; if (k < 1 || k >= 32) die ("seqhash k %d must be between 1 and 32\n", k) ;
  sh->w = w ; if (w < 1) die ("seqhash w %d must be positive\n", w) ;
  sh->mask = ((U64)1 << (2*k)) - 1 ;
  int i ;
  
  sh->factor1 = (random() << 32) | random() | 0x01 ;
  sh->shift1 = 64 - 2*k ;
  sh->factor2 = (random() << 32) | random() | 0x01 ;
  sh->shift2 = 2*k ;
  for (i = 0 ; i < 4 ; ++i) { sh->patternRC[i] = (3-i) ; sh->patternRC[i] <<= 2*(k-1) ; }
  return sh ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movl %edi, %r14d
movl $0x1, %edi
movl $0x48, %esi
callq 0x57c8
movq %rax, %rbx
movl %r14d, (%rax)
leal -0x20(%r14), %eax
cmpl $-0x20, %eax
ja 0x32ef
leaq 0x36a0(%rip), %rdi      # 0x6985
movl %r14d, %esi
xorl %eax, %eax
callq 0x56d8
movl %ebp, 0x4(%rbx)
testl %ebp, %ebp
jg 0x3306
leaq 0x36af(%rip), %rdi      # 0x69ac
movl %ebp, %esi
xorl %eax, %eax
callq 0x56d8
leal (%r14,%r14), %ebp
movq $-0x1, %rax
movl %ebp, %ecx
shlq %cl, %rax
notq %rax
movq %rax, 0x8(%rbx)
callq 0x1160
movq %rax, %r15
shlq $0x20, %r15
callq 0x1160
orq %r15, %rax
orq $0x1, %rax
movq %rax, 0x18(%rbx)
movl $0x40, %eax
subl %ebp, %eax
movl %eax, 0x10(%rbx)
callq 0x1160
movq %rax, %r15
shlq $0x20, %r15
callq 0x1160
orq %r15, %rax
orq $0x1, %rax
movq %rax, 0x20(%rbx)
movl %ebp, 0x14(%rbx)
movq %rbx, %rax
addq $0x28, %rax
leal -0x2(,%r14,2), %ecx
movl $0x3, %edx
movq %rdx, %rsi
shlq %cl, %rsi
movq %rsi, (%rax)
addq $0x8, %rax
addq $-0x1, %rdx
jb 0x3376
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqhash.c
// Function: seqhashRead
Seqhash *seqhashRead (FILE *f)
{ Seqhash *sh = new (1, Seqhash) ;
  char name[8] ;
  if (fread (name,8,1,f) != 1) die ("failed to read seqhash header") ;
  if (strcmp (name, "SQHSHv1")) die ("seqhash read mismatch") ;
  if (fread (sh,sizeof(Seqhash),1,f) != 1) die ("failed to read seqhash") ;
  return sh ;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x48, %edi
callq 0x57a0
movq %rax, %rbx
movq %rsp, %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1070
cmpq $0x1, %rax
je 0x3443
leaq 0x35ce(%rip), %rdi      # 0x6a0a
xorl %eax, %eax
callq 0x56d8
movabsq $0x31764853485153, %rax # imm = 0x31764853485153
cmpq %rax, (%rsp)
je 0x3461
leaq 0x35ce(%rip), %rdi      # 0x6a28
xorl %eax, %eax
callq 0x56d8
movl $0x48, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq 0x1070
cmpq $0x1, %rax
je 0x348a
leaq 0x35bb(%rip), %rdi      # 0x6a3e
xorl %eax, %eax
callq 0x56d8
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqhash.c
// Function: minimizerRCiterator
SeqhashRCiterator *minimizerRCiterator (Seqhash *sh, char *s, int len)
{
  assert (s && len >= 0) ;
  SeqhashRCiterator *mi = (SeqhashRCiterator*) mycalloc (sizeof(SeqhashRCiterator), 1) ;
  mi->sh = sh ;
  mi->s = s ; mi->sEnd = s + len ;
  mi->hashBuf = new0 (sh->w, U64) ;
  mi->fBuf = new0 (sh->w, BOOL) ;
  if (len < sh->k) { mi->isDone = TRUE ; return mi ; } /* edge case */

  int i ;			/* preinitialise the hashes for the first kmer */
  for (i = 0 ; i < sh->k ; ++i, ++mi->s)
    { mi->h = (mi->h << 2) | *mi->s ;
      mi->hRC = (mi->hRC >> 2) | sh->patternRC[*(mi->s)] ;
    }
  
  /* store first w hashes in hashBuf and set ->iMin */
  U64 min = hashRC (mi, mi->fBuf) ;
  mi->iMin = 0 ;
  for (i = 1 ; i < sh->w ; ++i, ++mi->s)
    { mi->hashBuf[i] = advanceHashRC (mi, &mi->fBuf[i]) ;
      if (mi->hashBuf[i] < min) { min = mi->hashBuf[i] ; mi->iMin = i ; }
    }

  return mi ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x3640
movl %edx, %ebp
testl %edx, %edx
js 0x3640
movq %rsi, %r15
movq %rdi, %rbx
movl $0x48, %edi
movl $0x1, %esi
callq 0x57c8
movq %rax, %r14
movq %rbx, (%rax)
movq %r15, 0x8(%rax)
movl %ebp, %eax
addq %r15, %rax
movq %rax, 0x10(%r14)
movslq 0x4(%rbx), %rdi
movl $0x8, %esi
callq 0x57c8
movq %rax, 0x28(%r14)
movslq 0x4(%rbx), %rdi
movl $0x1, %esi
callq 0x57c8
movq %rax, 0x30(%r14)
movl (%rbx), %ecx
cmpl %ebp, %ecx
jle 0x3524
movb $0x1, 0x44(%r14)
jmp 0x3632
testl %ecx, %ecx
jle 0x3564
movq 0x8(%r14), %rdx
movq 0x18(%r14), %rsi
movq 0x20(%r14), %rdi
incq %rdx
shlq $0x2, %rsi
movsbq -0x1(%rdx), %r8
orq %r8, %rsi
movq %rsi, 0x18(%r14)
shrq $0x2, %rdi
movsbq -0x1(%rdx), %r8
orq 0x28(%rbx,%r8,8), %rdi
movq %rdi, 0x20(%r14)
movq %rdx, 0x8(%r14)
incq %rdx
decl %ecx
jne 0x3537
movq (%r14), %rcx
movq 0x18(%rcx), %rdx
movq 0x18(%r14), %rsi
imulq %rdx, %rsi
movb 0x10(%rcx), %cl
shrq %cl, %rsi
imulq 0x20(%r14), %rdx
shrq %cl, %rdx
cmpq %rdx, %rsi
setb (%rax)
movl $0x0, 0x40(%r14)
cmpl $0x2, 0x4(%rbx)
jl 0x3632
cmpq %rdx, %rsi
cmovbq %rsi, %rdx
movl $0x1, %eax
movq 0x8(%r14), %rcx
movq $-0x1, %rsi
cmpq 0x10(%r14), %rcx
jae 0x360a
movq 0x30(%r14), %rdi
movq (%r14), %r8
movq 0x18(%r14), %rsi
shlq $0x2, %rsi
andq 0x8(%r8), %rsi
movsbq (%rcx), %r9
orq %rsi, %r9
movq %r9, 0x18(%r14)
movq 0x20(%r14), %rsi
shrq $0x2, %rsi
movsbq (%rcx), %rcx
orq 0x28(%r8,%rcx,8), %rsi
movq %rsi, 0x20(%r14)
movq 0x18(%r8), %r10
imulq %r10, %r9
movb 0x10(%r8), %cl
shrq %cl, %r9
imulq %r10, %rsi
shrq %cl, %rsi
cmpq %rsi, %r9
cmovbq %r9, %rsi
setb (%rdi,%rax)
movq 0x28(%r14), %rcx
movq %rsi, (%rcx,%rax,8)
cmpq %rdx, %rsi
jae 0x361e
movl %eax, 0x40(%r14)
movq %rsi, %rdx
incq 0x8(%r14)
incq %rax
movslq 0x4(%rbx), %rcx
cmpq %rcx, %rax
jl 0x35a5
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x341d(%rip), %rdi      # 0x6a64
leaq 0x3424(%rip), %rsi      # 0x6a72
leaq 0x3427(%rip), %rcx      # 0x6a7c
movl $0x56, %edx
callq 0x10c0
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqhash.c
// Function: moshRCiterator
SeqhashRCiterator *moshRCiterator (Seqhash *sh, char *s, int len)
{
  assert (s && len >= 0) ;
  SeqhashRCiterator *mi = (SeqhashRCiterator*) mycalloc (sizeof(SeqhashRCiterator), 1) ;
  mi->sh = sh ;
  mi->s = s ; mi->sEnd = s + len ;
  mi->hashBuf = new0 (sh->w, U64) ;
  mi->fBuf = new0 (sh->w, BOOL) ;
  if (len < sh->k) { mi->isDone = TRUE ; return mi ; } /* edge case */

  int i ;			/* preinitialise the hashes for the first kmer */
  for (i = 0 ; i < sh->k ; ++i, ++mi->s)
    { mi->h = (mi->h << 2) | *mi->s ;
      mi->hRC = (mi->hRC >> 2) | sh->patternRC[*(mi->s)] ;
    }
  
  U64 hash = hashRC(mi, mi->fBuf) ;
  while ((hash % sh->w) && mi->s < mi->sEnd)
    { hash = advanceHashRC (mi, mi->fBuf) ; ++mi->iMin ; ++mi->s ; }
  if (!(hash % sh->w)) *mi->hashBuf = hash ;
  else mi->isDone = TRUE ;

  return mi ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x3a79
movl %edx, %ebp
testl %edx, %edx
js 0x3a79
movq %rsi, %r15
movq %rdi, %r14
movl $0x48, %edi
movl $0x1, %esi
callq 0x57c8
movq %rax, %rbx
movq %r14, (%rax)
movq %r15, 0x8(%rax)
movl %ebp, %eax
addq %r15, %rax
movq %rax, 0x10(%rbx)
movslq 0x4(%r14), %rdi
movl $0x8, %esi
callq 0x57c8
movq %rax, 0x28(%rbx)
movslq 0x4(%r14), %rdi
movl $0x1, %esi
callq 0x57c8
movq %rax, 0x30(%rbx)
movl (%r14), %ecx
cmpl %ebp, %ecx
jle 0x397c
movb $0x1, 0x44(%rbx)
jmp 0x3a6b
testl %ecx, %ecx
jle 0x39bc
movq 0x8(%rbx), %rdx
movq 0x18(%rbx), %rsi
movq 0x20(%rbx), %rdi
incq %rdx
shlq $0x2, %rsi
movsbq -0x1(%rdx), %r8
orq %r8, %rsi
movq %rsi, 0x18(%rbx)
shrq $0x2, %rdi
movsbq -0x1(%rdx), %r8
orq 0x28(%r14,%r8,8), %rdi
movq %rdi, 0x20(%rbx)
movq %rdx, 0x8(%rbx)
incq %rdx
decl %ecx
jne 0x398f
movq (%rbx), %rcx
movq 0x18(%rcx), %rsi
movq 0x18(%rbx), %rdx
imulq %rsi, %rdx
movb 0x10(%rcx), %cl
shrq %cl, %rdx
imulq 0x20(%rbx), %rsi
shrq %cl, %rsi
cmpq %rsi, %rdx
cmovbq %rdx, %rsi
setb (%rax)
movslq 0x4(%r14), %rcx
movq %rsi, %rax
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
sete %al
je 0x3a64
movq 0x8(%rbx), %rcx
cmpq 0x10(%rbx), %rcx
jae 0x3a5c
movq 0x30(%rbx), %rax
movq (%rbx), %rdx
movq 0x18(%rbx), %rsi
shlq $0x2, %rsi
andq 0x8(%rdx), %rsi
movsbq (%rcx), %rdi
orq %rsi, %rdi
movq %rdi, 0x18(%rbx)
movq 0x20(%rbx), %rsi
shrq $0x2, %rsi
movsbq (%rcx), %rcx
orq 0x28(%rdx,%rcx,8), %rsi
movq %rsi, 0x20(%rbx)
movq 0x18(%rdx), %r8
imulq %r8, %rdi
movb 0x10(%rdx), %cl
shrq %cl, %rdi
imulq %r8, %rsi
shrq %cl, %rsi
cmpq %rsi, %rdi
cmovbq %rdi, %rsi
setb (%rax)
incl 0x40(%rbx)
incq 0x8(%rbx)
jmp 0x39e3
testb %al, %al
je 0x3973
movq 0x28(%rbx), %rax
movq %rsi, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2fe4(%rip), %rdi      # 0x6a64
leaq 0x2feb(%rip), %rsi      # 0x6a72
leaq 0x3076(%rip), %rcx      # 0x6b04
movl $0x9c, %edx
callq 0x10c0
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/seqhash.c
// Function: moshRCnext
BOOL moshRCnext (SeqhashRCiterator *mi, U64 *u, int *pos, BOOL *isF) /* returns (u, pos, isF) */
{
  if (mi->isDone) return FALSE ; /* we are done */

  *u = *mi->hashBuf ; *pos = mi->iMin ; if (isF) *isF = *mi->fBuf ;

  if (mi->s >= mi->sEnd) { mi->isDone = TRUE ; return TRUE ; }
    
  U64 hash = advanceHashRC (mi, mi->fBuf) ; ++mi->iMin ; ++mi->s ;
  int w = mi->sh->w ;
  while ((hash % w) && mi->s < mi->sEnd)
    { hash = advanceHashRC (mi, mi->fBuf) ; ++mi->iMin ; ++mi->s ; }
  if (!(hash % w)) *mi->hashBuf = hash ;
  else mi->isDone = TRUE ;

  return TRUE ;
}

// Assembly:
cmpb $0x0, 0x44(%rdi)
je 0x3aa1
xorl %eax, %eax
retq
movq 0x28(%rdi), %rax
movq (%rax), %rax
movq %rax, (%rsi)
movl 0x40(%rdi), %eax
movl %eax, (%rdx)
testq %rcx, %rcx
je 0x3abd
movq 0x30(%rdi), %rax
movb (%rax), %al
movb %al, (%rcx)
movq 0x8(%rdi), %rcx
cmpq 0x10(%rdi), %rcx
jae 0x3b9d
movq 0x30(%rdi), %rax
movq (%rdi), %rdx
movq 0x18(%rdi), %rsi
shlq $0x2, %rsi
andq 0x8(%rdx), %rsi
movsbq (%rcx), %r8
orq %rsi, %r8
movq %r8, 0x18(%rdi)
movq 0x20(%rdi), %rsi
shrq $0x2, %rsi
movsbq (%rcx), %rcx
orq 0x28(%rdx,%rcx,8), %rsi
movq %rsi, 0x20(%rdi)
movq 0x18(%rdx), %r9
imulq %r9, %r8
movb 0x10(%rdx), %cl
shrq %cl, %r8
imulq %r9, %rsi
shrq %cl, %rsi
cmpq %rsi, %r8
cmovbq %r8, %rsi
setb (%rax)
incl 0x40(%rdi)
incq 0x8(%rdi)
movq (%rdi), %rax
movslq 0x4(%rax), %r8
movq %rsi, %rax
xorl %edx, %edx
divq %r8
testq %rdx, %rdx
je 0x3ba3
movq 0x8(%rdi), %rcx
cmpq 0x10(%rdi), %rcx
jae 0x3b9d
movq 0x30(%rdi), %rax
movq (%rdi), %rdx
movq 0x18(%rdi), %rsi
shlq $0x2, %rsi
andq 0x8(%rdx), %rsi
movsbq (%rcx), %r9
orq %rsi, %r9
movq %r9, 0x18(%rdi)
movq 0x20(%rdi), %rsi
shrq $0x2, %rsi
movsbq (%rcx), %rcx
orq 0x28(%rdx,%rcx,8), %rsi
movq %rsi, 0x20(%rdi)
movq 0x18(%rdx), %r10
imulq %r10, %r9
movb 0x10(%rdx), %cl
shrq %cl, %r9
imulq %r10, %rsi
shrq %cl, %rsi
cmpq %rsi, %r9
cmovbq %r9, %rsi
setb (%rax)
incl 0x40(%rdi)
incq 0x8(%rdi)
jmp 0x3b2b
movb $0x1, 0x44(%rdi)
jmp 0x3baa
movq 0x28(%rdi), %rax
movq %rsi, (%rax)
movb $0x1, %al
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshset.c
// Function: moshsetCreate
Moshset *moshsetCreate (Seqhash *sh, int bits, U32 size)
{
  if (bits < 20 || bits > 34) die ("table bits %d must be between 20 and 34", bits) ;
  Moshset *ms = new0 (1, Moshset) ;
  ms->hasher = sh ;
  ms->tableBits = bits ;
  ms->tableSize = (U64)1 << ms->tableBits ;
  ms->tableMask = ms->tableSize - 1 ;
  ms->index = new0 (ms->tableSize, U32) ;
  if (size >= (ms->tableSize >> 2)) die ("Moshset size %u is too big for %d bits", size, bits) ;
  else if (size) ms->size = size ;
  else ms->size = (ms->tableSize >> 2) - 1 ;
  ms->value = new (ms->size, U64) ;
  ms->depth = new0 (ms->size, U16) ;
  ms->info = new0 (ms->size, U8) ;
  return ms ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
leal -0x23(%r14), %eax
cmpl $-0x10, %eax
ja 0x3bda
leaq 0x2f90(%rip), %rdi      # 0x6b60
movl %r14d, %esi
xorl %eax, %eax
callq 0x56d8
movl $0x1, %r12d
movl $0x1, %edi
movl $0x48, %esi
callq 0x57c8
movq %rax, %rbx
movq %r15, (%rax)
movl %r14d, %ecx
shlq %cl, %r12
movl %r14d, 0x8(%rax)
movq %r12, 0x10(%rax)
leaq -0x1(%r12), %rax
movq %rax, 0x18(%rbx)
movl $0x4, %esi
movq %r12, %rdi
callq 0x57c8
movq %rax, 0x20(%rbx)
movl %ebp, %ecx
movq 0x10(%rbx), %rax
shrq $0x2, %rax
cmpq %rcx, %rax
jbe 0x3c35
testl %ebp, %ebp
je 0x3c4a
movl %ebp, 0xc(%rbx)
jmp 0x3c4f
leaq 0x2f4c(%rip), %rdi      # 0x6b88
movl %ebp, %esi
movl %r14d, %edx
xorl %eax, %eax
callq 0x56d8
jmp 0x3c4f
decl %eax
movl %eax, 0xc(%rbx)
movl 0xc(%rbx), %edi
shlq $0x3, %rdi
callq 0x57a0
movq %rax, 0x28(%rbx)
movl 0xc(%rbx), %edi
movl $0x2, %esi
callq 0x57c8
movq %rax, 0x30(%rbx)
movl 0xc(%rbx), %edi
movl $0x1, %esi
callq 0x57c8
movq %rax, 0x38(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshset.c
// Function: moshsetPack
BOOL moshsetPack (Moshset *ms)	/* compress per-item arrays */
{ if (ms->size == ms->max+1) return FALSE ;
  resize (ms->value, ms->size, ms->max+1, U64) ;
  resize (ms->depth, ms->size, ms->max+1, U16) ;
  resize (ms->info, ms->size, ms->max+1, U8) ;
  ms->size = ms->max+1 ;
  return TRUE ;
}

// Assembly:
movl 0x40(%rdi), %eax
incl %eax
cmpl %eax, 0xc(%rdi)
jne 0x3cc2
xorl %eax, %eax
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %eax, %edi
shlq $0x3, %rdi
callq 0x57a0
movq %rax, %r14
movl 0xc(%rbx), %eax
movl 0x40(%rbx), %edx
incl %edx
movq 0x28(%rbx), %rsi
cmpl %edx, %eax
cmovbl %eax, %edx
shlq $0x3, %rdx
movq %r14, %rdi
callq 0x1140
movq 0x28(%rbx), %rdi
callq 0x1040
movq %r14, 0x28(%rbx)
movl 0x40(%rbx), %edi
incl %edi
addq %rdi, %rdi
callq 0x57a0
movq %rax, %r14
movl 0xc(%rbx), %eax
movl 0x40(%rbx), %edx
incl %edx
cmpl %edx, %eax
cmovbl %eax, %edx
movq 0x30(%rbx), %rsi
addq %rdx, %rdx
movq %r14, %rdi
callq 0x1140
movq 0x30(%rbx), %rdi
callq 0x1040
movq %r14, 0x30(%rbx)
movl 0x40(%rbx), %edi
incl %edi
callq 0x57a0
movq %rax, %r14
movl 0xc(%rbx), %eax
movl 0x40(%rbx), %edx
incl %edx
cmpl %edx, %eax
cmovbl %eax, %edx
movq 0x38(%rbx), %rsi
movq %r14, %rdi
callq 0x1140
movq 0x38(%rbx), %rdi
callq 0x1040
movq %r14, 0x38(%rbx)
movl 0x40(%rbx), %eax
incl %eax
movl %eax, 0xc(%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshset.c
// Function: moshsetIndexFind
U32 moshsetIndexFind (Moshset *ms, U64 hash, int isAdd)
{
  U64 diff = 0 ;
  U64 offset = hash & ms->tableMask ;
  U32 index = ms->index[offset] ;
  while (index && (ms->value[index] != hash))
    { if (!diff) diff = ((hash >> ms->tableBits) & ms->tableMask) | 1 ; /* odd so comprime */
      offset = (offset + diff) & ms->tableMask ;
      index = ms->index[offset] ;
    }
  if (!index && isAdd)
    { index = ms->index[offset] = ++ms->max ;
      if (ms->max >= ms->size) die ("hashTableSize %u is too small for %u", ms->size, ms->max) ;
      ms->value[index] = hash ;
    }
  return index ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rdi
movq 0x20(%r14), %rax
movq %rdi, %rsi
andq %rbx, %rsi
movl (%rax,%rsi,4), %r15d
testq %r15, %r15
sete %cl
je 0x3ddf
movq 0x28(%r14), %r8
cmpq %rbx, (%r8,%r15,8)
je 0x3ddf
xorl %r9d, %r9d
testq %r9, %r9
jne 0x3dc7
movb 0x8(%r14), %cl
movq %rbx, %r9
shrq %cl, %r9
andq %rdi, %r9
orq $0x1, %r9
addq %r9, %rsi
andq %rdi, %rsi
movl (%rax,%rsi,4), %r15d
testq %r15, %r15
sete %cl
je 0x3ddf
cmpq %rbx, (%r8,%r15,8)
jne 0x3db1
testl %edx, %edx
je 0x3e1b
testb %cl, %cl
je 0x3e1b
movl 0x40(%r14), %r15d
incl %r15d
movl %r15d, 0x40(%r14)
movl %r15d, (%rax,%rsi,4)
movl 0xc(%r14), %esi
movl 0x40(%r14), %edx
cmpl %esi, %edx
jb 0x3e10
leaq 0x2da6(%rip), %rdi      # 0x6baf
xorl %eax, %eax
callq 0x56d8
movq 0x28(%r14), %rax
movl %r15d, %ecx
movq %rbx, (%rax,%rcx,8)
movl %r15d, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshset.c
// Function: moshsetWrite
void moshsetWrite (Moshset *ms, FILE *f)
{ if (fwrite ("MSHSTv1",8,1,f) != 1) die ("failed to write moshset header") ;
  if (fwrite (&ms->tableBits,sizeof(int),1,f) != 1) die ("failed to write bits") ;
  U32 size = ms->max+1 ; if (fwrite (&size,sizeof(U32),1,f) != 1) die ("failed to write size") ;
  seqhashWrite (ms->hasher, f) ;
  if (fwrite (ms->index,sizeof(U32),ms->tableSize,f) != ms->tableSize) die ("fail write index") ;
  if (fwrite (ms->value,sizeof(U64),ms->max+1,f) != ms->max+1) die ("failed to write value") ;
  if (fwrite (ms->depth,sizeof(U16),ms->max+1,f) != ms->max+1) die ("failed to write depth") ;
  if (fwrite (ms->info,sizeof(U8),ms->max+1,f) != ms->max+1) die ("failed to write info") ;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2ddd(%rip), %rdi      # 0x6c12
movl $0x8, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1220
cmpq $0x1, %rax
je 0x3e5b
leaq 0x2dc6(%rip), %rdi      # 0x6c1a
xorl %eax, %eax
callq 0x56d8
leaq 0x8(%rbx), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1220
cmpq $0x1, %rax
je 0x3e85
leaq 0x2dbb(%rip), %rdi      # 0x6c39
xorl %eax, %eax
callq 0x56d8
movl 0x40(%rbx), %eax
incl %eax
leaq 0x4(%rsp), %rdi
movl %eax, (%rdi)
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1220
cmpq $0x1, %rax
je 0x3eb7
leaq 0x2d9e(%rip), %rdi      # 0x6c4e
xorl %eax, %eax
callq 0x56d8
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x3397
movq 0x10(%rbx), %rdx
movq 0x20(%rbx), %rdi
movl $0x4, %esi
movq %r14, %rcx
callq 0x1220
cmpq 0x10(%rbx), %rax
je 0x3eeb
leaq 0x2d7f(%rip), %rdi      # 0x6c63
xorl %eax, %eax
callq 0x56d8
movq 0x28(%rbx), %rdi
movl 0x40(%rbx), %edx
incl %edx
movl $0x8, %esi
movq %r14, %rcx
callq 0x1220
movl 0x40(%rbx), %ecx
incl %ecx
cmpq %rcx, %rax
je 0x3f19
leaq 0x2d62(%rip), %rdi      # 0x6c74
xorl %eax, %eax
callq 0x56d8
movq 0x30(%rbx), %rdi
movl 0x40(%rbx), %edx
incl %edx
movl $0x2, %esi
movq %r14, %rcx
callq 0x1220
movl 0x40(%rbx), %ecx
incl %ecx
cmpq %rcx, %rax
je 0x3f47
leaq 0x2d4a(%rip), %rdi      # 0x6c8a
xorl %eax, %eax
callq 0x56d8
movq 0x38(%rbx), %rdi
movl 0x40(%rbx), %edx
incl %edx
movl $0x1, %esi
movq %r14, %rcx
callq 0x1220
movl 0x40(%rbx), %ecx
incl %ecx
cmpq %rcx, %rax
jne 0x3f6f
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x2d2a(%rip), %rdi      # 0x6ca0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x56d8
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshset.c
// Function: moshsetRead
Moshset *moshsetRead (FILE *f)
{ char name[8] ;
  if (fread (name,8,1,f) != 1) die ("failed to read moshset header") ;
  if (strcmp (name, "MSHSTv1")) die ("bad reference header") ;
  int bits ; if (fread (&bits,sizeof(int),1,f) != 1) die ("failed to read bits") ;
  U32 size ; if (fread (&size,sizeof(U32),1,f) != 1) die ("failed to read size") ;
  Seqhash *sh = seqhashRead (f) ;
  Moshset *ms = moshsetCreate (sh, bits, size) ;
  if (fread (ms->index,sizeof(U32),ms->tableSize,f) != ms->tableSize) die ("failed read index") ;
  if (fread (ms->value,sizeof(U64),size,f) != size) die ("failed to read value") ;
  if (fread (ms->depth,sizeof(U16),size,f) != size) die ("failed to read depth") ;
  if (fread (ms->info,sizeof(U8),size,f) != size) die ("failed to read info") ;
  ms->max = size - 1 ;
  return ms ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1070
cmpq $0x1, %rax
je 0x3fbb
leaq 0x2d01(%rip), %rdi      # 0x6cb5
xorl %eax, %eax
callq 0x56d8
movabsq $0x3176545348534d, %rax # imm = 0x3176545348534D
cmpq %rax, 0x8(%rsp)
je 0x3fda
leaq 0x2d00(%rip), %rdi      # 0x6cd3
xorl %eax, %eax
callq 0x56d8
leaq 0x4(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1070
cmpq $0x1, %rax
je 0x4005
leaq 0x2cea(%rip), %rdi      # 0x6ce8
xorl %eax, %eax
callq 0x56d8
movq %rsp, %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1070
cmpq $0x1, %rax
je 0x402e
leaq 0x2cd5(%rip), %rdi      # 0x6cfc
xorl %eax, %eax
callq 0x56d8
movq %rbx, %rdi
callq 0x3406
movl 0x4(%rsp), %esi
movl (%rsp), %r14d
movq %rax, %rdi
movl %r14d, %edx
callq 0x3bb0
movq %rax, %r15
movq 0x10(%rax), %rdx
movq 0x20(%rax), %rdi
movl $0x4, %esi
movq %rbx, %rcx
callq 0x1070
cmpq 0x10(%r15), %rax
je 0x4075
leaq 0x2ca2(%rip), %rdi      # 0x6d10
xorl %eax, %eax
callq 0x56d8
movq 0x28(%r15), %rdi
movl $0x8, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x1070
cmpq %r14, %rax
je 0x409c
leaq 0x2c8d(%rip), %rdi      # 0x6d22
xorl %eax, %eax
callq 0x56d8
movq 0x30(%r15), %rdi
movl $0x2, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x1070
cmpq %r14, %rax
je 0x40c3
leaq 0x2c7b(%rip), %rdi      # 0x6d37
xorl %eax, %eax
callq 0x56d8
movq 0x38(%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x1070
cmpq %r14, %rax
je 0x40ea
leaq 0x2c69(%rip), %rdi      # 0x6d4c
xorl %eax, %eax
callq 0x56d8
leal -0x1(%r14), %eax
movl %eax, 0x40(%r15)
movq %r15, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/moshset.c
// Function: moshsetMerge
BOOL moshsetMerge (Moshset *ms1, Moshset *ms2)
{
  U32 i, index ;
  /* first check that the hashers are identical */
  Seqhash *sh1 = ms1->hasher, *sh2 = ms2->hasher ;
  if (sh1->w != sh2->w || sh1->k != sh2->k || sh1->factor1 != sh2->factor1) return FALSE ;
  /* then pass through ms2 adding into ms1 */
  for (i = 1 ; i <= ms2->max ; ++i)
    { index = moshsetIndexFind (ms1, ms2->value[i], TRUE) ;
      U32 d = ms1->depth[index] + (U32) ms2->depth[i] ; if (d > U16MAX) d = U16MAX ;
      ms1->depth[index] = d ;
      int c = msCopy(ms1,index) + msCopy(ms2,i) ; if (c > 3) c = 3 ;
      ms1->info[index] &= 0x3 ; ms1->info[index] |= c ;
    }
  return TRUE ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq (%rdi), %rax
movq (%rsi), %rcx
movl 0x4(%rax), %edx
cmpl 0x4(%rcx), %edx
jne 0x41c6
movl (%rax), %edx
cmpl (%rcx), %edx
jne 0x41c6
movq 0x18(%rax), %rax
cmpq 0x18(%rcx), %rax
jne 0x41c6
movq %rsi, %r14
movb $0x1, %bl
cmpl $0x0, 0x40(%rsi)
je 0x41c8
movq %rdi, %r15
movl $0x1, %ebp
movq 0x28(%r14), %rax
movl %ebp, %r12d
movq (%rax,%r12,8), %rsi
movq %r15, %rdi
movl $0x1, %edx
callq 0x3d7f
movq 0x30(%r15), %rcx
movl %eax, %eax
movzwl (%rcx,%rax,2), %esi
movq 0x30(%r14), %rdx
movzwl (%rdx,%r12,2), %edx
addl %esi, %edx
movl $0xffff, %esi           # imm = 0xFFFF
cmpl %esi, %edx
jb 0x4183
movl $0xffff, %edx           # imm = 0xFFFF
movw %dx, (%rcx,%rax,2)
movq 0x38(%r15), %rcx
movb (%rcx,%rax), %dl
andb $0x3, %dl
movq 0x38(%r14), %rsi
movb (%rsi,%r12), %sil
andb $0x3, %sil
addb %dl, %sil
cmpb $0x3, %sil
jb 0x41ad
movl $0x3, %esi
jmp 0x41b1
movzbl %sil, %esi
movb %dl, (%rcx,%rax)
movq 0x38(%r15), %rcx
orb %sil, (%rcx,%rax)
incl %ebp
cmpl 0x40(%r14), %ebp
jbe 0x4148
jmp 0x41c8
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/hash.c
// Function: hashCreate
HASH hashCreate (int n)
{
  TRUE_HASH *h = (TRUE_HASH *) myalloc (sizeof (TRUE_HASH)) ;

  if (n < 64) n = 64 ;
  --n ;
  h->nbits = 1 ;	       /* make room, be twice as big as needed */
  while (n >>= 1) ++h->nbits ; /* number of left most bit + 1 */
  h->mask = (1 << h->nbits) - 1 ;
  h->guard = (1 << (h->nbits - 1)) ;
  h->keys = (int*) myalloc (sizeof(int)*(1 << h->nbits)) ;
  memset (h->keys, 0, sizeof(int)*(1 << h->nbits)) ;
  h->values = (int*) myalloc (sizeof(int)*(1 << h->nbits)) ;
  h->n = 0 ;
  h->freeList = arrayCreate (32, int) ;
  h->nFree = 0 ;
  ++nCreated ;
  return (HASH) h ;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edi, %ebp
movl $0x30, %edi
callq 0x57a0
movq %rax, %rbx
cmpl $0x41, %ebp
movl $0x40, %eax
cmovgel %ebp, %eax
decl %eax
xorl %ecx, %ecx
sarl %eax
incl %ecx
cmpl $0x1, %eax
ja 0x43ba
leal 0x1(%rcx), %eax
movl %eax, (%rbx)
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
shll %cl, %eax
notl %eax
movl %eax, 0x4(%rbx)
movl $0x1, %eax
shll %cl, %eax
movl $0x2, %edx
shll %cl, %edx
movl $0x1, %ebp
movl %eax, 0xc(%rbx)
movslq %edx, %rdi
shlq $0x2, %rdi
callq 0x57a0
movq %rax, 0x10(%rbx)
movb (%rbx), %cl
movl $0x1, %edx
shll %cl, %edx
movslq %edx, %rdx
shlq $0x2, %rdx
xorl %r14d, %r14d
movq %rax, %rdi
xorl %esi, %esi
callq 0x10d0
movb (%rbx), %cl
shll %cl, %ebp
movslq %ebp, %rdi
shlq $0x2, %rdi
callq 0x57a0
movq %rax, 0x18(%rbx)
movl %r14d, 0x8(%rbx)
movl $0x20, %edi
movl $0x4, %esi
callq 0x4f40
movq %rax, 0x20(%rbx)
movl %r14d, 0x28(%rbx)
incl 0x6f0c(%rip)            # 0xb358
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/hash.c
// Function: hashDestroy
void hashDestroy (HASH hx)
{
  TRUE_HASH *h = (TRUE_HASH*) hx ;
  free (h->keys) ;
  free (h->values) ;
  arrayDestroy (h->freeList) ;
  free (h) ;
  ++nDestroyed ;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x1040
movq 0x18(%rbx), %rdi
callq 0x1040
movq 0x20(%rbx), %rdi
callq 0x5099
movq %rbx, %rdi
callq 0x1040
incl 0x6edb(%rip)            # 0xb35c
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/hash.c
// Function: hashFind
int hashFind (HASH hx, HASHKEY k)
/* if found, returns index, else returns 0 */
{
  TRUE_HASH *h = (TRUE_HASH*) hx ;
  long int hash, delta = 0 ;

  HASH_FUNC(k) ;
  while (TRUE)
    if (h->keys[hash] == k.i)
      { nFound++ ;
	return h->values[hash] ;
      }
    else if (!h->keys[hash])
      { nNotFound++ ;
	return 0 ;
      }
    else 
      { nBounced++ ;
	if (!delta) DELTA(k) ;
	hash = (hash + delta) & h->mask ;
      }
}

// Assembly:
movslq %esi, %rax
movl $0xfffffff4, %edx       # imm = 0xFFFFFFF4
movl %esi, %r8d
movq %rax, %rcx
sarl $0x5, %r8d
xorq %r8, %rcx
incl %edx
jne 0x44d0
pushq %rbx
movl 0x4(%rdi), %edx
movq 0x10(%rdi), %r8
andl %edx, %ecx
movslq (%r8,%rcx,4), %r11
cmpq %rsi, %r11
jne 0x44f3
movq %rcx, %rbx
jmp 0x4541
movq 0x6e76(%rip), %r9       # 0xb370
xorl %r10d, %r10d
testl %r11d, %r11d
je 0x4551
incq %r9
movq %r9, 0x6e64(%rip)       # 0xb370
testq %r10, %r10
jne 0x452e
movl $0xfffffff7, %r11d      # imm = 0xFFFFFFF7
movl %esi, %ebx
movq %rax, %r10
sarl $0x7, %ebx
xorq %rbx, %r10
incl %r11d
jne 0x451c
andl %edx, %r10d
orq $0x1, %r10
addl %r10d, %ecx
movl %edx, %ebx
andl %ecx, %ebx
movslq (%r8,%rbx,4), %r11
movq %rbx, %rcx
cmpq %rsi, %r11
jne 0x44fd
incq 0x6e18(%rip)            # 0xb360
movq 0x18(%rdi), %rax
movl (%rax,%rbx,4), %eax
jmp 0x455a
incq 0x6e10(%rip)            # 0xb368
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/hash.c
// Function: hashRemove
BOOL hashRemove (HASH hx, HASHKEY k)
{
  TRUE_HASH *h = (TRUE_HASH*) hx ;
  long int hash, delta = 0 ;

  HASH_FUNC(k) ;
  while (TRUE)
    if (h->keys[hash] == k.i)
      { h->keys[hash] = REMOVED ;
	array(h->freeList, ++h->nFree, int) = h->values[hash] ;
	++nFound ;
	return TRUE ;
      }
    else if (!h->keys[hash])
      { nNotFound++ ;
	return FALSE ;
      }
    else 
      { nBounced++ ;
	if (!delta) DELTA(k) ;
	hash = (hash + delta) & h->mask ;
      }
}

// Assembly:
movslq %esi, %rax
movl $0xfffffff4, %edx       # imm = 0xFFFFFFF4
movl %esi, %r8d
movq %rax, %rcx
sarl $0x5, %r8d
xorq %r8, %rcx
incl %edx
jne 0x47d8
pushq %r14
pushq %rbx
pushq %rax
movl 0x4(%rdi), %r8d
movq 0x10(%rdi), %rdx
andl %r8d, %ecx
movslq (%rdx,%rcx,4), %rbx
cmpq %rsi, %rbx
jne 0x4800
movq %rcx, %r14
jmp 0x4856
movq 0x6b69(%rip), %r10      # 0xb370
xorl %r11d, %r11d
leaq 0x6b57(%rip), %r9       # 0xb368
testl %ebx, %ebx
je 0x4887
incq %r10
movq %r10, 0x6b51(%rip)      # 0xb370
testq %r11, %r11
jne 0x4841
movl $0xfffffff7, %ebx       # imm = 0xFFFFFFF7
movl %esi, %r14d
movq %rax, %r11
sarl $0x7, %r14d
xorq %r14, %r11
incl %ebx
jne 0x482f
andl %r8d, %r11d
orq $0x1, %r11
addl %r11d, %ecx
movl %r8d, %r14d
andl %ecx, %r14d
movslq (%rdx,%r14,4), %rbx
movq %r14, %rcx
cmpq %rsi, %rbx
jne 0x4811
movl $0x1, (%rdx,%r14,4)
movq 0x18(%rdi), %rcx
movq 0x20(%rdi), %rax
movl (%rcx,%r14,4), %ebx
movl 0x28(%rdi), %esi
incl %esi
movl %esi, 0x28(%rdi)
movq %rax, %rdi
callq 0x51fb
movl %ebx, (%rax)
movb $0x1, %al
leaq 0x6adb(%rip), %r9       # 0xb360
jmp 0x4889
xorl %eax, %eax
incq (%r9)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/hash.c
// Function: hashNextKeyValue
int hashNextKeyValue (HASH hx, HASHKEY *kp, int *ip)
{
  TRUE_HASH *h = (TRUE_HASH*) hx ;
  int size = 1 << h->nbits ;

  while (++h->iter < size)
    if (h->keys[h->iter] && h->keys[h->iter] != REMOVED)
      { kp->i = h->keys[h->iter] ;
	*ip = h->values[h->iter] ;
	return *ip ;
      }

  return 0 ;			/* done if reached end of table */
}

// Assembly:
movb (%rdi), %cl
movl $0x1, %r8d
shll %cl, %r8d
movslq 0x2c(%rdi), %rax
movslq %r8d, %rcx
incq %rax
movl %eax, 0x2c(%rdi)
cmpq %rcx, %rax
jge 0x48db
movq 0x10(%rdi), %r8
movslq (%r8,%rax,4), %r8
incq %rax
cmpq $0x2, %r8
jb 0x48b1
movq %r8, (%rsi)
movq 0x18(%rdi), %rax
movslq 0x2c(%rdi), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, (%rdx)
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/hash.c
// Function: hashStats
void hashStats (void)
{
  printf ("%d hashes (%d created, %d destroyed)\n", 
	  nCreated - nDestroyed, nCreated, nDestroyed) ;
  printf ("%ld added, %ld found, %ld bounced, %ld not found\n",
	  nAdded, nFound, nBounced, nNotFound) ;
}

// Assembly:
pushq %rax
movl 0x6a6f(%rip), %edx      # 0xb358
movl 0x6a6d(%rip), %ecx      # 0xb35c
movl %edx, %esi
subl %ecx, %esi
leaq 0x24e8(%rip), %rdi      # 0x6de2
xorl %eax, %eax
callq 0x10b0
movq 0x6a70(%rip), %rsi      # 0xb378
movq 0x6a51(%rip), %rdx      # 0xb360
movq 0x6a5a(%rip), %rcx      # 0xb370
movq 0x6a4b(%rip), %r8       # 0xb368
leaq 0x24e4(%rip), %rdi      # 0x6e08
xorl %eax, %eax
popq %r9
jmp 0x10b0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/dict.c
// Function: dictCreate
DICT *dictCreate (int size)
{
  DICT *dict = (DICT*) mycalloc (1, sizeof(DICT)) ;

  for (dict->dim = 10, dict->size = 1024 ; dict->size < size ; ++dict->dim, dict->size *= 2) ;
  dict->table = (int*) mycalloc (dict->size, sizeof(int)) ;
  dict->names = (char**) mycalloc (dict->size/2, sizeof(char*)) ;
  return dict ; 
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebp
movl $0x1, %edi
movl $0x20, %esi
callq 0x57c8
movq %rax, %rbx
movl $0xa, 0x14(%rax)
movl $0x400, %eax            # imm = 0x400
cmpl $0x401, %ebp            # imm = 0x401
jl 0x4969
movl 0x14(%rbx), %ecx
incl %ecx
addl %eax, %eax
cmpl %ebp, %eax
jl 0x495e
movl %ecx, 0x14(%rbx)
movl %eax, 0x18(%rbx)
movslq %eax, %rdi
movl $0x4, %esi
callq 0x57c8
movq %rax, 0x8(%rbx)
movl 0x18(%rbx), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movslq %ecx, %rdi
movl $0x8, %esi
callq 0x57c8
movq %rax, (%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/dict.c
// Function: dictDestroy
void dictDestroy (DICT *dict)
{
  int i ;
  for (i = 1 ; i <= dict->max ; ++i) free (dict->names[i]) ;
  free (dict->names) ;
  free (dict->table) ;
  free (dict) ;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x10(%rdi)
jle 0x49cc
xorl %r14d, %r14d
movq (%rbx), %rax
movq 0x8(%rax,%r14,8), %rdi
callq 0x1040
movslq 0x10(%rbx), %rax
incq %r14
cmpq %rax, %r14
jl 0x49b3
movq (%rbx), %rdi
callq 0x1040
movq 0x8(%rbx), %rdi
callq 0x1040
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/dict.c
// Function: dictWrite
BOOL dictWrite (DICT *dict, FILE *f)
{
  if (fwrite (&dict->dim,sizeof(int),1,f) != 1) return FALSE ;
  if (fwrite (&dict->max,sizeof(int),1,f) != 1) return FALSE ;
  if (fwrite (dict->table,sizeof(int),dict->size,f) != dict->size) return FALSE ;
  if (fwrite (dict->names,sizeof(char*),dict->max+1,f) != dict->max+1) return FALSE ;
  int i ;
  for (i = 1 ; i <= dict->max ; ++i)
    { int len = strlen(dict->names[i]) ;
      if (fwrite (&len,sizeof(int),1,f) != 1) return FALSE ;
      if (fwrite (dict->names[i],1,len,f) != len) return FALSE ;
    }
  return TRUE ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x14, %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1220
cmpq $0x1, %rax
jne 0x4aee
leaq 0x10(%r14), %r15
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x1220
cmpq $0x1, %rax
jne 0x4aee
movq 0x8(%r14), %rdi
movslq 0x18(%r14), %rdx
movl $0x4, %esi
movq %rbx, %rcx
callq 0x1220
movslq 0x18(%r14), %rcx
cmpq %rcx, %rax
jne 0x4aee
movq (%r14), %rdi
movslq 0x10(%r14), %rdx
incq %rdx
movl $0x8, %esi
movq %rbx, %rcx
callq 0x1220
movslq 0x10(%r14), %rcx
incq %rcx
cmpq %rcx, %rax
jne 0x4aee
movb $0x1, %bpl
cmpl $0x0, (%r15)
jle 0x4af0
xorl %r12d, %r12d
movq (%r14), %rax
movq 0x8(%rax,%r12,8), %rdi
callq 0x10a0
movl %eax, 0x4(%rsp)
movl $0x4, %esi
movl $0x1, %edx
leaq 0x4(%rsp), %rdi
movq %rbx, %rcx
callq 0x1220
cmpq $0x1, %rax
jne 0x4aee
movq (%r14), %rax
movq 0x8(%rax,%r12,8), %rdi
movslq 0x4(%rsp), %r13
movl $0x1, %esi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x1220
cmpq %r13, %rax
jne 0x4aee
movslq (%r15), %rax
incq %r12
cmpq %rax, %r12
jl 0x4a91
jmp 0x4af0
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/richarddurbin[P]hash10x/dict.c
// Function: dictRead
DICT *dictRead (FILE *f)
{
  int dim ; if (fread (&dim,sizeof(int),1,f) != 1) return 0 ;
  DICT *dict = dictCreate (1 << dim) ;
  if (fread (&dict->max,sizeof(int),1,f) != 1) return 0 ;
  if (fread (dict->table,sizeof(int),dict->size,f) != dict->size) return 0 ;
  if (fread (dict->names,sizeof(char*),dict->max+1,f) != dict->max+1) return 0 ;
  int i ;
  for (i = 1 ; i <= dict->max ; ++i)
    { int len ;
      if (fread (&len,sizeof(int),1,f) != 1) return 0 ;
      dict->names[i] = new0 (len+1, char) ;
      if (fread (dict->names[i],1,len,f) != len) return 0 ;
    }
  return dict ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x4(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1070
cmpq $0x1, %rax
jne 0x4c15
movb 0x4(%rsp), %cl
movl $0x1, %edi
shll %cl, %edi
callq 0x4930
movq %rax, %rbx
leaq 0x10(%rax), %r15
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %r14, %rcx
callq 0x1070
cmpq $0x1, %rax
jne 0x4c15
movq 0x8(%rbx), %rdi
movslq 0x18(%rbx), %rdx
movl $0x4, %esi
movq %r14, %rcx
callq 0x1070
movslq 0x18(%rbx), %rcx
cmpq %rcx, %rax
jne 0x4c15
movq (%rbx), %rdi
movslq 0x10(%rbx), %rdx
incq %rdx
movl $0x8, %esi
movq %r14, %rcx
callq 0x1070
movslq 0x10(%rbx), %rcx
incq %rcx
cmpq %rcx, %rax
jne 0x4c15
cmpl $0x0, (%r15)
jle 0x4c17
movq %rsp, %r12
xorl %ebp, %ebp
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %r14, %rcx
callq 0x1070
cmpq $0x1, %rax
jne 0x4c15
movslq (%rsp), %r13
leaq 0x1(%r13), %rdi
movl $0x1, %esi
callq 0x57c8
movq (%rbx), %rcx
movq %rax, 0x8(%rcx,%rbp,8)
movq (%rbx), %rax
movq 0x8(%rax,%rbp,8), %rdi
movl $0x1, %esi
movq %r13, %rdx
movq %r14, %rcx
callq 0x1070
cmpq %r13, %rax
jne 0x4c15
movslq (%r15), %rax
incq %rbp
cmpq %rax, %rbp
jl 0x4bb6
jmp 0x4c17
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq