LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/SceneData.hpp
// Function: Rotate::getMatrix(int)
Mat4 getMatrix(int time)
    {
      Vec3 ax;

      if (axis[2] == NULL) // 2D
      {
        ax = Vec3(0, 0, 1);
      }
      else
      {
        ax = Vec3(axis[0]->getValue(time),
                  axis[1]->getValue(time),
                  axis[2]->getValue(time));
      }

      return rotation3D(ax, angle->getValue(time));
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x20(%rsi)
je 0x9f5c
movq 0x10(%r14), %rdi
cvtsi2sd %edx, %xmm0
movsd %xmm0, (%rsp)
movq (%rdi), %rax
callq *0x8(%rax)
movsd %xmm0, 0x10(%rsp)
movq 0x18(%r14), %rdi
movq (%rdi), %rax
movsd (%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, 0x8(%rsp)
movq 0x20(%r14), %rdi
movq (%rdi), %rax
movsd (%rsp), %xmm0
callq *0x8(%rax)
movsd 0x8(%rsp), %xmm3
movsd 0x10(%rsp), %xmm2
movsd (%rsp), %xmm1
jmp 0x9f6e
cvtsi2sd %edx, %xmm1
movsd 0x17198(%rip), %xmm0    # 0x21100
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
leaq 0x18(%rsp), %r15
movsd %xmm2, (%r15)
movsd %xmm3, 0x8(%r15)
movsd %xmm0, 0x10(%r15)
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movapd %xmm1, %xmm0
callq *0x8(%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa005
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/Algebra3.hpp
// Function: rotation3D(Vec3, double)
inline Mat4 rotation3D(Vec3 axis, double const angleDeg)
{
  double angleRad = angleDeg * M_PI / 180.0,
         c = cos(angleRad),
         s = sin(angleRad),
         t = 1.0 - c;

  axis.normalize();
  return Mat4(Vec4(t * axis[0] * axis[0] + c,
                   t * axis[0] * axis[1] - s * axis[2],
                   t * axis[0] * axis[2] + s * axis[1],
                   0.0),
              Vec4(t * axis[0] * axis[1] + s * axis[2],
                   t * axis[1] * axis[1] + c,
                   t * axis[1] * axis[2] - s * axis[0],
                   0.0),
              Vec4(t * axis[0] * axis[2] - s * axis[1],
                   t * axis[1] * axis[2] + s * axis[0],
                   t * axis[2] * axis[2] + c,
                   0.0),
              Vec4(0.0, 0.0, 0.0, 1.0));
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
mulsd 0x17103(%rip), %xmm0    # 0x21120
divsd 0x17103(%rip), %xmm0    # 0x21128
movsd %xmm0, (%rsp)
callq 0x4610
movapd %xmm0, 0x10(%rsp)
movsd (%rsp), %xmm0
callq 0x40d0
movaps %xmm0, 0x20(%rsp)
movsd 0x170b4(%rip), %xmm0    # 0x21100
subsd 0x10(%rsp), %xmm0
movapd %xmm0, (%rsp)
movq %r14, %rdi
callq 0xa1b2
movsd 0x10(%r14), %xmm0
movapd 0x170c3(%rip), %xmm1    # 0x21130
movapd 0x20(%rsp), %xmm7
xorpd %xmm7, %xmm1
movapd %xmm0, %xmm3
mulsd %xmm1, %xmm3
movupd (%r14), %xmm2
movapd 0x10(%rsp), %xmm11
movapd %xmm11, %xmm4
unpcklpd %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0]
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
movapd %xmm7, %xmm5
mulsd %xmm3, %xmm5
leaq 0x90(%rsp), %rsi
andq $0x0, 0x18(%rsi)
movapd %xmm7, %xmm6
movapd %xmm7, %xmm10
mulsd %xmm0, %xmm6
movapd (%rsp), %xmm12
movapd %xmm12, %xmm8
unpcklpd %xmm12, %xmm8           # xmm8 = xmm8[0],xmm12[0]
mulpd %xmm2, %xmm8
movapd %xmm8, %xmm7
mulsd %xmm0, %xmm7
mulpd %xmm8, %xmm3
movapd %xmm8, %xmm9
unpckhpd %xmm8, %xmm9            # xmm9 = xmm9[1],xmm8[1]
mulsd %xmm0, %xmm9
mulsd %xmm0, %xmm12
mulsd %xmm0, %xmm12
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd %xmm8, %xmm0
unpcklpd %xmm8, %xmm8            # xmm8 = xmm8[0,0]
mulpd %xmm2, %xmm8
addpd %xmm4, %xmm8
movapd %xmm2, %xmm4
mulsd %xmm10, %xmm4
addsd %xmm5, %xmm7
movapd %xmm8, (%rsi)
unpcklpd %xmm11, %xmm6           # xmm6 = xmm6[0],xmm11[0]
addpd %xmm6, %xmm3
subsd %xmm4, %xmm9
leaq 0x70(%rsp), %rdx
movapd %xmm3, (%rdx)
movsd %xmm9, 0x10(%rdx)
andq $0x0, 0x18(%rdx)
movsd %xmm7, 0x10(%rsi)
movapd %xmm12, %xmm3
addsd %xmm11, %xmm3
unpcklpd %xmm10, %xmm1           # xmm1 = xmm1[0],xmm10[0]
shufpd $0x1, %xmm2, %xmm2      # xmm2 = xmm2[1,0]
mulpd %xmm1, %xmm2
addpd %xmm2, %xmm0
leaq 0x50(%rsp), %rcx
movapd %xmm0, (%rcx)
movsd %xmm3, 0x10(%rcx)
andq $0x0, 0x18(%rcx)
leaq 0x30(%rsp), %r8
andq $0x0, 0x10(%r8)
xorpd %xmm0, %xmm0
movapd %xmm0, (%r8)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x18(%r8)
movq %rbx, %rdi
callq 0x64c6
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/SceneData.hpp
// Function: GeneralTransform::getMatrix(int)
Mat4 getMatrix(int time)
    {
      Mat4 out(0.0);

      if (matrix.size() == 9) // 2d matrix
      {
        out[2][2] = 1;

        for (int i = 0; i < 3; i++)
        {
          int i_ind = i < 2 ? i : 3;

          for (int j = 0; j < 3; j++)
          {
            int j_ind = j < 2 ? j : 3;
            out[i_ind][j_ind] = matrix[i * 3 + j]->getValue(time);
          }
        }
      }
      else if (matrix.size() == 16)
      {
        for (int i = 0; i < 4; i++)
        {
          for (int j = 0; j < 4; j++)
          {
            out[i][j] = matrix[i * 4 + j]->getValue(time);
          }
        }
      }
      else
      {
        out = identity3D();
      }

      return out;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
xorpd %xmm0, %xmm0
callq 0xa3e0
movq 0x10(%r14), %rax
subq 0x8(%r14), %rax
sarq $0x3, %rax
cmpq $0x9, %rax
je 0xa2be
cmpq $0x10, %rax
jne 0xa35a
cvtsi2sd %ebp, %xmm0
movsd %xmm0, (%rsp)
xorl %r13d, %r13d
xorl %r15d, %r15d
cmpq $0x4, %r15
je 0xa372
xorl %r12d, %r12d
cmpq $0x4, %r12
je 0xa2b5
movq 0x8(%r14), %rax
addq %r13, %rax
movq (%rax,%r12,8), %rdi
movq (%rdi), %rax
movsd (%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
movl %r15d, %esi
callq 0xa404
movq %rax, %rdi
movl %r12d, %esi
callq 0xa436
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
incq %r12
jmp 0xa26e
incq %r15
addq $0x20, %r13
jmp 0xa261
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
cvtsi2sd %ebp, %xmm0
movsd %xmm0, (%rsp)
movq %rax, 0x50(%rbx)
xorl %r12d, %r12d
xorl %eax, %eax
cmpq $0x3, %rax
je 0xa372
cmpq $0x2, %rax
movq %rax, 0x10(%rsp)
movl %eax, %ebp
pushq $0x3
popq %rax
cmovel %eax, %ebp
xorl %r13d, %r13d
cmpq $0x3, %r13
je 0xa34c
cmpq $0x2, %r13
movl %r13d, %r15d
pushq $0x3
popq %rax
cmovel %eax, %r15d
movq 0x8(%r14), %rax
addq %r12, %rax
movq (%rax,%r13,8), %rdi
movq (%rdi), %rax
movsd (%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
callq 0xa404
movq %rax, %rdi
movl %r15d, %esi
callq 0xa436
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
incq %r13
jmp 0xa2f8
movq 0x10(%rsp), %rax
incq %rax
addq $0x18, %r12
jmp 0xa2da
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x6138
movq %rbx, %rdi
movq %r14, %rsi
callq 0x61ac
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/SceneData.hpp
// Function: Translate::getMatrix(int)
Mat4 getMatrix(int time)
    {
      Vec3 tr;
      tr[0] = translate[0]->getValue(time);
      tr[1] = translate[1]->getValue(time);

      if (translate[2] == NULL)
        tr[2] = 0;
      else
        tr[2] = translate[2]->getValue(time);

      return translation3D(tr);
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rdi
cvtsi2sd %edx, %xmm0
movsd %xmm0, 0x8(%rsp)
movq (%rdi), %rax
callq *0x8(%rax)
movsd %xmm0, 0x10(%rsp)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, 0x18(%rsp)
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xa4b6
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
jmp 0xa4b9
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rsi
movsd %xmm0, 0x10(%rsi)
movq %rbx, %rdi
callq 0xa523
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/Algebra3.hpp
// Function: translation3D(Vec3 const&)
inline Mat4 translation3D(Vec3 const & v)
{ return Mat4(Vec4(1.0, 0.0, 0.0, v[0]),
              Vec4(0.0, 1.0, 0.0, v[1]),
              Vec4(0.0, 0.0, 1.0, v[2]),
              Vec4(0.0, 0.0, 0.0, 1.0)); }

// Assembly:
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
movsd (%rsi), %xmm0
movabsq $0x3ff0000000000000, %rdi # imm = 0x3FF0000000000000
leaq 0x60(%rsp), %rax
movq %rdi, (%rax)
xorps %xmm1, %xmm1
movups %xmm1, 0x8(%rax)
movsd %xmm0, 0x18(%rax)
movsd 0x8(%rsi), %xmm0
xorps %xmm2, %xmm2
movhps 0x16ba1(%rip), %xmm2    # xmm2 = xmm2[0,1],mem[0,1]
leaq 0x40(%rsp), %rdx
movaps %xmm2, (%rdx)
andq $0x0, 0x10(%rdx)
movsd %xmm0, 0x18(%rdx)
movsd 0x10(%rsi), %xmm0
leaq 0x20(%rsp), %rcx
movaps %xmm1, (%rcx)
movq %rdi, 0x10(%rcx)
movsd %xmm0, 0x18(%rcx)
movq %rsp, %r8
movaps %xmm1, (%r8)
andq $0x0, 0x10(%r8)
movq %rdi, 0x18(%r8)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x64c6
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/SceneData.hpp
// Function: Scale::getMatrix(int)
Mat4 getMatrix(int time)
    {
      Vec3 sc;
      sc[0] = scale[0]->getValue(time);
      sc[1] = scale[1]->getValue(time);

      if (scale[2] == NULL)
        sc[2] = 1;
      else
        sc[2] = scale[2]->getValue(time);

      return scaling3D(sc);
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rdi
cvtsi2sd %edx, %xmm0
movsd %xmm0, 0x8(%rsp)
movq (%rdi), %rax
callq *0x8(%rax)
movsd %xmm0, 0x10(%rsp)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, 0x18(%rsp)
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xa602
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
jmp 0xa60a
movsd 0x16af6(%rip), %xmm0    # 0x21100
leaq 0x10(%rsp), %rsi
movsd %xmm0, 0x10(%rsi)
movq %rbx, %rdi
callq 0xa675
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: MidStr(char const*, int, int)
char* MidStr(const char*s,int i1,int i2)
{
 if(i1<0||i2>=(int)strlen(s)||i1>i2){
	 char* cp = new char[1];
	 cp[0] = '\0';
	 return cp;
 }
 char*s1=new char[i2-i1+2];
 int i;
 for(i=i1;i<=i2;i++)s1[i-i1]=s[i];
 s1[i2-i1+1]=0;return s1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testl %esi, %esi
js 0xba9c
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
callq 0x4150
movl %ebp, %r15d
subl %r14d, %r15d
jl 0xba9c
cmpl %ebp, %eax
jle 0xba9c
leal 0x2(%r15), %eax
movslq %eax, %rdi
callq 0x4040
movl %r14d, %ecx
movl %ebp, %edx
movq %rax, %rsi
cmpq %rdx, %rcx
ja 0xbaa9
movb (%rbx,%rcx), %dil
movb %dil, (%rsi)
incq %rcx
incq %rsi
jmp 0xba88
pushq $0x1
popq %rdi
callq 0x4040
movq %rax, %rcx
jmp 0xbab2
movslq %r15d, %rcx
addq %rax, %rcx
incq %rcx
movb $0x0, (%rcx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: InsStr(char*&, int, char)
void InsStr(char*&s,int n,char c)// Warning : deletes the old string
{if(n<0||n>(int)strlen(s))return;
char*s1=new char[strlen(s)+2];
int i;
for(i=0;i<n;i++)s1[i]=s[i];
s1[n]=c;for(i=n+1;s[i-1];i++)s1[i]=s[i-1];
s1[i]=0;
delete[]s;s=s1;
}

// Assembly:
testl %esi, %esi
js 0xbb57
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r12d
movq %rdi, %rbx
movq (%rdi), %r14
movq %r14, %rdi
callq 0x4150
cmpl %r12d, %eax
jl 0xbb4f
addq $0x2, %rax
movq %rax, %rdi
callq 0x4040
movq %rax, %r15
movl %r12d, %eax
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0xbb2d
movb (%r14,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0xbb1b
movb %bpl, (%r15,%rax)
movb (%r14,%rax), %bpl
incq %rax
testb %bpl, %bpl
jne 0xbb2d
movl %eax, %eax
movb $0x0, (%r15,%rax)
movq %r14, %rdi
callq 0x43e0
movq %r15, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: CompStr(char const*, int, char const*)
signed char CompStr(const char*s,int n,const char*s2)
{if(n<0||n>=(int)strlen(s)||n+(int)strlen(s2)>(int)strlen(s))return 0;
int i;
for(i=0;s2[i];i++)if(s[i+n]!=s2[i])return 0;
return 1;
}

// Assembly:
testl %esi, %esi
js 0xbbf1
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
callq 0x4150
movq %rax, %r15
cmpl %ebp, %r15d
jle 0xbbe4
movq %rbx, %rdi
callq 0x4150
addl %ebp, %eax
cmpl %r15d, %eax
jg 0xbbe4
movl %ebp, %eax
addq %rax, %r14
xorl %eax, %eax
movb (%rbx,%rax), %cl
testb %cl, %cl
je 0xbbf4
leaq 0x1(%rax), %rdx
cmpb %cl, (%r14,%rax)
movq %rdx, %rax
je 0xbbd0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
retq
movb $0x1, %al
jmp 0xbbe6
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: DelStr(char*&, int)
void DelStr(char*&s,int n)//Deletes the old string
{char*s1=new char[strlen(s)];
int i;
for(i=0;i<n;i++)s1[i]=s[i];
for(i=n;s[i+1];i++)s1[i]=s[i+1];
s1[i]=0;
delete[]s;s=s1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %r14
movq %r14, %rdi
callq 0x4150
movq %rax, %rdi
callq 0x4040
movq %rax, %r15
xorl %eax, %eax
testl %ebp, %ebp
movl $0x0, %ecx
cmovgl %ebp, %ecx
cmpq %rax, %rcx
je 0xbc38
movb (%r14,%rax), %dl
movb %dl, (%r15,%rax)
incq %rax
jmp 0xbc26
movslq %ebp, %rcx
movq %rcx, %rax
shlq $0x20, %rax
movabsq $0x100000000, %rdx      # imm = 0x100000000
movb 0x1(%r14,%rcx), %sil
testb %sil, %sil
je 0xbc62
movb %sil, (%r15,%rcx)
addq %rdx, %rax
incq %rcx
jmp 0xbc4c
sarq $0x20, %rax
movb $0x0, (%r15,%rax)
movq %r14, %rdi
callq 0x43e0
movq %r15, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ROperation::operator=(ROperation const&)
ROperation& ROperation::operator=(const ROperation& ROp)
{
  if(this==&ROp)return *this;
  Destroy();
  op=ROp.op;pvar=ROp.pvar;pvarval=ROp.pvarval;ValC=ROp.ValC;pfunc=ROp.pfunc;containfuncflag=0;pinstr=NULL;pvals=NULL;ppile=NULL;pfuncpile=NULL;
  if(ROp.mmb1!=NULL)mmb1=new ROperation(*(ROp.mmb1));else mmb1=NULL;
  if(ROp.mmb2!=NULL)mmb2=new ROperation(*(ROp.mmb2));else mmb2=NULL;
  BuildCode();
  return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0xbdfa
movq %rsi, %r15
movq %rbx, %rdi
callq 0xc8b8
movl 0x24(%r15), %eax
movl %eax, 0x24(%rbx)
movups 0x40(%r15), %xmm0
movups %xmm0, 0x40(%rbx)
movsd 0x38(%r15), %xmm0
movsd %xmm0, 0x38(%rbx)
movq 0x50(%r15), %rax
movq %rax, 0x50(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movq 0x28(%r15), %r12
testq %r12, %r12
je 0xbdc3
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xc9b6
jmp 0xbdc6
xorl %r14d, %r14d
movq %r14, 0x28(%rbx)
movq 0x30(%r15), %r15
testq %r15, %r15
je 0xbdeb
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xbdee
xorl %r14d, %r14d
movq %r14, 0x30(%rbx)
movq %rbx, %rdi
callq 0xc3d2
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0xbe0b
movq %rax, %rbx
pushq $0x58
popq %rsi
movq %r14, %rdi
callq 0x4330
movq %rbx, %rdi
callq 0x45c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: RFunction::RFunction(RFunction const&)
RFunction::RFunction(const RFunction& rfunc)
{
  if(this==&rfunc)return;
  type=rfunc.type;op=rfunc.op;
  pfuncval=rfunc.pfuncval;
  name=CopyStr(rfunc.name);
  nvars=rfunc.nvars;
  if(rfunc.ppvar!=NULL&&nvars){
    ppvar=new PRVar[nvars];
    int i;for(i=0;i<nvars;i++)ppvar[i]=rfunc.ppvar[i];
    buf=new double[nvars];
  }else {ppvar=NULL;buf=NULL;}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0xc3a0
cmpq %r15, %r14
je 0xbf82
movb 0x8(%r15), %al
movb %al, 0x8(%r14)
leaq 0x18(%r15), %rsi
movq %rbx, %rdi
callq 0xbd52
movq 0x10(%r15), %rax
movq %rax, 0x10(%r14)
movq 0x80(%r15), %rdi
callq 0xbac0
movq %rax, 0x80(%r14)
movl 0x70(%r15), %ebp
movl %ebp, 0x70(%r14)
cmpq $0x0, 0x78(%r15)
sete %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
je 0xbf34
andq $0x0, 0x78(%r14)
xorl %eax, %eax
jmp 0xbf7f
movslq %ebp, %rax
shlq $0x3, %rax
testl %ebp, %ebp
pushq $-0x1
popq %r12
cmovnsq %rax, %r12
movq %r12, %rdi
callq 0x4040
movq %rax, 0x78(%r14)
xorl %eax, %eax
testl %ebp, %ebp
movl $0x0, %ecx
cmovgl %ebp, %ecx
cmpq %rax, %rcx
je 0xbf77
movq 0x78(%r15), %rdx
movq (%rdx,%rax,8), %rdx
movq 0x78(%r14), %rsi
movq %rdx, (%rsi,%rax,8)
incq %rax
jmp 0xbf5d
movq %r12, %rdi
callq 0x4040
movq %rax, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xbf8d
movq %rax, %r14
movq %rbx, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: RFunction::RFunction(ROperation const&, int, RVar**)
RFunction::RFunction(const ROperation& opp, int nvarsp,RVar**ppvarp):op(opp)
{
  type=1;name=new char[1];name[0]=0;
  nvars=nvarsp;
  if(nvars){
    ppvar=new PRVar[nvars];
    int i;for(i=0;i<nvars;i++)ppvar[i]=ppvarp[i];
    buf=new double[nvars];
  }else {ppvar=NULL;buf=NULL;}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r15
movl %edx, %r12d
movq %rdi, %r14
leaq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0xc9b6
movb $0x1, 0x8(%r14)
pushq $0x1
popq %rdi
callq 0x4040
movq %rax, 0x80(%r14)
movb $0x0, (%rax)
movl %r12d, 0x70(%r14)
testl %r12d, %r12d
je 0xc08f
movl %r12d, %eax
shlq $0x3, %rax
testl %r12d, %r12d
pushq $-0x1
popq %r13
cmovnsq %rax, %r13
movq %r13, %rdi
callq 0x4040
movq %rax, 0x78(%r14)
xorl %eax, %eax
testl %r12d, %r12d
cmovlel %eax, %r12d
cmpq %rax, %r12
je 0xc085
movq (%r15,%rax,8), %rcx
movq 0x78(%r14), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
jmp 0xc06f
movq %r13, %rdi
callq 0x4040
jmp 0xc096
andq $0x0, 0x78(%r14)
xorl %eax, %eax
movq %rax, (%r14)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xc0a5
movq %rax, %r14
movq %rbx, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: RFunction::operator=(RFunction const&)
RFunction& RFunction::operator=(const RFunction& rfunc)
{
  if(this==&rfunc)return *this;
  type=rfunc.type;op=rfunc.op;
  pfuncval=rfunc.pfuncval;
  delete[]name;
  name=CopyStr(rfunc.name);
  if(ppvar!=NULL)delete[]ppvar;
  ppvar=NULL;
  if(buf!=NULL)delete[]buf;
  buf=NULL;
  nvars=rfunc.nvars;
  if(type==1&&nvars){
    ppvar=new PRVar[nvars];buf=new double[nvars];
    int i;for(i=0;i<nvars;i++)ppvar[i]=rfunc.ppvar[i];
  }
  return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0xc184
movq %rsi, %r14
movb 0x8(%rsi), %al
movb %al, 0x8(%rbx)
addq $0x18, %rsi
leaq 0x18(%rbx), %rdi
callq 0xbd52
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0xc136
callq 0x43e0
movq 0x80(%r14), %rdi
callq 0xbac0
movq %rax, 0x80(%rbx)
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0xc157
callq 0x43e0
andq $0x0, 0x78(%rbx)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xc169
callq 0x43e0
andq $0x0, (%rbx)
movl 0x70(%r14), %eax
movl %eax, 0x70(%rbx)
cmpb $0x1, 0x8(%rbx)
setne %cl
testl %eax, %eax
sete %dl
orb %cl, %dl
je 0xc191
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movslq %eax, %rcx
shlq $0x3, %rcx
xorl %r12d, %r12d
testl %eax, %eax
pushq $-0x1
popq %r15
cmovnsq %rcx, %r15
movl $0x0, %r13d
cmovgl %eax, %r13d
movq %r15, %rdi
callq 0x4040
movq %rax, 0x78(%rbx)
movq %r15, %rdi
callq 0x4040
movq %rax, (%rbx)
cmpq %r12, %r13
je 0xc184
movq 0x78(%r14), %rax
movq (%rax,%r12,8), %rax
movq 0x78(%rbx), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
jmp 0xc1c6
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: RFunction::Val(double) const
double RFunction::Val(double x) const
{
  if(type==-1||nvars>=2)return ErrVal;
  if(type==0)return (*pfuncval)(x);
  double xb=*(*ppvar)->pval,y;
  *(*ppvar)->pval=x;  // Warning : could cause trouble if this value is used in a parallel process
  y=op.Val();
  *(*ppvar)->pval=xb;
  return y;
}

// Assembly:
movb 0x8(%rdi), %al
cmpb $-0x1, %al
je 0xc268
cmpl $0x1, 0x70(%rdi)
jg 0xc268
testb %al, %al
je 0xc271
pushq %rbx
subq $0x10, %rsp
movq 0x78(%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movsd (%rax), %xmm1
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, (%rax)
movq %rdi, %rbx
addq $0x18, %rdi
callq 0xc274
movq 0x78(%rbx), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movsd 0x8(%rsp), %xmm1
movsd %xmm1, (%rax)
addq $0x10, %rsp
popq %rbx
retq
movsd 0x15660(%rip), %xmm0    # 0x218d0
retq
jmpq *0x10(%rdi)
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ROperation::Val() const
double ROperation::Val() const
{
  pfoncld*p1=pinstr;double**p2=pvals,*p3=ppile-1;PRFunction*p4=pfuncpile;
  for(;*p1!=NULL;p1++)
    if(*p1==&NextVal)*(++p3)=**(p2++);else
      if(*p1==&RFunc) ApplyRFunc(*(p4++),p3);
      else (**p1)(p3);
  return *p3;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r14
movq 0x8(%rdi), %r15
movq 0x10(%rdi), %rax
addq $-0x8, %rax
movq %rsp, %rbx
movq %rax, (%rbx)
movq 0x18(%rdi), %r12
leaq 0x5494(%rip), %r13      # 0x11733
leaq 0x548e(%rip), %rbp      # 0x11734
movq (%r14), %rax
testq %rax, %rax
je 0xc2f3
cmpq %r13, %rax
je 0xc2bf
cmpq %rbp, %rax
je 0xc2dd
movq %rbx, %rdi
callq *%rax
jmp 0xc2ed
movq (%r15), %rax
addq $0x8, %r15
movsd (%rax), %xmm0
movq (%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, (%rsp)
movsd %xmm0, 0x8(%rax)
jmp 0xc2ed
movq (%r12), %rdi
addq $0x8, %r12
movq %rbx, %rsi
callq 0x11f93
addq $0x8, %r14
jmp 0xc2a6
movq (%rsp), %rax
movsd (%rax), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: RFunction::Val(double*) const
double RFunction::Val(double*pv) const
{
  if(type==-1)return ErrVal;
  if(type==0)return (*pfuncval)(*pv);
  double y;
  int i;
  for(i=0;i<nvars;i++){
    buf[i]=*ppvar[i]->pval;
    // Warning : could cause trouble if this value is used in a parallel process
    *ppvar[i]->pval=pv[i];
  }
  y=op.Val();
  for(i=0;i<nvars;i++)*ppvar[i]->pval=buf[i];
  return y;
}

// Assembly:
movq %rdi, %r9
movzbl 0x8(%rdi), %eax
testl %eax, %eax
je 0xc325
cmpl $0xff, %eax
jne 0xc32d
movsd 0x155ac(%rip), %xmm0    # 0x218d0
retq
movsd (%rsi), %xmm0
jmpq *0x10(%r9)
pushq %rbx
movl 0x70(%r9), %eax
movq 0x78(%r9), %rcx
movq (%r9), %rdx
xorl %edi, %edi
testl %eax, %eax
cmovlel %edi, %eax
cmpq %rdi, %rax
je 0xc366
movq (%rcx,%rdi,8), %r8
movq 0x8(%r8), %r8
movsd (%r8), %xmm0
movsd %xmm0, (%rdx,%rdi,8)
movsd (%rsi,%rdi,8), %xmm0
movsd %xmm0, (%r8)
incq %rdi
jmp 0xc340
leaq 0x18(%r9), %rdi
movq %r9, %rbx
callq 0xc274
movl 0x70(%rbx), %eax
movq (%rbx), %rcx
movq 0x78(%rbx), %rdx
xorl %esi, %esi
testl %eax, %eax
cmovlel %esi, %eax
cmpq %rsi, %rax
je 0xc39e
movsd (%rcx,%rsi,8), %xmm1
movq (%rdx,%rsi,8), %rdi
movq 0x8(%rdi), %rdi
movsd %xmm1, (%rdi)
incq %rsi
jmp 0xc383
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ROperation::Destroy()
void ROperation::Destroy()
{
  if(mmb1!=NULL&&mmb2!=NULL&&mmb1!=mmb2){delete mmb1;delete mmb2;mmb1=NULL;mmb2=NULL;}
  else if(mmb1!=NULL){delete mmb1;mmb1=NULL;}else if(mmb2!=NULL){delete mmb2;mmb2=NULL;}
  if(pinstr!=NULL){delete[]pinstr;pinstr=NULL;}
  if(pvals!=NULL){
		if(op==ErrOp||op==Num)delete pvals[0];
		delete[]pvals;pvals=NULL;
	}
  if(ppile!=NULL){delete[]ppile;ppile=NULL;}
  if(pfuncpile!=NULL){delete[]pfuncpile;pfuncpile=NULL;}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %r15
movq 0x30(%rdi), %r14
testq %r15, %r15
je 0xc903
leaq 0x28(%rbx), %r12
testq %r14, %r14
sete %al
cmpq %r14, %r15
sete %bpl
orb %al, %bpl
movq %r15, %rdi
callq 0xc8b8
pushq $0x58
popq %rsi
movq %r15, %rdi
callq 0x4330
testb %bpl, %bpl
je 0xc922
andq $0x0, (%r12)
jmp 0xc946
testq %r14, %r14
je 0xc946
movq %r14, %rdi
callq 0xc8b8
pushq $0x58
popq %rsi
movq %r14, %rdi
callq 0x4330
andq $0x0, 0x30(%rbx)
jmp 0xc946
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0xc933
movq %r14, %rdi
callq 0xc8b8
pushq $0x58
popq %rsi
movq %r14, %rdi
callq 0x4330
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xc957
callq 0x43e0
andq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xc987
testl $0xfffffffd, 0x24(%rbx) # imm = 0xFFFFFFFD
jne 0xc97d
movq (%rdi), %rdi
pushq $0x8
popq %rsi
callq 0x4330
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xc982
callq 0x43e0
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xc99a
callq 0x43e0
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xc9ad
callq 0x43e0
andq $0x0, 0x18(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ROperation::ROperation(ROperation const&)
ROperation::ROperation(const ROperation&ROp)
{
  op=ROp.op;pvar=ROp.pvar;pvarval=ROp.pvarval;ValC=ROp.ValC;pfunc=ROp.pfunc;containfuncflag=0;pinstr=NULL;pvals=NULL;ppile=NULL;pfuncpile=NULL;
  if(ROp.mmb1!=NULL)mmb1=new ROperation(*(ROp.mmb1));else mmb1=NULL;
  if(ROp.mmb2!=NULL)mmb2=new ROperation(*(ROp.mmb2));else mmb2=NULL;
  BuildCode();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movl 0x24(%rsi), %eax
movl %eax, 0x24(%rdi)
movups 0x40(%rsi), %xmm0
movups %xmm0, 0x40(%rdi)
movsd 0x38(%rsi), %xmm0
movsd %xmm0, 0x38(%rdi)
movq 0x50(%rsi), %rax
movq %rax, 0x50(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movups %xmm0, 0x10(%rdi)
movb $0x0, 0x20(%rdi)
movq 0x28(%rsi), %r12
testq %r12, %r12
je 0xca13
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xc9b6
jmp 0xca16
xorl %r14d, %r14d
movq %r14, 0x28(%rbx)
movq 0x30(%r15), %r15
testq %r15, %r15
je 0xca3b
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xca3e
xorl %r14d, %r14d
movq %r14, 0x30(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xc3d2
jmp 0xca57
movq %rax, %rbx
pushq $0x58
popq %rsi
movq %r14, %rdi
callq 0x4330
movq %rbx, %rdi
callq 0x45c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ROperation::ROperation(double)
ROperation::ROperation(double x)
{
  if(x==ErrVal){op=ErrOp;mmb1=NULL;mmb2=NULL;ValC=ErrVal;}
  else if(x>=0){op=Num;mmb1=NULL;mmb2=NULL;ValC=x;}
  else{op=Opp;mmb1=NULL;mmb2=new ROperation(-x);ValC=ErrVal;}
  pvar=NULL;pvarval=NULL;pfunc=NULL;containfuncflag=0;pinstr=NULL;pvals=NULL;ppile=NULL;pfuncpile=NULL;
  BuildCode();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
ucomisd 0x14e50(%rip), %xmm0    # 0x218d0
jne 0xca93
jp 0xca93
andl $0x0, 0x34(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
jmp 0xcad2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0xcb0a
movl $0x6, 0x24(%rbx)
andq $0x0, 0x28(%rbx)
pushq $0x58
popq %rdi
movapd %xmm0, (%rsp)
callq 0x4320
movq %rax, %r14
movapd (%rsp), %xmm0
xorpd 0x1466a(%rip), %xmm0    # 0x21130
movq %rax, %rdi
callq 0xca6e
movq %r14, 0x30(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rbx)
movupd %xmm0, (%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
andq $0x0, 0x50(%rbx)
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xc3d2
leaq 0x28(%rbx), %rax
movl $0x2, 0x24(%rbx)
xorpd %xmm1, %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x38(%rbx)
jmp 0xcae0
movq %rax, %rbx
pushq $0x58
popq %rsi
movq %r14, %rdi
callq 0x4330
movq %rbx, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator==(ROperation const&, ROperation const&)
int operator==(const ROperation& op1,const ROperation& op2)
{if(op1.op!=op2.op)return 0;
if(op1.op==Var)return(*(op1.pvar)==*(op2.pvar));
if(op1.op==Fun)return(op1.pfunc==op2.pfunc); // *op1.pfunc==*op2.pfunc could imply infinite loops in cases of self-dependence
if(op1.op==Num)return(op1.ValC==op2.ValC);
if(op1.mmb1==NULL&&op2.mmb1!=NULL)return 0;
if(op1.mmb2==NULL&&op2.mmb2!=NULL)return 0;
if(op2.mmb1==NULL&&op1.mmb1!=NULL)return 0;
if(op2.mmb2==NULL&&op1.mmb2!=NULL)return 0;
return(((op1.mmb1==NULL&&op2.mmb1==NULL)||(*(op1.mmb1)==*(op2.mmb1)))&&
	((op1.mmb2==NULL&&op2.mmb2==NULL)||(*(op1.mmb2)==*(op2.mmb2))));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
pushq $0x1
popq %rbp
movl 0x24(%r15), %eax
xorl %ebx, %ebx
cmpl 0x24(%r14), %eax
jne 0xcc58
cmpl $0x2, %eax
je 0xcc34
cmpl $0x16, %eax
je 0xcc4b
cmpl $0x3, %eax
je 0xcc65
movq 0x28(%r15), %rdi
movq 0x28(%r14), %rsi
testq %rdi, %rdi
jne 0xcbde
testq %rsi, %rsi
jne 0xcc58
movq 0x30(%r15), %r15
testq %r15, %r15
setne %al
movq 0x30(%r14), %r14
testq %r14, %r14
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0xcc58
testq %rdi, %rdi
je 0xcc03
testq %rsi, %rsi
je 0xcc58
testq %r14, %r14
sete %al
testq %r15, %r15
setne %cl
testb %al, %cl
jne 0xcc58
movq %rdi, %rax
orq %rsi, %rax
je 0xcc24
callq 0xcb95
testl %eax, %eax
je 0xcc58
movq %r14, %rax
orq %r15, %rax
jne 0xcba5
movl %ebp, %ebx
jmp 0xcc58
movsd 0x38(%r14), %xmm0
cmpeqsd 0x38(%r15), %xmm0
movq %xmm0, %rbx
andl $0x1, %ebx
jmp 0xcc58
movq 0x50(%r15), %rax
xorl %ebx, %ebx
cmpq 0x50(%r14), %rax
sete %bl
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x40(%r15), %rdi
movq 0x40(%r14), %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xcc7c
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator!=(ROperation const&, ROperation const&)
int operator!=(const ROperation& op1,const ROperation& op2)
{
  if(op1.op!=op2.op)return 1;
  if(op1.op==Var)return(op1.pvar!=op2.pvar);
  if(op1.op==Fun)return(!(op1.pfunc==op2.pfunc)); // *op1.pfunc==*op2.pfunc could imply infinite loops in cases of self-dependence
  if(op1.op==Num)return(op1.ValC!=op2.ValC);
  if(op1.mmb1==NULL&&op2.mmb1!=NULL)return 1;
  if(op1.mmb2==NULL&&op2.mmb2!=NULL)return 1;
  if(op2.mmb1==NULL&&op1.mmb1!=NULL)return 1;
  if(op2.mmb2==NULL&&op1.mmb2!=NULL)return 1;
  return(((op1.mmb1!=NULL||op2.mmb1!=NULL)&&(*(op1.mmb1)!=*(op2.mmb1)))||
	 ((op1.mmb2!=NULL||op2.mmb2!=NULL)&&(*(op1.mmb2)!=*(op2.mmb2))));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x24(%r14), %eax
movb $0x1, %r15b
cmpl 0x24(%rbx), %eax
jne 0xcd69
cmpl $0x2, %eax
je 0xcd3c
cmpl $0x16, %eax
je 0xcd53
cmpl $0x3, %eax
je 0xcd5d
movq 0x28(%r14), %rdi
movq 0x28(%rbx), %rsi
testq %rdi, %rdi
jne 0xcce5
testq %rsi, %rsi
jne 0xcd69
movq 0x30(%r14), %r14
testq %r14, %r14
setne %al
movq 0x30(%rbx), %rbx
testq %rbx, %rbx
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0xcd69
testq %rdi, %rdi
je 0xcd0a
testq %rsi, %rsi
je 0xcd69
testq %rbx, %rbx
sete %al
testq %r14, %r14
setne %cl
testb %al, %cl
jne 0xcd69
movq %rdi, %rax
orq %rsi, %rax
je 0xcd2b
callq 0xcc9d
testl %eax, %eax
jne 0xcd69
movq %rbx, %rax
orq %r14, %rax
jne 0xcca8
xorl %r15d, %r15d
jmp 0xcd69
movsd 0x38(%rbx), %xmm0
cmpneqsd 0x38(%r14), %xmm0
movq %xmm0, %r15
andl $0x1, %r15d
jmp 0xcd69
movq 0x50(%r14), %rax
cmpq 0x50(%rbx), %rax
jmp 0xcd65
movq 0x40(%r14), %rax
cmpq 0x40(%rbx), %rax
setne %r15b
movzbl %r15b, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ROperation::operator-() const
ROperation ROperation::operator-() const
{if(op==Num)return -ValC;
ROperation resultat;
if(op==Opp)resultat=*mmb2;else{resultat.op=Opp;resultat.mmb2=new ROperation(*this);};
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x2, 0x24(%rsi)
jne 0xcdaa
movsd 0x38(%r14), %xmm0
xorps 0x14390(%rip), %xmm0    # 0x21130
movq %rbx, %rdi
callq 0xca6e
jmp 0xcde8
movq %rbx, %rdi
callq 0xc3a0
cmpl $0x6, 0x24(%r14)
jne 0xcdc7
movq 0x30(%r14), %rsi
movq %rbx, %rdi
callq 0xbd52
jmp 0xcde8
movl $0x6, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
callq 0x4330
jmp 0xce04
movq %rax, %r14
movq %rbx, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator,(ROperation const&, ROperation const&)
ROperation operator,(const ROperation& op1,const ROperation& op2)
{ROperation resultat;
resultat.op=Juxt;resultat.mmb1=new ROperation(op1);
resultat.mmb2=new ROperation(op2);
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0xc3a0
movl $0x1, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %r12, 0x28(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
jmp 0xce88
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x4330
jmp 0xce92
movq %rax, %r14
movq %rbx, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator+(ROperation const&, ROperation const&)
ROperation operator+(const ROperation& op1,const ROperation& op2)
{
if(op1.op==Num&&op2.op==Num)return op1.ValC+op2.ValC;
if(op1==0.)return op2;if(op2==0.)return op1;
if(op1.op==Opp)return op2-*(op1.mmb2);if(op2.op==Opp)return op1-*(op2.mmb2);
ROperation resultat;
resultat.op=Add;resultat.mmb1=new ROperation(op1);
resultat.mmb2=new ROperation(op2);
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x24(%rsi), %ecx
movl %ecx, %edx
xorl $0x2, %edx
movl 0x24(%r14), %eax
movl %eax, %esi
xorl $0x2, %esi
movsd 0x38(%r15), %xmm0
orl %edx, %esi
jne 0xcede
addsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xca6e
jmp 0xcf19
cmpl $0x2, %ecx
jne 0xcef7
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xcef7
jp 0xcef7
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xcf14
cmpl $0x2, %eax
jne 0xcf28
movsd 0x38(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xcf28
jp 0xcf28
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x6, %ecx
jne 0xcf39
movq 0x30(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xcf48
cmpl $0x6, %eax
jne 0xcf4f
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcfc2
jmp 0xcf19
movq %rbx, %rdi
callq 0xc3a0
movl $0x4, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %r12, 0x28(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
jmp 0xcf19
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
jmp 0xcfa8
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x4330
jmp 0xcfb2
movq %rax, %r14
movq %rbx, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator-(ROperation const&, ROperation const&)
ROperation operator-(const ROperation& op1,const ROperation& op2)
{
if(op1.op==Num&&op2.op==Num)return op1.ValC-op2.ValC;
if(op1==0.)return -op2;if(op2==0.)return op1;
if(op1.op==Opp)return -(op2+*(op1.mmb2));if(op2.op==Opp)return op1+*(op2.mmb2);
ROperation resultat;
resultat.op=Sub;resultat.mmb1=new ROperation(op1);
resultat.mmb2=new ROperation(op2);
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x24(%rsi), %ecx
movl %ecx, %edx
xorl $0x2, %edx
movl 0x24(%r14), %eax
movl %eax, %esi
xorl $0x2, %esi
movsd 0x38(%r15), %xmm0
orl %edx, %esi
jne 0xd004
subsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xca6e
jmp 0xd0d1
cmpl $0x2, %ecx
jne 0xd025
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd025
jp 0xd025
movq %rbx, %rdi
movq %r14, %rsi
callq 0xcd82
jmp 0xd0d1
cmpl $0x2, %eax
jne 0xd04c
movsd 0x38(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd04c
jp 0xd04c
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xd0d1
cmpl $0x6, %ecx
jne 0xd078
movq 0x30(%r15), %rdx
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xcea2
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcd82
movq %rsp, %rdi
callq 0xc8b8
jmp 0xd0d1
cmpl $0x6, %eax
jne 0xd08e
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcea2
jmp 0xd0d1
movq %rbx, %rdi
callq 0xc3a0
movl $0x5, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %r12, 0x28(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
jmp 0xd0f4
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x4330
jmp 0xd0fe
movq %rax, %r14
movq %rbx, %rdi
jmp 0xd109
movq %rax, %r14
movq %rsp, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator*(ROperation const&, ROperation const&)
ROperation operator*(const ROperation& op1,const ROperation& op2)
{
if(op1.op==Num&&op2.op==Num)return op1.ValC*op2.ValC;
if(op1==0.||op2==0.)return 0.;
if(op1==1.)return op2;if(op2==1.)return op1;
if(op1.op==Opp)return -(*(op1.mmb2)*op2);if(op2.op==Opp)return -(op1**(op2.mmb2));
ROperation resultat;
resultat.op=Mult;resultat.mmb1=new ROperation(op1);
resultat.mmb2=new ROperation(op2);
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x24(%rsi), %ecx
movl %ecx, %edx
xorl $0x2, %edx
movl 0x24(%r14), %eax
movl %eax, %esi
xorl $0x2, %esi
movsd 0x38(%r15), %xmm0
orl %edx, %esi
jne 0xd14d
mulsd 0x38(%r14), %xmm0
jmp 0xd179
cmpl $0x2, %ecx
jne 0xd15e
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd15e
jnp 0xd175
movsd 0x38(%r14), %xmm1
cmpl $0x2, %eax
jne 0xd190
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jne 0xd190
jp 0xd190
xorpd %xmm0, %xmm0
movq %rbx, %rdi
callq 0xca6e
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x2, %ecx
jne 0xd1a9
ucomisd 0x13f63(%rip), %xmm0    # 0x21100
jne 0xd1a9
jp 0xd1a9
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xd1c0
cmpl $0x2, %eax
jne 0xd1c7
ucomisd 0x13f4a(%rip), %xmm1    # 0x21100
jne 0xd1c7
jp 0xd1c7
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xd181
cmpl $0x6, %ecx
jne 0xd1eb
movq 0x30(%r15), %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0xd116
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcd82
jmp 0xd20d
cmpl $0x6, %eax
jne 0xd21a
movq 0x30(%r14), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xd116
movq %rbx, %rdi
movq %r14, %rsi
callq 0xcd82
movq %rsp, %rdi
callq 0xc8b8
jmp 0xd181
movq %rbx, %rdi
callq 0xc3a0
movl $0x7, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %r12, 0x28(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
jmp 0xd181
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
jmp 0xd276
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x4330
jmp 0xd282
jmp 0xd287
movq %rax, %r14
movq %rbx, %rdi
jmp 0xd28d
movq %rax, %r14
movq %rsp, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator/(ROperation const&, ROperation const&)
ROperation operator/(const ROperation& op1,const ROperation& op2)
{if(op1.op==Num&&op2.op==Num)return (op2.ValC?op1.ValC/op2.ValC:ErrVal);
if(op1==0.0)return 0.;if(op2==1.)return op1;if(op2==0.)return ErrVal;
if(op1.op==Opp)return -(*(op1.mmb2)/op2);if(op2.op==Opp)return -(op1/(*(op2.mmb2)));
ROperation resultat;
resultat.op=Div;resultat.mmb1=new ROperation(op1);
resultat.mmb2=new ROperation(op2);
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x24(%rsi), %ecx
movl %ecx, %edx
xorl $0x2, %edx
movl 0x24(%r14), %eax
movl %eax, %esi
xorl $0x2, %esi
orl %edx, %esi
jne 0xd2f2
movsd 0x38(%r14), %xmm1
movsd 0x38(%r15), %xmm2
divsd %xmm1, %xmm2
xorpd %xmm0, %xmm0
cmpneqsd %xmm1, %xmm0
andpd %xmm0, %xmm2
movsd 0x145e8(%rip), %xmm1    # 0x218d0
andnpd %xmm1, %xmm0
orpd %xmm2, %xmm0
jmp 0xd30d
cmpl $0x2, %ecx
jne 0xd324
movsd 0x38(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd324
jp 0xd324
xorpd %xmm0, %xmm0
movq %rbx, %rdi
callq 0xca6e
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movsd 0x38(%r14), %xmm0
cmpl $0x2, %eax
jne 0xd348
ucomisd 0x13dc9(%rip), %xmm0    # 0x21100
jne 0xd348
jp 0xd348
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xd315
cmpl $0x2, %eax
jne 0xd363
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd363
jp 0xd363
movsd 0x1456f(%rip), %xmm0    # 0x218d0
jmp 0xd30d
cmpl $0x6, %ecx
jne 0xd387
movq 0x30(%r15), %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0xd29a
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcd82
jmp 0xd3a9
cmpl $0x6, %eax
jne 0xd3b6
movq 0x30(%r14), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xd29a
movq %rbx, %rdi
movq %r14, %rsi
callq 0xcd82
movq %rsp, %rdi
callq 0xc8b8
jmp 0xd315
movq %rbx, %rdi
callq 0xc3a0
movl $0x8, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %r12, 0x28(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
jmp 0xd315
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
jmp 0xd412
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x4330
jmp 0xd41e
jmp 0xd423
movq %rax, %r14
movq %rbx, %rdi
jmp 0xd429
movq %rax, %r14
movq %rsp, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: operator^(ROperation const&, ROperation const&)
ROperation operator^(const ROperation& op1,const ROperation& op2)
{if(op1==0.)return 0.;
if(op2==0.)return 1.;
if(op2==1.)return op1;
ROperation resultat;
resultat.op=Pow;resultat.mmb1=new ROperation(op1);
resultat.mmb2=new ROperation(op2);
return resultat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpl $0x2, 0x24(%rsi)
jne 0xd465
movsd 0x38(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd465
jp 0xd465
xorpd %xmm0, %xmm0
jmp 0xd488
movl 0x24(%r14), %eax
movsd 0x38(%r14), %xmm0
cmpl $0x2, %eax
jne 0xd49f
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xd49f
jp 0xd49f
movsd 0x13c78(%rip), %xmm0    # 0x21100
movq %rbx, %rdi
callq 0xca6e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x2, %eax
jne 0xd4bd
ucomisd 0x13c54(%rip), %xmm0    # 0x21100
jne 0xd4bd
jp 0xd4bd
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xd490
movq %rbx, %rdi
callq 0xc3a0
movl $0x9, 0x24(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xc9b6
movq %r12, 0x28(%rbx)
pushq $0x58
popq %rdi
callq 0x4320
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xc9b6
movq %r15, 0x30(%rbx)
jmp 0xd490
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r15, %rdi
jmp 0xd516
movq %rax, %r14
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x4330
jmp 0xd520
movq %rax, %r14
movq %rbx, %rdi
callq 0xc8b8
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: ApplyOperator(int, ROperation**, ROperation (*)(ROperation const&, ROperation const&))
ROperation ApplyOperator(int n,ROperation**pops,ROperation (*func)(const ROperation&,const ROperation&))
{
  if(n<=0)return ErrVal;
  if(n==1)return *pops[0];
  if(n==2)return (*func)(*pops[0],*pops[1]);
  return (*func)(*pops[0],ApplyOperator(n-1,pops+1,func));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0xd901
movq %rcx, %r14
movq (%rdx), %r15
cmpl $0x2, %esi
je 0xd913
cmpl $0x1, %esi
jne 0xd922
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc9b6
jmp 0xd94a
movsd 0x13fc7(%rip), %xmm0    # 0x218d0
movq %rbx, %rdi
callq 0xca6e
jmp 0xd94a
movq 0x8(%rdx), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq *%r14
jmp 0xd94a
decl %esi
addq $0x8, %rdx
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rcx
callq 0xd8d2
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *%r14
movq %rsp, %rdi
callq 0xc8b8
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xc8b8
movq %rbx, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: SearchCorOpenbracket(char*, int)
int SearchCorOpenbracket(char*s,int n)  //Searchs the corresponding bracket of an opening bracket
{if(n>=(int)strlen(s)-1)return -1;
int i,c=1;
for(i=n+1;s[i];i++){
	if(s[i]=='(')c++;else if(s[i]==')')c--;
	if(!c)return i;
  };
return -1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
callq 0x4150
decl %eax
pushq $-0x1
popq %rcx
cmpl %ebx, %eax
jle 0xda9c
movslq %ebx, %rax
addq %r14, %rax
incq %rax
pushq $0x1
popq %rdx
movzbl (%rax), %esi
cmpl $0x28, %esi
je 0xda8f
cmpl $0x29, %esi
je 0xda8b
testl %esi, %esi
jne 0xda91
jmp 0xda9c
decl %edx
jmp 0xda91
incl %edx
incl %ebx
incq %rax
testl %edx, %edx
jne 0xda78
jmp 0xda9e
movl %ecx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/srajangarg[P]raytracer/src/core/mathexpr.cpp
// Function: SearchCorClosebracket(char*, int)
int SearchCorClosebracket(char*s,int n)  //Searchs the corresponding bracket of a closing bracket
{if(n<1)return -1;
int i,c=1;
for(i=n-1;i>=0;i--){
	if(s[i]==')')c++;else if(s[i]=='(')c--;
	if(!c)return i;
  };
return -1;
}

// Assembly:
pushq $-0x1
popq %rax
testl %esi, %esi
jle 0xdad7
movl %esi, %ecx
pushq $0x1
popq %rdx
testq %rcx, %rcx
jle 0xdad7
movzbl -0x1(%rdi,%rcx), %esi
cmpl $0x28, %esi
je 0xdacc
cmpl $0x29, %esi
jne 0xdace
incl %edx
jmp 0xdace
decl %edx
decq %rcx
testl %edx, %edx
jne 0xdab4
movl %ecx, %eax
retq