// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: print_instance_with_extra_features
void print_instance_with_extra_features(FILE* outfile, char s, Datasetptr d, Instanceptr currentinstance, int extra_features)
{
	int i, sindex;
	char pst[READLINELENGTH];
 for (i = 0; i < d->featurecount; i++)
   switch (d->features[i].type)
    {
     case  INTEGER:if (currentinstance->values[i].intvalue == ISELL)
                     fprintf(outfile,"?%c", s);
                   else
                     fprintf(outfile,"%d%c", currentinstance->values[i].intvalue, s);
                   break;
     case     REAL:if (currentinstance->values[i].floatvalue == ISELL)
                     fprintf(outfile,"?%c", s);
                   else
                     fprintf(outfile, "%5.6f%c", currentinstance->values[i].floatvalue, s);
                   break;
     case   STRING:sindex = currentinstance->values[i].stringindex;
                   if (sindex == -1)
                     fprintf(outfile, "?%c", s);
                   else
                     fprintf(outfile, "%s%c", d->features[i].strings[sindex], s);
                   break;
     case CLASSDEF:break;
     default      :printf(m1238, d->features[i].type);
                   break;
    }
 for (i = 0; i < extra_features; i++)
   fprintf(outfile, "%5.6f%c", produce_normal_value(0, 1), s);
 if (d->classno != 0)
   fprintf(outfile,"%s", d->features[d->classdefno].strings[give_classno(currentinstance)]);
 else
   if (d->classdefno != -1)
    {
     set_precision(pst, NULL, NULL);
     fprintf(outfile, pst, give_regressionvalue(currentinstance));                  
    }
 fprintf(outfile,"\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x7a180, %rsp          # imm = 0x7A180
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x1bc(%rcx), %eax
jge 0x433f3
movq -0x18(%rbp), %rax
movslq -0x28(%rbp), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
movl 0x30f08(%rax,%rcx), %eax
movq %rax, -0x7a158(%rbp)
subq $0x3, %rax
ja 0x433bb
movq -0x7a158(%rbp), %rax
leaq 0xa232c(%rip), %rcx     # 0xe55bc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x20(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
cmpl $0x75bcd15, (%rax,%rcx,8) # imm = 0x75BCD15
jne 0x432c5
movq -0x8(%rbp), %rdi
movsbl -0x9(%rbp), %edx
leaq 0xa2349(%rip), %rsi     # 0xe5605
movb $0x0, %al
callq 0x4280
jmp 0x432e9
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movl (%rax,%rcx,8), %edx
movsbl -0x9(%rbp), %ecx
leaq 0x9ff09(%rip), %rsi     # 0xe31eb
movb $0x0, %al
callq 0x4280
jmp 0x433e3
movq -0x20(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd 0x9f692(%rip), %xmm1    # 0xe2998
ucomisd %xmm1, %xmm0
jne 0x43326
jp 0x43326
movq -0x8(%rbp), %rdi
movsbl -0x9(%rbp), %edx
leaq 0xa22e8(%rip), %rsi     # 0xe5605
movb $0x0, %al
callq 0x4280
jmp 0x4334c
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsbl -0x9(%rbp), %edx
leaq 0xa22c4(%rip), %rsi     # 0xe5609
movb $0x1, %al
callq 0x4280
jmp 0x433e3
movq -0x20(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x2c(%rbp)
cmpl $-0x1, -0x2c(%rbp)
jne 0x43380
movq -0x8(%rbp), %rdi
movsbl -0x9(%rbp), %edx
leaq 0xa228e(%rip), %rsi     # 0xe5605
movb $0x0, %al
callq 0x4280
jmp 0x433b7
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movslq -0x28(%rbp), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
movslq -0x2c(%rbp), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movsbl -0x9(%rbp), %ecx
leaq 0x9fe40(%rip), %rsi     # 0xe31f0
movb $0x0, %al
callq 0x4280
jmp 0x433e3
jmp 0x433e3
movq -0x18(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movslq -0x28(%rbp), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
movl (%rax), %esi
leaq 0x9fc12(%rip), %rdi     # 0xe2fee
movb $0x0, %al
callq 0x4030
jmp 0x433e5
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x43248
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x43441
movq -0x8(%rbp), %rax
movq %rax, -0x7a160(%rbp)
xorps %xmm0, %xmm0
movsd 0x9ec00(%rip), %xmm1    # 0xe2018
callq 0xc4710
movq -0x7a160(%rbp), %rdi
movsbl -0x9(%rbp), %edx
leaq 0xa21da(%rip), %rsi     # 0xe5609
movb $0x1, %al
callq 0x4280
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x433fa
movq -0x18(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x434ad
movq -0x8(%rbp), %rax
movq %rax, -0x7a170(%rbp)
movq -0x18(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movq -0x18(%rbp), %rcx
movslq 0x1407128(%rcx), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
movq %rax, -0x7a168(%rbp)
movq -0x20(%rbp), %rdi
callq 0x43530
movq -0x7a170(%rbp), %rdi
movl %eax, %ecx
movq -0x7a168(%rbp), %rax
movslq %ecx, %rcx
movq 0x20(%rax,%rcx,8), %rdx
leaq 0xa15f4(%rip), %rsi     # 0xe4a98
movb $0x0, %al
callq 0x4280
jmp 0x43506
movq -0x18(%rbp), %rax
cmpl $-0x1, 0x1407128(%rax)
je 0x43504
leaq -0x7a150(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x53310
movq -0x8(%rbp), %rax
movq %rax, -0x7a180(%rbp)
leaq -0x7a150(%rbp), %rax
movq %rax, -0x7a178(%rbp)
movq -0x20(%rbp), %rdi
callq 0x43580
movq -0x7a180(%rbp), %rdi
movq -0x7a178(%rbp), %rsi
movb $0x1, %al
callq 0x4280
jmp 0x43506
movq -0x8(%rbp), %rdi
leaq 0xa282a(%rip), %rsi     # 0xe5d3b
movb $0x0, %al
callq 0x4280
addq $0x7a180, %rsp          # imm = 0x7A180
popq %rbp
retq
nopw %cs:(%rax,%rax)