// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/plot.c
// Function: plotdata2d
void plotdata2d(Instanceptr data, Datasetptr d, int fno1, int fno2)
{
 /*!Last Changed 21.09.2006 added save_axes*/
 /*!Last Changed 08.10.2004 added img.xaxis.lim and img.yaxis.lim*/
 /*!Last Changed 29.09.2004 added is_class_plotted*/
 /*!Last Changed 26.09.2004*/
 char st[2];
 int classno;
 Instanceptr tmp;
 Point p1;
 if (!get_parameter_o("hold"))
   clear_image();
 img.yaxis.available = 1;
 if (img.xaxis.lim.min >= img.xaxis.lim.max)
   find_bounds_of_feature(current_dataset, data, fno1, &(img.xaxis.lim.min), &(img.xaxis.lim.max));
 if (img.yaxis.lim.min >= img.yaxis.lim.max)
   find_bounds_of_feature(current_dataset, data, fno2, &(img.yaxis.lim.min), &(img.yaxis.lim.max));
 tmp = data;
 while (tmp)
  {
   if (d->features[fno1].type == INTEGER)
     p1.x = (double) tmp->values[fno1].intvalue;
   else
     p1.x = tmp->values[fno1].floatvalue;
   if (d->features[fno2].type == INTEGER)
     p1.y = (double) tmp->values[fno2].intvalue;
   else
     p1.y = tmp->values[fno2].floatvalue;
   if (d->classno != 0)
    {
     classno = give_classno(tmp);
     if (((int *)get_parameter_a("is_class_plotted"))[classno])
      {
       st[0] = plots[classno];
       st[1] = '\0';
       add_object(OBJECT_STRING, p1, dummyp, dummyp, st);
      }     
    }
   else
    { 
     st[0] = '.';
     st[1] = '\0';
     add_object(OBJECT_STRING, p1, dummyp, dummyp, st);
    }
   tmp = tmp->next;
  }
 export_image();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
leaq 0x669eb(%rip), %rdi     # 0xe7308
callq 0x79440
cmpl $0x0, %eax
jne 0x8092e
movb $0x0, %al
callq 0x41a40
leaq 0x361753(%rip), %rax    # 0x3e2088
movl $0x1, 0x78(%rax)
leaq 0x361745(%rip), %rax    # 0x3e2088
movsd 0x10(%rax), %xmm0
leaq 0x361739(%rip), %rax    # 0x3e2088
ucomisd 0x18(%rax), %xmm0
jb 0x80982
leaq 0x84ee3(%rip), %rax     # 0x105840
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
movl -0x14(%rbp), %edx
leaq 0x36171a(%rip), %rcx    # 0x3e2088
addq $0x8, %rcx
addq $0x8, %rcx
movq %rcx, %r8
addq $0x8, %r8
callq 0x178c0
leaq 0x3616ff(%rip), %rax    # 0x3e2088
movsd 0x80(%rax), %xmm0
leaq 0x3616f0(%rip), %rax    # 0x3e2088
ucomisd 0x88(%rax), %xmm0
jb 0x809ce
leaq 0x84e97(%rip), %rax     # 0x105840
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
movl -0x18(%rbp), %edx
leaq 0x3616ce(%rip), %rcx    # 0x3e2088
addq $0x78, %rcx
addq $0x8, %rcx
movq %rcx, %r8
addq $0x8, %r8
callq 0x178c0
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x80b3f
movq -0x10(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movslq -0x14(%rbp), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
cmpl $0x0, (%rax)
jne 0x80a15
movq -0x28(%rbp), %rax
movq (%rax), %rax
movslq -0x14(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x38(%rbp)
jmp 0x80a2a
movq -0x28(%rbp), %rax
movq (%rax), %rax
movslq -0x14(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movslq -0x18(%rbp), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
cmpl $0x0, (%rax)
jne 0x80a5e
movq -0x28(%rbp), %rax
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x30(%rbp)
jmp 0x80a73
movq -0x28(%rbp), %rax
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x80aee
movq -0x28(%rbp), %rdi
callq 0x43530
movl %eax, -0x20(%rbp)
leaq 0x66d23(%rip), %rdi     # 0xe77b3
callq 0x79530
movslq -0x20(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x80aec
movslq -0x20(%rbp), %rcx
leaq 0x84586(%rip), %rax     # 0x105030
movb (%rax,%rcx), %al
movb %al, -0x1a(%rbp)
movb $0x0, -0x19(%rbp)
leaq -0x1a(%rbp), %rsi
movsd -0x38(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd 0x84576(%rip), %xmm2    # 0x105040
movsd 0x84576(%rip), %xmm3    # 0x105048
movsd 0x84566(%rip), %xmm4    # 0x105040
movsd 0x84566(%rip), %xmm5    # 0x105048
movl $0x1, %edi
callq 0x3f100
jmp 0x80b2e
movb $0x2e, -0x1a(%rbp)
movb $0x0, -0x19(%rbp)
leaq -0x1a(%rbp), %rsi
movsd -0x38(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
movsd 0x84534(%rip), %xmm2    # 0x105040
movsd 0x84534(%rip), %xmm3    # 0x105048
movsd 0x84524(%rip), %xmm4    # 0x105040
movsd 0x84524(%rip), %xmm5    # 0x105048
movl $0x1, %edi
callq 0x3f100
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x809d6
movb $0x0, %al
callq 0x42280
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)