LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/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 %r14
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movsd 0x20845(%rip), %xmm0    # 0x2c140
cmpq $0x0, 0x20(%rsi)
cvtsi2sd %edx, %xmm2
xorps %xmm1, %xmm1
movsd %xmm1, 0x20(%rsp)
movsd %xmm1, 0x18(%rsp)
je 0xb95b
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movapd %xmm2, %xmm0
movsd %xmm2, 0x8(%rsp)
callq *0x8(%rax)
movsd %xmm0, 0x20(%rsp)
movq 0x18(%r14), %rdi
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, 0x18(%rsp)
movq 0x20(%r14), %rdi
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
movsd 0x8(%rsp), %xmm2
movsd %xmm0, 0x28(%rsp)
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movapd %xmm2, %xmm0
callq *0x8(%rax)
mulsd 0x207d1(%rip), %xmm0    # 0x2c148
divsd 0x207d1(%rip), %xmm0    # 0x2c150
movsd %xmm0, 0x10(%rsp)
callq 0x4610
movsd %xmm0, 0x8(%rsp)
movsd 0x10(%rsp), %xmm0
callq 0x40d0
movsd 0x28(%rsp), %xmm11
movapd %xmm0, %xmm7
movsd 0x20791(%rip), %xmm8    # 0x2c140
subsd 0x8(%rsp), %xmm8
movsd 0x18(%rsp), %xmm3
movapd %xmm3, %xmm0
mulsd %xmm3, %xmm0
movsd 0x20(%rsp), %xmm2
movapd %xmm2, %xmm1
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movapd %xmm11, %xmm0
mulsd %xmm11, %xmm0
addsd %xmm1, %xmm0
ucomisd 0x2076c(%rip), %xmm0    # 0x2c158
jb 0xb9fe
movapd %xmm2, %xmm9
movapd %xmm3, %xmm10
sqrtsd %xmm0, %xmm0
jmp 0xba32
movsd %xmm8, 0x10(%rsp)
movsd %xmm7, 0x30(%rsp)
callq 0x4280
movsd 0x30(%rsp), %xmm7
movsd 0x28(%rsp), %xmm11
movsd 0x18(%rsp), %xmm10
movsd 0x20(%rsp), %xmm9
movsd 0x10(%rsp), %xmm8
movsd 0x20706(%rip), %xmm1    # 0x2c140
divsd %xmm0, %xmm1
mulsd %xmm1, %xmm9
mulsd %xmm1, %xmm10
mulsd %xmm1, %xmm11
movapd %xmm8, %xmm0
mulsd %xmm9, %xmm0
movapd %xmm0, %xmm1
mulsd %xmm9, %xmm1
movsd 0x8(%rsp), %xmm12
addsd %xmm12, %xmm1
movapd %xmm0, %xmm4
mulsd %xmm10, %xmm4
movapd %xmm7, %xmm2
mulsd %xmm11, %xmm2
movapd %xmm4, %xmm3
subsd %xmm2, %xmm3
movapd %xmm7, %xmm5
mulsd %xmm10, %xmm5
mulsd %xmm11, %xmm0
movapd %xmm0, %xmm6
addsd %xmm5, %xmm6
addsd %xmm4, %xmm2
movapd %xmm8, %xmm4
mulsd %xmm10, %xmm4
mulsd %xmm4, %xmm10
addsd %xmm12, %xmm10
mulsd %xmm11, %xmm4
mulsd %xmm7, %xmm9
movapd %xmm4, %xmm7
subsd %xmm9, %xmm7
subsd %xmm5, %xmm0
addsd %xmm4, %xmm9
mulsd %xmm11, %xmm8
mulsd %xmm11, %xmm8
addsd %xmm12, %xmm8
movsd %xmm1, (%rbx)
movsd %xmm3, 0x8(%rbx)
movsd %xmm6, 0x10(%rbx)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movsd %xmm2, 0x20(%rbx)
movsd %xmm10, 0x28(%rbx)
movsd %xmm7, 0x30(%rbx)
movq %rax, 0x38(%rbx)
movsd %xmm0, 0x40(%rbx)
movsd %xmm9, 0x48(%rbx)
movsd %xmm8, 0x50(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x58(%rbx)
movupd %xmm0, 0x68(%rbx)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x78(%rbx)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, 0x70(%rdi)
movupd %xmm0, 0x60(%rdi)
movupd %xmm0, 0x50(%rdi)
movupd %xmm0, 0x40(%rdi)
movupd %xmm0, 0x30(%rdi)
movupd %xmm0, 0x20(%rdi)
movupd %xmm0, 0x10(%rdi)
movupd %xmm0, (%rdi)
movq 0x10(%rsi), %rax
subq 0x8(%rsi), %rax
sarq $0x3, %rax
cmpq $0x9, %rax
je 0xbc6a
cmpq $0x10, %rax
jne 0xbcee
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
movsd %xmm0, 0x10(%rsp)
movb $0x1, %bpl
xorl %r12d, %r12d
xorl %ecx, %ecx
movq %rcx, 0x8(%rsp)
movl $0x4, %r13d
movq %r12, %r15
movq 0x8(%r14), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
movsd 0x10(%rsp), %xmm0
callq *0x8(%rax)
testb $0x1, %bpl
je 0xbd37
movsd %xmm0, (%rbx,%r15)
addq $0x8, %r15
decq %r13
jne 0xbc1a
movq 0x8(%rsp), %rax
cmpq $0x3, %rax
leaq 0x1(%rax), %rax
setb %bpl
addq $0x20, %r12
movq %rax, %rcx
cmpq $0x4, %rax
jne 0xbc0c
jmp 0xbd25
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
movq %rax, 0x50(%rbx)
xorl %r15d, %r15d
movl $0x3, %r12d
xorl %eax, %eax
movsd %xmm0, 0x10(%rsp)
cmpq $0x2, %rax
movq %rax, 0x8(%rsp)
movl %eax, %ebp
cmoveq %r12, %rbp
shlq $0x5, %rbp
addq %rbx, %rbp
xorl %r13d, %r13d
movq 0x8(%r14), %rax
addq %r15, %rax
movq (%rax,%r13,8), %rdi
movq (%rdi), %rax
movsd 0x10(%rsp), %xmm0
callq *0x8(%rax)
cmpq $0x2, %r13
movq %r13, %rax
cmoveq %r12, %rax
movsd %xmm0, (%rbp,%rax,8)
incq %r13
cmpq $0x3, %r13
jne 0xbca9
movq 0x8(%rsp), %rax
incq %rax
addq $0x18, %r15
cmpq $0x3, %rax
jne 0xbc90
jmp 0xbd25
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, (%rbx)
movupd %xmm0, 0x8(%rbx)
movupd %xmm0, 0x18(%rbx)
movq %rax, 0x28(%rbx)
movupd %xmm0, 0x30(%rbx)
movupd %xmm0, 0x40(%rbx)
movq %rax, 0x50(%rbx)
movupd %xmm0, 0x58(%rbx)
movupd %xmm0, 0x68(%rbx)
movq %rax, 0x78(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20ab7(%rip), %rdi     # 0x2c7f5
leaq 0x20a9a(%rip), %rsi     # 0x2c7df
leaq 0x20abc(%rip), %rcx     # 0x2c808
movl $0x4d4, %edx            # imm = 0x4D4
callq 0x4200
// File: /workspace/github_cpp_makefile_star2_O1/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 $0x18, %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)
movaps %xmm0, %xmm3
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xbe23
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
movsd %xmm3, 0x8(%rsp)
callq *0x8(%rax)
movsd 0x8(%rsp), %xmm3
jmp 0xbe26
xorps %xmm0, %xmm0
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, (%rbx)
xorps %xmm1, %xmm1
movups %xmm1, 0x8(%rbx)
movsd 0x10(%rsp), %xmm2
movsd %xmm2, 0x18(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x20(%rbx)
movq %rax, 0x28(%rbx)
movq %rcx, 0x30(%rbx)
movsd %xmm3, 0x38(%rbx)
movups %xmm1, 0x40(%rbx)
movq %rax, 0x50(%rbx)
movsd %xmm0, 0x58(%rbx)
movups %xmm1, 0x60(%rbx)
movq %rcx, 0x70(%rbx)
movq %rax, 0x78(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 $0x18, %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)
movaps %xmm0, %xmm2
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xbf55
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
movsd %xmm2, 0x8(%rsp)
callq *0x8(%rax)
movsd 0x8(%rsp), %xmm2
jmp 0xbf5d
movsd 0x201e3(%rip), %xmm0    # 0x2c140
movsd 0x10(%rsp), %xmm1
movsd %xmm1, (%rbx)
xorps %xmm1, %xmm1
movups %xmm1, 0x8(%rbx)
movups %xmm1, 0x18(%rbx)
movsd %xmm2, 0x28(%rbx)
movups %xmm1, 0x30(%rbx)
movups %xmm1, 0x40(%rbx)
movsd %xmm0, 0x50(%rbx)
movups %xmm1, 0x58(%rbx)
movups %xmm1, 0x68(%rbx)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x78(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0xd1c7
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
callq 0x4170
movl %r14d, %r15d
subl %ebp, %r15d
jl 0xd1c7
cmpl %r14d, %eax
jle 0xd1c7
leal 0x2(%r15), %eax
movslq %eax, %rdi
callq 0x4040
movq %rax, %r14
movl %ebp, %eax
addq %rax, %rbx
leaq 0x1(%r15), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x42a0
movslq %r15d, %rax
addq %r14, %rax
incq %rax
jmp 0xd1d4
movl $0x1, %edi
callq 0x4040
movq %rax, %r14
movb $0x0, (%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0xd2a7
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %rbx
movq (%rdi), %r14
movq %r14, %rdi
callq 0x4170
cmpl %r15d, %eax
jl 0xd29f
addq $0x2, %rax
movq %rax, %rdi
callq 0x4040
movq %rax, %r12
movl %r15d, %eax
testl %r15d, %r15d
je 0xd259
xorl %ecx, %ecx
movb (%r14,%rcx), %dl
movb %dl, (%r12,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0xd249
movb %bpl, (%r12,%rax)
incl %r15d
movb (%r14,%rax), %al
testb %al, %al
je 0xd287
movl %r15d, %r15d
leaq (%r14,%r15), %rdx
movq %r12, %rsi
addq %r15, %rsi
xorl %ecx, %ecx
movb %al, (%rsi,%rcx)
movb (%rdx,%rcx), %al
incq %rcx
testb %al, %al
jne 0xd277
addl %ecx, %r15d
movl %r15d, %eax
movb $0x0, (%r12,%rax)
testq %r14, %r14
je 0xd29c
movq %r14, %rdi
callq 0x43d0
movq %r12, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0xd32a
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
callq 0x4170
movq %rax, %r15
cmpl %ebp, %r15d
jle 0xd31d
movq %rbx, %rdi
callq 0x4170
addl %ebp, %eax
cmpl %r15d, %eax
jle 0xd32d
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
retq
movb (%rbx), %cl
movb $0x1, %al
testb %cl, %cl
je 0xd31f
movl %ebp, %edx
addq %rdx, %r14
xorl %edx, %edx
cmpb %cl, (%r14,%rdx)
jne 0xd31d
movb 0x1(%rbx,%rdx), %cl
incq %rdx
testb %cl, %cl
jne 0xd33c
jmp 0xd31f
// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r15d
movq %rdi, %rbx
movq (%rdi), %r14
movq %r14, %rdi
callq 0x4170
movq %rax, %rdi
callq 0x4040
movq %rax, %r12
testl %r15d, %r15d
jle 0xd38d
movl %r15d, %eax
xorl %ecx, %ecx
movb (%r14,%rcx), %dl
movb %dl, (%r12,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0xd37d
movslq %r15d, %rcx
movb 0x1(%r14,%rcx), %al
testb %al, %al
je 0xd3b8
incq %rcx
movslq %ecx, %rcx
addq %r14, %rcx
incq %rcx
movslq %r15d, %r15
movb %al, (%r12,%r15)
movb (%rcx), %al
incl %r15d
incq %rcx
testb %al, %al
jne 0xd3a5
movslq %r15d, %rax
movb $0x0, (%r12,%rax)
testq %r14, %r14
je 0xd3cd
movq %r14, %rdi
callq 0x43d0
movq %r12, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0xd5b1
movq %rsi, %r15
movq %rbx, %rdi
callq 0xe18c
movl 0x24(%r15), %eax
movl %eax, 0x24(%rbx)
movq 0x40(%r15), %rax
movq %rax, 0x40(%rbx)
movq 0x48(%r15), %rax
movq %rax, 0x48(%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 0xd578
movl $0x58, %edi
callq 0x4310
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xe2ba
jmp 0xd57b
xorl %r14d, %r14d
movq %r14, 0x28(%rbx)
movq 0x30(%r15), %r15
testq %r15, %r15
je 0xd5a2
movl $0x58, %edi
callq 0x4310
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xd5a5
xorl %r14d, %r14d
movq %r14, 0x30(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0xd5c2
movq %rax, %rbx
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
movq %rbx, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
leaq 0x18(%rdi), %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x3c(%rdi)
movl $0x0, 0x4c(%rdi)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x50(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movb $0x0, 0x38(%rdi)
movups %xmm0, 0x58(%rdi)
movq $0x0, 0x68(%rdi)
movq %rbx, %rdi
callq 0xdc5e
cmpq %r15, %r14
je 0xd7c7
movb 0x8(%r15), %al
movb %al, 0x8(%r14)
leaq 0x18(%r15), %rsi
movq %rbx, %rdi
callq 0xd4fe
movq 0x10(%r15), %rax
movq %rax, 0x10(%r14)
movq 0x80(%r15), %rdi
callq 0xd1e5
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 0xd77a
movq $0x0, 0x78(%r14)
xorl %eax, %eax
jmp 0xd7c4
movslq %ebp, %r13
leaq (,%r13,8), %rax
testl %ebp, %ebp
movq $-0x1, %r12
cmovnsq %rax, %r12
movq %r12, %rdi
callq 0x4040
movq %rax, 0x78(%r14)
testl %ebp, %ebp
jle 0xd7bc
xorl %eax, %eax
movq 0x78(%r15), %rcx
movq (%rcx,%rax,8), %rcx
movq 0x78(%r14), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0xd7a4
movq %r12, %rdi
callq 0x4040
movq %rax, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd7d8
movq %rax, %r14
movq %rbx, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r15
movl %edx, %ebp
movq %rdi, %r14
leaq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0xe2ba
movb $0x1, 0x8(%r14)
movl $0x1, %edi
callq 0x4040
movq %rax, 0x80(%r14)
movb $0x0, (%rax)
movl %ebp, 0x70(%r14)
testl %ebp, %ebp
je 0xd8df
movslq %ebp, %rax
shlq $0x3, %rax
testl %ebp, %ebp
movq $-0x1, %r12
cmovnsq %rax, %r12
movq %r12, %rdi
callq 0x4040
movq %rax, 0x78(%r14)
testl %ebp, %ebp
jle 0xd8d5
movl %ebp, %eax
xorl %ecx, %ecx
movq (%r15,%rcx,8), %rdx
movq 0x78(%r14), %rsi
movq %rdx, (%rsi,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0xd8c1
movq %r12, %rdi
callq 0x4040
jmp 0xd8e9
movq $0x0, 0x78(%r14)
xorl %eax, %eax
movq %rax, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd8f7
movq %rax, %r14
movq %rbx, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0xda2c
movq %rsi, %r14
movb 0x8(%rsi), %al
movb %al, 0x8(%rbx)
addq $0x18, %rsi
leaq 0x18(%rbx), %rdi
callq 0xd4fe
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0xd98b
callq 0x43d0
movq 0x80(%r14), %rdi
callq 0xd1e5
movq %rax, 0x80(%rbx)
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0xd9ac
callq 0x43d0
movq $0x0, 0x78(%rbx)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xd9c1
callq 0x43d0
movq $0x0, (%rbx)
movl 0x70(%r14), %ebp
movl %ebp, 0x70(%rbx)
cmpb $0x1, 0x8(%rbx)
setne %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
jne 0xda2c
movslq %ebp, %r12
leaq (,%r12,8), %rax
testl %ebp, %ebp
movq $-0x1, %r15
cmovnsq %rax, %r15
movq %r15, %rdi
callq 0x4040
movq %rax, 0x78(%rbx)
movq %r15, %rdi
callq 0x4040
movq %rax, (%rbx)
testl %ebp, %ebp
jle 0xda2c
xorl %eax, %eax
movq 0x78(%r14), %rcx
movq (%rcx,%rax,8), %rcx
movq 0x78(%rbx), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %r12
jne 0xda14
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0xdac0
cmpl $0x1, 0x70(%rdi)
jg 0xdac0
testb %al, %al
je 0xdac9
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 0xdacc
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 0x1ede0(%rip), %xmm0    # 0x2c8a8
retq
jmpq *0x10(%rdi)
// File: /workspace/github_cpp_makefile_star2_O1/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 %rax, (%rsp)
movq (%r14), %rax
testq %rax, %rax
je 0xdb7a
movq 0x18(%rdi), %r12
addq $0x8, %r14
leaq 0x60de(%rip), %r13      # 0x13be3
leaq 0x60d8(%rip), %rbp      # 0x13be4
movq %rsp, %rbx
cmpq %r13, %rax
je 0xdb20
cmpq %rbp, %rax
je 0xdb3e
movq %rbx, %rdi
callq *%rax
jmp 0xdb6e
movq (%r15), %rax
addq $0x8, %r15
movsd (%rax), %xmm0
movq (%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, (%rsp)
movsd %xmm0, 0x8(%rax)
jmp 0xdb6e
movq (%r12), %rdi
addq $0x8, %r12
movslq 0x70(%rdi), %rax
shlq $0x3, %rax
movq (%rsp), %rcx
negq %rax
leaq (%rcx,%rax), %rsi
addq $0x8, %rsi
movq %rsi, (%rsp)
callq 0xdb92
movq (%rsp), %rax
movsd %xmm0, (%rax)
movq (%r14), %rax
addq $0x8, %r14
testq %rax, %rax
jne 0xdb0f
movq (%rsp), %rax
movsd (%rax), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0xdbaf
pushq %rbx
cmpl $0xff, %eax
jne 0xdbb7
movsd 0x1ecfb(%rip), %xmm0    # 0x2c8a8
jmp 0xdc24
movsd (%rsi), %xmm0
jmpq *0x10(%r9)
movslq 0x70(%r9), %rax
testq %rax, %rax
jle 0xdbed
movq (%r9), %rcx
movq 0x78(%r9), %rdx
xorl %edi, %edi
movq (%rdx,%rdi,8), %r8
movq 0x8(%r8), %r8
movsd (%r8), %xmm0
movsd %xmm0, (%rcx,%rdi,8)
movsd (%rsi,%rdi,8), %xmm0
movsd %xmm0, (%r8)
incq %rdi
cmpq %rdi, %rax
jne 0xdbc9
leaq 0x18(%r9), %rdi
movq %r9, %rbx
callq 0xdacc
movslq 0x70(%rbx), %rax
testq %rax, %rax
jle 0xdc24
movq (%rbx), %rcx
movq 0x78(%rbx), %rdx
xorl %esi, %esi
movsd (%rcx,%rsi,8), %xmm1
movq (%rdx,%rsi,8), %rdi
movq 0x8(%rdi), %rdi
movsd %xmm1, (%rdi)
incq %rsi
cmpq %rsi, %rax
jne 0xdc0b
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %r14
testq %r14, %r14
je 0xe1d8
leaq 0x28(%rbx), %r15
movq 0x30(%rbx), %rax
testq %rax, %rax
sete %cl
cmpq %rax, %r14
sete %al
orb %cl, %al
je 0xe200
testq %r14, %r14
je 0xe1d8
movq %r14, %rdi
callq 0xe18c
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
movq $0x0, (%r15)
jmp 0xe23a
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0xe23a
movq %r14, %rdi
callq 0xe18c
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
movq $0x0, 0x30(%rbx)
jmp 0xe23a
movq %r14, %rdi
callq 0xe18c
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0xe233
movq %r14, %rdi
callq 0xe18c
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xe24e
callq 0x43d0
movq $0x0, (%rbx)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xe288
testl $0xfffffffd, 0x24(%rbx) # imm = 0xFFFFFFFD
jne 0xe272
movq (%rax), %rdi
testq %rdi, %rdi
je 0xe272
movl $0x8, %esi
callq 0x4320
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xe280
callq 0x43d0
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xe29e
callq 0x43d0
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xe2b4
callq 0x43d0
movq $0x0, 0x18(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/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)
movq 0x40(%rsi), %rax
movq %rax, 0x40(%rdi)
movq 0x48(%rsi), %rax
movq %rax, 0x48(%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 0xe321
movl $0x58, %edi
callq 0x4310
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xe2ba
jmp 0xe324
xorl %r14d, %r14d
movq %r14, 0x28(%rbx)
movq 0x30(%r15), %r15
testq %r15, %r15
je 0xe34b
movl $0x58, %edi
callq 0x4310
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xe34e
xorl %r14d, %r14d
movq %r14, 0x30(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xdc5e
jmp 0xe367
movq %rax, %rbx
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
movq %rbx, %rdi
callq 0x45c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1e516(%rip), %xmm0    # 0x2c8a8
jne 0xe3a8
jp 0xe3a8
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
jmp 0xe3ec
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0xe427
movl $0x6, 0x24(%rbx)
movq $0x0, 0x28(%rbx)
movl $0x58, %edi
movapd %xmm0, (%rsp)
callq 0x4310
movq %rax, %r14
movapd (%rsp), %xmm0
xorpd 0x1e650(%rip), %xmm0    # 0x2ca30
movq %rax, %rdi
callq 0xe380
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)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xdc5e
leaq 0x28(%rbx), %rax
movl $0x2, 0x24(%rbx)
xorpd %xmm1, %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x38(%rbx)
jmp 0xe3fa
movq %rax, %rbx
movl $0x58, %esi
movq %r14, %rdi
callq 0x4320
movq %rbx, %rdi
callq 0x45c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x24(%r15), %eax
xorl %ebx, %ebx
cmpl 0x24(%r14), %eax
jne 0xe5a7
cmpl $0x2, %eax
je 0xe561
cmpl $0x16, %eax
je 0xe578
cmpl $0x3, %eax
je 0xe587
movq 0x28(%r15), %rdi
movq 0x28(%r14), %rsi
testq %rdi, %rdi
jne 0xe504
testq %rsi, %rsi
jne 0xe5a7
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 0xe5a7
testq %rdi, %rdi
je 0xe52d
testq %rsi, %rsi
je 0xe5a7
testq %r14, %r14
sete %al
testq %r15, %r15
setne %cl
testb %al, %cl
jne 0xe5a7
movq %rdi, %rax
orq %rsi, %rax
je 0xe54e
callq 0xe4b8
testl %eax, %eax
je 0xe5a7
movq %r14, %rax
orq %r15, %rax
jne 0xe4c3
movl $0x1, %ebx
jmp 0xe5a7
movsd 0x38(%r14), %xmm0
cmpeqsd 0x38(%r15), %xmm0
movq %xmm0, %rbx
andl $0x1, %ebx
jmp 0xe5a7
movq 0x50(%r15), %rax
xorl %ebx, %ebx
cmpq 0x50(%r14), %rax
sete %bl
jmp 0xe5a7
movq 0x40(%r15), %rax
movq 0x40(%r14), %rcx
movq 0x8(%rax), %rdx
cmpq 0x8(%rcx), %rdx
jne 0xe5a7
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0xd2a8
movzbl %al, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/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, %r14
movq %rdi, %r15
movl 0x24(%r15), %eax
movl $0x1, %ebx
cmpl 0x24(%r14), %eax
jne 0xe6a1
cmpl $0x2, %eax
je 0xe671
cmpl $0x16, %eax
je 0xe688
cmpl $0x3, %eax
je 0xe694
movq 0x28(%r15), %rdi
movq 0x28(%r14), %rsi
testq %rdi, %rdi
jne 0xe61b
testq %rsi, %rsi
jne 0xe6a1
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 0xe6a1
testq %rdi, %rdi
je 0xe640
testq %rsi, %rsi
je 0xe6a1
testq %r14, %r14
sete %al
testq %r15, %r15
setne %cl
testb %al, %cl
jne 0xe6a1
movq %rdi, %rax
orq %rsi, %rax
je 0xe661
callq 0xe5d0
testl %eax, %eax
jne 0xe6a1
movq %r14, %rax
orq %r15, %rax
jne 0xe5db
xorl %ebx, %ebx
jmp 0xe6a1
movsd 0x38(%r14), %xmm0
cmpneqsd 0x38(%r15), %xmm0
movq %xmm0, %rbx
andl $0x1, %ebx
jmp 0xe6a1
movq 0x50(%r15), %rax
xorl %ebx, %ebx
cmpq 0x50(%r14), %rax
jmp 0xe69e
movq 0x40(%r15), %rax
xorl %ebx, %ebx
cmpq 0x40(%r14), %rax
setne %bl
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0xe6e0
movsd 0x38(%r14), %xmm0
xorps 0x1e35a(%rip), %xmm0    # 0x2ca30
movq %rbx, %rdi
callq 0xe380
jmp 0xe756
xorps %xmm0, %xmm0
movups %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movups %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
cmpl $0x6, 0x24(%r14)
jne 0xe730
movq 0x30(%r14), %rsi
movq %rbx, %rdi
callq 0xd4fe
jmp 0xe756
leaq 0x24(%rbx), %rax
movl $0x6, (%rax)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
callq 0x4320
jmp 0xe774
movq %rax, %r14
movq %rbx, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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
xorps %xmm0, %xmm0
movups %xmm0, 0x24(%rdi)
movl $0x0, 0x34(%rdi)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rdi)
movups %xmm0, (%rdi)
movups %xmm0, 0x10(%rdi)
movb $0x0, 0x20(%rdi)
movups %xmm0, 0x40(%rdi)
movq $0x0, 0x50(%rdi)
callq 0xdc5e
movl $0x1, 0x24(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xe833
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4320
jmp 0xe83d
movq %rax, %r14
movq %rbx, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 0xe889
addsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xe380
jmp 0xe8c4
cmpl $0x2, %ecx
jne 0xe8a2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe8a2
jp 0xe8a2
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xe8bf
cmpl $0x2, %eax
jne 0xe8d3
movsd 0x38(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe8d3
jp 0xe8d3
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x6, %ecx
jne 0xe8e4
movq 0x30(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xe8f3
cmpl $0x6, %eax
jne 0xe8fa
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe9b0
jmp 0xe8c4
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movl $0x4, 0x24(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
jmp 0xe8c4
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xe996
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4320
jmp 0xe9a0
movq %rax, %r14
movq %rbx, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 0xe9f2
subsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xe380
jmp 0xeafe
cmpl $0x2, %ecx
jne 0xea13
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xea13
jp 0xea13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe6b8
jmp 0xeafe
cmpl $0x2, %eax
jne 0xea3a
movsd 0x38(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xea3a
jp 0xea3a
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xeafe
cmpl $0x6, %ecx
jne 0xea69
movq 0x30(%r15), %rdx
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xe84d
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe6b8
movq %rsp, %rdi
callq 0xe18c
jmp 0xeafe
cmpl $0x6, %eax
jne 0xea7f
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe84d
jmp 0xeafe
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movl $0x5, 0x24(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xeb25
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4320
jmp 0xeb2f
movq %rax, %r14
movq %rbx, %rdi
jmp 0xeb3a
movq %rax, %r14
movq %rsp, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 0xeb86
mulsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xe380
jmp 0xebdd
cmpl $0x2, %ecx
jne 0xeb97
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xeb97
jnp 0xebae
movsd 0x38(%r14), %xmm1
cmpl $0x2, %eax
jne 0xebec
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jne 0xebec
jp 0xebec
movl $0x2, 0x24(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x28(%rbx)
movupd %xmm0, 0x38(%rbx)
movupd %xmm0, 0x48(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x2, %ecx
jne 0xec05
ucomisd 0x1d547(%rip), %xmm0    # 0x2c140
jne 0xec05
jp 0xec05
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xec1c
cmpl $0x2, %eax
jne 0xec23
ucomisd 0x1d52e(%rip), %xmm1    # 0x2c140
jne 0xec23
jp 0xec23
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xebdd
cmpl $0x6, %ecx
jne 0xec47
movq 0x30(%r15), %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0xeb47
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe6b8
jmp 0xec69
cmpl $0x6, %eax
jne 0xec76
movq 0x30(%r14), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xeb47
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe6b8
movq %rsp, %rdi
callq 0xe18c
jmp 0xebdd
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movl $0x7, 0x24(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
jmp 0xebdd
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xed12
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4320
jmp 0xed1e
jmp 0xed23
movq %rax, %r14
movq %rbx, %rdi
jmp 0xed29
movq %rax, %r14
movq %rsp, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 0xed99
movsd 0x38(%r14), %xmm1
movsd 0x38(%r15), %xmm2
divsd %xmm1, %xmm2
xorpd %xmm0, %xmm0
cmpneqsd %xmm1, %xmm0
andpd %xmm0, %xmm2
movsd 0x1db24(%rip), %xmm1    # 0x2c8a8
andnpd %xmm1, %xmm0
orpd %xmm2, %xmm0
movq %rbx, %rdi
callq 0xe380
jmp 0xef25
cmpl $0x2, %ecx
jne 0xede4
movsd 0x38(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xede4
jp 0xede4
movl $0x2, 0x24(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x28(%rbx)
movupd %xmm0, 0x38(%rbx)
movupd %xmm0, 0x48(%rbx)
movq %rbx, %rdi
callq 0xdc5e
jmp 0xef25
movsd 0x38(%r14), %xmm0
cmpl $0x2, %eax
jne 0xee0b
ucomisd 0x1d349(%rip), %xmm0    # 0x2c140
jne 0xee0b
jp 0xee0b
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xef25
cmpl $0x2, %eax
jne 0xee56
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xee56
jp 0xee56
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
jmp 0xedd7
cmpl $0x6, %ecx
jne 0xee7a
movq 0x30(%r15), %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0xed36
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe6b8
jmp 0xee9c
cmpl $0x6, %eax
jne 0xeea6
movq 0x30(%r14), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xed36
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe6b8
movq %rsp, %rdi
callq 0xe18c
jmp 0xef25
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movl $0x8, 0x24(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xef4c
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4320
jmp 0xef58
jmp 0xef5d
movq %rax, %r14
movq %rbx, %rdi
jmp 0xef63
movq %rax, %r14
movq %rsp, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 0xefc2
movsd 0x38(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xefc2
jp 0xefc2
movl $0x2, 0x24(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x28(%rbx)
movupd %xmm0, 0x38(%rbx)
movupd %xmm0, 0x48(%rbx)
jmp 0xf015
movl 0x24(%r14), %eax
movsd 0x38(%r14), %xmm0
cmpl $0x2, %eax
jne 0xf02c
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xf02c
jp 0xf02c
movl $0x2, 0x24(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x28(%rbx)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x2, %eax
jne 0xf04a
ucomisd 0x1d107(%rip), %xmm0    # 0x2c140
jne 0xf04a
jp 0xf04a
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xf01d
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movupd %xmm0, (%rbx)
movupd %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movupd %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
movl $0x9, 0x24(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xe2ba
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4310
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xe2ba
movq %r15, 0x30(%rbx)
jmp 0xf01d
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xf0e6
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4320
jmp 0xf0f0
movq %rax, %r14
movq %rbx, %rdi
callq 0xe18c
movq %r14, %rdi
callq 0x45c0
// File: /workspace/github_cpp_makefile_star2_O1/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 0xf6f7
movq %rcx, %r14
movq (%rdx), %r15
cmpl $0x2, %esi
je 0xf734
cmpl $0x1, %esi
jne 0xf743
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2ba
jmp 0xf76b
xorps %xmm0, %xmm0
movups %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, 0x38(%rbx)
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movb $0x0, 0x20(%rbx)
movups %xmm0, 0x40(%rbx)
movq $0x0, 0x50(%rbx)
movq %rbx, %rdi
callq 0xdc5e
jmp 0xf76b
movq 0x8(%rdx), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq *%r14
jmp 0xf76b
decl %esi
addq $0x8, %rdx
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rcx
callq 0xf6c8
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *%r14
movq %rsp, %rdi
callq 0xe18c
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xe18c
movq %rbx, %rdi
callq 0x45c0
nop