// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_tallymer.c
// Function: showitvsumdistributionoftwo
static void showitvsumdistributionoftwo(Summode mode,
                                        const GtArrayuint64_t *dist1,
                                        const GtArrayuint64_t *dist2,
                                        const GtBitsequence *outputvector)
{
  GtUword idx;
  uint64_t sumoftwo, tmp;

  gt_assert(outputvector != NULL);
  for (idx=0; /* Nothing */; idx++)
  {
    if (GT_ISIBITSET(outputvector,idx))
    {
      if (idx < dist1->nextfreeuint64_t)
      {
        if (idx < dist2->nextfreeuint64_t)
        {
          sumoftwo = dist1->spaceuint64_t[idx] + dist2->spaceuint64_t[idx];
        } else
        {
          sumoftwo = dist1->spaceuint64_t[idx];
        }
      } else
      {
        if (idx < dist2->nextfreeuint64_t)
        {
          sumoftwo = dist2->spaceuint64_t[idx];
        } else
        {
          break;
        }
      }
      if (sumoftwo > 0)
      {
        if (mode == Onlyshowsum)
        {
          /*@ignore@*/
          printf(""GT_WU" " Formatuint64_t "\n",
                  idx,
                  PRINTuint64_tcast(sumoftwo));
          /*@end@*/
        } else
        {
          if (mode == Showfirst)
          {
            tmp = (idx < dist1->nextfreeuint64_t)
                     ? dist1->spaceuint64_t[idx]
                     : 0;
          } else
          {
            tmp = (idx < dist2->nextfreeuint64_t)
                     ? dist2->spaceuint64_t[idx]
                     : 0;
          }
          if (tmp > 0)
          {
            /*@ignore@*/
            printf(""GT_WU" " Formatuint64_t " %.3f\n",
                  idx,
                  PRINTuint64_tcast(tmp),
                  (double) tmp/(double) sumoftwo);
            /*@end@*/
          }
        }
      }
    }
  }
}

// Assembly:
subq $0x48, %rsp
movl %edi, 0x44(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0x7a8a7
movq 0x5c172a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x49b793(%rip), %rsi    # 0x516013
leaq 0x4b3aa0(%rip), %rdx    # 0x52e327
leaq 0x4b3aae(%rip), %rcx    # 0x52e33c
leaq 0x4b307c(%rip), %r8     # 0x52d911
movl $0x263, %r9d            # imm = 0x263
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x7a8a9
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x20(%rsp), %rcx
shrq $0x6, %rcx
movq (%rax,%rcx,8), %rax
movq 0x20(%rsp), %rcx
andq $0x3f, %rcx
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
shrq %cl, %rdx
movq %rdx, %rcx
andq %rcx, %rax
cmpq $0x0, %rax
je 0x7aa90
movq 0x20(%rsp), %rax
movq 0x38(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7a94b
movq 0x20(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7a933
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x30(%rsp), %rcx
movq (%rcx), %rcx
movq 0x20(%rsp), %rdx
addq (%rcx,%rdx,8), %rax
movq %rax, 0x18(%rsp)
jmp 0x7a949
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x18(%rsp)
jmp 0x7a97a
movq 0x20(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7a973
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x18(%rsp)
jmp 0x7a978
jmp 0x7aaa5
jmp 0x7a97a
cmpq $0x0, 0x18(%rsp)
jbe 0x7aa8e
cmpl $0x0, 0x44(%rsp)
jne 0x7a9aa
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x4d9adf(%rip), %rdi    # 0x55447d
movb $0x0, %al
callq 0x19070
jmp 0x7aa8c
cmpl $0x1, 0x44(%rsp)
jne 0x7a9ee
movq 0x20(%rsp), %rax
movq 0x38(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7a9d9
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x8(%rsp)
jmp 0x7a9e2
xorl %eax, %eax
movq %rax, 0x8(%rsp)
jmp 0x7a9e2
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x7aa26
movq 0x20(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x7aa15
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, (%rsp)
jmp 0x7aa1d
xorl %eax, %eax
movq %rax, (%rsp)
jmp 0x7aa1d
movq (%rsp), %rax
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jbe 0x7aa8a
movq 0x20(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rdx, %xmm0
movaps 0x49deec(%rip), %xmm3   # 0x518930
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
movapd 0x49def0(%rip), %xmm2   # 0x518940
subpd %xmm2, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movq 0x18(%rsp), %xmm1
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
subpd %xmm2, %xmm1
movaps %xmm1, %xmm2
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
leaq 0x4b38d5(%rip), %rdi    # 0x52e358
movb $0x1, %al
callq 0x19070
jmp 0x7aa8c
jmp 0x7aa8e
jmp 0x7aa90
jmp 0x7aa92
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x7a8b2
addq $0x48, %rsp
retq
nopw (%rax,%rax)