LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: free_state_model
void free_state_model(void* model, HMM_STATE_TYPE statetype)
{
 /*!Last Changed 26.02.2007*/
 Gaussianptr g;
 Gaussianmixtureptr gm;
 Multinomialptr m;
 Dirichletptr d;
 Dirichletmixtureptr dm;
 int i;
 switch (statetype)
  {
   case          STATE_DISCRETE:m = (Multinomialptr) model;
                                for (i = 0; i < current_dataset->featurecount - 1; i++)
                                  safe_free(m->prob[i]);
                                safe_free(m->prob);
                                break;
   case          STATE_GAUSSIAN:g = (Gaussianptr) model;
                                safe_free(g->mean);
                                matrix_free(g->covariance);
                                break;
   case  STATE_GAUSSIAN_MIXTURE:gm = (Gaussianmixtureptr) model;
                                safe_free(gm->weights);
                                for (i = 0; i < gm->componentcount; i++)
                                 {
                                  safe_free(gm->components[i].mean);
                                  matrix_free(gm->components[i].covariance);
                                 }
                                safe_free(gm->components);
                                break;
   case         STATE_DIRICHLET:d = (Dirichletptr) model;
                                safe_free(d->alpha);
                                break;
   case STATE_DIRICHLET_MIXTURE:dm = (Dirichletmixtureptr) model;
                                safe_free(dm->weights);
                                for (i = 0; i < dm->componentcount; i++)
                                  safe_free(dm->components[i].alpha);
                                safe_free(dm->components);
                                break;
  }
 safe_free(model);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0x4, %esi
ja 0x280dd
movl %esi, %eax
leaq 0x80266(%rip), %rcx     # 0xa826c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xad85a(%rip), %r14     # 0xd5870
movq (%r14), %rax
cmpl $0x2, 0x1bc(%rax)
jl 0x280d5
xorl %r15d, %r15d
movq (%rbx), %rax
movq (%rax,%r15,8), %rdi
callq 0x3a180
incq %r15
movq (%r14), %rax
movslq 0x1bc(%rax), %rax
decq %rax
cmpq %rax, %r15
jl 0x28029
jmp 0x280d5
movq 0x10(%rbx), %rdi
callq 0x3a180
cmpl $0x0, 0x8(%rbx)
jle 0x280d5
xorl %r14d, %r14d
movq (%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x3a180
incq %r14
movslq 0x8(%rbx), %rax
cmpq %rax, %r14
jl 0x28061
jmp 0x280d5
movq (%rbx), %rdi
callq 0x3a180
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
callq 0x3ed51
jmp 0x280dd
movq 0x10(%rbx), %rdi
callq 0x3a180
cmpl $0x0, 0x8(%rbx)
jle 0x280d5
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rbx), %rax
movq (%rax,%r14), %rdi
callq 0x3a180
movq (%rbx), %rax
movq 0x8(%rax,%r14), %rdi
movq 0x10(%rax,%r14), %rsi
callq 0x3ed51
incq %r15
movslq 0x8(%rbx), %rax
addq $0x18, %r14
cmpq %rax, %r15
jl 0x280a7
movq (%rbx), %rdi
callq 0x3a180
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3a180
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: alloc_hmm
Hmmptr alloc_hmm(int statecount, HMM_STATE_TYPE statetype, int componentcount, HMM_MODEL_TYPE hmmtype)
{
 /*!Last Changed 15.03.2007*/
 int i;
 Hmmptr desthmm = empty_hmm(statecount, statetype, hmmtype);
 for (i = 0; i < statecount; i++)
  {
    desthmm->states[i].pi = 0;
    desthmm->states[i].a_dot_j = safemalloc(sizeof(double) * statecount, "init_hmm", 6);
    desthmm->states[i].a_i_dot = safemalloc(sizeof(double) * statecount, "init_hmm", 7);
    desthmm->states[i].b = alloc_state_model(statetype, componentcount);
  } 
 return desthmm;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, 0x4(%rsp)
movl %esi, %ebp
movl %edi, %r15d
movl %ecx, %edx
callq 0x27aa9
movq %rax, %r14
testl %r15d, %r15d
jle 0x2817c
movl %r15d, %r13d
leaq (,%r13,8), %r15
movq (%r14), %rcx
shlq $0x5, %r13
xorl %ebx, %ebx
leaq 0x80221(%rip), %r12     # 0xa8349
movq $0x0, 0x10(%rcx,%rbx)
movq %r15, %rdi
movq %r12, %rsi
movl $0x6, %edx
callq 0x3a0e1
movq (%r14), %rcx
movq %rax, (%rcx,%rbx)
movq %r15, %rdi
movq %r12, %rsi
movl $0x7, %edx
callq 0x3a0e1
movq (%r14), %rcx
movq %rax, 0x8(%rcx,%rbx)
movl %ebp, %edi
movl 0x4(%rsp), %esi
callq 0x2818e
movq (%r14), %rcx
movq %rax, 0x18(%rcx,%rbx)
addq $0x20, %rbx
cmpq %rbx, %r13
jne 0x28128
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: calloc_hmm
Hmmptr calloc_hmm(int statecount, HMM_STATE_TYPE statetype, int componentcount, HMM_MODEL_TYPE hmmtype)
{
 /*!Last Changed 15.03.2007*/
 int i;
 Hmmptr desthmm = empty_hmm(statecount, statetype, hmmtype);
 for (i = 0; i < statecount; i++)
  {
    desthmm->states[i].pi = 0;
    desthmm->states[i].a_dot_j = safecalloc(statecount, sizeof(double), "init_hmm", 6);
    desthmm->states[i].a_i_dot = safecalloc(statecount, sizeof(double), "init_hmm", 7);
    desthmm->states[i].b = calloc_state_model(statetype, componentcount);
  } 
 return desthmm;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, 0x4(%rsp)
movl %esi, %ebp
movl %edi, %r15d
movl %ecx, %edx
callq 0x27aa9
movq %rax, %r14
testl %r15d, %r15d
jle 0x2849b
movl %r15d, %r15d
movq (%r14), %rcx
movq %r15, %r13
shlq $0x5, %r13
xorl %ebx, %ebx
leaq 0x7ff0c(%rip), %r12     # 0xa8349
movq $0x0, 0x10(%rcx,%rbx)
movl $0x8, %esi
movq %r15, %rdi
movq %r12, %rdx
movl $0x6, %ecx
callq 0x3a1fc
movq (%r14), %rcx
movq %rax, (%rcx,%rbx)
movl $0x8, %esi
movq %r15, %rdi
movq %r12, %rdx
movl $0x7, %ecx
callq 0x3a1fc
movq (%r14), %rcx
movq %rax, 0x8(%rcx,%rbx)
movl %ebp, %edi
movl 0x4(%rsp), %esi
callq 0x284ad
movq (%r14), %rcx
movq %rax, 0x18(%rcx,%rbx)
addq $0x20, %rbx
cmpq %rbx, %r13
jne 0x2843d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: clone_hmm
Hmmptr clone_hmm(Hmmptr srchmm)
{
 /*!Last Changed 15.03.2007*/
 int i;
 Hmmptr desthmm = empty_hmm(srchmm->statecount, srchmm->statetype, srchmm->hmmtype);
 for (i = 0; i < srchmm->statecount; i++)
  {
    desthmm->states[i].pi = srchmm->states[i].pi;
    desthmm->states[i].a_dot_j = clone_array(srchmm->states[i].a_dot_j, srchmm->statecount);
    desthmm->states[i].a_i_dot = clone_array(srchmm->states[i].a_i_dot, srchmm->statecount);
    desthmm->states[i].b = clone_state_model(srchmm->states[i].b, srchmm->statetype);
  } 
 return desthmm;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x8(%rdi), %edi
movl 0xc(%rbx), %esi
movl 0x10(%rbx), %edx
callq 0x27aa9
movq %rax, %r14
movl 0x8(%rbx), %esi
testl %esi, %esi
jle 0x287d8
movq (%r14), %rcx
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rbx), %rax
movsd 0x10(%rax,%r15), %xmm0
movsd %xmm0, 0x10(%rcx,%r15)
movq (%rax,%r15), %rdi
callq 0x37a28
movq (%r14), %rcx
movq %rax, (%rcx,%r15)
movq (%rbx), %rax
movq 0x8(%rax,%r15), %rdi
movl 0x8(%rbx), %esi
callq 0x37a28
movq (%r14), %rcx
movq %rax, 0x8(%rcx,%r15)
movq (%rbx), %rax
movq 0x18(%rax,%r15), %rdi
movl 0xc(%rbx), %esi
callq 0x287e7
movq (%r14), %rcx
movq %rax, 0x18(%rcx,%r15)
incq %r12
movslq 0x8(%rbx), %rsi
addq $0x20, %r15
cmpq %rsi, %r12
jl 0x28777
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: init_hmm
void init_hmm(Hmmptr srchmm)
{
 /*!Last Changed 15.03.2007*/
 int i;
 for (i = 0; i < srchmm->statecount; i++)
  {
    srchmm->states[i].pi = 0;
    init_array(srchmm->states[i].a_dot_j, srchmm->statecount);
    init_array(srchmm->states[i].a_i_dot, srchmm->statecount);
    init_state_model(srchmm->states[i].b, srchmm->statetype);
  } 
}

// Assembly:
movl 0x8(%rdi), %esi
testl %esi, %esi
jle 0x28ab3
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rbx), %rax
movq $0x0, 0x10(%rax,%r14)
movq (%rax,%r14), %rdi
callq 0x38389
movq (%rbx), %rax
movq 0x8(%rax,%r14), %rdi
movl 0x8(%rbx), %esi
callq 0x38389
movq (%rbx), %rax
movq 0x18(%rax,%r14), %rdi
movl 0xc(%rbx), %esi
callq 0x28ab4
incq %r15
movslq 0x8(%rbx), %rsi
addq $0x20, %r14
cmpq %rsi, %r15
jl 0x28a69
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: copy_hmm
void copy_hmm(Hmmptr desthmm, Hmmptr srchmm)
{
 /*!Last Changed 15.03.2007*/
 int i;
 desthmm->hmmtype = srchmm->hmmtype;
 desthmm->statetype = srchmm->statetype;
 for (i = 0; i < srchmm->statecount; i++)
  {
    desthmm->states[i].pi = srchmm->states[i].pi;
    memcpy(desthmm->states[i].a_dot_j, srchmm->states[i].a_dot_j, srchmm->statecount * sizeof(double));
    memcpy(desthmm->states[i].a_i_dot, srchmm->states[i].a_i_dot, srchmm->statecount * sizeof(double));
    copy_state_model(desthmm->states[i].b, srchmm->states[i].b, srchmm->statetype);
  } 
}

// Assembly:
movq 0xc(%rsi), %rax
movq %rax, 0xc(%rdi)
movl 0x8(%rsi), %eax
testl %eax, %eax
jle 0x28ca7
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rbx), %rcx
movsd 0x10(%rcx,%r15), %xmm0
movq (%r14), %rdx
movsd %xmm0, 0x10(%rdx,%r15)
movq (%rdx,%r15), %rdi
movq (%rcx,%r15), %rsi
movslq %eax, %rdx
shlq $0x3, %rdx
callq 0x4310
movq (%r14), %rax
movq 0x8(%rax,%r15), %rdi
movq (%rbx), %rax
movq 0x8(%rax,%r15), %rsi
movslq 0x8(%rbx), %rdx
shlq $0x3, %rdx
callq 0x4310
movq (%r14), %rax
movq 0x18(%rax,%r15), %rdi
movq (%rbx), %rax
movq 0x18(%rax,%r15), %rsi
movl 0xc(%rbx), %edx
callq 0x28ca8
incq %r12
movslq 0x8(%rbx), %rax
addq $0x20, %r15
cmpq %rax, %r12
jl 0x28c2f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: sum_hmm
void sum_hmm(Hmmptr desthmm, Hmmptr srchmm)
{
 /*!Last Changed 15.03.2007*/
 int i;
 for (i = 0; i < srchmm->statecount; i++)
  {
    desthmm->states[i].pi += srchmm->states[i].pi;
    add_arrays(desthmm->states[i].a_dot_j, srchmm->states[i].a_dot_j, srchmm->statecount);
    add_arrays(desthmm->states[i].a_i_dot, srchmm->states[i].a_i_dot, srchmm->statecount);
    sum_state_model(desthmm->states[i].b, srchmm->states[i].b, srchmm->statetype);
  } 
}

// Assembly:
movl 0x8(%rsi), %edx
testl %edx, %edx
jle 0x28ef6
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rbx), %rax
movsd 0x10(%rax,%r15), %xmm0
movq (%r14), %rcx
addsd 0x10(%rcx,%r15), %xmm0
movsd %xmm0, 0x10(%rcx,%r15)
movq (%rcx,%r15), %rdi
movq (%rax,%r15), %rsi
callq 0x37a08
movq (%r14), %rax
movq 0x8(%rax,%r15), %rdi
movq (%rbx), %rax
movq 0x8(%rax,%r15), %rsi
movl 0x8(%rbx), %edx
callq 0x37a08
movq (%r14), %rax
movq 0x18(%rax,%r15), %rdi
movq (%rbx), %rax
movq 0x18(%rax,%r15), %rsi
movl 0xc(%rbx), %edx
callq 0x28ef7
incq %r12
movslq 0x8(%rbx), %rdx
addq $0x20, %r15
cmpq %rdx, %r12
jl 0x28e83
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: add_probability_conserving
double* add_probability_conserving(double* prob, int count, int added)
{
 /*!Last Changed 05.04.2007*/
 double* result;
 int i;
 result = alloc(prob, (count + added) * sizeof(double), count + added);
 for (i = 0; i < count; i++)
   result[i] *= (count + 0.0) / (count + added);
 for (i = count; i < count + added; i++)
   result[i] = 1.0 / (count + added);
 return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r15d
movl %esi, %ebx
leal (%r15,%rbx), %ebp
movslq %ebp, %r14
leaq (,%r14,8), %rsi
movl %r14d, %edx
callq 0x3a0b4
testl %ebx, %ebx
jle 0x29414
cvtsi2sd %ebx, %xmm0
cvtsi2sd %ebp, %xmm1
divsd %xmm1, %xmm0
movl %ebx, %ecx
xorl %edx, %edx
movsd (%rax,%rdx,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0x293fe
testl %r15d, %r15d
jle 0x294d8
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
movsd 0x7c0f3(%rip), %xmm0    # 0xa5520
divsd %xmm1, %xmm0
movslq %ebx, %rdx
leaq 0x1(%rdx), %rsi
cmpq %rsi, %r14
cmovgq %r14, %rsi
subq %rdx, %rsi
leaq 0x1(%rsi), %rcx
andq $-0x2, %rcx
decq %rsi
movq %rsi, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
leaq (%rax,%rdx,8), %rdx
addq $0x8, %rdx
xorl %esi, %esi
movdqa 0x7cfd7(%rip), %xmm2    # 0xa6440
movdqa 0x7cfdf(%rip), %xmm3    # 0xa6450
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movq %rsi, %xmm5
pshufd $0x44, %xmm5, %xmm5     # xmm5 = xmm5[0,1,0,1]
por %xmm2, %xmm5
pxor %xmm3, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm1, %xmm6
pcmpeqd %xmm1, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edi
notl %edi
testb $0x1, %dil
je 0x294bb
movsd %xmm0, -0x8(%rdx,%rsi,8)
pxor %xmm4, %xmm5
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0x294cf
movsd %xmm0, (%rdx,%rsi,8)
addq $0x2, %rsi
cmpq %rsi, %rcx
jne 0x29479
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: random_gaussian
void random_gaussian(Gaussianptr g, Instanceptr traindata)
{
 /*!Last Changed 07.04.2007*/
 int numrealfeatures = current_dataset->multifeaturecount - 1;
 int size, index, seqlen, i, t;
 matrix m;
 Instanceptr datapoint, tmp;
 size = data_size(traindata);
 index = myrand() % size;
 datapoint = data_x(traindata, index);
 seqlen = frame_count(datapoint);
 m = matrix_alloc(seqlen, numrealfeatures);
 tmp = datapoint;
 t = 0;
 while (tmp)
  {
   for (i = 0; i < numrealfeatures; i++)
     m.values[t][i] = real_feature(tmp, i);
   if (t == 0)
     tmp = tmp->sublist;
   else
     tmp = tmp->next;
   t++;
  }
 g->mean = matrix_average_columns(m);
 g->covariance = identity(numrealfeatures);
 matrix_free(m);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, 0x10(%rsp)
leaq 0xac1e4(%rip), %rax     # 0xd5870
movq (%rax), %rax
movl 0x1c0(%rax), %ebp
leal -0x1(%rbp), %ebx
movq %rsi, %rdi
callq 0x30309
movl %eax, %r15d
xorl %eax, %eax
callq 0x3af20
cltd
idivl %r15d
movq %r14, %rdi
movl %edx, %esi
callq 0x31851
movq %rax, %r12
movq %rax, %rdi
callq 0x2ec88
movl %eax, %edi
movl %ebx, 0x4(%rsp)
movl %ebx, %esi
callq 0x3d79d
movq %rax, 0x8(%rsp)
movq %rdx, %r15
testq %r12, %r12
je 0x29725
movl 0x4(%rsp), %ebx
xorl %r14d, %r14d
cmpl $0x2, %ebp
jl 0x29709
xorl %r13d, %r13d
movq %r12, %rdi
movl %r13d, %esi
callq 0x2ed6a
movq (%r15,%r14,8), %rax
movsd %xmm0, (%rax,%r13,8)
incq %r13
cmpq %r13, %rbx
jne 0x296ec
leaq 0x10(%r12), %rax
addq $0x28, %r12
testq %r14, %r14
cmovneq %rax, %r12
movq (%r12), %r12
incq %r14
testq %r12, %r12
jne 0x296e4
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x3fe12
movq 0x10(%rsp), %rbx
movq %rax, (%rbx)
movl 0x4(%rsp), %edi
callq 0x3eddb
movq %rax, 0x8(%rbx)
movq %rdx, 0x10(%rbx)
movq %r14, %rdi
movq %r15, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3ed51
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: multinomial_multivariate
double multinomial_multivariate(Instanceptr inst, Multinomialptr m)
{
 /*!Last Changed 26.02.2007*/
 double prod = 1.0;
 int i, j = 0;
 for (i = 0; i < current_dataset->featurecount; i++)
   if (current_dataset->features[i].type == STRING)
    {
     prod *= m->prob[j][inst->values[i].stringindex];
     j++; 
    } 
 return prod;
}

// Assembly:
leaq 0xab7ec(%rip), %rax     # 0xd5870
movq (%rax), %rax
movslq 0x1bc(%rax), %rcx
testq %rcx, %rcx
jle 0x2a0d4
addq $0x30f08, %rax          # imm = 0x30F08
movsd 0x7b47f(%rip), %xmm0    # 0xa5520
xorl %edx, %edx
xorl %r8d, %r8d
cmpl $0x1, (%rax)
jne 0x2a0c5
movq (%rsi), %r9
movslq %r8d, %r8
movq (%r9,%r8,8), %r9
movq (%rdi), %r10
movslq (%r10,%rdx,8), %r10
mulsd (%r9,%r10,8), %xmm0
incl %r8d
incq %rdx
addq $0x340, %rax            # imm = 0x340
cmpq %rdx, %rcx
jne 0x2a0a6
retq
movsd 0x7b444(%rip), %xmm0    # 0xa5520
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: read_gaussian_mixture
Gaussianmixtureptr read_gaussian_mixture(char* filename, int** classes)
{ 
 /*!Last Changed 28.04.2007*/
 Gaussianmixtureptr gm;
 FILE* infile;
 int i, dimension;
 infile = fopen(filename, "r");
 if (!infile)
   return NULL;
 fscanf(infile, "%d", &dimension);
 gm = safemalloc(sizeof(Gaussianmixture), "read_gaussian_mixture", 7);
 fscanf(infile, "%d", &(gm->componentcount));
 *classes = safemalloc(gm->componentcount * sizeof(int), "read_gaussian_mixture", 9);
 gm->weights = safemalloc(gm->componentcount * sizeof(double), "read_gaussian_mixture", 10);
 gm->components = safemalloc(gm->componentcount * sizeof(Gaussian), "read_gaussian_mixture", 11);
 for (i = 0; i < gm->componentcount; i++)
   fscanf(infile, "%lf", &(gm->weights[i]));
 for (i = 0; i < gm->componentcount; i++)
  {
   fscanf(infile, "%d", &((*classes)[i]));
   gm->components[i].mean = load_array(infile, dimension);
   gm->components[i].covariance = load_matrix(infile, dimension, dimension);
  }
 fclose(infile);
 return gm;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
leaq 0x81668(%rip), %rsi     # 0xab95b
callq 0x40f0
testq %rax, %rax
je 0x2a453
movq %rax, %r15
leaq 0x868ea(%rip), %r13     # 0xb0bf5
leaq 0xc(%rsp), %rdx
movq %rax, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x4070
leaq 0x7e304(%rip), %r12     # 0xa8628
movl $0x18, %edi
movq %r12, %rsi
movl $0x7, %edx
callq 0x3a0e1
movq %rax, %r14
leaq 0x8(%rax), %rdx
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x4070
movslq 0x8(%r14), %rdi
shlq $0x2, %rdi
movq %r12, %rsi
movl $0x9, %edx
callq 0x3a0e1
movq %rax, (%rbx)
movslq 0x8(%r14), %rdi
shlq $0x3, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x3a0e1
movq %rax, 0x10(%r14)
movslq 0x8(%r14), %rax
shlq $0x3, %rax
leaq (%rax,%rax,2), %rdi
movq %r12, %rsi
movl $0xb, %edx
callq 0x3a0e1
movq %rax, (%r14)
cmpl $0x0, 0x8(%r14)
jle 0x2a446
movq %rbx, %rbp
leaq 0x7f8d4(%rip), %r12     # 0xa9c80
xorl %ebx, %ebx
xorl %r13d, %r13d
movq 0x10(%r14), %rdx
addq %rbx, %rdx
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4070
incq %r13
movslq 0x8(%r14), %rax
addq $0x8, %rbx
cmpq %rax, %r13
jl 0x2a3b1
testl %eax, %eax
jle 0x2a446
movq %rbp, %rax
movl $0x4, %r13d
xorl %ebp, %ebp
xorl %ebx, %ebx
movq %rax, 0x10(%rsp)
movq (%rax), %rdx
addq %rbp, %rdx
movq %r15, %rdi
leaq 0x867fa(%rip), %rsi     # 0xb0bf5
xorl %eax, %eax
callq 0x4070
movl 0xc(%rsp), %esi
movq %r15, %rdi
callq 0x3b5a4
movq (%r14), %r12
movq %rax, -0x10(%r12,%r13,4)
movl 0xc(%rsp), %edx
movq %r15, %rdi
movl %edx, %esi
callq 0x3b518
movq %rax, -0x8(%r12,%r13,4)
movq %rdx, (%r12,%r13,4)
incq %rbx
movslq 0x8(%r14), %rax
addq $0x6, %r13
addq $0x4, %rbp
cmpq %rax, %rbx
movq 0x10(%rsp), %rax
jl 0x2a3eb
movq %r15, %rdi
callq 0x42a0
movq %r14, %rax
jmp 0x2a455
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: gaussian_mixture_multivariate
double gaussian_mixture_multivariate(Instanceptr inst, Gaussianmixtureptr gm)
{
 /*!Last Changed 26.02.2007*/
 double sum = 0.0;
 int i;
 for (i = 0; i < gm->componentcount; i++)
   sum += gm->weights[i] * gaussian_multivariate(inst, gm->components[i].mean, gm->components[i].covariance);
 return sum;
}

// Assembly:
cmpl $0x0, 0x8(%rsi)
jle 0x2a4f2
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
movl $0x2, %r15d
xorl %r12d, %r12d
movsd %xmm0, 0x8(%rsp)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movsd (%rcx,%r12,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq -0x10(%rax,%r15,8), %rsi
movq -0x8(%rax,%r15,8), %rdx
movq (%rax,%r15,8), %rcx
movq %r14, %rdi
callq 0x8dc47
mulsd 0x10(%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
incq %r12
movslq 0x8(%rbx), %rax
addq $0x3, %r15
cmpq %rax, %r12
jl 0x2a48b
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorps %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: dirichlet_mixture_multivariate
double dirichlet_mixture_multivariate(Instanceptr inst, Dirichletmixtureptr dm)
{
 /*!Last Changed 28.02.2007*/
 double sum = 0.0;
 int i;
 for (i = 0; i < dm->componentcount; i++)
   sum += dm->weights[i] * dirichlet(inst, dm->components[i].alpha);
 return sum;
}

// Assembly:
cmpl $0x0, 0x8(%rsi)
jle 0x2a597
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
xorl %r15d, %r15d
movsd %xmm0, (%rsp)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movsd (%rcx,%r15,8), %xmm0
movsd %xmm0, 0x8(%rsp)
movq (%rax,%r15,8), %rsi
movq %r14, %rdi
callq 0x20145
mulsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd (%rsp), %xmm0
incq %r15
movslq 0x8(%rbx), %rax
cmpq %rax, %r15
jl 0x2a544
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
xorps %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: calc_obslik
double calc_obslik(Hmmptr hmm, Instanceptr inst, int stateindex)
{
 /*!Last Changed 26.03.2007*/
 double obslik;
 Gaussianptr g;
 Gaussianmixtureptr gm;
 Multinomialptr m;
 Dirichletptr d;
 Dirichletmixtureptr dm;
 switch (hmm->statetype)
  {
   case          STATE_DISCRETE:m = (Multinomialptr) (hmm->states[stateindex].b);
                                obslik = multinomial_multivariate(inst, m);
                                break;
   case          STATE_GAUSSIAN:g = (Gaussianptr) (hmm->states[stateindex].b);
                                obslik = gaussian_multivariate(inst, g->mean, g->covariance);
                                break;
   case  STATE_GAUSSIAN_MIXTURE:gm = (Gaussianmixtureptr) (hmm->states[stateindex].b);
                                obslik = gaussian_mixture_multivariate(inst, gm);
                                break;
   case         STATE_DIRICHLET:d = (Dirichletptr) (hmm->states[stateindex].b);
                                obslik = dirichlet(inst, d->alpha);
                                break;
   case STATE_DIRICHLET_MIXTURE:dm = (Dirichletmixtureptr) (hmm->states[stateindex].b);
                                obslik = dirichlet_mixture_multivariate(inst, dm);
                                break;
   default                     :obslik = 1.0;
                                break;
  }
 return obslik;
}

// Assembly:
movl 0xc(%rdi), %eax
cmpq $0x4, %rax
ja 0x2a66d
leaq 0x7dd4c(%rip), %rcx     # 0xa8320
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq (%rdi), %rax
movslq %edx, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movq %rsi, %rdi
movq %rax, %rsi
jmp 0x2a07d
movq (%rdi), %rax
movslq %edx, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movq %rsi, %rdi
movq %rax, %rsi
jmp 0x2a529
movq (%rdi), %rax
movslq %edx, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movq %rsi, %rdi
movq %rax, %rsi
jmp 0x2a464
movq (%rdi), %rax
movslq %edx, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movq (%rax), %rax
movq %rsi, %rdi
movq %rax, %rsi
jmp 0x20145
movq (%rdi), %rax
movslq %edx, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
movq 0x10(%rcx), %rcx
movq %rsi, %rdi
movq %rax, %rsi
jmp 0x8dc47
movsd 0x7aeab(%rip), %xmm0    # 0xa5520
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: calc_obslikMix
double calc_obslikMix(Hmmptr hmm, Instanceptr inst, int stateindex, int componentindex)
{
 /*!Last Changed 26.03.2007*/
 double obslik;
 Gaussianmixtureptr gm;
 Dirichletmixtureptr dm;
 switch (hmm->statetype)
  {
   case  STATE_GAUSSIAN_MIXTURE:gm = (Gaussianmixtureptr) (hmm->states[stateindex].b);
                                obslik = get_gaussian_mixture_multivariate_component(inst, gm, componentindex);
                                break;
   case STATE_DIRICHLET_MIXTURE:dm = (Dirichletmixtureptr) (hmm->states[stateindex].b);
                                obslik = get_dirichlet_mixture_multivariate_component(inst, dm, componentindex);
                                break;
   default                     :obslik = 1.0;
                                break;
  }
 return obslik;
}

// Assembly:
pushq %rax
movl 0xc(%rdi), %eax
cmpl $0x4, %eax
je 0x2a6c6
cmpl $0x2, %eax
jne 0x2a6ff
movq (%rdi), %rax
movslq %edx, %rdx
shlq $0x5, %rdx
movq 0x18(%rax,%rdx), %rax
movq (%rax), %rdi
movq 0x10(%rax), %rax
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rsp)
leaq (%rcx,%rcx,2), %rcx
movq (%rdi,%rcx,8), %rax
movq 0x8(%rdi,%rcx,8), %rdx
movq 0x10(%rdi,%rcx,8), %rcx
movq %rsi, %rdi
movq %rax, %rsi
callq 0x8dc47
jmp 0x2a6f8
movq (%rdi), %rax
movslq %edx, %rdx
shlq $0x5, %rdx
movq 0x18(%rax,%rdx), %rax
movq (%rax), %rdx
movq 0x10(%rax), %rax
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rsp)
movq (%rdx,%rcx,8), %rax
movq %rsi, %rdi
movq %rax, %rsi
callq 0x20145
mulsd (%rsp), %xmm0
jmp 0x2a707
movsd 0x7ae19(%rip), %xmm0    # 0xa5520
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: calc_gamma
void calc_gamma(Hmmptr hmm, int seqlen, double **alpha, double **beta, double **gamma)
{
 /*!Last Changed 26.03.2007*/
 int i, j, t;
 double denominator;
 for (t = 0; t < seqlen; t++) 
  {
   denominator = 0.0;
   for (j = 0; j < hmm->statecount; j++) 
    {
     gamma[t][j] = alpha[t][j] * beta[t][j];
     denominator += gamma[t][j];
    }
   for (i = 0; i < hmm->statecount; i++) 
     gamma[t][i] = gamma[t][i] / denominator;
  }
}

// Assembly:
testl %esi, %esi
jle 0x2b738
pushq %rbx
movl 0x8(%rdi), %eax
movl %esi, %esi
xorl %edi, %edi
testl %eax, %eax
jle 0x2b72f
movq (%rdx,%rdi,8), %r9
movq (%rcx,%rdi,8), %r10
movq (%r8,%rdi,8), %r11
xorpd %xmm0, %xmm0
xorl %ebx, %ebx
movsd (%r9,%rbx,8), %xmm1
mulsd (%r10,%rbx,8), %xmm1
movsd %xmm1, (%r11,%rbx,8)
addsd %xmm1, %xmm0
incq %rbx
cmpq %rbx, %rax
jne 0x2b6ee
testl %eax, %eax
jle 0x2b72f
movq (%r8,%rdi,8), %r9
xorl %r10d, %r10d
movsd (%r9,%r10,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r9,%r10,8)
incq %r10
cmpq %r10, %rax
jne 0x2b717
incq %rdi
cmpq %rsi, %rdi
jne 0x2b6d8
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: calc_xi
void calc_xi(Hmmptr hmm, Instanceptr traindata, int seqlen, double **alpha, double **beta, double ***xi)
{
 /*!Last Changed 26.03.2007*/
 int i, j, t;
 double sum, obslik;
 Instanceptr inst = traindata;
 inst = inst->sublist;
 for (t = 0; t < seqlen - 1; t++) 
  {
   sum = 0.0;  
   for (i = 0; i < hmm->statecount; i++) 
     for (j = 0; j < hmm->statecount; j++) 
      {
       obslik = calc_obslik(hmm, inst, j);
       xi[t][i][j] = alpha[t][i] * beta[t + 1][j] * (hmm->states[i].a_i_dot[j]) * obslik;
       sum += xi[t][i][j];
      }
   for (i = 0; i < hmm->statecount; i++) 
     for (j = 0; j < hmm->statecount; j++)
       xi[t][i][j] /= sum;
   inst = inst->next;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, (%rsp)
cmpl $0x2, %edx
jl 0x2b87f
movq %r9, %r13
movq %rcx, %rbp
movq (%rsp), %rax
decl %eax
movq %rax, (%rsp)
addq $0x28, %rsi
movl 0x8(%rdi), %eax
xorl %r15d, %r15d
movq %rdi, 0x10(%rsp)
movq (%rsi), %rsi
testl %eax, %eax
jle 0x2b86e
xorpd %xmm1, %xmm1
xorl %ebx, %ebx
movq %rsi, 0x18(%rsp)
testl %eax, %eax
jle 0x2b829
movq %rbx, %rax
shlq $0x5, %rax
movq %rax, 0x20(%rsp)
xorl %r12d, %r12d
movsd %xmm1, 0x8(%rsp)
movl %r12d, %edx
movq %r15, %r14
movq %r8, %r15
callq 0x2a5c0
movq %r15, %r8
movq %r14, %r15
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdi
movq (%rbp,%r14,8), %rax
movsd (%rax,%rbx,8), %xmm1
movq 0x8(%r8,%r14,8), %rax
mulsd (%rax,%r12,8), %xmm1
movq (%rdi), %rax
movq 0x20(%rsp), %rdx
movq 0x8(%rax,%rdx), %rax
mulsd (%rax,%r12,8), %xmm1
mulsd %xmm0, %xmm1
movq (%r13,%r14,8), %rax
movq (%rax,%rbx,8), %rax
movsd %xmm1, (%rax,%r12,8)
movsd 0x8(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x8(%rsp), %xmm1
incq %r12
movl 0x8(%rdi), %eax
movslq %eax, %rdx
cmpq %rdx, %r12
jl 0x2b7a0
jmp 0x2b82c
movslq %eax, %rdx
incq %rbx
cmpq %rdx, %rbx
jl 0x2b789
testl %eax, %eax
jle 0x2b86e
movl %eax, %r11d
movq (%r13,%r15,8), %rdx
xorl %r14d, %r14d
movq (%rdx,%r14,8), %rbx
xorl %r10d, %r10d
movsd (%rbx,%r10,8), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%rbx,%r10,8)
incq %r10
cmpq %r10, %r11
jne 0x2b84e
incq %r14
cmpq %r11, %r14
jne 0x2b847
addq $0x10, %rsi
incq %r15
cmpq (%rsp), %r15
jne 0x2b773
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: calc_gammaMix
void calc_gammaMix(Hmmptr hmm, Instanceptr traindata, int seqlen, double **gamma, double ***gammaMix)
{
 /*!Last Changed 26.03.2007*/
 int j, t, m;
 int componentcount;
 double obslik, obslikMix;
 Instanceptr inst = traindata;
 for (t = 0; t < seqlen; t++) 
  {
   for (j = 0; j < hmm->statecount; j++) 
    {
     obslik = calc_obslik(hmm, inst, j);
     componentcount = get_component_count(hmm->states[j], hmm->statetype);
     for (m = 0; m < componentcount; m++)
      {        
       obslikMix = calc_obslikMix(hmm, inst, j, m);
       gammaMix[t][j][m] = gamma[t][j] * obslikMix / obslik;
      }
    }
   if (t == 0)
     inst = inst->sublist;
   else
     inst = inst->next;
  }
}

// Assembly:
testl %edx, %edx
jle 0x2b9a8
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, %eax
movq %rax, 0x18(%rsp)
movl 0x8(%rdi), %eax
xorl %r14d, %r14d
movq %r8, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %rdi, 0x8(%rsp)
movq 0x28(%rsp), %r12
testl %eax, %eax
jle 0x2b97a
xorl %r13d, %r13d
movq %rsi, 0x10(%rsp)
movq 0x8(%rsp), %rdi
movl %r13d, %edx
callq 0x2a5c0
movq 0x8(%rsp), %rdi
movapd %xmm0, %xmm1
movl 0xc(%rdi), %eax
cmpl $0x4, %eax
movq 0x20(%rsp), %rsi
je 0x2b8fd
cmpl $0x2, %eax
jne 0x2b965
movq (%rdi), %rax
movq %r13, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movslq 0x8(%rax), %r15
testq %r15, %r15
jle 0x2b965
xorl %ebp, %ebp
movsd %xmm1, 0x30(%rsp)
movq 0x8(%rsp), %rdi
movq %rsi, %rbx
movq 0x10(%rsp), %rsi
movl %r13d, %edx
movl %ebp, %ecx
callq 0x2a676
movq %rbx, %rsi
movsd 0x30(%rsp), %xmm1
movq 0x8(%rsp), %rdi
movq (%rbx,%r14,8), %rax
mulsd (%rax,%r13,8), %xmm0
divsd %xmm1, %xmm0
movq (%r12,%r14,8), %rax
movq (%rax,%r13,8), %rax
movsd %xmm0, (%rax,%rbp,8)
incq %rbp
cmpq %rbp, %r15
jne 0x2b91d
incq %r13
movslq 0x8(%rdi), %rax
cmpq %rax, %r13
movq 0x10(%rsp), %rsi
jl 0x2b8d5
leaq 0x10(%rsi), %rdx
addq $0x28, %rsi
testq %r14, %r14
cmovneq %rdx, %rsi
movq (%rsi), %rsi
incq %r14
cmpq 0x18(%rsp), %r14
jne 0x2b8c5
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: printcontemission
void printcontemission(FILE *controlfile, Gaussianptr g)
{
 int ft, ft2;
 int numrealfeatures = current_dataset->multifeaturecount - 1;
 fprintf(controlfile, "\n mean\n");
 for (ft = 0; ft < numrealfeatures; ft++)
  {
	  fprintf(controlfile, "%.14f ", g->mean[ft]);
  }
 fprintf(controlfile,"\n\ncovariance\n");
 for (ft = 0; ft < numrealfeatures; ft++)
  {
   for (ft2 = 0; ft2 < numrealfeatures; ft2++)
	    fprintf(controlfile, "%.14f ", g->covariance.values[ft][ft2]);
   fprintf(controlfile,"\n");
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xa9eaf(%rip), %rax     # 0xd5870
movq (%rax), %rax
movl 0x1c0(%rax), %r13d
leaq 0x7cd5d(%rip), %rdi     # 0xa872f
movl $0x7, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
cmpl $0x1, %r13d
jle 0x2ba8c
leal -0x1(%r13), %eax
movl %eax, %r12d
xorl %ebp, %ebp
leaq 0x7cda0(%rip), %r15     # 0xa879e
movq (%r14), %rax
movsd (%rax,%rbp,8), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x42e0
incq %rbp
cmpq %rbp, %r12
jne 0x2b9fe
leaq 0x7cc33(%rip), %rdi     # 0xa8655
movl $0xd, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
cmpl $0x2, %r13d
jl 0x2ba7d
xorl %r13d, %r13d
leaq 0x7cd5a(%rip), %r15     # 0xa879e
xorl %ebp, %ebp
movq 0x10(%r14), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%rbp,8), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x42e0
incq %rbp
cmpq %rbp, %r12
jne 0x2ba46
movl $0xa, %edi
movq %rbx, %rsi
callq 0x4150
incq %r13
cmpq %r12, %r13
jne 0x2ba44
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7cbc2(%rip), %rdi     # 0xa8655
movl $0xd, %esi
movl $0x1, %edx
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42c0
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: printcontobservation
void printcontobservation(FILE *controlfile, Instanceptr inst)
{
 int i;
 int numrealfeatures = current_dataset->multifeaturecount - 1;
 Instanceptr inst1 = inst;
 fprintf(controlfile, "observation\n ");
 for (i = 0; i < numrealfeatures; i++)
  {
	  fprintf(controlfile, "inst :%f feature:%d \n ", real_feature(inst1, i), i);
  }
 fprintf(controlfile, "\n\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xa9833(%rip), %rax     # 0xd5870
movq (%rax), %rax
movl 0x1c0(%rax), %r12d
leaq 0x7c674(%rip), %rdi     # 0xa86c2
movl $0xd, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
cmpl $0x2, %r12d
jl 0x2c092
decl %r12d
xorl %ebp, %ebp
leaq 0x7c65e(%rip), %r15     # 0xa86d0
movq %r14, %rdi
movl %ebp, %esi
callq 0x2ed6a
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %edx
movb $0x1, %al
callq 0x42e0
incl %ebp
cmpl %ebp, %r12d
jne 0x2c072
leaq 0x7b2cd(%rip), %rdi     # 0xa7366
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x42c0
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: printcontinstance
void printcontinstance(FILE *controlfile, Instanceptr inst)
{
 int i, instindex;
 Instanceptr inst1 = inst;
 int numrealfeatures = current_dataset->multifeaturecount - 1;
 fprintf(controlfile, "instance\n");
 instindex = 0;
 for (i = 0; i < numrealfeatures; i++)
  {
 	 fprintf(controlfile, "instance %d\n", instindex);
	  fprintf(controlfile, "inst :%f feature:%d \n ", real_feature(inst1, i), i);
  }
 instindex++;
 inst1 = inst1->sublist;
 while (inst1)
  {
 	 for (i = 0; i < numrealfeatures; i++)
 		 {
 			 fprintf(controlfile, "instance %d\n", instindex);
 			 fprintf(controlfile, "inst :%f feature:%d \n", real_feature(inst1, i), i);
 		 }
 		instindex++;
 		inst1 = inst1->next;
  }
 fprintf(controlfile, "\n\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xa97a2(%rip), %rax     # 0xd5870
movq (%rax), %rax
movl 0x1c0(%rax), %r12d
leal -0x1(%r12), %r15d
leaq 0x7c603(%rip), %rdi     # 0xa86e7
movl $0x9, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
movq %r12, 0x10(%rsp)
cmpl $0x2, %r12d
jl 0x2c140
leaq 0x7c5e9(%rip), %r13     # 0xa86f1
leaq 0x7c5c1(%rip), %r12     # 0xa86d0
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
xorl %eax, %eax
callq 0x42e0
movq %r14, %rdi
movl %ebp, %esi
callq 0x2ed6a
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
movb $0x1, %al
callq 0x42e0
incl %ebp
cmpl %ebp, %r15d
jne 0x2c111
movl %r15d, 0xc(%rsp)
movq 0x28(%r14), %r14
testq %r14, %r14
je 0x2c1aa
movl $0x1, %ebp
leaq 0x7c597(%rip), %r12     # 0xa86f1
movl 0xc(%rsp), %r15d
cmpl $0x2, 0x10(%rsp)
jl 0x2c19f
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
xorl %eax, %eax
callq 0x42e0
movq %r14, %rdi
movl %r13d, %esi
callq 0x2ed6a
movq %rbx, %rdi
leaq 0x7c571(%rip), %rsi     # 0xa86fe
movl %r13d, %edx
movb $0x1, %al
callq 0x42e0
incl %r13d
cmpl %r13d, %r15d
jne 0x2c169
incl %ebp
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x2c15f
leaq 0x7b1b5(%rip), %rdi     # 0xa7366
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42c0
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: printgamma
void printgamma(FILE *controlfile, double **gamma, Hmmptr hmm, int seqlen)
{
 int i, t;
 fprintf(controlfile, "\ngamma:\n");
 for (t = 0; t < seqlen; t++)
  {
 	 fprintf(controlfile, "%d ", t);
 	 for (i = 0; i < hmm->statecount; i++)
 		  fprintf(controlfile, "%.14f ", gamma[t][i]);
 	 fprintf(controlfile, "\n");
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x7c526(%rip), %rdi     # 0xa8714
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x42c0
testl %ebp, %ebp
jle 0x2c268
movl %ebp, %eax
movq %rax, (%rsp)
leaq 0x7c58d(%rip), %r13     # 0xa879e
xorl %ebp, %ebp
movq %r15, %rdi
leaq 0x83b68(%rip), %rsi     # 0xafd85
movl %ebp, %edx
xorl %eax, %eax
callq 0x42e0
cmpl $0x0, 0x8(%rbx)
jle 0x2c252
xorl %r12d, %r12d
movq (%r14,%rbp,8), %rax
movsd (%rax,%r12,8), %xmm0
movq %r15, %rdi
movq %r13, %rsi
movb $0x1, %al
callq 0x42e0
incq %r12
movslq 0x8(%rbx), %rax
cmpq %rax, %r12
jl 0x2c22f
movl $0xa, %edi
movq %r15, %rsi
callq 0x4150
incq %rbp
cmpq (%rsp), %rbp
jne 0x2c213
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: best_hmm_for_single
Hmmptr best_hmm_for_single(Instanceptr traindata, Instanceptr cvdata, Hmm_parameterptr p)
{
 /*!Last Changed 14.04.2007*/
 double ll, bestll;
 Hmmptr hmm, besthmm;
 hmm = random_hmm(2, p->statetype, 1, p->hmmtype, traindata); 
 baumwelch(hmm, traindata, p->iteration);
 ll = bestll = loglikelihood_of_hmm(hmm, cvdata);
 while (ll >= bestll)
  {
   bestll = ll;
   besthmm = clone_hmm(hmm);
   free_hmm(hmm);
   hmm = apply_operator(besthmm, 0, p, traindata);
   ll = loglikelihood_of_hmm(hmm, cvdata);  
  }
 free_hmm(hmm);
 return besthmm;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl (%rdx), %ecx
movl 0x4(%rdx), %esi
movl $0x2, %edi
movl $0x1, %edx
movq %r15, %r8
callq 0x27b0a
movq %rax, %r12
movl 0x8(%rbx), %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x2bab3
movq %r12, %rdi
movq %r14, %rsi
callq 0x2c562
ucomisd %xmm0, %xmm0
jp 0x2c560
movsd %xmm0, 0x8(%rsp)
movq %r12, %rdi
callq 0x2874b
movq %rax, %r13
movq %r12, %rdi
callq 0x27f8a
movq %r13, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x2c63e
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
callq 0x2c562
ucomisd 0x8(%rsp), %xmm0
jae 0x2c508
movq %r12, %rdi
callq 0x27f8a
movq %r13, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x2c547
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: loglikelihood_of_hmm
double loglikelihood_of_hmm(Hmmptr hmm, Instanceptr data)
{
 /*!Last Changed 04.04.2007*/
 double **alpha, *scale, ll, total_loglikelihood = 0.0;
 int seqlen, count = 0;
 Instanceptr inst;
 inst = data;
 while (inst)
  {
   seqlen = frame_count(inst);
   alpha = (double **) safemalloc_2d(sizeof(double*), sizeof(double), seqlen, hmm->statecount, "loglikelihood_of_hmm", 5);
   scale = safecalloc(seqlen, sizeof(double), "loglikelihood_of_hmm", 6);
   calc_fwd(hmm, inst, alpha, &ll, scale);   
   free_2d((void **) alpha, seqlen);
   safe_free(scale);
   total_loglikelihood += ll;
   inst = inst->next;
   count++;
  }
 return total_loglikelihood / count;
}

// Assembly:
testq %rsi, %rsi
je 0x2c635
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorpd %xmm0, %xmm0
xorl %r15d, %r15d
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x2ec88
movl %eax, %ebp
movl 0x8(%r14), %ecx
movl $0x8, %edi
movl $0x8, %esi
movl %eax, %edx
leaq 0x7c243(%rip), %r12     # 0xa87f0
movq %r12, %r8
movl $0x5, %r9d
callq 0x3a3ac
movq %rax, %r13
movslq %ebp, %rbp
movl $0x8, %esi
movq %rbp, %rdi
movq %r12, %rdx
movl $0x6, %ecx
callq 0x3a1fc
movq %rax, %r12
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
leaq 0x10(%rsp), %rcx
movq %rax, %r8
callq 0x2b2b3
movq %r13, %rdi
movl %ebp, %esi
callq 0x3a14b
movq %r12, %rdi
callq 0x3a180
movsd 0x8(%rsp), %xmm0
addsd 0x10(%rsp), %xmm0
movq 0x10(%rbx), %rbx
incl %r15d
testq %rbx, %rbx
jne 0x2c586
cvtsi2sd %r15d, %xmm1
divsd %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsd 0x796d3(%rip), %xmm0    # 0xa5d10
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: apply_operator
Hmmptr apply_operator(Hmmptr hmm, int operatortype, Hmm_parameterptr p, Instanceptr traindata)
{
 /*!Last Changed 14.04.2007*/
 Hmmptr result;
 int statecount, componentcount;
 if (p->weightfreezing)
  {
   result = clone_hmm(hmm);
   if (in_list(operatortype, 2, ADD_ONE_STATE, ADD_ONE_BOTH))
     add_state(result, 1, traindata);
   if (in_list(operatortype, 2, ADD_ONE_COMPONENT, ADD_ONE_BOTH))
     add_component(result, 1, traindata);
  }
 else
  {
   statecount = hmm->statecount;
   componentcount = get_component_count(hmm->states[0], hmm->statetype);
   if (in_list(operatortype, 2, ADD_ONE_STATE, ADD_ONE_BOTH))
     statecount++;
   if (in_list(operatortype, 2, ADD_ONE_COMPONENT, ADD_ONE_BOTH))
     componentcount++;
   result = random_hmm(statecount, p->statetype, componentcount, p->hmmtype, traindata);
  }
 baumwelch(result, traindata, p->iteration);
 return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
cmpl $0x0, 0xc(%rdx)
je 0x2c6b7
callq 0x2874b
movq %rax, %r15
movl %ebp, %edi
movl $0x2, %esi
xorl %edx, %edx
movl $0x2, %ecx
xorl %eax, %eax
callq 0x3aa8c
testl %eax, %eax
je 0x2c685
movq %r15, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq 0x29792
movl %ebp, %edi
movl $0x2, %esi
movl $0x1, %edx
movl $0x2, %ecx
xorl %eax, %eax
callq 0x3aa8c
testl %eax, %eax
je 0x2c729
movq %r15, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq 0x294e3
jmp 0x2c729
movl 0x8(%rdi), %r15d
movl 0xc(%rdi), %eax
cmpl $0x4, %eax
je 0x2c6cb
xorl %r12d, %r12d
cmpl $0x2, %eax
jne 0x2c6d6
movq (%rdi), %rax
movq 0x18(%rax), %rax
movl 0x8(%rax), %r12d
movl %ebp, %edi
movl $0x2, %esi
xorl %edx, %edx
movl $0x2, %ecx
xorl %eax, %eax
callq 0x3aa8c
cmpl $0x1, %eax
sbbl $-0x1, %r15d
movl %ebp, %edi
movl $0x2, %esi
movl $0x1, %edx
movl $0x2, %ecx
xorl %eax, %eax
callq 0x3aa8c
cmpl $0x1, %eax
sbbl $-0x1, %r12d
movl (%r14), %ecx
movl 0x4(%r14), %esi
movl %r15d, %edi
movl %r12d, %edx
movq %rbx, %r8
callq 0x27b0a
movq %rax, %r15
movl 0x8(%r14), %edx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2bab3
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: best_hmm_for_mixture
Hmmptr best_hmm_for_mixture(Instanceptr traindata, Instanceptr cvdata, Hmm_parameterptr p)
{
 /*!Last Changed 14.04.2007*/
 HMM_OPERATOR_TYPE bestone = ADD_ONE_STATE;
 int i;
 double ll[HMM_OPERATORS], bestll;
 Hmmptr hmm[HMM_OPERATORS], besthmm;
 hmm[ADD_ONE_STATE] = random_hmm(2, p->statetype, 1, p->hmmtype, traindata);
 hmm[ADD_ONE_COMPONENT] = clone_hmm(hmm[ADD_ONE_STATE]);
 hmm[ADD_ONE_BOTH] = clone_hmm(hmm[ADD_ONE_STATE]);
 baumwelch(hmm[ADD_ONE_STATE], traindata, p->iteration);
 ll[ADD_ONE_STATE] = bestll = loglikelihood_of_hmm(hmm[ADD_ONE_STATE], cvdata);
 while (bestone != NO_CHANGE)
  {
   besthmm = clone_hmm(hmm[bestone]);
   for (i = 0; i < HMM_OPERATORS; i++)
    {
     free_hmm(hmm[i]);
     hmm[i] = apply_operator(besthmm, i, p, traindata);
    }
   bestone = NO_CHANGE;
   for (i = 0; i < HMM_OPERATORS; i++)
    {     
     ll[i] = loglikelihood_of_hmm(hmm[i], cvdata);  
     if (ll[i] > bestll)
      {
       bestone = i;
       bestll = ll[i];
      }
    }
  }
 for (i = 0; i < HMM_OPERATORS; i++)
   free_hmm(hmm[i]);
 return besthmm;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl (%rdx), %ecx
movl 0x4(%rdx), %esi
movl $0x2, %edi
movl $0x1, %edx
movq %r15, %r8
callq 0x27b0a
movq %rax, %r12
movq %rax, 0x10(%rsp)
movq %rax, %rdi
callq 0x2874b
movq %rax, 0x18(%rsp)
movq %r12, %rdi
callq 0x2874b
movq %rax, 0x20(%rsp)
movl 0x8(%rbx), %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x2bab3
movq %r12, %rdi
movq %r14, %rsi
callq 0x2c562
xorl %r13d, %r13d
movsd %xmm0, 0x8(%rsp)
movslq %r13d, %rax
movq 0x10(%rsp,%rax,8), %rdi
callq 0x2874b
movq %rax, %r12
xorl %r13d, %r13d
movq 0x10(%rsp,%r13,8), %rdi
callq 0x27f8a
movq %r12, %rdi
movl %r13d, %esi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x2c63e
movq %rax, 0x10(%rsp,%r13,8)
incq %r13
cmpq $0x3, %r13
jne 0x2c7c9
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
xorl %ebp, %ebp
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rsp,%rbp,8), %rdi
movq %r14, %rsi
callq 0x2c562
movsd 0x8(%rsp), %xmm1
ucomisd %xmm1, %xmm0
cmoval %ebp, %r13d
maxsd %xmm1, %xmm0
incq %rbp
cmpq $0x3, %rbp
jne 0x2c800
cmpl $-0x1, %r13d
jne 0x2c7b0
xorl %ebx, %ebx
movq 0x10(%rsp,%rbx,8), %rdi
callq 0x27f8a
incq %rbx
cmpq $0x3, %rbx
jne 0x2c83a
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: hmm_error_rate
double hmm_error_rate(Hmmptr* model, Instanceptr data)
{
 /*!Last Changed 14.04.2007*/
 int wrong = 0, count = 0, real, predicted;
 Instanceptr tmp = data;
 while (tmp)
  {
   real = give_classno(tmp);
   predicted = test_hmm_instance(tmp, model);
   if (real != predicted)
     wrong++;
   tmp = tmp->next;
   count++;
  }
 return wrong / (count + 0.0);
}

// Assembly:
testq %rsi, %rsi
je 0x2caa4
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movq %rbx, %rdi
callq 0x2f33a
movl %eax, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2caad
xorl %ecx, %ecx
cmpl %eax, %ebp
setne %cl
addl %ecx, %r15d
movq 0x10(%rbx), %rbx
incl %r12d
testq %rbx, %rbx
jne 0x2ca62
cvtsi2sd %r15d, %xmm0
cvtsi2sd %r12d, %xmm1
divsd %xmm1, %xmm0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movsd 0x79264(%rip), %xmm0    # 0xa5d10
retq
// File: /workspace/github_c_makefile_star2_O3/olcaytaner[P]Isell/hmm.c
// Function: test_hmm_instance
int test_hmm_instance(Instanceptr inst, Hmmptr* hmmarray)
{
 /*!Last Changed 14.04.2007*/
 int i, maxclass = -1, seqlen;
 double maxll, ll, **alpha, *scale;
 seqlen = frame_count(inst);
 for (i = 0; i < current_dataset->classno; i++)
  {
   alpha = (double **) safemalloc_2d(sizeof(double*), sizeof(double), seqlen, hmmarray[i]->statecount, "test_hmm_instance", 6);
   scale = safecalloc(seqlen, sizeof(double), "test_hmm_instance", 7);
   calc_fwd(hmmarray[i], inst, alpha, &ll, scale);
   if (maxclass == -1 || ll > maxll)
    {
     maxll = ll;
     maxclass = i;
    }
   free_2d((void **) alpha, seqlen);
   safe_free(scale);
  }
 return maxclass;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
callq 0x2ec88
movl %eax, %ebp
leaq 0xa8d9f(%rip), %rax     # 0xd5870
movq (%rax), %rax
cmpl $0x0, 0x10(%rax)
jle 0x2cba9
movslq %ebp, %rax
movq %rax, 0x8(%rsp)
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
xorl %r13d, %r13d
movq (%rbx,%r13,8), %rax
movl 0x8(%rax), %ecx
movl $0x8, %edi
movl $0x8, %esi
movl %ebp, %edx
leaq 0x7bcd5(%rip), %r12     # 0xa87de
movq %r12, %r8
movl $0x6, %r9d
callq 0x3a3ac
movq %rax, %r14
movl $0x8, %esi
movq 0x8(%rsp), %rdi
movq %r12, %rdx
movl $0x7, %ecx
callq 0x3a1fc
movq %rax, %r12
movq (%rbx,%r13,8), %rdi
movq 0x10(%rsp), %rsi
movq %r14, %rdx
leaq 0x20(%rsp), %rcx
movq %rax, %r8
callq 0x2b2b3
cmpl $-0x1, %r15d
sete %al
movsd 0x20(%rsp), %xmm1
movsd 0x18(%rsp), %xmm0
ucomisd %xmm0, %xmm1
seta %cl
orb %al, %cl
testb %cl, %cl
jne 0x2cb71
movapd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
cmovnel %r13d, %r15d
movq %r14, %rdi
movl %ebp, %esi
callq 0x3a14b
movq %r12, %rdi
callq 0x3a180
incq %r13
leaq 0xa8cd9(%rip), %rax     # 0xd5870
movq (%rax), %rax
movslq 0x10(%rax), %rax
cmpq %rax, %r13
jl 0x2caef
jmp 0x2cbaf
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl %r15d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)