// File: /workspace/github_c_makefile_star2_O1/olcaytaner[P]Isell/pstricks.c
// Function: save_axes_pstricks
void save_axes_pstricks(FILE* myfile)
{
 double xdivision, ydivision;
 char* ticks_none = "none";
 char* ticks_all = "all";
 char* ticks;
 if (img.xaxis.lim.division == 0)
   xdivision = (img.xaxis.lim.max - img.xaxis.lim.min) / 10;
 else
   xdivision = (img.xaxis.lim.max - img.xaxis.lim.min) / img.xaxis.lim.division;
 if (img.yaxis.lim.division == 0)
   ydivision = (img.yaxis.lim.max - img.yaxis.lim.min) / 10;
 else
   ydivision = (img.yaxis.lim.max - img.yaxis.lim.min) / img.yaxis.lim.division;
 if (get_parameter_o("showticks"))
   ticks = ticks_all;
 else
   ticks = ticks_none;
 if (img.xaxis.available && img.yaxis.available)
  {
   switch (img.xaxis.lim.precision)
    {
      case 0:
     default:switch (img.yaxis.lim.precision)
              {
                case 0:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.0f,Dy=%.0f,Ox=%.0f,Oy=%.0f](%.0f,%.0f)(%.0f,%.0f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
               default:break;
                case 1:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.0f,Dy=%.1f,Ox=%.0f,Oy=%.1f](%.0f,%.1f)(%.0f,%.1f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 2:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.0f,Dy=%.2f,Ox=%.0f,Oy=%.2f](%.0f,%.2f)(%.0f,%.2f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 3:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.0f,Dy=%.3f,Ox=%.0f,Oy=%.3f](%.0f,%.3f)(%.0f,%.3f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
               }
             break;
      case 1:switch (img.yaxis.lim.precision)
              {
                case 0:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.1f,Dy=%.0f,Ox=%.1f,Oy=%.0f](%.1f,%.0f)(%.1f,%.0f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
               default:break;
                case 1:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.1f,Dy=%.1f,Ox=%.1f,Oy=%.1f](%.1f,%.1f)(%.1f,%.1f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 2:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.1f,Dy=%.2f,Ox=%.1f,Oy=%.2f](%.1f,%.2f)(%.1f,%.2f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 3:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.1f,Dy=%.3f,Ox=%.1f,Oy=%.3f](%.1f,%.3f)(%.1f,%.3f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
              }
             break;
      case 2:switch (img.yaxis.lim.precision)
              {
                case 0:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.2f,Dy=%.0f,Ox=%.2f,Oy=%.0f](%.2f,%.0f)(%.2f,%.0f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
               default:break;
                case 1:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.2f,Dy=%.1f,Ox=%.2f,Oy=%.1f](%.2f,%.1f)(%.2f,%.1f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 2:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.2f,Dy=%.2f,Ox=%.2f,Oy=%.2f](%.2f,%.2f)(%.2f,%.2f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 3:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.2f,Dy=%.3f,Ox=%.2f,Oy=%.3f](%.2f,%.3f)(%.2f,%.3f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
              }
             break;
      case 3:switch (img.yaxis.lim.precision)
              {
                case 0:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.3f,Dy=%.0f,Ox=%.3f,Oy=%.0f](%.3f,%.0f)(%.3f,%.0f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
               default:break;
                case 1:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.3f,Dy=%.1f,Ox=%.3f,Oy=%.1f](%.3f,%.1f)(%.3f,%.1f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 2:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.3f,Dy=%.2f,Ox=%.3f,Oy=%.2f](%.3f,%.2f)(%.3f,%.2f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
                case 3:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.3f,Dy=%.3f,Ox=%.3f,Oy=%.3f](%.3f,%.3f)(%.3f,%.3f)\n", ticks, xdivision, ydivision, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.min, img.yaxis.lim.min, img.xaxis.lim.max, img.yaxis.lim.max);
                       break;
              }
             break;
    }
  }
 else
   if (img.xaxis.available)
    {
     switch (img.xaxis.lim.precision)
      {
        case 0:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.0f,Ox=%.0f](%.0f,0)(%.0f,0)\n", ticks, xdivision, img.xaxis.lim.min, img.xaxis.lim.min, img.xaxis.lim.max);
       default:break;
        case 1:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.1f,Ox=%.1f](%.1f,0)(%.1f,0)\n", ticks, xdivision, img.xaxis.lim.min, img.xaxis.lim.min, img.xaxis.lim.max);
               break;
        case 2:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.2f,Ox=%.2f](%.2f,0)(%.2f,0)\n", ticks, xdivision, img.xaxis.lim.min, img.xaxis.lim.min, img.xaxis.lim.max);
               break;
        case 3:fprintf(myfile, "\\psaxes[ticks=%s,Dx=%.3f,Ox=%.3f](%.3f,0)(%.3f,0)\n", ticks, xdivision, img.xaxis.lim.min, img.xaxis.lim.min, img.xaxis.lim.max);
               break;
      }
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x342477(%rip), %r14    # 0x3af0b8
movl 0x20(%r14), %eax
movsd 0x18(%r14), %xmm1
movsd 0x380dd(%rip), %xmm3    # 0xa4d30
movapd %xmm3, %xmm0
testl %eax, %eax
je 0x6cc62
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
subsd 0x10(%r14), %xmm1
movl 0x90(%r14), %eax
movsd 0x88(%r14), %xmm2
testl %eax, %eax
je 0x6cc83
xorps %xmm3, %xmm3
cvtsi2sd %eax, %xmm3
movsd %xmm3, 0x8(%rsp)
subsd 0x80(%r14), %xmm2
movsd %xmm2, 0x10(%rsp)
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
leaq 0x38241(%rip), %rdi     # 0xa4ee9
callq 0x536e7
testl %eax, %eax
leaq 0x3bb78(%rip), %rax     # 0xa882e
leaq 0x3ae7b(%rip), %rdx     # 0xa7b38
cmoveq %rax, %rdx
movl 0x8(%r14), %eax
testl %eax, %eax
je 0x6cd47
cmpl $0x0, 0x78(%r14)
je 0x6cd47
movsd 0x10(%rsp), %xmm1
divsd 0x8(%rsp), %xmm1
movl 0x24(%r14), %ecx
movl 0x94(%r14), %eax
cmpl $0x1, %ecx
je 0x6cdcf
cmpl $0x2, %ecx
je 0x6cd8a
cmpl $0x3, %ecx
jne 0x6ce10
cmpl $0x3, %eax
ja 0x6ce51
movl %eax, %eax
leaq 0x3efbc(%rip), %rcx     # 0xabcd0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f717(%rip), %rsi     # 0xac459
jmp 0x6d094
testl %eax, %eax
je 0x6ce51
movl 0x24(%r14), %eax
cmpq $0x3, %rax
ja 0x6ce51
leaq 0x3ef3c(%rip), %rcx     # 0xabca0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movsd (%rsp), %xmm0
jmpq *%rax
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x3f7f8(%rip), %rsi     # 0xac57d
jmp 0x6ce96
cmpl $0x3, %eax
ja 0x6ce51
movl %eax, %eax
leaq 0x3ef14(%rip), %rcx     # 0xabcb0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f56b(%rip), %rsi     # 0xac335
jmp 0x6d094
cmpl $0x3, %eax
ja 0x6ce51
movl %eax, %eax
leaq 0x3eee3(%rip), %rcx     # 0xabcc0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f406(%rip), %rsi     # 0xac211
jmp 0x6d094
cmpl $0x3, %eax
ja 0x6ce51
movl %eax, %eax
leaq 0x3eec2(%rip), %rcx     # 0xabce0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f2a1(%rip), %rsi     # 0xac0ed
jmp 0x6d094
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x3f777(%rip), %rsi     # 0xac5e3
jmp 0x6ce96
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x3f795(%rip), %rsi     # 0xac616
jmp 0x6ce96
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x3f71a(%rip), %rsi     # 0xac5b0
movq %rbx, %rdi
movaps %xmm1, %xmm2
movb $0x4, %al
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x42e0
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f4f8(%rip), %rsi     # 0xac3c7
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f517(%rip), %rsi     # 0xac410
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f380(%rip), %rsi     # 0xac2a3
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f59e(%rip), %rsi     # 0xac4eb
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f407(%rip), %rsi     # 0xac37e
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f1de(%rip), %rsi     # 0xac17f
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f321(%rip), %rsi     # 0xac2ec
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f53f(%rip), %rsi     # 0xac534
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f23b(%rip), %rsi     # 0xac25a
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f182(%rip), %rsi     # 0xac1c8
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f435(%rip), %rsi     # 0xac4a2
jmp 0x6d094
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x3f0a2(%rip), %rsi     # 0xac136
movq %rbx, %rdi
movsd (%rsp), %xmm0
movaps %xmm2, %xmm4
movaps %xmm3, %xmm5
movb $0x8, %al
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x42e0