// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/algorithm.c
// Function: display_output
void display_output(int algorithm, void* model)
{
 /*!Last Changed 29.08.2005*/
 Ruleset r;
 Decisionnodeptr rootnode;
 switch (algorithm)
  {
   case C45          :rootnode = (Decisionnodeptr) model;
                      if (get_parameter_o("writerules"))
                       {
                        r = create_ruleset_from_decision_tree(rootnode);
                        write_ruleset(r);
                        free_ruleset(r);
                       }
                      break;
   case LDT          :
   case MULTILDT     :rootnode = (Decisionnodeptr) model;
                      if (get_parameter_o("writerules"))
                       {
                        r = create_ruleset_from_decision_tree(rootnode);
                        write_ruleset(r);
                        free_ruleset(r);
                       }
                      break;
   case OMNILDT      :rootnode = (Decisionnodeptr) model;
                      if (get_parameter_o("writerules"))
                       {
                        r = create_ruleset_from_decision_tree(rootnode);
                        write_ruleset(r);
                        free_ruleset(r);
                       }
                      break;
   case IREP         :
   case IREP2        :
   case RIPPER       :
   case C45RULES     :
   case MULTIRIPPER  :r = *((Ruleset*) model);
                      if (get_parameter_o("writerules"))
                        write_ruleset(r);
                      break;
   case HYBRIDRIPPER :r = *((Ruleset*) model);
                      if (get_parameter_o("writerules"))
                        write_ruleset(r);
                      break; 
   case REXRIPPER    :r = ((Model_rexripperptr) model)->r;
                      if (get_parameter_o("writerules"))
                        write_ruleset(r);
                      break;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movl -0x4(%rbp), %eax
addl $0xfffffc16, %eax       # imm = 0xFFFFFC16
movl %eax, %ecx
movq %rcx, -0xc0(%rbp)
subl $0xd, %eax
ja 0x8a8f
movq -0xc0(%rbp), %rax
leaq 0xd9816(%rip), %rcx     # 0xe2050
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0xd9fb6(%rip), %rdi     # 0xe2808
callq 0x79440
cmpl $0x0, %eax
je 0x88b9
movq -0x40(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0xb260
leaq -0x38(%rbp), %rdi
leaq -0x68(%rbp), %rsi
movl $0x28, %edx
callq 0x42b0
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xacea0
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xaddb0
jmp 0x8a8f
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0xd9f3b(%rip), %rdi     # 0xe2808
callq 0x79440
cmpl $0x0, %eax
je 0x893a
movq -0x40(%rbp), %rsi
leaq -0x90(%rbp), %rdi
callq 0xb260
leaq -0x38(%rbp), %rdi
leaq -0x90(%rbp), %rsi
movl $0x28, %edx
callq 0x42b0
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xacea0
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xaddb0
jmp 0x8a8f
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0xd9eba(%rip), %rdi     # 0xe2808
callq 0x79440
cmpl $0x0, %eax
je 0x89bb
movq -0x40(%rbp), %rsi
leaq -0xb8(%rbp), %rdi
callq 0xb260
leaq -0x38(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
movl $0x28, %edx
callq 0x42b0
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xacea0
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xaddb0
jmp 0x8a8f
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movl $0x28, %edx
callq 0x42b0
leaq 0xd9e2f(%rip), %rdi     # 0xe2808
callq 0x79440
cmpl $0x0, %eax
je 0x8a02
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xacea0
jmp 0x8a8f
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movl $0x28, %edx
callq 0x42b0
leaq 0xd9de8(%rip), %rdi     # 0xe2808
callq 0x79440
cmpl $0x0, %eax
je 0x8a49
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xacea0
jmp 0x8a8f
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movl $0x28, %edx
callq 0x42b0
leaq 0xd9da4(%rip), %rdi     # 0xe2808
callq 0x79440
cmpl $0x0, %eax
je 0x8a8d
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x20(%rax)
movups -0x38(%rbp), %xmm0
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xacea0
jmp 0x8a8f
addq $0xf0, %rsp
popq %rbp
retq
nopl (%rax,%rax)