LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::doRender(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool SceneLoader::doRender(istream & str, string & name)
{
  name = getString(str);

  if (name.empty())
  {
    *err << "Trying to render group without specifying a name at ";
    curPos(*err, str.tellg());
    *err << endl;
    return false;
  }

  if (groups[name] == NULL)
  {
    *err << "Trying to render group not found \"" << name << "\" at ";
    curPos(*err, str.tellg());
    *err << endl;
    return false;
  }

  root->child_ = groups[name];
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x75a0
movq %r15, %rdi
movq %r12, %rsi
callq 0x4390
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xaeb9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
cmpq $0x0, 0x8(%r15)
je 0xaef5
leaq 0x18(%rbx), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0xb11e
cmpq $0x0, (%rax)
je 0xaf0a
movq %r12, %rdi
movq %r15, %rsi
callq 0xb11e
movq (%rax), %rax
movq 0x98(%rbx), %rcx
movq %rax, 0x50(%rcx)
movb $0x1, %al
jmp 0xaf94
movq 0x90(%rbx), %rdi
leaq 0x2071b(%rip), %rsi     # 0x2b61e
movl $0x34, %edx
jmp 0xaf43
movq 0x90(%rbx), %r12
leaq 0x2073b(%rip), %rsi     # 0x2b653
movl $0x22, %edx
movq %r12, %rdi
callq 0x4360
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x4360
leaq 0x2025e(%rip), %rsi     # 0x2b199
movl $0x5, %edx
movq %rax, %rdi
callq 0x4360
movq 0x90(%rbx), %r15
movq %r14, %rdi
callq 0x4580
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x74be
movq 0x90(%rbx), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/ParametricValue.hpp
// Function: ExprValue::ExprValue(char const*)
ExprValue(const char * expr) : timevar_("t" , &time_), dgrvar_("dgr", &dgr_), expr_(expr)
    {
      vararray_[0] = &timevar_;
      vararray_[1] = &dgrvar_;
      op_ = ROperation ( expr_.c_str(), 2, vararray_ );
      time_ = 0;
      dgr_ = M_PI / 180.0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbp
movq %rdi, %r15
leaq 0x2b8b1(%rip), %rax     # 0x368c8
movq %rax, (%rdi)
leaq 0x18(%rdi), %rbx
leaq 0x8(%rdi), %r13
leaq 0x21865(%rip), %rsi     # 0x2c88e
movq %rbx, %rdi
movq %r13, %rdx
callq 0xd01e
leaq 0x28(%r15), %r14
leaq 0x10(%r15), %rdx
leaq 0x207a8(%rip), %rsi     # 0x2b7eb
movq %r14, %rdi
callq 0xd01e
leaq 0x48(%r15), %r12
movq %r12, %rdi
callq 0xd850
leaq 0xa0(%r15), %rdi
movq %rsp, %rdx
movq %rbp, %rsi
callq 0xb292
leaq 0x38(%r15), %rcx
movq %rbx, 0x38(%r15)
movq %r14, 0x40(%r15)
movq 0xa0(%r15), %rsi
movq %rsp, %rdi
movl $0x2, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xfc86
movq %rsp, %rsi
movq %r12, %rdi
callq 0xd122
movq %rsp, %rdi
callq 0xdd8c
xorps %xmm0, %xmm0
movhps 0x20094(%rip), %xmm0    # xmm0 = xmm0[0,1],mem[0,1]
movups %xmm0, (%r13)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
movq %rsp, %rdi
callq 0xdd8c
jmp 0xb0d0
movq %rax, %r13
movq 0xa0(%r15), %rdi
addq $0xb0, %r15
cmpq %r15, %rdi
je 0xb0f3
movq (%r15), %rsi
incq %rsi
callq 0x4310
jmp 0xb0f3
movq %rax, %r13
movq %r12, %rdi
callq 0xdd8c
jmp 0xb100
movq %rax, %r13
movq %r14, %rdi
callq 0xd034
jmp 0xb10d
movq %rax, %r13
movq %rbx, %rdi
callq 0xd034
movq %r13, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xb897
cmpq $0x10, %rax
jne 0xb91b
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
xorl %r15d, %r15d
xorl %r12d, %r12d
movsd %xmm0, 0x8(%rsp)
movl $0x4, %r13d
movq %r15, %rbp
movq 0x8(%r14), %rax
movq (%rax,%rbp), %rdi
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
callq *0x8(%rax)
movsd %xmm0, (%rbx,%rbp)
addq $0x8, %rbp
decq %r13
jne 0xb863
incq %r12
addq $0x20, %r15
cmpq $0x4, %r12
jne 0xb85a
jmp 0xb952
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, 0x8(%rsp)
cmpq $0x2, %rax
movq %rax, 0x10(%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 0x8(%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 0xb8d6
movq 0x10(%rsp), %rax
incq %rax
addq $0x18, %r15
cmpq $0x3, %rax
jne 0xb8bd
jmp 0xb952
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
// File: /workspace/github_cpp_makefile_star2_O3/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, %xmm4
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0xba39
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
movsd %xmm4, 0x8(%rsp)
callq *0x8(%rax)
movsd 0x8(%rsp), %xmm4
jmp 0xba3c
xorps %xmm0, %xmm0
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, (%rbx)
xorps %xmm1, %xmm1
movups %xmm1, 0x8(%rbx)
xorps %xmm2, %xmm2
movhps 0x1f6ee(%rip), %xmm2    # xmm2 = xmm2[0,1],mem[0,1]
movsd 0x10(%rsp), %xmm3
movsd %xmm3, 0x18(%rbx)
movups %xmm2, 0x20(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x30(%rbx)
movsd %xmm4, 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_O3/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 0xbb71
movq (%rdi), %rax
movsd 0x8(%rsp), %xmm0
movsd %xmm2, 0x8(%rsp)
callq *0x8(%rax)
movsd 0x8(%rsp), %xmm2
jmp 0xbb79
movsd 0x1f5cf(%rip), %xmm0    # 0x2b148
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_O3/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 0xcdf3
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
callq 0x4170
movl %r14d, %r15d
subl %ebp, %r15d
jl 0xcdf3
cmpl %r14d, %eax
jle 0xcdf3
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 0x4290
movslq %r15d, %rax
addq %r14, %rax
incq %rax
jmp 0xce00
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_O3/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 0xced2
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movq (%rdi), %r15
movq %r15, %rdi
callq 0x4170
cmpl %r14d, %eax
jl 0xceca
addq $0x2, %rax
movq %rax, %rdi
callq 0x4040
movq %rax, %r12
testl %r14d, %r14d
je 0xce87
movl %r14d, %eax
xorl %ecx, %ecx
movb (%r15,%rcx), %dl
movb %dl, (%r12,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0xce75
jmp 0xce89
xorl %eax, %eax
movb %bpl, (%r12,%rax)
incl %r14d
movb (%r15,%rax), %al
testb %al, %al
je 0xceb7
movl %r14d, %r14d
leaq (%r15,%r14), %rdx
movq %r12, %rsi
addq %r14, %rsi
xorl %ecx, %ecx
movb %al, (%rsi,%rcx)
movb (%rdx,%rcx), %al
incq %rcx
testb %al, %al
jne 0xcea7
addl %ecx, %r14d
movl %r14d, %eax
movb $0x0, (%r12,%rax)
movq %r15, %rdi
callq 0x43c0
movq %r12, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcf55
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 0xcf48
movq %rbx, %rdi
callq 0x4170
addl %ebp, %eax
cmpl %r15d, %eax
jle 0xcf58
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 0xcf4a
movl %ebp, %edx
addq %rdx, %r14
xorl %edx, %edx
cmpb %cl, (%r14,%rdx)
jne 0xcf48
movb 0x1(%rbx,%rdx), %cl
incq %rdx
testb %cl, %cl
jne 0xcf67
jmp 0xcf4a
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcfb8
movl %r15d, %eax
xorl %ecx, %ecx
movb (%r14,%rcx), %dl
movb %dl, (%r12,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0xcfa8
movslq %r15d, %rcx
movb 0x1(%r14,%rcx), %al
testb %al, %al
je 0xcfe0
incq %rcx
addq %r14, %rcx
incq %rcx
movslq %r15d, %r15
movb %al, (%r12,%r15)
movb (%rcx), %al
incl %r15d
incq %rcx
testb %al, %al
jne 0xcfcd
movslq %r15d, %rax
movb $0x0, (%r12,%rax)
movq %r14, %rdi
callq 0x43c0
movq %r12, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd1ce
movq %rsi, %r15
movq %rbx, %rdi
callq 0xdd92
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 0xd195
movl $0x58, %edi
callq 0x4300
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xdeaa
jmp 0xd198
xorl %r14d, %r14d
movq %r14, 0x28(%rbx)
movq 0x30(%r15), %r15
testq %r15, %r15
je 0xd1bf
movl $0x58, %edi
callq 0x4300
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xd1c2
xorl %r14d, %r14d
movq %r14, 0x30(%rbx)
movq %rbx, %rdi
callq 0xd888
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0xd1df
movq %rax, %rbx
movl $0x58, %esi
movq %r14, %rdi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd888
cmpq %r15, %r14
je 0xd3e5
movb 0x8(%r15), %al
movb %al, 0x8(%r14)
leaq 0x18(%r15), %rsi
movq %rbx, %rdi
callq 0xd122
movq 0x10(%r15), %rax
movq %rax, 0x10(%r14)
movq 0x80(%r15), %rdi
callq 0xce11
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 0xd398
movq $0x0, 0x78(%r14)
xorl %eax, %eax
jmp 0xd3e2
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 0xd3da
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 0xd3c2
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 0xd3f6
movq %rax, %r14
movq %rbx, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movl %edx, %ebp
movq %rdi, %r14
leaq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0xdeaa
movb $0x1, 0x8(%r14)
movl $0x1, %edi
callq 0x4040
movq %rax, 0x80(%r14)
movb $0x0, (%rax)
movl %ebp, 0x70(%r14)
testl %ebp, %ebp
je 0xd502
movl %ebp, %r13d
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 0xd4f8
xorl %eax, %eax
movq (%r15,%rax,8), %rcx
movq 0x78(%r14), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0xd4e4
movq %r12, %rdi
callq 0x4040
jmp 0xd50c
movq $0x0, 0x78(%r14)
xorl %eax, %eax
movq %rax, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd520
movq %rax, %r14
movq %rbx, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd656
movq %rsi, %r14
movb 0x8(%rsi), %al
movb %al, 0x8(%rbx)
addq $0x18, %rsi
leaq 0x18(%rbx), %rdi
callq 0xd122
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0xd5b5
callq 0x43c0
movq 0x80(%r14), %rdi
callq 0xce11
movq %rax, 0x80(%rbx)
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0xd5d6
callq 0x43c0
movq $0x0, 0x78(%rbx)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xd5eb
callq 0x43c0
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 0xd656
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 0xd656
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 0xd63e
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd6ea
cmpl $0x1, 0x70(%rdi)
jg 0xd6ea
testb %al, %al
je 0xd6f3
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 0xd6f6
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 0x1e17e(%rip), %xmm0    # 0x2b870
retq
jmpq *0x10(%rdi)
// File: /workspace/github_cpp_makefile_star2_O3/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), %rcx
addq $-0x8, %rcx
movq %rcx, (%rsp)
movq (%r14), %rax
testq %rax, %rax
je 0xd7a8
movq 0x18(%rdi), %r12
addq $0x8, %r14
leaq 0x6036(%rip), %r13      # 0x13765
leaq 0x6030(%rip), %rbp      # 0x13766
movq %rsp, %rbx
cmpq %r13, %rax
je 0xd74a
cmpq %rbp, %rax
je 0xd768
movq %rbx, %rdi
callq *%rax
jmp 0xd798
movq (%r15), %rax
addq $0x8, %r15
movsd (%rax), %xmm0
movq (%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, (%rsp)
movsd %xmm0, 0x8(%rax)
jmp 0xd798
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 0xd7bc
movq (%rsp), %rax
movsd %xmm0, (%rax)
movq (%r14), %rax
addq $0x8, %r14
testq %rax, %rax
jne 0xd739
movq (%rsp), %rcx
movsd (%rcx), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd7d9
pushq %rbx
cmpl $0xff, %eax
jne 0xd7e1
movsd 0x1e099(%rip), %xmm0    # 0x2b870
jmp 0xd84e
movsd (%rsi), %xmm0
jmpq *0x10(%r9)
movslq 0x70(%r9), %rax
testq %rax, %rax
jle 0xd817
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 0xd7f3
leaq 0x18(%r9), %rdi
movq %r9, %rbx
callq 0xd6f6
movslq 0x70(%rbx), %rax
testq %rax, %rax
jle 0xd84e
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 0xd835
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xdde2
leaq 0x28(%rbx), %r12
testq %r14, %r14
sete %al
cmpq %r14, %r15
sete %bpl
orb %al, %bpl
movq %r15, %rdi
callq 0xdd92
movl $0x58, %esi
movq %r15, %rdi
callq 0x4310
testb %bpl, %bpl
je 0xde06
movq $0x0, (%r12)
jmp 0xde2c
testq %r14, %r14
je 0xde2c
movq %r14, %rdi
callq 0xdd92
movl $0x58, %esi
movq %r14, %rdi
callq 0x4310
movq $0x0, 0x30(%rbx)
jmp 0xde2c
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0xde17
movq %r14, %rdi
callq 0xdd92
movl $0x58, %esi
movq %r14, %rdi
callq 0x4310
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xde40
callq 0x43c0
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xde75
testl $0xfffffffd, 0x24(%rbx) # imm = 0xFFFFFFFD
jne 0xde68
movq (%rdi), %rdi
movl $0x8, %esi
callq 0x4310
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xde6d
callq 0x43c0
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xde8b
callq 0x43c0
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xdea1
callq 0x43c0
movq $0x0, 0x18(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xdf09
movl $0x58, %edi
callq 0x4300
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xdeaa
jmp 0xdf0c
xorl %r14d, %r14d
movq %r14, 0x28(%rbx)
movq 0x30(%r15), %r15
testq %r15, %r15
je 0xdf33
movl $0x58, %edi
callq 0x4300
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xdf36
xorl %r14d, %r14d
movq %r14, 0x30(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xd888
jmp 0xdf4f
movq %rax, %rbx
movl $0x58, %esi
movq %r14, %rdi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1d8f6(%rip), %xmm0    # 0x2b870
jne 0xdf90
jp 0xdf90
xorpd %xmm0, %xmm0
movupd %xmm0, 0x24(%rbx)
movl $0x0, 0x34(%rbx)
jmp 0xdfd4
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jae 0xe00f
movl $0x6, 0x24(%rbx)
movq $0x0, 0x28(%rbx)
movl $0x58, %edi
movapd %xmm0, (%rsp)
callq 0x4300
movq %rax, %r14
movapd (%rsp), %xmm0
xorpd 0x1d198(%rip), %xmm0    # 0x2b160
movq %rax, %rdi
callq 0xdf68
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 0xd888
leaq 0x28(%rbx), %rax
movl $0x2, 0x24(%rbx)
xorpd %xmm1, %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x38(%rbx)
jmp 0xdfe2
movq %rax, %rbx
movl $0x58, %esi
movq %r14, %rdi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe18f
cmpl $0x2, %eax
je 0xe149
cmpl $0x16, %eax
je 0xe160
cmpl $0x3, %eax
je 0xe16f
movq 0x28(%r15), %rdi
movq 0x28(%r14), %rsi
testq %rdi, %rdi
jne 0xe0ec
testq %rsi, %rsi
jne 0xe18f
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 0xe18f
testq %rdi, %rdi
je 0xe115
testq %rsi, %rsi
je 0xe18f
testq %r14, %r14
sete %al
testq %r15, %r15
setne %cl
testb %al, %cl
jne 0xe18f
movq %rdi, %rax
orq %rsi, %rax
je 0xe136
callq 0xe0a0
testl %eax, %eax
je 0xe18f
movq %r14, %rax
orq %r15, %rax
jne 0xe0ab
movl $0x1, %ebx
jmp 0xe18f
movsd 0x38(%r14), %xmm0
cmpeqsd 0x38(%r15), %xmm0
movq %xmm0, %rbx
andl $0x1, %ebx
jmp 0xe18f
movq 0x50(%r15), %rax
xorl %ebx, %ebx
cmpq 0x50(%r14), %rax
sete %bl
jmp 0xe18f
movq 0x40(%r15), %rax
movq 0x40(%r14), %rcx
movq 0x8(%rax), %rdx
cmpq 0x8(%rcx), %rdx
jne 0xe18f
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0xced3
movzbl %al, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe284
cmpl $0x2, %eax
je 0xe257
cmpl $0x16, %eax
je 0xe26e
cmpl $0x3, %eax
je 0xe278
movq 0x28(%r14), %rdi
movq 0x28(%rbx), %rsi
testq %rdi, %rdi
jne 0xe200
testq %rsi, %rsi
jne 0xe284
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 0xe284
testq %rdi, %rdi
je 0xe225
testq %rsi, %rsi
je 0xe284
testq %rbx, %rbx
sete %al
testq %r14, %r14
setne %cl
testb %al, %cl
jne 0xe284
movq %rdi, %rax
orq %rsi, %rax
je 0xe246
callq 0xe1b8
testl %eax, %eax
jne 0xe284
movq %rbx, %rax
orq %r14, %rax
jne 0xe1c3
xorl %r15d, %r15d
jmp 0xe284
movsd 0x38(%rbx), %xmm0
cmpneqsd 0x38(%r14), %xmm0
movq %xmm0, %r15
andl $0x1, %r15d
jmp 0xe284
movq 0x50(%r14), %rax
cmpq 0x50(%rbx), %rax
jmp 0xe280
movq 0x40(%r14), %rax
cmpq 0x40(%rbx), %rax
setne %r15b
movzbl %r15b, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe2c4
movsd 0x38(%r14), %xmm0
xorps 0x1cea6(%rip), %xmm0    # 0x2b160
movq %rbx, %rdi
callq 0xdf68
jmp 0xe33a
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 0xd888
cmpl $0x6, 0x24(%r14)
jne 0xe314
movq 0x30(%r14), %rsi
movq %rbx, %rdi
callq 0xd122
jmp 0xe33a
leaq 0x24(%rbx), %rax
movl $0x6, (%rax)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
movq %r15, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
callq 0x4310
jmp 0xe358
movq %rax, %r14
movq %rbx, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd888
movl $0x1, 0x24(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
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 0xe417
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0xe421
movq %rax, %r14
movq %rbx, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe46d
addsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xdf68
jmp 0xe4a8
cmpl $0x2, %ecx
jne 0xe486
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe486
jp 0xe486
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xe4a3
cmpl $0x2, %eax
jne 0xe4b7
movsd 0x38(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe4b7
jp 0xe4b7
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x6, %ecx
jne 0xe4c8
movq 0x30(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xe4d7
cmpl $0x6, %eax
jne 0xe4de
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe594
jmp 0xe4a8
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 0xd888
movl $0x4, 0x24(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
movq %r15, 0x30(%rbx)
jmp 0xe4a8
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xe57a
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0xe584
movq %rax, %r14
movq %rbx, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe5d6
subsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xdf68
jmp 0xe6e2
cmpl $0x2, %ecx
jne 0xe5f7
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe5f7
jp 0xe5f7
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe29c
jmp 0xe6e2
cmpl $0x2, %eax
jne 0xe61e
movsd 0x38(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe61e
jp 0xe61e
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xe6e2
cmpl $0x6, %ecx
jne 0xe64d
movq 0x30(%r15), %rdx
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xe431
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe29c
movq %rsp, %rdi
callq 0xdd92
jmp 0xe6e2
cmpl $0x6, %eax
jne 0xe663
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe431
jmp 0xe6e2
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 0xd888
movl $0x5, 0x24(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
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 0xe709
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0xe713
movq %rax, %r14
movq %rbx, %rdi
jmp 0xe71e
movq %rax, %r14
movq %rsp, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe76a
mulsd 0x38(%r14), %xmm0
movq %rbx, %rdi
callq 0xdf68
jmp 0xe7c1
cmpl $0x2, %ecx
jne 0xe77b
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe77b
jnp 0xe792
movsd 0x38(%r14), %xmm1
cmpl $0x2, %eax
jne 0xe7d0
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jne 0xe7d0
jp 0xe7d0
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 0xd888
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x2, %ecx
jne 0xe7e9
ucomisd 0x1c96b(%rip), %xmm0    # 0x2b148
jne 0xe7e9
jp 0xe7e9
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xe800
cmpl $0x2, %eax
jne 0xe807
ucomisd 0x1c952(%rip), %xmm1    # 0x2b148
jne 0xe807
jp 0xe807
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xe7c1
cmpl $0x6, %ecx
jne 0xe82b
movq 0x30(%r15), %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0xe72b
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe29c
jmp 0xe84d
cmpl $0x6, %eax
jne 0xe85a
movq 0x30(%r14), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xe72b
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe29c
movq %rsp, %rdi
callq 0xdd92
jmp 0xe7c1
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 0xd888
movl $0x7, 0x24(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
movq %r15, 0x30(%rbx)
jmp 0xe7c1
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xe8f6
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0xe902
jmp 0xe907
movq %rax, %r14
movq %rbx, %rdi
jmp 0xe90d
movq %rax, %r14
movq %rsp, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xe97d
movsd 0x38(%r14), %xmm1
movsd 0x38(%r15), %xmm2
divsd %xmm1, %xmm2
xorpd %xmm0, %xmm0
cmpneqsd %xmm1, %xmm0
andpd %xmm0, %xmm2
movsd 0x1cf08(%rip), %xmm1    # 0x2b870
andnpd %xmm1, %xmm0
orpd %xmm2, %xmm0
movq %rbx, %rdi
callq 0xdf68
jmp 0xeb09
cmpl $0x2, %ecx
jne 0xe9c8
movsd 0x38(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xe9c8
jp 0xe9c8
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 0xd888
jmp 0xeb09
movsd 0x38(%r14), %xmm0
cmpl $0x2, %eax
jne 0xe9ef
ucomisd 0x1c76d(%rip), %xmm0    # 0x2b148
jne 0xe9ef
jp 0xe9ef
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xeb09
cmpl $0x2, %eax
jne 0xea3a
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xea3a
jp 0xea3a
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 0xe9bb
cmpl $0x6, %ecx
jne 0xea5e
movq 0x30(%r15), %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0xe91a
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe29c
jmp 0xea80
cmpl $0x6, %eax
jne 0xea8a
movq 0x30(%r14), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xe91a
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe29c
movq %rsp, %rdi
callq 0xdd92
jmp 0xeb09
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 0xd888
movl $0x8, 0x24(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
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 0xeb30
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0xeb3c
jmp 0xeb41
movq %rax, %r14
movq %rbx, %rdi
jmp 0xeb47
movq %rax, %r14
movq %rsp, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xeba6
movsd 0x38(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xeba6
jp 0xeba6
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 0xebf9
movl 0x24(%r14), %eax
movsd 0x38(%r14), %xmm0
cmpl $0x2, %eax
jne 0xec10
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xec10
jp 0xec10
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 0xd888
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpl $0x2, %eax
jne 0xec2e
ucomisd 0x1c52b(%rip), %xmm0    # 0x2b148
jne 0xec2e
jp 0xec2e
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xec01
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 0xd888
movl $0x9, 0x24(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0xdeaa
movq %r12, 0x28(%rbx)
movl $0x58, %edi
callq 0x4300
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xdeaa
movq %r15, 0x30(%rbx)
jmp 0xec01
movq %rax, %r14
movl $0x58, %esi
movq %r15, %rdi
jmp 0xecca
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0xecd4
movq %rax, %r14
movq %rbx, %rdi
callq 0xdd92
movq %r14, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/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 0xf2db
movq %rcx, %r14
movq (%rdx), %r15
cmpl $0x2, %esi
je 0xf318
cmpl $0x1, %esi
jne 0xf327
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdeaa
jmp 0xf34f
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 0xd888
jmp 0xf34f
movq 0x8(%rdx), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq *%r14
jmp 0xf34f
decl %esi
addq $0x8, %rdx
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rcx
callq 0xf2ac
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *%r14
movq %rsp, %rdi
callq 0xdd92
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0xdd92
movq %rbx, %rdi
callq 0x45b0
nop