// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/gmm.c
// Function: vl_gmm_init_with_rand_data
void
vl_gmm_init_with_rand_data
(VlGMM * self,
 void const * data,
 vl_size numData)
{
  vl_gmm_reset (self) ;
  switch (self->dataType) {
    case VL_TYPE_FLOAT : _vl_gmm_init_with_rand_data_f (self, (float const *)data, numData) ; break ;
    case VL_TYPE_DOUBLE : _vl_gmm_init_with_rand_data_d (self, (double const *)data, numData) ; break ;
    default:
      abort() ;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, (%rsp)
movq %rdi, %rbx
callq 0x9610
movl (%rbx), %eax
cmpl $0x2, %eax
je 0x12313
cmpl $0x1, %eax
jne 0x126f2
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13b51
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0x122b8
movq %rdx, %xmm0
punpckldq 0x1ffe8(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1fff0(%rip), %xmm0    # 0x32190
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x200bc(%rip), %xmm0    # 0x32270
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq 0x48(%rbx), %rax
leaq 0x3(%rdx), %rcx
andq $-0x4, %rcx
decq %rdx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
movdqa 0x1ffe3(%rip), %xmm2    # 0x321c0
movdqa 0x1fe1b(%rip), %xmm3    # 0x32000
xorl %edx, %edx
movdqa 0x1fe21(%rip), %xmm4    # 0x32010
pxor %xmm4, %xmm1
pcmpeqd %xmm5, %xmm5
movdqa 0x202d1(%rip), %xmm6    # 0x324d0
movdqa %xmm3, %xmm7
pxor %xmm4, %xmm7
movdqa %xmm7, %xmm8
pcmpgtd %xmm1, %xmm8
pcmpeqd %xmm1, %xmm7
pshufd $0xf5, %xmm7, %xmm9     # xmm9 = xmm7[1,1,3,3]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm8, %xmm7     # xmm7 = xmm8[1,1,3,3]
por %xmm9, %xmm7
movd %xmm7, %esi
notl %esi
testb $0x1, %sil
je 0x1223c
movss %xmm0, (%rax,%rdx,4)
pxor %xmm5, %xmm7
pextrw $0x4, %xmm7, %esi
testb $0x1, %sil
je 0x12251
movss %xmm0, 0x4(%rax,%rdx,4)
movdqa %xmm2, %xmm7
pxor %xmm4, %xmm7
movdqa %xmm7, %xmm8
pcmpgtd %xmm1, %xmm8
pcmpeqd %xmm1, %xmm7
pshufd $0xf5, %xmm7, %xmm9     # xmm9 = xmm7[1,1,3,3]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm8, %xmm7     # xmm7 = xmm8[1,1,3,3]
por %xmm9, %xmm7
pxor %xmm5, %xmm7
pextrw $0x0, %xmm7, %esi
testb $0x1, %sil
je 0x12292
movss %xmm0, 0x8(%rax,%rdx,4)
pextrw $0x4, %xmm7, %esi
testb $0x1, %sil
je 0x122a3
movss %xmm0, 0xc(%rax,%rdx,4)
addq $0x4, %rdx
paddq %xmm6, %xmm3
paddq %xmm6, %xmm2
cmpq %rdx, %rcx
jne 0x121ff
movq 0x8(%rbx), %r15
movq 0x40(%rbx), %r12
leaq (,%r15,4), %rbp
movq %r12, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x9400
cmpq $0x2, %r14
jb 0x12647
movq %rbp, %rdi
callq 0x95b0
movq %rax, %r13
movq %rax, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x9400
testq %r15, %r15
je 0x1263f
testq %r14, %r14
js 0x1256f
cvtsi2ss %r14, %xmm0
jmp 0x12587
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13b51
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0x123ef
movq %rdx, %xmm0
punpckldq 0x1fe48(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1fe50(%rip), %xmm0    # 0x32190
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x1ff1c(%rip), %xmm0    # 0x32270
divsd %xmm1, %xmm0
movq 0x48(%rbx), %rax
leaq 0x1(%rdx), %rcx
andq $-0x2, %rcx
decq %rdx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
movdqa 0x1fc87(%rip), %xmm2    # 0x32000
xorl %edx, %edx
movdqa 0x1fc8d(%rip), %xmm3    # 0x32010
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0x1fc8d(%rip), %xmm5    # 0x32020
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm1, %xmm7
pcmpeqd %xmm1, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %esi
notl %esi
testb $0x1, %sil
je 0x123cd
movsd %xmm0, (%rax,%rdx,8)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x123e2
movsd %xmm0, 0x8(%rax,%rdx,8)
addq $0x2, %rdx
paddq %xmm5, %xmm2
cmpq %rdx, %rcx
jne 0x12393
movq 0x8(%rbx), %r15
movq 0x40(%rbx), %r12
leaq (,%r15,8), %rbp
movq %r12, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x9400
cmpq $0x2, %r14
jb 0x12513
movq %rbp, %rdi
callq 0x95b0
movq %rax, %r13
movq %rax, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x9400
testq %r15, %r15
je 0x1250b
movq %r14, %xmm1
punpckldq 0x1fd3c(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1fd44(%rip), %xmm1    # 0x32190
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
xorl %eax, %eax
movq (%rsp), %rcx
movsd (%r13,%rax,8), %xmm1
movq %rcx, %rdx
movq %r14, %rsi
addsd (%rdx), %xmm1
movsd %xmm1, (%r13,%rax,8)
addq %rbp, %rdx
decq %rsi
jne 0x1246b
divsd %xmm0, %xmm1
movsd %xmm1, (%r13,%rax,8)
incq %rax
addq $0x8, %rcx
cmpq %r15, %rax
jne 0x1245e
movq 0x8(%rbx), %rax
leaq -0x1(%r14), %rcx
movq %rcx, %xmm1
punpckldq 0x1fcd6(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1fcde(%rip), %xmm1    # 0x32190
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
shlq $0x3, %rax
xorl %ecx, %ecx
movq (%rsp), %rdx
movsd (%r12,%rcx,8), %xmm1
movq %rdx, %rsi
movq %r14, %rdi
movsd (%rsi), %xmm2
subsd (%r13,%rcx,8), %xmm2
mulsd %xmm2, %xmm2
addsd %xmm2, %xmm1
movsd %xmm1, (%r12,%rcx,8)
addq %rax, %rsi
decq %rdi
jne 0x124d4
divsd %xmm0, %xmm1
movsd %xmm1, (%r12,%rcx,8)
incq %rcx
addq $0x8, %rdx
cmpq %r15, %rcx
jne 0x124c8
movq %r13, %rdi
callq 0x9580
movq 0x10(%rbx), %rax
movl $0x3, %r12d
cmpq $0x2, %rax
jb 0x1269a
movq 0x8(%rbx), %rcx
leaq (,%rcx,8), %rdx
movl $0x1, %esi
movq %rdx, %rdi
testq %rcx, %rcx
je 0x1255f
movq 0x40(%rbx), %r8
leaq (%r8,%rdi), %r9
xorl %r10d, %r10d
movsd (%r8,%r10,8), %xmm0
movsd %xmm0, (%r9,%r10,8)
incq %r10
cmpq %r10, %rcx
jne 0x1254b
incq %rsi
addq %rdx, %rdi
cmpq %rax, %rsi
jne 0x1253b
jmp 0x1269a
movq %r14, %rax
shrq %rax
movl %r14d, %ecx
andl $0x1, %ecx
orq %rax, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
xorl %eax, %eax
movq (%rsp), %rcx
movss (%r13,%rax,4), %xmm1
movq %rcx, %rdx
movq %r14, %rsi
addss (%rdx), %xmm1
movss %xmm1, (%r13,%rax,4)
addq %rbp, %rdx
decq %rsi
jne 0x1259a
divss %xmm0, %xmm1
movss %xmm1, (%r13,%rax,4)
incq %rax
addq $0x4, %rcx
cmpq %r15, %rax
jne 0x1258d
movq 0x8(%rbx), %rax
movq %r14, %rcx
decq %rcx
js 0x125da
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
jmp 0x125f2
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
orq %rdx, %rcx
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
shlq $0x2, %rax
xorl %ecx, %ecx
movq (%rsp), %rdx
movss (%r12,%rcx,4), %xmm1
movq %rdx, %rsi
movq %r14, %rdi
movss (%rsi), %xmm2
subss (%r13,%rcx,4), %xmm2
mulss %xmm2, %xmm2
addss %xmm2, %xmm1
movss %xmm1, (%r12,%rcx,4)
addq %rax, %rsi
decq %rdi
jne 0x12608
divss %xmm0, %xmm1
movss %xmm1, (%r12,%rcx,4)
incq %rcx
addq $0x4, %rdx
cmpq %r15, %rcx
jne 0x125fc
movq %r13, %rdi
callq 0x9580
movq 0x10(%rbx), %rax
movl $0x2, %r12d
cmpq $0x2, %rax
jb 0x1269a
movq 0x8(%rbx), %rcx
leaq (,%rcx,4), %rdx
movl $0x1, %esi
movq %rdx, %rdi
testq %rcx, %rcx
je 0x1268f
movq 0x40(%rbx), %r8
leaq (%r8,%rdi), %r9
xorl %r10d, %r10d
movss (%r8,%r10,4), %xmm0
movss %xmm0, (%r9,%r10,4)
incq %r10
cmpq %r10, %rcx
jne 0x1267b
incq %rsi
addq %rdx, %rdi
cmpq %rax, %rsi
jne 0x1266b
movl (%rbx), %edi
movl $0x1, %esi
callq 0x91b0
movq %rax, %r13
movq 0x8(%rbx), %rdx
movq 0x10(%rbx), %r8
movq %rax, %rdi
movq (%rsp), %rsi
movq %r14, %rcx
callq 0x9100
movq 0x8(%rbx), %rdx
movl %r12d, %ecx
shlq %cl, %rdx
movq 0x38(%rbx), %rdi
movq 0x58(%r13), %rsi
imulq 0x10(%rbx), %rdx
callq 0x95a0
movq %r13, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9250
callq 0x90b0