// File: /workspace/github_c_makefile_star2_O1/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 0x12227
cmpl $0x1, %eax
jne 0x12614
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13b33
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0x121cc
movq %rdx, %xmm0
punpckldq 0x210d4(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x210dc(%rip), %xmm0    # 0x33190
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x21198(%rip), %xmm0    # 0x33260
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 0x213cf(%rip), %xmm2    # 0x334c0
movdqa 0x20f07(%rip), %xmm3    # 0x33000
xorl %edx, %edx
movdqa 0x20f0d(%rip), %xmm4    # 0x33010
pxor %xmm4, %xmm1
pcmpeqd %xmm5, %xmm5
movdqa 0x213bd(%rip), %xmm6    # 0x334d0
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 0x12150
movss %xmm0, (%rax,%rdx,4)
pxor %xmm5, %xmm7
pextrw $0x4, %xmm7, %esi
testb $0x1, %sil
je 0x12165
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 0x121a6
movss %xmm0, 0x8(%rax,%rdx,4)
pextrw $0x4, %xmm7, %esi
testb $0x1, %sil
je 0x121b7
movss %xmm0, 0xc(%rax,%rdx,4)
addq $0x4, %rdx
paddq %xmm6, %xmm3
paddq %xmm6, %xmm2
cmpq %rdx, %rcx
jne 0x12113
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 0x12569
movq %rbp, %rdi
callq 0x95b0
movq %rax, %r13
movq %rax, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x9400
testq %r15, %r15
je 0x12561
testq %r14, %r14
js 0x1248a
cvtsi2ss %r14, %xmm0
jmp 0x124a2
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13b33
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0x12303
movq %rdx, %xmm0
punpckldq 0x20f34(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x20f3c(%rip), %xmm0    # 0x33190
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x20ff8(%rip), %xmm0    # 0x33260
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 0x20d73(%rip), %xmm2    # 0x33000
xorl %edx, %edx
movdqa 0x20d79(%rip), %xmm3    # 0x33010
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0x20d79(%rip), %xmm5    # 0x33020
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 0x122e1
movsd %xmm0, (%rax,%rdx,8)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x122f6
movsd %xmm0, 0x8(%rax,%rdx,8)
addq $0x2, %rdx
paddq %xmm5, %xmm2
cmpq %rdx, %rcx
jne 0x122a7
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 0x1242e
movq %rbp, %rdi
callq 0x95b0
movq %rax, %r13
movq %rax, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x9400
testq %r15, %r15
je 0x12426
movq %r14, %xmm1
punpckldq 0x20e28(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x20e30(%rip), %xmm1    # 0x33190
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 0x1237f
divsd %xmm0, %xmm1
movsd %xmm1, (%r13,%rax,8)
incq %rax
addq $0x8, %rcx
cmpq %r15, %rax
jne 0x12372
movq 0x8(%rbx), %rax
leaq -0x1(%r14), %rcx
movq %rcx, %xmm1
punpckldq 0x20dc2(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x20dca(%rip), %xmm1    # 0x33190
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
cmpq $0x1, %r14
movq %r14, %rcx
adcq $0x0, %rcx
addsd %xmm1, %xmm0
shlq $0x3, %rax
xorl %edx, %edx
movq (%rsp), %rsi
movq %rsi, %rdi
movq %rcx, %r8
movsd (%rdi), %xmm1
subsd (%r13,%rdx,8), %xmm1
mulsd %xmm1, %xmm1
addsd (%r12,%rdx,8), %xmm1
movsd %xmm1, (%r12,%rdx,8)
addq %rax, %rdi
decq %r8
jne 0x123ed
divsd %xmm0, %xmm1
movsd %xmm1, (%r12,%rdx,8)
incq %rdx
addq $0x8, %rsi
cmpq %r15, %rdx
jne 0x123e7
movq %r13, %rdi
callq 0x9580
movq 0x10(%rbx), %rax
movl $0x3, %r12d
cmpq $0x2, %rax
jb 0x125bc
movq 0x8(%rbx), %rcx
leaq (,%rcx,8), %rdx
movl $0x1, %esi
movq %rdx, %rdi
testq %rcx, %rcx
je 0x1247a
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 0x12466
incq %rsi
addq %rdx, %rdi
cmpq %rax, %rsi
jne 0x12456
jmp 0x125bc
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 0x124b5
divss %xmm0, %xmm1
movss %xmm1, (%r13,%rax,4)
incq %rax
addq $0x4, %rcx
cmpq %r15, %rax
jne 0x124a8
movq 0x8(%rbx), %rax
movq %r14, %rcx
decq %rcx
js 0x124f5
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
jmp 0x1250d
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
orq %rdx, %rcx
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cmpq $0x1, %r14
movq %r14, %rcx
adcq $0x0, %rcx
shlq $0x2, %rax
xorl %edx, %edx
movq (%rsp), %rsi
movq %rsi, %rdi
movq %rcx, %r8
movss (%rdi), %xmm1
subss (%r13,%rdx,4), %xmm1
mulss %xmm1, %xmm1
addss (%r12,%rdx,4), %xmm1
movss %xmm1, (%r12,%rdx,4)
addq %rax, %rdi
decq %r8
jne 0x12528
divss %xmm0, %xmm1
movss %xmm1, (%r12,%rdx,4)
incq %rdx
addq $0x4, %rsi
cmpq %r15, %rdx
jne 0x12522
movq %r13, %rdi
callq 0x9580
movq 0x10(%rbx), %rax
movl $0x2, %r12d
cmpq $0x2, %rax
jb 0x125bc
movq 0x8(%rbx), %rcx
leaq (,%rcx,4), %rdx
movl $0x1, %esi
movq %rdx, %rdi
testq %rcx, %rcx
je 0x125b1
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 0x1259d
incq %rsi
addq %rdx, %rdi
cmpq %rax, %rsi
jne 0x1258d
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