// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/plot.c
// Function: plotxyline
void plotxyline(char* names, int linecolor, double linewidth)
{
 /*!Last Changed 20.09.2006 added line types*/
 /*!Last Changed 06.09.2006 incremented legendcount*/
 /*!Last Changed 08.10.2004 added img.xaxis.lim and img.yaxis.lim*/
 /*!Last Changed 02.02.2004 added safemalloc*/
 double** observations;
 int j, counts;
 char st2[3], *legendname;
 Point p1, p2;
 Objectptr obj;
 if (!get_parameter_o("hold"))
   clear_image();
 img.yaxis.available = 1;
 legendname = file_only_name(names); 
 add_legend((char) ('a' + img.imagelegend.legendcount), legendname);
 safe_free(legendname);
 observations = read_2d_observations(names, &counts);
 sprintf(st2, "%d", img.imagelegend.legendcount - 1);
 for (j = 0; j < counts - 1; j++)
  {
   p1.x = (double) (observations[0][j]);
   p1.y = (double) (observations[1][j]);
   p2.x = (double) (observations[0][j+1]);
   p2.y = (double) (observations[1][j+1]);
   obj = add_object(OBJECT_LINE, p1, p2, dummyp, st2);
   obj->fnt.fontcolor = linecolor;
   obj->fnt.fontsize = linewidth;
  }
 safe_free(observations[0]);
 safe_free(observations[1]);
 safe_free(observations);
 export_image();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movsd %xmm0, -0x18(%rbp)
leaq 0x66b8d(%rip), %rdi     # 0xe7308
callq 0x79440
cmpl $0x0, %eax
jne 0x8078c
movb $0x0, %al
callq 0x41a40
leaq 0x3618f5(%rip), %rax    # 0x3e2088
movl $0x1, 0x78(%rax)
movq -0x8(%rbp), %rdi
callq 0x510a0
movq %rax, -0x38(%rbp)
leaq 0x3618da(%rip), %rax    # 0x3e2088
movl 0xec(%rax), %eax
addl $0x61, %eax
movq -0x38(%rbp), %rsi
movsbl %al, %edi
callq 0x3efa0
movq -0x38(%rbp), %rdi
callq 0x52e80
movq -0x8(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x7fca0
movq %rax, -0x20(%rbp)
leaq -0x2b(%rbp), %rdi
leaq 0x3618a0(%rip), %rax    # 0x3e2088
movl 0xec(%rax), %edx
subl $0x1, %edx
leaq 0x6ca6d(%rip), %rsi     # 0xed265
movb $0x0, %al
callq 0x4170
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x808d0
movq -0x20(%rbp), %rax
movq (%rax), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x58(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x50(%rbp)
leaq -0x2b(%rbp), %rsi
movsd -0x48(%rbp), %xmm0
movsd -0x40(%rbp), %xmm1
movsd -0x58(%rbp), %xmm2
movsd -0x50(%rbp), %xmm3
movsd 0x847a9(%rip), %xmm4    # 0x105040
movsd 0x847a9(%rip), %xmm5    # 0x105048
xorl %edi, %edi
callq 0x3f100
movq %rax, -0x60(%rbp)
movl -0xc(%rbp), %ecx
movq -0x60(%rbp), %rax
movl %ecx, 0x18(%rax)
movsd -0x18(%rbp), %xmm0
movq -0x60(%rbp), %rax
movsd %xmm0, 0x10(%rax)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x80806
movq -0x20(%rbp), %rax
movq (%rax), %rdi
callq 0x52e80
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x52e80
movq -0x20(%rbp), %rdi
callq 0x52e80
movb $0x0, %al
callq 0x42280
addq $0x60, %rsp
popq %rbp
retq
nop