// File: /workspace/github_c_makefile_star2_O1/zpole[P]IICV/vl/dsift.c
// Function: vl_dsift_process
void vl_dsift_process (VlDsiftFilter* self, float const* im)
{
  int t, x, y ;

  /* update buffers */
  _vl_dsift_alloc_buffers (self) ;

  /* clear integral images */
  for (t = 0 ; t < self->geom.numBinT ; ++t)
    memset (self->grads[t], 0,
            sizeof(float) * self->imWidth * self->imHeight) ;

#undef at
#define at(x,y) (im[(y)*self->imWidth+(x)])

  /* Compute gradients, their norm, and their angle */

  for (y = 0 ; y < self->imHeight ; ++ y) {
    for (x = 0 ; x < self->imWidth ; ++ x) {
      float gx, gy ;
      float angle, mod, nt, rbint ;
      int bint ;

      /* y derivative */
      if (y == 0) {
        gy = at(x,y+1) - at(x,y) ;
      } else if (y == self->imHeight - 1) {
        gy = at(x,y) - at(x,y-1) ;
      } else {
        gy = 0.5F * (at(x,y+1) - at(x,y-1)) ;
      }

      /* x derivative */
      if (x == 0) {
        gx = at(x+1,y) - at(x,y) ;
      } else if (x == self->imWidth - 1) {
        gx = at(x,y) - at(x-1,y) ;
      } else {
        gx = 0.5F * (at(x+1,y) - at(x-1,y)) ;
      }

      /* angle and modulus */
      angle = vl_fast_atan2_f (gy,gx) ;
      mod = vl_fast_sqrt_f (gx*gx + gy*gy) ;

      /* quantize angle */
      nt = vl_mod_2pi_f (angle) * (self->geom.numBinT / (2*VL_PI)) ;
      bint = (int) vl_floor_f (nt) ;
      rbint = nt - bint ;

      /* write it back */
      self->grads [(bint    ) % self->geom.numBinT][x + y * self->imWidth] = (1 - rbint) * mod ;
      self->grads [(bint + 1) % self->geom.numBinT][x + y * self->imWidth] = (    rbint) * mod ;
    }
  }

  if (self->useFlatWindow) {
    _vl_dsift_with_flat_window(self) ;
  } else {
    _vl_dsift_with_gaussian_window(self) ;
  }

  {
    VlDsiftKeypoint* frameIter = self->frames ;
    float * descrIter = self->descrs ;
    int framex, framey, bint ;

    int frameSizeX = self->geom.binSizeX * (self->geom.numBinX - 1) + 1 ;
    int frameSizeY = self->geom.binSizeY * (self->geom.numBinY - 1) + 1 ;
    int descrSize = vl_dsift_get_descriptor_size (self) ;

    float deltaCenterX = 0.5F * self->geom.binSizeX * (self->geom.numBinX - 1) ;
    float deltaCenterY = 0.5F * self->geom.binSizeY * (self->geom.numBinY - 1) ;

    float normConstant = frameSizeX * frameSizeY ;

    for (framey  = self->boundMinY ;
         framey <= self->boundMaxY - frameSizeY + 1 ;
         framey += self->stepY) {

      for (framex  = self->boundMinX ;
           framex <= self->boundMaxX - frameSizeX + 1 ;
           framex += self->stepX) {

        frameIter->x    = framex + deltaCenterX ;
        frameIter->y    = framey + deltaCenterY ;

        /* mass */
        {
          float mass = 0 ;
          for (bint = 0 ; bint < descrSize ; ++ bint)
            mass += descrIter[bint] ;
          mass /= normConstant ;
          frameIter->norm = mass ;
        }

        /* L2 normalize */
        _vl_dsift_normalize_histogram (descrIter, descrIter + descrSize) ;

        /* clamp */
        for(bint = 0 ; bint < descrSize ; ++ bint)
          if (descrIter[bint] > 0.2F) descrIter[bint] = 0.2F ;

        /* L2 normalize */
        _vl_dsift_normalize_histogram (descrIter, descrIter + descrSize) ;

        frameIter ++ ;
        descrIter += descrSize ;
      } /* for framex */
    } /* for framey */
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x9790
movl 0x20(%rbx), %r13d
movl 0x40(%rbx), %eax
movl 0x44(%rbx), %ecx
cmpl 0x58(%rbx), %ecx
jne 0xf259
cmpl 0x60(%rbx), %r13d
jne 0xf259
cmpl 0x5c(%rbx), %eax
je 0xf2e2
movl %eax, (%rsp)
movslq %eax, %rbp
movl %ecx, 0x8(%rsp)
movslq %ecx, %r15
movslq %r13d, %r12
movq %rbx, %rdi
callq 0xf199
movq %rbp, %rdi
shlq $0x5, %rdi
callq 0x95b0
movq %rax, 0x48(%rbx)
imulq %rbp, %r15
shlq $0x2, %r15
movq %r15, %rdi
callq 0x95b0
movq %rax, 0x50(%rbx)
shlq $0x3, %r12
movq %r12, %rdi
callq 0x95b0
movq %rax, 0x68(%rbx)
testl %r13d, %r13d
jle 0xf2d1
xorl %r15d, %r15d
movslq (%rbx), %rax
movslq 0x4(%rbx), %rdi
imulq %rax, %rdi
shlq $0x2, %rdi
callq 0x95b0
movq 0x68(%rbx), %rcx
movq %rax, (%rcx,%r15,8)
incq %r15
cmpq %r15, %r13
jne 0xf2ad
movl 0x8(%rsp), %eax
movl %eax, 0x58(%rbx)
movl %r13d, 0x60(%rbx)
movl (%rsp), %eax
movl %eax, 0x5c(%rbx)
movl 0x20(%rbx), %ecx
testl %ecx, %ecx
jle 0xf316
xorl %r15d, %r15d
movq 0x68(%rbx), %rax
movq (%rax,%r15,8), %rdi
movslq (%rbx), %rax
movslq 0x4(%rbx), %rdx
imulq %rax, %rdx
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x9400
incq %r15
movslq 0x20(%rbx), %rcx
cmpq %rcx, %r15
jl 0xf2ec
movslq 0x4(%rbx), %rax
movq %rax, 0x18(%rsp)
testq %rax, %rax
jle 0xf681
movl (%rbx), %edi
movq 0x18(%rsp), %rax
decl %eax
movq %rax, 0x20(%rsp)
leal -0x1(%rdi), %eax
movq %rax, 0x10(%rsp)
cvtsi2sd %ecx, %xmm0
divsd 0x24056(%rip), %xmm0    # 0x333a0
movslq %edi, %rax
movq %rax, 0x50(%rsp)
leaq (%r14,%rax,4), %rax
movq %rax, 0x38(%rsp)
leaq 0x4(%r14), %rax
movq %rax, 0x48(%rsp)
leaq -0x4(%r14), %rax
movq %rax, 0x40(%rsp)
xorl %r13d, %r13d
movaps 0x23df9(%rip), %xmm6    # 0x33170
movss 0x23fd4(%rip), %xmm8    # 0x33354
xorps %xmm3, %xmm3
movss 0x23fd4(%rip), %xmm11   # 0x33360
movss 0x23fcf(%rip), %xmm13   # 0x33364
movaps 0x23c74(%rip), %xmm5    # 0x33010
movss 0x23fc7(%rip), %xmm9    # 0x3336c
movss 0x23fc2(%rip), %xmm10   # 0x33370
testl %edi, %edi
jle 0xf673
leaq 0x1(%r13), %rax
movq 0x50(%rsp), %rsi
imulq %rsi, %rax
leaq -0x1(%r13), %rdx
imulq %rsi, %rdx
movq %r13, %rbp
imulq %rsi, %rbp
movq 0x68(%rbx), %r15
leaq (%r14,%rax,4), %rax
movq %rax, 0x30(%rsp)
leaq (%r14,%rdx,4), %rax
movq %rax, 0x8(%rsp)
leaq (%r14,%rbp,4), %r10
movq 0x48(%rsp), %rax
leaq (%rax,%rbp,4), %rax
movq %rax, 0x28(%rsp)
movq 0x40(%rsp), %rax
leaq (%rax,%rbp,4), %r12
xorl %r11d, %r11d
testq %r13, %r13
je 0xf425
cmpq 0x20(%rsp), %r13
jne 0xf438
movss (%r10,%r11,4), %xmm4
movq 0x8(%rsp), %rax
subss (%rax,%r11,4), %xmm4
jmp 0xf456
movq 0x38(%rsp), %rax
movss (%rax,%r11,4), %xmm4
subss (%r14,%r11,4), %xmm4
jmp 0xf456
movq 0x30(%rsp), %rax
movss (%rax,%r11,4), %xmm4
movq 0x8(%rsp), %rax
subss (%rax,%r11,4), %xmm4
mulss 0x23efa(%rip), %xmm4    # 0x33350
testq %r11, %r11
je 0xf470
cmpq 0x10(%rsp), %r11
jne 0xf47f
movss (%r10,%r11,4), %xmm12
subss (%r12,%r11,4), %xmm12
jmp 0xf499
movss 0x4(%r14,%rbp,4), %xmm12
subss (%r14,%rbp,4), %xmm12
jmp 0xf499
movq 0x28(%rsp), %rax
movss (%rax,%r11,4), %xmm12
subss (%r12,%r11,4), %xmm12
mulss 0x23eb7(%rip), %xmm12   # 0x33350
movaps %xmm4, %xmm2
andps %xmm6, %xmm2
addss %xmm8, %xmm2
ucomiss %xmm3, %xmm12
jae 0xf4c5
movaps %xmm2, %xmm1
addss %xmm12, %xmm1
subss %xmm12, %xmm2
divss %xmm2, %xmm1
movss 0x23e99(%rip), %xmm2    # 0x3335c
jmp 0xf4de
movaps %xmm12, %xmm1
subss %xmm2, %xmm1
addss %xmm12, %xmm2
divss %xmm2, %xmm1
movss 0x23e7a(%rip), %xmm2    # 0x33358
movss %xmm2, (%rsp)
movaps %xmm1, %xmm14
mulss %xmm11, %xmm14
mulss %xmm1, %xmm14
addss %xmm13, %xmm14
movaps %xmm4, %xmm15
mulss %xmm4, %xmm15
mulss %xmm12, %xmm12
addss %xmm15, %xmm12
xorps %xmm15, %xmm15
cvtss2sd %xmm12, %xmm15
movsd 0x23e8e(%rip), %xmm2    # 0x333a8
ucomisd %xmm15, %xmm2
xorps %xmm7, %xmm7
ja 0xf5ad
movd %xmm12, %eax
sarl %eax
movl $0x5f3759df, %edx       # imm = 0x5F3759DF
subl %eax, %edx
movapd %xmm0, %xmm5
movaps %xmm13, %xmm0
movaps %xmm11, %xmm13
movaps %xmm8, %xmm11
movaps %xmm6, %xmm8
movd %edx, %xmm6
movaps %xmm12, %xmm7
mulss 0x23dee(%rip), %xmm7    # 0x33348
movaps %xmm7, %xmm15
mulss %xmm6, %xmm15
mulss %xmm6, %xmm15
movss 0x23df8(%rip), %xmm2    # 0x33368
addss %xmm2, %xmm15
mulss %xmm6, %xmm15
movaps %xmm8, %xmm6
movaps %xmm11, %xmm8
movaps %xmm13, %xmm11
movaps %xmm0, %xmm13
movapd %xmm5, %xmm0
movaps 0x23a7b(%rip), %xmm5    # 0x33010
mulss %xmm15, %xmm7
mulss %xmm15, %xmm7
addss %xmm2, %xmm7
mulss %xmm15, %xmm7
mulss %xmm12, %xmm7
mulss %xmm1, %xmm14
addss (%rsp), %xmm14
cmpltss 0x23db7(%rip), %xmm4    # 0x33378
movaps %xmm4, %xmm1
andnps %xmm14, %xmm1
xorps %xmm5, %xmm14
andps %xmm4, %xmm14
orps %xmm1, %xmm14
ucomiss %xmm9, %xmm14
jbe 0xf5e6
addss %xmm10, %xmm14
jmp 0xf5d4
addss %xmm9, %xmm14
ucomiss %xmm14, %xmm3
ja 0xf5e1
xorps %xmm1, %xmm1
cvtss2sd %xmm14, %xmm1
mulsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm1
cvttss2si %xmm1, %r8
xorps %xmm2, %xmm2
cvtsi2ss %r8, %xmm2
cmpneqps %xmm1, %xmm2
xorps %xmm4, %xmm4
cmpnleps %xmm1, %xmm4
andps %xmm2, %xmm4
movd %xmm4, %r9d
leal (%r8,%r9), %eax
xorps %xmm2, %xmm2
cvtsi2ss %eax, %xmm2
subss %xmm2, %xmm1
movss 0x23d19(%rip), %xmm2    # 0x3334c
subss %xmm1, %xmm2
mulss %xmm7, %xmm2
cltd
idivl %ecx
movslq %edx, %rax
movq (%r15,%rax,8), %rax
leaq (%r11,%rbp), %rsi
movss %xmm2, (%rax,%rsi,4)
mulss %xmm7, %xmm1
leal (%r8,%r9), %eax
incl %eax
cltd
idivl %ecx
movslq %edx, %rax
movq (%r15,%rax,8), %rax
movss %xmm1, (%rax,%rsi,4)
incq %r11
cmpq %rdi, %r11
jne 0xf406
incq %r13
cmpq 0x18(%rsp), %r13
jne 0xf3ae
cmpl $0x0, 0x34(%rbx)
je 0xf876
testl %ecx, %ecx
jle 0xfa7b
xorl %ecx, %ecx
movq 0x68(%rbx), %rax
movq 0x70(%rbx), %rdi
movslq 0x4(%rbx), %rsi
movq %rcx, 0x10(%rsp)
movq (%rax,%rcx,8), %rdx
movslq (%rbx), %rcx
movslq 0x30(%rbx), %rax
subq $0x8, %rsp
movq %rsi, %r8
movq %rcx, %r9
movl $0x5, %r14d
pushq %r14
movl $0x1, %r15d
pushq %r15
pushq %rax
callq 0x95d0
addq $0x20, %rsp
movq 0x70(%rbx), %rdx
movq 0x78(%rbx), %rdi
movslq (%rbx), %rsi
movslq 0x4(%rbx), %rcx
movslq 0x2c(%rbx), %rax
subq $0x8, %rsp
movq %rsi, %r8
movq %rcx, %r9
pushq %r14
pushq %r15
pushq %rax
callq 0x95d0
addq $0x20, %rsp
movl 0x28(%rbx), %esi
testl %esi, %esi
jle 0xf85c
xorl %edx, %edx
movq 0x10(%rsp), %rax
leaq (,%rax,4), %rax
movq %rax, 0x20(%rsp)
movl 0x30(%rbx), %edi
movsd 0x38(%rbx), %xmm0
movl %edx, 0x8(%rsp)
callq 0xfd63
movss %xmm0, (%rsp)
movl 0x24(%rbx), %esi
testl %esi, %esi
jle 0xf84b
xorps %xmm0, %xmm0
cvtsi2ssl 0x30(%rbx), %xmm0
movss (%rsp), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rsp)
xorl %r14d, %r14d
movl 0x2c(%rbx), %edi
movsd 0x38(%rbx), %xmm0
movl %r14d, %edx
callq 0xfd63
movl 0x30(%rbx), %eax
movl 0x28(%rbx), %esi
decl %esi
imull %eax, %esi
movl 0x14(%rbx), %ecx
movl 0x1c(%rbx), %edx
subl %esi, %edx
cmpl %edx, %ecx
jg 0xf83c
movl 0x2c(%rbx), %r11d
xorps %xmm1, %xmm1
cvtsi2ss %r11d, %xmm1
mulss %xmm1, %xmm0
mulss (%rsp), %xmm0
movslq 0x44(%rbx), %rsi
movl 0x24(%rbx), %edi
leal -0x1(%rdi), %r8d
imull %r11d, %r8d
movq 0x50(%rbx), %r9
addq 0x20(%rsp), %r9
movl 0x20(%rbx), %r10d
movl 0x8(%rsp), %r15d
imull %r15d, %edi
imull %r10d, %edi
imull %r14d, %r10d
movslq %r10d, %r10
leaq (%r9,%r10,4), %r9
movslq %edi, %rdi
leaq (%r9,%rdi,4), %rdi
movslq 0x10(%rbx), %rbp
movl 0xc(%rbx), %r9d
movl 0x18(%rbx), %r10d
subl %r8d, %r10d
imull %r14d, %r11d
movslq %r11d, %r11
shlq $0x2, %r11
addq 0x78(%rbx), %r11
movslq %r10d, %r13
imull %r15d, %eax
addl %ecx, %eax
shlq $0x2, %rsi
cmpl %r10d, %ebp
jg 0xf832
movslq (%rbx), %r8
movslq 0x8(%rbx), %r15
movslq %eax, %r12
imulq %r8, %r12
leaq (%r11,%r12,4), %r12
movq %rbp, %r8
movss (%r12,%r8,4), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rdi)
addq %r15, %r8
addq %rsi, %rdi
cmpq %r13, %r8
jle 0xf819
addl %r9d, %ecx
addl %r9d, %eax
cmpl %edx, %ecx
jle 0xf7ff
incl %r14d
movl 0x24(%rbx), %esi
cmpl %esi, %r14d
jl 0xf759
movl 0x8(%rsp), %edx
incl %edx
movl 0x28(%rbx), %esi
cmpl %esi, %edx
jl 0xf71f
movq 0x10(%rsp), %rcx
incq %rcx
movslq 0x20(%rbx), %rax
cmpq %rax, %rcx
jl 0xf695
jmp 0xfa7b
movl 0x28(%rbx), %esi
testl %esi, %esi
jle 0xfa7b
movslq 0x30(%rbx), %rax
movslq 0x2c(%rbx), %rcx
movl $0x1, %edx
movl $0x1, %edi
subq %rax, %rdi
movq %rdi, 0x30(%rsp)
decq %rax
movq %rax, 0x20(%rsp)
subq %rcx, %rdx
movq %rdx, 0x38(%rsp)
decq %rcx
movq %rcx, 0x10(%rsp)
xorl %edx, %edx
movl 0x30(%rbx), %edi
movsd 0x38(%rbx), %xmm0
movq %rdx, 0x18(%rsp)
callq 0xeefc
movq %rax, 0x8(%rsp)
movl 0x24(%rbx), %esi
testl %esi, %esi
jle 0xfa5f
xorl %edx, %edx
movl 0x2c(%rbx), %edi
movsd 0x38(%rbx), %xmm0
movl %edx, 0x28(%rsp)
callq 0xeefc
movq %rax, (%rsp)
cmpl $0x0, 0x20(%rbx)
jle 0xfa45
xorl %r13d, %r13d
movq 0x68(%rbx), %rax
movq 0x70(%rbx), %rdi
movslq 0x4(%rbx), %rsi
movq (%rax,%r13,8), %rdx
movslq (%rbx), %rcx
subq $0x8, %rsp
movq %rsi, %r8
movq %rcx, %r9
movl $0x5, %r14d
pushq %r14
movl $0x1, %r15d
pushq %r15
pushq 0x38(%rsp)
pushq 0x50(%rsp)
pushq 0x30(%rsp)
callq 0x92b0
addq $0x30, %rsp
movq 0x70(%rbx), %rdx
movq 0x78(%rbx), %rdi
movslq (%rbx), %rsi
movslq 0x4(%rbx), %rcx
subq $0x8, %rsp
movq %rsi, %r8
movq %rcx, %r9
pushq %r14
pushq %r15
pushq 0x28(%rsp)
pushq 0x58(%rsp)
pushq 0x28(%rsp)
callq 0x92b0
addq $0x30, %rsp
movl 0x30(%rbx), %eax
movl 0x28(%rbx), %esi
decl %esi
imull %eax, %esi
movl 0x14(%rbx), %ecx
movl 0x1c(%rbx), %edx
subl %esi, %edx
cmpl %edx, %ecx
jg 0xfa35
movslq 0x44(%rbx), %rsi
movl 0x2c(%rbx), %r11d
movl 0x24(%rbx), %edi
leal -0x1(%rdi), %r8d
imull %r11d, %r8d
leaq (,%r13,4), %r9
addq 0x50(%rbx), %r9
movl 0x20(%rbx), %r10d
movq 0x18(%rsp), %r15
imull %r15d, %edi
imull %r10d, %edi
movl 0x28(%rsp), %r14d
imull %r14d, %r10d
movslq %r10d, %r10
leaq (%r9,%r10,4), %r9
movslq %edi, %rdi
leaq (%r9,%rdi,4), %rdi
movslq 0x10(%rbx), %rbp
movl 0xc(%rbx), %r9d
movl 0x18(%rbx), %r10d
subl %r8d, %r10d
imull %r14d, %r11d
movslq %r11d, %r11
shlq $0x2, %r11
addq 0x78(%rbx), %r11
movslq %r10d, %r14
imull %r15d, %eax
addl %ecx, %eax
shlq $0x2, %rsi
cmpl %r10d, %ebp
jg 0xfa2b
movslq (%rbx), %r8
movslq 0x8(%rbx), %r15
movslq %eax, %r12
imulq %r8, %r12
leaq (%r11,%r12,4), %r12
movq %rbp, %r8
movss (%r12,%r8,4), %xmm0
movss %xmm0, (%rdi)
addq %r15, %r8
addq %rsi, %rdi
cmpq %r14, %r8
jle 0xfa16
addl %r9d, %ecx
addl %r9d, %eax
cmpl %edx, %ecx
jle 0xf9fc
incq %r13
movslq 0x20(%rbx), %rax
cmpq %rax, %r13
jl 0xf8fb
movq (%rsp), %rdi
callq 0x9580
movl 0x28(%rsp), %edx
incl %edx
movl 0x24(%rbx), %esi
cmpl %esi, %edx
jl 0xf8d9
movq 0x8(%rsp), %rdi
callq 0x9580
movq 0x18(%rsp), %rdx
incl %edx
movl 0x28(%rbx), %esi
cmpl %esi, %edx
jl 0xf8b5
movl 0x30(%rbx), %r9d
movl 0x28(%rbx), %edi
decl %edi
movl %edi, %r8d
imull %r9d, %r8d
movl 0x14(%rbx), %eax
movl 0x1c(%rbx), %ecx
subl %r8d, %ecx
cmpl %ecx, %eax
jg 0xfd54
movl 0x24(%rbx), %r11d
decl %r11d
xorps %xmm1, %xmm1
cvtsi2ss %r11d, %xmm1
movl 0x2c(%rbx), %edx
imull %edx, %r11d
leal 0x1(%r11), %esi
incl %r8d
imull %esi, %r8d
xorps %xmm0, %xmm0
cvtsi2ss %edx, %xmm0
movslq 0x44(%rbx), %rdx
movl %edx, %esi
movss 0x2387e(%rip), %xmm2    # 0x33350
mulss %xmm2, %xmm0
mulss %xmm1, %xmm0
xorps %xmm3, %xmm3
cvtsi2ss %r9d, %xmm3
mulss %xmm2, %xmm3
xorps %xmm1, %xmm1
cvtsi2ss %edi, %xmm1
mulss %xmm3, %xmm1
xorps %xmm2, %xmm2
cvtsi2ss %r8d, %xmm2
movq 0x50(%rbx), %r14
movq 0x48(%rbx), %rdi
movl 0xc(%rbx), %r8d
movl %r8d, (%rsp)
movl 0x10(%rbx), %r9d
movl 0x18(%rbx), %r10d
subl %r11d, %r10d
leaq (,%rdx,4), %r11
movss 0x23830(%rip), %xmm3    # 0x33354
movsd 0x2387c(%rip), %xmm4    # 0x333a8
movss 0x23840(%rip), %xmm5    # 0x33374
movss 0x2380c(%rip), %xmm6    # 0x33348
movss 0x23824(%rip), %xmm7    # 0x33368
cmpl %r10d, %r9d
jle 0xfb51
movq %r14, %r12
jmp 0xfd46
xorps %xmm8, %xmm8
cvtsi2ss %eax, %xmm8
addss %xmm1, %xmm8
cvtss2sd %xmm8, %xmm8
movl 0x8(%rbx), %ebp
movl %r9d, %r15d
xorps %xmm9, %xmm9
cvtsi2ss %r15d, %xmm9
addss %xmm0, %xmm9
cvtss2sd %xmm9, %xmm9
movsd %xmm9, (%rdi)
movsd %xmm8, 0x8(%rdi)
xorps %xmm9, %xmm9
xorps %xmm10, %xmm10
testl %edx, %edx
jle 0xfba5
xorl %r12d, %r12d
addss (%r14,%r12,4), %xmm10
incq %r12
cmpq %r12, %rsi
jne 0xfb97
divss %xmm2, %xmm10
leaq (%r14,%r11), %r12
cvtss2sd %xmm10, %xmm10
movsd %xmm10, 0x18(%rdi)
testl %edx, %edx
jle 0xfbdd
xorps %xmm9, %xmm9
movq %r14, %r13
movss (%r13), %xmm10
mulss %xmm10, %xmm10
addss %xmm10, %xmm9
addq $0x4, %r13
cmpq %r12, %r13
jb 0xfbc4
xorps %xmm10, %xmm10
cvtss2sd %xmm9, %xmm10
ucomisd %xmm10, %xmm4
movaps %xmm3, %xmm10
ja 0xfc46
movd %xmm9, %r13d
sarl %r13d
movl $0x5f3759df, %r8d       # imm = 0x5F3759DF
subl %r13d, %r8d
movd %r8d, %xmm11
movaps %xmm9, %xmm10
mulss %xmm6, %xmm10
movaps %xmm10, %xmm12
mulss %xmm11, %xmm12
mulss %xmm11, %xmm12
addss %xmm7, %xmm12
mulss %xmm11, %xmm12
mulss %xmm12, %xmm10
mulss %xmm12, %xmm10
addss %xmm7, %xmm10
mulss %xmm12, %xmm10
mulss %xmm9, %xmm10
addss %xmm3, %xmm10
testl %esi, %esi
jle 0xfc67
movq %r14, %r13
movss (%r13), %xmm9
divss %xmm10, %xmm9
movss %xmm9, (%r13)
addq $0x4, %r13
cmpq %r12, %r13
jb 0xfc4d
testl %esi, %esi
jle 0xfc8a
xorl %r13d, %r13d
movss (%r14,%r13,4), %xmm9
ucomiss %xmm5, %xmm9
jbe 0xfc82
movl $0x3e4ccccd, (%r14,%r13,4) # imm = 0x3E4CCCCD
incq %r13
cmpq %r13, %rsi
jne 0xfc6e
xorps %xmm9, %xmm9
testl %edx, %edx
jle 0xfcae
movq %r14, %r13
movss (%r13), %xmm10
mulss %xmm10, %xmm10
addss %xmm10, %xmm9
addq $0x4, %r13
cmpq %r12, %r13
jb 0xfc95
xorps %xmm10, %xmm10
cvtss2sd %xmm9, %xmm10
ucomisd %xmm10, %xmm4
movaps %xmm3, %xmm10
ja 0xfd17
movd %xmm9, %r8d
sarl %r8d
movl $0x5f3759df, %r13d      # imm = 0x5F3759DF
subl %r8d, %r13d
movd %r13d, %xmm11
movaps %xmm9, %xmm10
mulss %xmm6, %xmm10
movaps %xmm10, %xmm12
mulss %xmm11, %xmm12
mulss %xmm11, %xmm12
addss %xmm7, %xmm12
mulss %xmm11, %xmm12
mulss %xmm12, %xmm10
mulss %xmm12, %xmm10
addss %xmm7, %xmm10
mulss %xmm12, %xmm10
mulss %xmm9, %xmm10
addss %xmm3, %xmm10
testl %esi, %esi
jle 0xfd33
movss (%r14), %xmm9
divss %xmm10, %xmm9
movss %xmm9, (%r14)
addq $0x4, %r14
cmpq %r12, %r14
jb 0xfd1b
addq $0x20, %rdi
addl %ebp, %r15d
movq %r12, %r14
cmpl %r10d, %r15d
jle 0xfb6a
addl (%rsp), %eax
movq %r12, %r14
cmpl %ecx, %eax
jle 0xfb44
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq