// File: /workspace/github_c_makefile_star2_O3/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 0x343dc7(%rip), %r14    # 0x3b20b8
movl 0x20(%r14), %eax
movsd 0x18(%r14), %xmm1
movsd 0x39ab5(%rip), %xmm3    # 0xa7db8
movapd %xmm3, %xmm0
testl %eax, %eax
je 0x6e312
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
subsd 0x10(%r14), %xmm1
movl 0x90(%r14), %eax
movsd 0x88(%r14), %xmm2
testl %eax, %eax
je 0x6e333
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 0x39be9(%rip), %rdi     # 0xa7f41
callq 0x54bec
testl %eax, %eax
leaq 0x3d594(%rip), %rax     # 0xab8fa
leaq 0x3c87b(%rip), %rdx     # 0xaabe8
cmoveq %rax, %rdx
movl 0x8(%r14), %eax
testl %eax, %eax
je 0x6e3f7
cmpl $0x0, 0x78(%r14)
je 0x6e3f7
movsd 0x10(%rsp), %xmm1
divsd 0x8(%rsp), %xmm1
movl 0x24(%r14), %ecx
movl 0x94(%r14), %eax
cmpl $0x1, %ecx
je 0x6e47f
cmpl $0x2, %ecx
je 0x6e43a
cmpl $0x3, %ecx
jne 0x6e4c0
cmpl $0x3, %eax
ja 0x6e501
movl %eax, %eax
leaq 0x409d8(%rip), %rcx     # 0xaed9c
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 0x4113f(%rip), %rsi     # 0xaf531
jmp 0x6e744
testl %eax, %eax
je 0x6e501
movl 0x24(%r14), %eax
cmpq $0x3, %rax
ja 0x6e501
leaq 0x40958(%rip), %rcx     # 0xaed6c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movsd (%rsp), %xmm0
jmpq *%rax
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x41220(%rip), %rsi     # 0xaf655
jmp 0x6e546
cmpl $0x3, %eax
ja 0x6e501
movl %eax, %eax
leaq 0x40930(%rip), %rcx     # 0xaed7c
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 0x40f93(%rip), %rsi     # 0xaf40d
jmp 0x6e744
cmpl $0x3, %eax
ja 0x6e501
movl %eax, %eax
leaq 0x408ff(%rip), %rcx     # 0xaed8c
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 0x40e2e(%rip), %rsi     # 0xaf2e9
jmp 0x6e744
cmpl $0x3, %eax
ja 0x6e501
movl %eax, %eax
leaq 0x408de(%rip), %rcx     # 0xaedac
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 0x40cc9(%rip), %rsi     # 0xaf1c5
jmp 0x6e744
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x4119f(%rip), %rsi     # 0xaf6bb
jmp 0x6e546
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x411bd(%rip), %rsi     # 0xaf6ee
jmp 0x6e546
movsd 0x10(%r14), %xmm1
movsd 0x18(%r14), %xmm3
leaq 0x41142(%rip), %rsi     # 0xaf688
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 0x40f20(%rip), %rsi     # 0xaf49f
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40f3f(%rip), %rsi     # 0xaf4e8
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40da8(%rip), %rsi     # 0xaf37b
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40fc6(%rip), %rsi     # 0xaf5c3
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40e2f(%rip), %rsi     # 0xaf456
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40c06(%rip), %rsi     # 0xaf257
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40d49(%rip), %rsi     # 0xaf3c4
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40f67(%rip), %rsi     # 0xaf60c
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40c63(%rip), %rsi     # 0xaf332
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40baa(%rip), %rsi     # 0xaf2a0
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40e5d(%rip), %rsi     # 0xaf57a
jmp 0x6e744
movsd 0x80(%r14), %xmm3
movsd 0x10(%r14), %xmm2
movsd 0x18(%r14), %xmm6
movsd 0x88(%r14), %xmm7
leaq 0x40aca(%rip), %rsi     # 0xaf20e
movq %rbx, %rdi
movsd (%rsp), %xmm0
movaps %xmm2, %xmm4
movaps %xmm3, %xmm5
movb $0x8, %al
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x42e0