// File: /workspace/github_c_makefile_star2_O0/richarddurbin[P]hash10x/moshmap.c
// Function: queryProcess
void queryProcess (Reference *ref, FILE *f)
{
  char *seq, *seqName ;
  int len ;
  Array seeds = 0 ;

  dna2indexConv['N'] = dna2indexConv['n'] = 0 ; /* to get 2-bit encoding */
  while (readSequence (f, dna2indexConv, &seq, &seqName, 0, &len))
    { SeqhashRCiterator *mi = moshRCiterator (ref->ms->hasher, seq, len) ;
      U64 hash ; int pos ;
      seeds = arrayReCreate (seeds, 1024, Seed) ;
      int missed = 0, copy[4] ; copy[1] = copy[2] = copy[3] = 0 ;
      while (moshRCnext (mi, &hash, &pos, 0))
	{ U32 index = moshsetIndexFind (ref->ms, hash, FALSE) ;
	  Seed *s = arrayp(seeds,arrayMax(seeds),Seed) ;
	  s->index = index ; s->pos = pos ;
	  if (index) ++copy[msCopy(ref->ms,index)] ;
	  else ++missed ;
	}
      seqhashRCiteratorDestroy (mi) ;
      fprintf (outFile, "Q\t%s\t%d\t%d miss, %d copy1, %d copy2, %d multi, %.2f hit\n",
	       seqName, len, missed, copy[1], copy[2], copy[3],
	       (arrayMax(seeds)-missed)/(double)(arrayMax(seeds))) ;

      int i ;
      U32 loc0 = 0, locN, i0, iN ;
      int n1 = 0, n2 = 0 ;
      for (i = 0 ; i < arrayMax(seeds) ; ++i)
	{ Seed *s = arrp (seeds, i, Seed) ;
	  if (s->index && !msIsCopyM(ref->ms,s->index)) /* ignore multi-hits for now */
	    { U32 loc = ref->rev[ref->loc[s->index]] ;
	      BOOL is1 = msIsCopy1(ref->ms,s->index) ;
	      if (isVerbose)
		{ if (is1)
		    printf ("  %6d\t%s %d\n", s->pos,
			    dictName(ref->dict,ref->id[loc]), ref->offset[loc]) ;
		  else
		    { U32 loc2 = ref->rev[ref->loc[s->index]+1] ;
		      printf ("  %6d\t%s %d\t%s %d\n", s->pos,
			      dictName(ref->dict,ref->id[loc]), ref->offset[loc],
			      dictName(ref->dict,ref->id[loc2]), ref->offset[loc2]) ;
		    }
		}
	      BOOL endBlock = FALSE ;
	      if (!loc0 || ref->id[loc] != ref->id[loc0]) endBlock = TRUE ;
	      else if (loc0 < locN)
		{ if (loc < locN) endBlock = TRUE ;
		  int d = locN - loc0 - iN + i0 ; if (d > 50 || d < -50) endBlock = TRUE ;
		}
	      else if (loc0 > locN)
		{ if (loc > locN) endBlock = TRUE ;
		  int d = loc0 - locN - iN + i0 ; if (d > 50 || d < -50) endBlock = TRUE ;
		}
	      if (endBlock && loc0 && !is1) /* try the second loc */
		{ loc = ref->rev[ref->loc[s->index]+1] ;
		  endBlock = FALSE ;
		  if (ref->id[loc] != ref->id[loc0]) endBlock = TRUE ;
		   else if (loc0 < locN)
		     { if (loc < locN) endBlock = TRUE ;
		       int d = locN - loc0 - iN + i0 ; if (d > 50 || d < -50) endBlock = TRUE ;
		     }
		   else if (loc0 > locN)
		     { if (loc > locN) endBlock = TRUE ;
		       int d = loc0 - locN - iN + i0 ; if (d > 50 || d < -50) endBlock = TRUE ;
		     }
		}
	      if (endBlock)
		{ if (n1 > 2)
		    fprintf (outFile, "M\t%s\t%d\t%d\t%d\t%s\t%d\t%d\t%d %d\t%.2f\t%.2f\n",
			     seqName, arrp(seeds,i0,Seed)->pos, arrp(seeds,iN,Seed)->pos, len,
			     dictName(ref->dict,ref->id[loc0]),
			     ref->offset[loc0], ref->offset[locN],
			     n1, n2, (n1+n2) / (double)((locN>loc0) ? (locN-loc0) : (loc0-locN)),
			     n1 / (double)copy[1]) ;
		  n1 = 0 ; n2 = 0 ; loc0 = loc ; i0 = i ;
		}
	      if (is1) ++n1 ; else ++n2 ; locN = loc ; iN = i ;
	    }
	}
      if (n2 > 2)
	fprintf (outFile, "M\t%s\t%d\t%d\t%d\t%s\t%d\t%d\t%d %d\t%.2f\t%.2f\n",
		 seqName, arrp(seeds,i0,Seed)->pos, arrp(seeds,iN,Seed)->pos, len,
		 dictName(ref->dict,ref->id[loc0]),
		 ref->offset[loc0], ref->offset[locN],
		 n1, n2, (n1+n2) / (double)((locN>loc0) ? (locN-loc0) : (loc0-locN)),
		 n1 / (double)copy[1]) ;

      free (seq) ; free (seqName) ;
    }

  arrayDestroy (seeds) ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq $0x0, -0x40(%rbp)
leaq 0xc48b(%rip), %rax      # 0xe730
movl $0x0, 0x1b8(%rax)
leaq 0xc47a(%rip), %rax      # 0xe730
movl $0x0, 0x138(%rax)
movq -0x20(%rbp), %rdi
leaq 0xc465(%rip), %rsi      # 0xe730
leaq -0x28(%rbp), %rdx
leaq -0x30(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0x34(%rbp), %r9
callq 0x3690
cmpl $0x0, %eax
je 0x2c7f
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rsi
movl -0x34(%rbp), %edx
callq 0x5790
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rdi
movl $0x400, %esi            # imm = 0x400
movl $0x8, %edx
callq 0x7e90
movq %rax, -0x40(%rbp)
movl $0x0, -0x58(%rbp)
movl $0x0, -0x64(%rbp)
movl $0x0, -0x68(%rbp)
movl $0x0, -0x6c(%rbp)
movq -0x48(%rbp), %rdi
leaq -0x50(%rbp), %rsi
leaq -0x54(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x59b0
cmpb $0x0, %al
je 0x23be
movq -0x18(%rbp), %rax
movq (%rax), %rdi
movq -0x50(%rbp), %rsi
xorl %edx, %edx
callq 0x5ef0
movl %eax, -0x74(%rbp)
movq -0x40(%rbp), %rdi
movq -0x40(%rbp), %rax
movl 0x18(%rax), %esi
callq 0x8220
movq %rax, -0x80(%rbp)
movl -0x74(%rbp), %ecx
movq -0x80(%rbp), %rax
movl %ecx, (%rax)
movl -0x54(%rbp), %ecx
movq -0x80(%rbp), %rax
movl %ecx, 0x4(%rax)
cmpl $0x0, -0x74(%rbp)
je 0x23b0
movq -0x18(%rbp), %rax
movq (%rax), %rdi
movl -0x74(%rbp), %esi
callq 0x2ca0
cltq
movl -0x70(%rbp,%rax,4), %ecx
addl $0x1, %ecx
movl %ecx, -0x70(%rbp,%rax,4)
jmp 0x23b9
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
jmp 0x2337
movq -0x48(%rbp), %rdi
callq 0x1b70
movq 0xcf7a(%rip), %rdi      # 0xf348
movq -0x30(%rbp), %rdx
movl -0x34(%rbp), %ecx
movl -0x58(%rbp), %r8d
movl -0x6c(%rbp), %r9d
movl -0x68(%rbp), %r10d
movl -0x64(%rbp), %eax
movq -0x40(%rbp), %rsi
movl 0x18(%rsi), %esi
subl -0x58(%rbp), %esi
cvtsi2sd %esi, %xmm0
movq -0x40(%rbp), %rsi
cvtsi2sdl 0x18(%rsi), %xmm1
divsd %xmm1, %xmm0
leaq 0x7f07(%rip), %rsi      # 0xa30d
movl %r10d, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x1, %al
callq 0x1120
movl $0x0, -0x88(%rbp)
movl $0x0, -0x98(%rbp)
movl $0x0, -0x9c(%rbp)
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
movq -0x40(%rbp), %rcx
cmpl 0x18(%rcx), %eax
jge 0x2aad
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x84(%rbp), %ecx
movq -0x40(%rbp), %rdx
imull 0x14(%rdx), %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
cmpl $0x0, (%rax)
je 0x2a97
movq -0x18(%rbp), %rax
movq (%rax), %rdi
movq -0xa8(%rbp), %rax
movl (%rax), %esi
callq 0x2cc0
cmpb $0x0, %al
jne 0x2a97
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq -0x18(%rbp), %rcx
movq 0x38(%rcx), %rcx
movq -0xa8(%rbp), %rdx
movl (%rdx), %edx
movl (%rcx,%rdx,4), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xac(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rdi
movq -0xa8(%rbp), %rax
movl (%rax), %esi
callq 0x2cf0
movb %al, -0xad(%rbp)
cmpb $0x0, 0xce59(%rip)      # 0xf340
je 0x261d
cmpb $0x0, -0xad(%rbp)
je 0x2551
movq -0xa8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0xcc(%rbp)
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0xac(%rbp), %ecx
movl (%rax,%rcx,4), %esi
callq 0x7d90
movl -0xcc(%rbp), %esi
movq %rax, %rdx
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0xac(%rbp), %ecx
movl (%rax,%rcx,4), %ecx
leaq 0x7e01(%rip), %rdi      # 0xa346
movb $0x0, %al
callq 0x10b0
jmp 0x261b
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq -0x18(%rbp), %rcx
movq 0x38(%rcx), %rcx
movq -0xa8(%rbp), %rdx
movl (%rdx), %edx
movl (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movl %ecx, %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb4(%rbp)
movq -0xa8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0xdc(%rbp)
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0xac(%rbp), %ecx
movl (%rax,%rcx,4), %esi
callq 0x7d90
movq %rax, -0xd8(%rbp)
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0xac(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xd0(%rbp)
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0xb4(%rbp), %ecx
movl (%rax,%rcx,4), %esi
callq 0x7d90
movl -0xdc(%rbp), %esi
movq -0xd8(%rbp), %rdx
movl -0xd0(%rbp), %ecx
movq %rax, %r8
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0xb4(%rbp), %edi
movl (%rax,%rdi,4), %r9d
leaq 0x7d3f(%rip), %rdi      # 0xa353
movb $0x0, %al
callq 0x10b0
jmp 0x261d
movb $0x0, -0xb5(%rbp)
cmpl $0x0, -0x88(%rbp)
je 0x2651
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0xac(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movq -0x18(%rbp), %rcx
movq 0x20(%rcx), %rcx
movl -0x88(%rbp), %edx
cmpl (%rcx,%rdx,4), %eax
je 0x265d
movb $0x1, -0xb5(%rbp)
jmp 0x2719
movl -0x88(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jae 0x26b9
movl -0xac(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jae 0x2680
movb $0x1, -0xb5(%rbp)
movl -0x8c(%rbp), %eax
subl -0x88(%rbp), %eax
subl -0x94(%rbp), %eax
addl -0x90(%rbp), %eax
movl %eax, -0xbc(%rbp)
cmpl $0x32, -0xbc(%rbp)
jg 0x26b0
cmpl $-0x32, -0xbc(%rbp)
jge 0x26b7
movb $0x1, -0xb5(%rbp)
jmp 0x2717
movl -0x88(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jbe 0x2715
movl -0xac(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jbe 0x26dc
movb $0x1, -0xb5(%rbp)
movl -0x88(%rbp), %eax
subl -0x8c(%rbp), %eax
subl -0x94(%rbp), %eax
addl -0x90(%rbp), %eax
movl %eax, -0xc0(%rbp)
cmpl $0x32, -0xc0(%rbp)
jg 0x270c
cmpl $-0x32, -0xc0(%rbp)
jge 0x2713
movb $0x1, -0xb5(%rbp)
jmp 0x2715
jmp 0x2717
jmp 0x2719
movsbl -0xb5(%rbp), %eax
cmpl $0x0, %eax
je 0x2862
cmpl $0x0, -0x88(%rbp)
je 0x2862
cmpb $0x0, -0xad(%rbp)
jne 0x2862
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq -0x18(%rbp), %rcx
movq 0x38(%rcx), %rcx
movq -0xa8(%rbp), %rdx
movl (%rdx), %edx
movl (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movl %ecx, %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xac(%rbp)
movb $0x0, -0xb5(%rbp)
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0xac(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movq -0x18(%rbp), %rcx
movq 0x20(%rcx), %rcx
movl -0x88(%rbp), %edx
cmpl (%rcx,%rdx,4), %eax
je 0x27a4
movb $0x1, -0xb5(%rbp)
jmp 0x2860
movl -0x88(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jae 0x2800
movl -0xac(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jae 0x27c7
movb $0x1, -0xb5(%rbp)
movl -0x8c(%rbp), %eax
subl -0x88(%rbp), %eax
subl -0x94(%rbp), %eax
addl -0x90(%rbp), %eax
movl %eax, -0xc4(%rbp)
cmpl $0x32, -0xc4(%rbp)
jg 0x27f7
cmpl $-0x32, -0xc4(%rbp)
jge 0x27fe
movb $0x1, -0xb5(%rbp)
jmp 0x285e
movl -0x88(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jbe 0x285c
movl -0xac(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jbe 0x2823
movb $0x1, -0xb5(%rbp)
movl -0x88(%rbp), %eax
subl -0x8c(%rbp), %eax
subl -0x94(%rbp), %eax
addl -0x90(%rbp), %eax
movl %eax, -0xc8(%rbp)
cmpl $0x32, -0xc8(%rbp)
jg 0x2853
cmpl $-0x32, -0xc8(%rbp)
jge 0x285a
movb $0x1, -0xb5(%rbp)
jmp 0x285c
jmp 0x285e
jmp 0x2860
jmp 0x2862
cmpb $0x0, -0xb5(%rbp)
je 0x2a56
cmpl $0x2, -0x98(%rbp)
jle 0x2a2a
movq 0xcac5(%rip), %rax      # 0xf348
movq %rax, -0x120(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x90(%rbp), %ecx
movq -0x40(%rbp), %rdx
imull 0x14(%rdx), %ecx
movl %ecx, %ecx
movl 0x4(%rax,%rcx), %eax
movl %eax, -0x10c(%rbp)
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x94(%rbp), %ecx
movq -0x40(%rbp), %rdx
imull 0x14(%rdx), %ecx
movl %ecx, %ecx
movl 0x4(%rax,%rcx), %eax
movl %eax, -0x108(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x104(%rbp)
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0x88(%rbp), %ecx
movl (%rax,%rcx,4), %esi
callq 0x7d90
movq %rax, -0x100(%rbp)
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0x88(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xf8(%rbp)
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0x8c(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xf4(%rbp)
movl -0x98(%rbp), %eax
movl %eax, -0xf0(%rbp)
movl -0x9c(%rbp), %eax
movl %eax, -0xec(%rbp)
movl -0x98(%rbp), %eax
addl -0x9c(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0xe8(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x88(%rbp), %eax
jbe 0x2987
movl -0x8c(%rbp), %eax
subl -0x88(%rbp), %eax
movl %eax, -0x124(%rbp)
jmp 0x2999
movl -0x88(%rbp), %eax
subl -0x8c(%rbp), %eax
movl %eax, -0x124(%rbp)
movl -0xec(%rbp), %eax
movl -0xf0(%rbp), %r10d
movl -0xf4(%rbp), %r11d
movl -0xf8(%rbp), %ebx
movq -0x100(%rbp), %r14
movl -0x104(%rbp), %r9d
movl -0x108(%rbp), %r8d
movl -0x10c(%rbp), %ecx
movq -0x118(%rbp), %rdx
movq -0x120(%rbp), %rdi
movsd -0xe8(%rbp), %xmm0
movl -0x124(%rbp), %esi
movl %esi, %esi
cvtsi2sd %rsi, %xmm1
divsd %xmm1, %xmm0
cvtsi2sdl -0x98(%rbp), %xmm1
cvtsi2sdl -0x6c(%rbp), %xmm2
divsd %xmm2, %xmm1
leaq 0x7959(%rip), %rsi      # 0xa366
movq %r14, (%rsp)
movl %ebx, 0x8(%rsp)
movl %r11d, 0x10(%rsp)
movl %r10d, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movb $0x2, %al
callq 0x1120
movl $0x0, -0x98(%rbp)
movl $0x0, -0x9c(%rbp)
movl -0xac(%rbp), %eax
movl %eax, -0x88(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x90(%rbp)
cmpb $0x0, -0xad(%rbp)
je 0x2a70
movl -0x98(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x98(%rbp)
jmp 0x2a7f
movl -0x9c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c(%rbp)
movl -0xac(%rbp), %eax
movl %eax, -0x8c(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x94(%rbp)
jmp 0x2a99
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x243d
cmpl $0x2, -0x9c(%rbp)
jle 0x2c68
movq 0xc887(%rip), %rax      # 0xf348
movq %rax, -0x168(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x90(%rbp), %ecx
movq -0x40(%rbp), %rdx
imull 0x14(%rdx), %ecx
movl %ecx, %ecx
movl 0x4(%rax,%rcx), %eax
movl %eax, -0x154(%rbp)
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x94(%rbp), %ecx
movq -0x40(%rbp), %rdx
imull 0x14(%rdx), %ecx
movl %ecx, %ecx
movl 0x4(%rax,%rcx), %eax
movl %eax, -0x150(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x14c(%rbp)
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movl -0x88(%rbp), %ecx
movl (%rax,%rcx,4), %esi
callq 0x7d90
movq %rax, -0x148(%rbp)
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0x88(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0x140(%rbp)
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movl -0x8c(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0x13c(%rbp)
movl -0x98(%rbp), %eax
movl %eax, -0x138(%rbp)
movl -0x9c(%rbp), %eax
movl %eax, -0x134(%rbp)
movl -0x98(%rbp), %eax
addl -0x9c(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x130(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x88(%rbp), %eax
jbe 0x2bc5
movl -0x8c(%rbp), %eax
subl -0x88(%rbp), %eax
movl %eax, -0x16c(%rbp)
jmp 0x2bd7
movl -0x88(%rbp), %eax
subl -0x8c(%rbp), %eax
movl %eax, -0x16c(%rbp)
movl -0x134(%rbp), %eax
movl -0x138(%rbp), %r10d
movl -0x13c(%rbp), %r11d
movl -0x140(%rbp), %ebx
movq -0x148(%rbp), %r14
movl -0x14c(%rbp), %r9d
movl -0x150(%rbp), %r8d
movl -0x154(%rbp), %ecx
movq -0x160(%rbp), %rdx
movq -0x168(%rbp), %rdi
movsd -0x130(%rbp), %xmm0
movl -0x16c(%rbp), %esi
movl %esi, %esi
cvtsi2sd %rsi, %xmm1
divsd %xmm1, %xmm0
cvtsi2sdl -0x98(%rbp), %xmm1
cvtsi2sdl -0x6c(%rbp), %xmm2
divsd %xmm2, %xmm1
leaq 0x771b(%rip), %rsi      # 0xa366
movq %r14, (%rsp)
movl %ebx, 0x8(%rsp)
movl %r11d, 0x10(%rsp)
movl %r10d, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movb $0x2, %al
callq 0x1120
movq -0x28(%rbp), %rdi
callq 0x1040
movq -0x30(%rbp), %rdi
callq 0x1040
jmp 0x22c0
movq -0x40(%rbp), %rdi
callq 0x7fc0
addq $0x190, %rsp            # imm = 0x190
popq %rbx
popq %r14
popq %rbp
retq
nopw %cs:(%rax,%rax)