// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/dataset.c
// Function: print_datasets
void print_datasets(Datasetptr header, DATASET_TYPE printwhat)
{
 int i=1;
 Datasetptr dataset=header;
 if (!dataset)
  {
   printf(m1056);
   return;
  }
 printf("|Dataset Name      |# of Classes|# of Features|# of Instances|Base Error|\n");
 while (dataset)
  {
   if (printwhat == ALL || (printwhat == CLASSIFICATION_DATASETS && dataset->classno > 0) || (printwhat == REGRESSION_DATASETS && dataset->classno == 0) || (printwhat == TWOCLASS_DATASETS && dataset->classno == 2) || (printwhat == KCLASS_DATASETS && dataset->classno > 2) || (printwhat == DISCRETE_DATASETS && number_of_symbolic_features(dataset->name) == dataset->featurecount - 1) || (printwhat == CONTINUOUS_DATASETS && number_of_numeric_features(dataset->name) == dataset->featurecount - 1) || (printwhat == MIXED_DATASETS && number_of_numeric_features(dataset->name) != dataset->featurecount - 1 && number_of_symbolic_features(dataset->name) != dataset->featurecount - 1))
    {
     printf("|%18s|%12d|%13d|%14d|%10.2f|\n", dataset->name, dataset->classno, dataset->featurecount, dataset->datacount, dataset->baseerror);
     i++;  
    }
   dataset=dataset->next;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x1, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x22a78
leaq 0xc1452(%rip), %rdi     # 0xe3ebe
movb $0x0, %al
callq 0x4030
jmp 0x22bd4
leaq 0xc1456(%rip), %rdi     # 0xe3ed5
movb $0x0, %al
callq 0x4030
cmpq $0x0, -0x18(%rbp)
je 0x22bd4
cmpl $0x0, -0xc(%rbp)
je 0x22b79
cmpl $0x1, -0xc(%rbp)
jne 0x22aaf
movq -0x18(%rbp), %rax
cmpl $0x0, 0x10(%rax)
jg 0x22b79
cmpl $0x2, -0xc(%rbp)
jne 0x22ac3
movq -0x18(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x22b79
cmpl $0x3, -0xc(%rbp)
jne 0x22ad7
movq -0x18(%rbp), %rax
cmpl $0x2, 0x10(%rax)
je 0x22b79
cmpl $0x4, -0xc(%rbp)
jne 0x22aeb
movq -0x18(%rbp), %rax
cmpl $0x2, 0x10(%rax)
jg 0x22b79
cmpl $0x5, -0xc(%rbp)
jne 0x22b0f
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1dd80
movq -0x18(%rbp), %rcx
movl 0x1bc(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
je 0x22b79
cmpl $0x6, -0xc(%rbp)
jne 0x22b33
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1def0
movq -0x18(%rbp), %rcx
movl 0x1bc(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
je 0x22b79
cmpl $0x7, -0xc(%rbp)
jne 0x22bc0
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1def0
movq -0x18(%rbp), %rcx
movl 0x1bc(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
je 0x22bc0
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1dd80
movq -0x18(%rbp), %rcx
movl 0x1bc(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
je 0x22bc0
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x18(%rbp), %rax
movl 0x10(%rax), %edx
movq -0x18(%rbp), %rax
movl 0x1bc(%rax), %ecx
movq -0x18(%rbp), %rax
movl 0x1407120(%rax), %r8d
movq -0x18(%rbp), %rax
movsd 0x1407208(%rax), %xmm0
leaq 0xc1370(%rip), %rdi     # 0xe3f20
movb $0x1, %al
callq 0x4030
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq 0x1407270(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x22a86
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)