// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/plot.c
// Function: box_plot
void box_plot(char** names, int filecount)
{
 /*!Last Changed 20.09.2006*/
 /*!Last Changed 11.07.2005*/
 int count, i;
 Point p1, p2, p3;
 char* plotname, st2[3];
 plotname = file_only_name(names[0]); 
 if (!get_parameter_o("hold"))
   clear_image();
 for (i = 0; i < filecount; i++)
  {
   p1.x = file_percentile(names[i], 50);
   p1.y = file_percentile(names[i], 25);
   p2.x = file_percentile(names[i], 75);
   p2.y = i;
   file_whiskers(names[i], p1.y, p2.x, &(p3.x), &(p3.y));
   sprintf(st2, "%d", img.xaxis.namesavailable);
   add_object(OBJECT_BOXPLOT, p1, p2, p3, st2);
  }
 img.xaxis.namesavailable++;
 count = img.xaxis.namesavailable;
 img.xaxis.names = alloc(img.xaxis.names, count * sizeof(char *), count); 
 img.xaxis.names[count - 1] = strcopy(img.xaxis.names[count - 1], plotname);
 safe_free(plotname);
 img.xaxis.limitsset = 1;
 img.xaxis.lim.division = img.xaxis.namesavailable;
 img.xaxis.lim.min = 0;
 img.xaxis.lim.max = img.xaxis.namesavailable;
 img.xaxis.lim.precision = 0;
 export_image();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
callq 0x510a0
movq %rax, -0x50(%rbp)
leaq 0x67c72(%rip), %rdi     # 0xe7308
callq 0x79440
cmpl $0x0, %eax
jne 0x7f6a7
movb $0x0, %al
callq 0x41a40
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x7f79b
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movsd 0x6800a(%rip), %xmm0    # 0xe76d8
callq 0xc41b0
movsd %xmm0, -0x28(%rbp)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movsd 0x67fe4(%rip), %xmm0    # 0xe76d0
callq 0xc41b0
movsd %xmm0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movsd 0x67fbe(%rip), %xmm0    # 0xe76c8
callq 0xc41b0
movsd %xmm0, -0x38(%rbp)
cvtsi2sdl -0x14(%rbp), %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movsd -0x20(%rbp), %xmm0
movsd -0x38(%rbp), %xmm1
leaq -0x48(%rbp), %rsi
leaq -0x48(%rbp), %rdx
addq $0x8, %rdx
callq 0xc4040
leaq -0x53(%rbp), %rdi
leaq 0x362938(%rip), %rax    # 0x3e2088
movl 0x38(%rax), %edx
leaq 0x6db0b(%rip), %rsi     # 0xed265
movb $0x0, %al
callq 0x4170
leaq -0x53(%rbp), %rsi
movsd -0x28(%rbp), %xmm0
movsd -0x20(%rbp), %xmm1
movsd -0x38(%rbp), %xmm2
movsd -0x30(%rbp), %xmm3
movsd -0x48(%rbp), %xmm4
movsd -0x40(%rbp), %xmm5
movl $0x4, %edi
callq 0x3f100
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x7f6ae
leaq 0x3628e6(%rip), %rax    # 0x3e2088
movl 0x38(%rax), %ecx
addl $0x1, %ecx
leaq 0x3628d9(%rip), %rax    # 0x3e2088
movl %ecx, 0x38(%rax)
leaq 0x3628cf(%rip), %rax    # 0x3e2088
movl 0x38(%rax), %eax
movl %eax, -0x10(%rbp)
leaq 0x3628c2(%rip), %rax    # 0x3e2088
movq 0x30(%rax), %rdi
movslq -0x10(%rbp), %rsi
shlq $0x3, %rsi
movl -0x10(%rbp), %edx
callq 0x52d10
movq %rax, %rcx
leaq 0x3628a4(%rip), %rax    # 0x3e2088
movq %rcx, 0x30(%rax)
leaq 0x362899(%rip), %rax    # 0x3e2088
movq 0x30(%rax), %rax
movl -0x10(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
movq -0x50(%rbp), %rsi
callq 0x54ba0
movq %rax, %rdx
leaq 0x362875(%rip), %rax    # 0x3e2088
movq 0x30(%rax), %rax
movl -0x10(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x50(%rbp), %rdi
callq 0x52e80
leaq 0x362854(%rip), %rax    # 0x3e2088
movl $0x1, 0x28(%rax)
leaq 0x362846(%rip), %rax    # 0x3e2088
movl 0x38(%rax), %ecx
leaq 0x36283c(%rip), %rax    # 0x3e2088
movl %ecx, 0x20(%rax)
leaq 0x362832(%rip), %rax    # 0x3e2088
xorps %xmm0, %xmm0
movsd %xmm0, 0x10(%rax)
leaq 0x362823(%rip), %rax    # 0x3e2088
cvtsi2sdl 0x38(%rax), %xmm0
leaq 0x362817(%rip), %rax    # 0x3e2088
movsd %xmm0, 0x18(%rax)
leaq 0x36280b(%rip), %rax    # 0x3e2088
movl $0x0, 0x24(%rax)
movb $0x0, %al
callq 0x42280
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)