LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/Image.cpp
// Function: Image::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
bool
Image::load(std::string const & path, int req_nc)
{
  std::free(buf);
  buf = stbi_load(path.c_str(), &w, &h, &nc, req_nc);

  if (!buf)
  {
    std::cerr << "Could not load image from " << path << std::endl;
    return false;
  }

  if (req_nc != 0)
    nc = req_nc;

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r12
movq 0x10(%rdi), %rdi
callq 0x4380
movq (%r14), %rdi
leaq 0x4(%r12), %rdx
leaq 0x8(%r12), %r15
movq %r12, %rsi
movq %r15, %rcx
movl %ebp, %r8d
callq 0x14218
movq %rax, %rbx
movq %rax, 0x10(%r12)
testq %rax, %rax
je 0x4c62
testl %ebp, %ebp
je 0x4cb6
movl %ebp, (%r15)
jmp 0x4cb6
movq 0x32387(%rip), %r15     # 0x36ff0
leaq 0x26394(%rip), %rsi     # 0x2b004
movl $0x1a, %edx
movq %r15, %rdi
callq 0x4360
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0x4360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
testq %rbx, %rbx
setne %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/Image.cpp
// Function: Image::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
bool
Image::save(std::string const & path) const
{
  if (path.length() >= 4)
  {
    std::string ext = toLower(path.substr(path.length() - 4, 4));
    bool ok = true;
    if (ext == ".png")
    {
      ok = (bool)stbi_write_png(path.c_str(), w, h, nc, buf, w * nc);
      if (ok) return true;
    }
    else if (ext == ".bmp")
    {
      ok = (bool)stbi_write_bmp(path.c_str(), w, h, nc, buf);
      if (ok) return true;
    }

    if (!ok)
    {
      std::cerr << "Error load image: " << path << std::endl;
      return false;
    }
  }

  std::cerr << "Unsupported output image format: " << path << std::endl;
  return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq 0x8(%rsi), %rdx
cmpq $0x4, %rdx
jb 0x4eab
movq %rdi, %r14
addq $-0x4, %rdx
leaq 0x28(%rsp), %r15
movl $0x4, %ecx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4330
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x4a6c
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4dbf
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4310
leaq 0x26259(%rip), %rsi     # 0x2b01f
leaq 0x8(%rsp), %rdi
callq 0x4110
testl %eax, %eax
je 0x4df1
leaq 0x26249(%rip), %rsi     # 0x2b024
leaq 0x8(%rsp), %rdi
callq 0x4110
testl %eax, %eax
je 0x4e11
movb $0x1, %r14b
jmp 0x4e8b
movq (%rbx), %rdi
movl (%r14), %esi
movl 0x4(%r14), %edx
movl 0x8(%r14), %ecx
movq 0x10(%r14), %r8
movl %ecx, %r9d
imull %esi, %r9d
callq 0x25848
jmp 0x4e28
movq (%rbx), %rdi
movl (%r14), %esi
movl 0x4(%r14), %edx
movl 0x8(%r14), %ecx
movq 0x10(%r14), %r8
callq 0x23ea8
testl %eax, %eax
je 0x4e31
movb $0x1, %bpl
jmp 0x4e88
movq 0x321b8(%rip), %rdi     # 0x36ff0
leaq 0x261ea(%rip), %rsi     # 0x2b029
movl $0x12, %edx
callq 0x4360
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x32199(%rip), %rdi     # 0x36ff0
callq 0x4360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
xorl %ebp, %ebp
xorl %r14d, %r14d
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ea6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
testb %r14b, %r14b
je 0x4f01
movq 0x3213e(%rip), %r14     # 0x36ff0
leaq 0x26183(%rip), %rsi     # 0x2b03c
movl $0x21, %edx
movq %r14, %rdi
callq 0x4360
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x4360
movq %rax, %rbx
movq (%rax), %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 %ebp, %ebp
andb $0x1, %bpl
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4f48
movq 0x38(%rsp), %rsi
jmp 0x4f40
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4f48
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/MeshInfo.cpp
// Function: TriangleMesh::clear()
void
TriangleMesh::clear()
{
  for (auto it = triangles.begin(); it != triangles.end(); ++it)
  {
    delete *it;
  }

  for (auto it = vertices.begin(); it != vertices.end(); ++it)
  {
    delete *it;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %r14
cmpq 0x20(%rdi), %r14
je 0x50ac
movq (%r14), %rdi
movl $0xc, %esi
callq 0x4310
addq $0x8, %r14
cmpq 0x20(%rbx), %r14
jne 0x5095
movq (%rbx), %r14
cmpq 0x8(%rbx), %r14
je 0x50c8
movq (%r14), %rdi
movl $0x18, %esi
callq 0x4310
addq $0x8, %r14
jmp 0x50af
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/MeshInfo.cpp
// Function: getFirstValue(std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char>>&, int&)
bool
getFirstValue(std::istringstream & ss, int & value)
{
  std::string s;

  if (ss >> s)
  {
    std::istringstream valuestream(s);
    if (valuestream >> value)
      return true;
  }

  return false;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rsi, %rbx
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
leaq 0x8(%rsp), %rsi
callq 0x43b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x5159
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
callq 0x4530
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x41e0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movb 0x20(%rax,%rcx), %bl
movq 0x31e8b(%rip), %rsi     # 0x36fc8
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0xa0(%rsp), %rdi
callq 0x4130
testb $0x5, %bl
je 0x517f
xorl %ebx, %ebx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5172
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movl %ebx, %eax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
retq
movb $0x1, %bl
jmp 0x515b
movq %rax, %rbx
movq 0x31e3b(%rip), %rsi     # 0x36fc8
leaq 0x28(%rsp), %rdi
callq 0x4450
leaq 0xa0(%rsp), %rdi
callq 0x4130
jmp 0x51ab
jmp 0x51a8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x51c2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/Algebra3.hpp
// Function: operator>>(std::istream&, Vec3&)
inline std::istream & operator >> (std::istream & s, Vec3 & v)
{
  Vec3 v_tmp;
  char c = ' ';

  while (std::isspace(c))
    s >> c;

  // The vectors can be formatted either as x y z or | x y z |
  if (c == '|')
  {
    s >> v_tmp[0] >> v_tmp[1] >> v_tmp[2];
    while (s >> c && std::isspace(c)) ;
    if (c != '|')
      s.setstate(std::ios::badbit);
  }
  else
  {
    s.putback(c);
    s >> v_tmp[0] >> v_tmp[1] >> v_tmp[2];
  }

  if (s)
    v = v_tmp;

  return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movb $0x20, 0xf(%rsp)
movl $0x20, %edi
callq 0x4070
testl %eax, %eax
je 0x55bb
leaq 0xf(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x43d0
movb 0xf(%rsp), %bpl
movsbl %bpl, %edi
callq 0x4070
testl %eax, %eax
jne 0x5524
cmpb $0x7c, %bpl
jne 0x55be
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x4200
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x4200
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x4200
leaq 0xf(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x43d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
movsbl 0xf(%rsp), %ebp
jne 0x559c
movl %ebp, %edi
callq 0x4070
testl %eax, %eax
jne 0x5573
cmpb $0x7c, %bpl
je 0x55f1
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x4550
jmp 0x55f1
movb $0x20, %bpl
movsbl %bpl, %esi
movq %rbx, %rdi
callq 0x4610
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x4200
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x4200
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x4200
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rbx,%rax)
jne 0x5614
movaps 0x10(%rsp), %xmm0
movups %xmm0, (%r14)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x10(%r14)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/Scene.cpp
// Function: printNode(SceneInstance*, int)
void
printNode(SceneInstance * n, int level = 0)
{
  tab(level);
  std::cout << "Node " << n->getName() << " {" << std::endl;

  if (n->getChild())
  {
    SceneGroup * below = n->getChild();

    for (int i = 0; i < below->getChildCount(); i++)
    {
      printNode(below->getChild(i), level + 1);
    }
  }

  tab(level);
  std::cout << "}" << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebx
movq %rdi, %r15
testl %esi, %esi
jle 0x5981
leal 0x1(%rbx), %ebp
movq 0x3166d(%rip), %r14     # 0x36fd0
leaq 0x2577a(%rip), %r12     # 0x2b0e4
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x4360
decl %ebp
cmpl $0x1, %ebp
ja 0x596a
movq 0x31648(%rip), %r14     # 0x36fd0
leaq 0x25757(%rip), %rsi     # 0x2b0e6
movl $0x5, %edx
movq %r14, %rdi
callq 0x4360
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x657e
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0x4360
movq %rax, %r12
leaq 0x25727(%rip), %rsi     # 0x2b0ec
movl $0x2, %edx
movq %rax, %rdi
callq 0x4360
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a15
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
movq %r15, %rdi
callq 0x6578
testq %rax, %rax
je 0x5a64
movq %r15, %rdi
callq 0x6578
movq %rax, %r15
movq %rax, %rdi
callq 0x5d9e
testl %eax, %eax
jle 0x5a64
leal 0x1(%rbx), %ebp
xorl %r12d, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq 0x5dac
movq %rax, %rdi
movl %ebp, %esi
callq 0x5944
incl %r12d
movq %r15, %rdi
callq 0x5d9e
cmpl %eax, %r12d
jl 0x5a3f
testl %ebx, %ebx
jle 0x5a8f
incl %ebx
movq 0x3155f(%rip), %r15     # 0x36fd0
leaq 0x2566c(%rip), %r12     # 0x2b0e4
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x4360
decl %ebx
cmpl $0x1, %ebx
ja 0x5a78
leaq 0x25659(%rip), %rsi     # 0x2b0ef
movl $0x1, %edx
movq %r14, %rdi
callq 0x4360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5af5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneGroup.cpp
// Function: SceneGroup::SceneGroup()
SceneGroup::SceneGroup()
{
  name_ = "unassigned";
  sphere_ = NULL;
  light_ = NULL;
  camera_ = NULL;
  meshMaterial_ = NULL;
  mesh_ = NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
leaq 0x30c39(%rip), %rax     # 0x36868
movq %rax, (%rdi)
leaq 0x8(%rdi), %rbx
leaq 0x18(%rdi), %r14
movq %r14, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb $0x0, 0x18(%rdi)
leaq 0x28(%rdi), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movq %rax, 0x38(%rdi)
leaq 0x254a1(%rip), %rcx     # 0x2b0ff
movl $0xa, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x44a0
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%r15)
movups %xmm0, 0x40(%r15)
movq $0x0, 0x60(%r15)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r12
movq (%r13), %rdi
testq %rdi, %rdi
je 0x5ca7
movq 0x38(%r15), %rsi
subq %rdi, %rsi
callq 0x4310
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4662
movq %r12, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneGroup.cpp
// Function: SceneGroup::~SceneGroup()
SceneGroup::~SceneGroup()
{
  delete sphere_;
  delete light_;
  delete camera_;
  delete mesh_;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x30ba0(%rip), %rax     # 0x36868
movq %rax, (%rdi)
movq 0x40(%rdi), %r14
testq %r14, %r14
je 0x5ce2
movq (%r14), %rdi
testq %rdi, %rdi
je 0x5ce2
movq (%rdi), %rax
callq *0x20(%rax)
movl $0x10, %esi
movq %r14, %rdi
callq 0x4310
movq 0x48(%rbx), %r14
testq %r14, %r14
je 0x5d00
movq %r14, %rdi
callq 0x5f9c
movl $0x30, %esi
movq %r14, %rdi
callq 0x4310
movq 0x50(%rbx), %r14
testq %r14, %r14
je 0x5d1e
movq %r14, %rdi
callq 0x602a
movl $0x38, %esi
movq %r14, %rdi
callq 0x4310
movq 0x58(%rbx), %r14
testq %r14, %r14
je 0x5d3c
movq %r14, %rdi
callq 0x6066
movl $0x30, %esi
movq %r14, %rdi
callq 0x4310
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x5d5e
movq 0x38(%rbx), %rsi
subq %rdi, %rsi
callq 0x4310
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x5d7d
movq (%rbx), %rsi
incq %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4310
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneGroup.cpp
// Function: SceneGroup::computeMesh(TriangleMesh*&, MaterialInfo&, int)
bool
SceneGroup::computeMesh(TriangleMesh *& mesh, MaterialInfo & material, int time)  /* get a Mesh and it's material */
{
  if (mesh_ == NULL || meshMaterial_ == NULL)
    return false;

  mesh = mesh_;
  material = meshMaterial_->getMaterial(time);
  return true;
}

// Assembly:
movq 0x58(%rdi), %rax
testq %rax, %rax
je 0x5e4b
cmpq $0x0, 0x60(%rdi)
je 0x5e4b
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movq %rax, (%rsi)
movq 0x60(%rdi), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl %ecx, %edx
callq 0x60a4
movq 0x30(%r14), %rax
movq %rax, 0x30(%rbx)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
movups %xmm2, 0x20(%rbx)
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
movups 0x38(%r14), %xmm0
movups %xmm0, 0x38(%rbx)
movsd 0x48(%r14), %xmm0
movsd %xmm0, 0x48(%rbx)
movb $0x1, %al
addq $0x58, %rsp
popq %rbx
popq %r14
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneGroup.cpp
// Function: SceneGroup::computeLight(LightInfo&, int)
bool
SceneGroup::computeLight(LightInfo & ld, int time)  /* get light parameters */
{
  if (light_ == NULL)
    return false;
  else
    ld = light_->getLight(time);

  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq 0x48(%rdi), %rbx
testq %rbx, %rbx
je 0x5f31
movq %rsi, %r14
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x61fa
movl (%r15), %eax
movl %eax, (%r14)
movups 0x8(%r15), %xmm0
movups %xmm0, 0x8(%r14)
movsd 0x18(%r15), %xmm0
movsd %xmm0, 0x18(%r14)
movups 0x20(%r15), %xmm0
movups 0x30(%r15), %xmm1
movups %xmm0, 0x20(%r14)
movups %xmm1, 0x30(%r14)
testq %rbx, %rbx
setne %al
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneData.hpp
// Function: ParametricLight::~ParametricLight()
~ParametricLight()
    {
      delete type_;
      delete color_;
      delete falloff_;
      delete angularFalloff_;
      delete deadDistance_;
      delete offset_;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x5fb2
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x5fd6
xorl %r15d, %r15d
movq (%r14,%r15,8), %rdi
testq %rdi, %rdi
je 0x5fcd
movq (%rdi), %rax
callq *0x20(%rax)
incq %r15
cmpq $0x3, %r15
jne 0x5fbe
movl $0x18, %esi
movq %r14, %rdi
callq 0x4310
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x5ff2
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x6001
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x6010
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x6024
movq (%rdi), %rax
popq %rbx
popq %r14
popq %r15
jmpq *0x20(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneInstance.cpp
// Function: SceneInstance::SceneInstance()
SceneInstance::SceneInstance()
{
  name_ = "unassigned";
  color_ = NULL;
  lod_ = NULL;
  child_ = NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
leaq 0x30489(%rip), %rax     # 0x36898
movq %rax, (%rdi)
leaq 0x8(%rdi), %rbx
leaq 0x18(%rdi), %r14
movq %r14, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb $0x0, 0x18(%rdi)
leaq 0x28(%rdi), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movq %rax, 0x38(%rdi)
leaq 0x24cc1(%rip), %rcx     # 0x2b0ff
movl $0xa, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x44a0
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%r15)
movq $0x0, 0x50(%r15)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r12
movq (%r13), %rdi
testq %rdi, %rdi
je 0x6482
movq 0x38(%r15), %rsi
subq %rdi, %rsi
callq 0x4310
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4676
movq %r12, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneInstance.cpp
// Function: SceneInstance::~SceneInstance()
SceneInstance::~SceneInstance()
{
  delete color_;
  delete lod_;

  for (vector<Transform *>::iterator it = transforms_.begin(); it != transforms_.end(); ++it)
    delete *it;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x303f3(%rip), %rax     # 0x36898
movq %rax, (%rdi)
movq 0x40(%rdi), %r14
testq %r14, %r14
je 0x64cc
xorl %r15d, %r15d
movq (%r14,%r15,8), %rdi
testq %rdi, %rdi
je 0x64c3
movq (%rdi), %rax
callq *0x20(%rax)
incq %r15
cmpq $0x3, %r15
jne 0x64b4
movl $0x18, %esi
movq %r14, %rdi
callq 0x4310
movq 0x48(%rbx), %r14
testq %r14, %r14
je 0x64f0
movq (%r14), %rdi
testq %rdi, %rdi
je 0x64f0
movq (%rdi), %rax
callq *0x20(%rax)
movl $0x8, %esi
movq %r14, %rdi
callq 0x4310
movq 0x28(%rbx), %r14
movq 0x30(%rbx), %rax
cmpq %rax, %r14
je 0x6529
movq (%r14), %rdi
testq %rdi, %rdi
je 0x651c
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x30(%rbx), %rax
addq $0x8, %r14
cmpq %rax, %r14
jne 0x650a
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x653d
movq 0x38(%rbx), %rsi
subq %r14, %rsi
movq %r14, %rdi
callq 0x4310
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x655a
movq (%rbx), %rsi
incq %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x4310
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::SceneLoader(Scene&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
SceneLoader::SceneLoader(Scene & scene, string file)
{
  err = &cout;
  scene.root_ = new SceneInstance();
  root = scene.root_;
  root->name_ = "toplevel";
  buildScene(file);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
leaq 0x20(%rdi), %rcx
movl %eax, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movq %rcx, 0x30(%rdi)
movq %rcx, 0x38(%rdi)
movq %rax, 0x40(%rdi)
leaq 0x50(%rdi), %rcx
movl %eax, 0x50(%rdi)
movq %rax, 0x58(%rdi)
movq %rcx, 0x60(%rdi)
movq %rcx, 0x68(%rdi)
movups %xmm0, 0x70(%rdi)
movups %xmm0, 0x80(%rdi)
movq 0x30594(%rip), %rax     # 0x36fd0
movq %rax, 0x90(%rdi)
movl $0x58, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
callq 0x63fc
movq %r12, (%r15)
movq %r12, 0x98(%rbx)
movq %r12, %rdi
addq $0x8, %rdi
movq 0x10(%r12), %rdx
leaq 0x246fb(%rip), %rcx     # 0x2b170
movl $0x8, %r8d
xorl %esi, %esi
callq 0x44a0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x4fec
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x6b48
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x6ac3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x6afb
movq 0x18(%rsp), %rsi
incq %rsi
jmp 0x6af1
movq %rax, %r14
movl $0x58, %esi
movq %r12, %rdi
callq 0x4310
jmp 0x6afb
movq %rax, %r14
leaq 0x18(%rbx), %r15
leaq 0x48(%rbx), %r12
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0x6b1b
movq 0x88(%rbx), %rsi
subq %rdi, %rsi
callq 0x4310
movq %r12, %rdi
callq 0xb3c0
movq %r15, %rdi
callq 0xb438
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x6b3f
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x4310
movq %r14, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::~SceneLoader()
SceneLoader::~SceneLoader()
{
  for (map<string, SceneGroup *>::iterator it = groups.begin();
       it != groups.end(); ++it)
  {
    delete it->second;
  }

  for (map<string, ParametricMaterial *>::iterator it = materials.begin();
       it != materials.end(); ++it)
  {
    delete it->second;
  }

  for (vector<SceneInstance *>::iterator it = instances.begin(); it != instances.end(); ++it)
  {
    delete *it;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x30(%rdi), %r14
leaq 0x20(%rdi), %r15
cmpq %r15, %r14
je 0x72bb
movq 0x40(%r14), %rdi
testq %rdi, %rdi
je 0x72ab
movq (%rdi), %rax
callq *0x8(%rax)
movq %r14, %rdi
callq 0x4230
movq %rax, %r14
cmpq %r15, %rax
jne 0x729c
movq 0x60(%rbx), %r14
leaq 0x50(%rbx), %r12
cmpq %r12, %r14
je 0x72f6
movq 0x40(%r14), %r15
testq %r15, %r15
je 0x72d9
movq %r15, %rdi
callq 0xafa0
movl $0x40, %esi
movq %r15, %rdi
callq 0x4310
movq %r14, %rdi
callq 0x4230
movq %rax, %r14
cmpq %r12, %rax
jne 0x72c8
movq 0x78(%rbx), %r14
movq 0x80(%rbx), %rax
cmpq %rax, %r14
je 0x7328
movq (%r14), %rdi
testq %rdi, %rdi
je 0x731b
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x80(%rbx), %rax
addq $0x8, %r14
cmpq %rax, %r14
jne 0x7306
movq 0x78(%rbx), %r14
leaq 0x18(%rbx), %r15
leaq 0x48(%rbx), %r12
testq %r14, %r14
je 0x7347
movq 0x88(%rbx), %rsi
subq %r14, %rsi
movq %r14, %rdi
callq 0x4310
movq %r12, %rdi
callq 0xb3c0
movq %r15, %rdi
callq 0xb438
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x7376
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x4310
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::buildEndlineTable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void SceneLoader::buildEndlineTable(string filename)
{
  ifstream file(filename.c_str());
  string line;

  while (getline( file, line ))
    endlineTable.push_back(file.tellg());

  endlineTable.push_back(file.tellg());
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
movq %rdi, %rbx
movq (%rsi), %rsi
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x45e0
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x8(%rsp), %r15
leaq 0x4(%rsp), %r12
movq 0x28(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x45f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x742b
movq %r14, %rdi
callq 0x4580
movl %eax, 0x4(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x741e
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x73ca
movq %rbx, %rdi
movq %r12, %rdx
callq 0xbd4c
jmp 0x73ca
leaq 0x28(%rsp), %rdi
callq 0x4580
movl %eax, 0x4(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x744f
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x745c
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0xbd4c
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7473
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
leaq 0x28(%rsp), %rdi
callq 0x40e0
addq $0x230, %rsp            # imm = 0x230
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x7492
jmp 0x7492
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x74ac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
leaq 0x28(%rsp), %rdi
callq 0x40e0
movq %rbx, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::curPos(std::ostream&, int)
void SceneLoader::curPos(ostream & out, int g)
{
  int line = 1;
  int lastg = 0;

  for (vector<int>::iterator it = endlineTable.begin(); it != endlineTable.end(); ++it)
  {
    if (*it > g)
    {
      out << "line: " << line << " char: " << (g - lastg - 1);
      return;
    }

    lastg = *it;
    line ++;
  }

  out << "line: " << line << " char: " << (g - lastg);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
cmpq %rcx, %rax
je 0x74e9
movl (%rax), %edx
cmpl %ebx, %edx
jle 0x7530
movl $0x1, %r15d
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
jmp 0x7553
xorl %ebp, %ebp
movl $0x1, %r15d
leaq 0x23c81(%rip), %rsi     # 0x2b179
movl $0x6, %edx
movq %r14, %rdi
callq 0x4360
movq %r14, %rdi
movl %r15d, %esi
callq 0x4570
movq %rax, %r14
leaq 0x23c66(%rip), %rsi     # 0x2b180
movl $0x7, %edx
movq %rax, %rdi
callq 0x4360
subl %ebp, %ebx
movq %r14, %rdi
movl %ebx, %esi
jmp 0x7590
addq $0x4, %rax
movl $0x2, %r15d
movl %edx, %ebp
cmpq %rcx, %rax
je 0x74f1
movl (%rax), %edx
addq $0x4, %rax
incl %r15d
cmpl %ebx, %edx
jle 0x753a
notl %ebp
decl %r15d
leaq 0x23c1f(%rip), %rsi     # 0x2b179
movl $0x6, %edx
movq %r14, %rdi
callq 0x4360
movq %r14, %rdi
movl %r15d, %esi
callq 0x4570
movq %rax, %r14
leaq 0x23c04(%rip), %rsi     # 0x2b180
movl $0x7, %edx
movq %rax, %rdi
callq 0x4360
addl %ebx, %ebp
movq %r14, %rdi
movl %ebp, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4570
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::getString[abi:cxx11](std::istream&)
string SceneLoader::getString(istream & str)
{
  string ret;
  char temp;
  str >> temp; // get rid of white space, get to first char
  str.putback(temp);

  while (str.get(temp))
  {
    if ((temp >= 'a' && temp <= 'z')
        || (temp >= 'A' && temp <= 'Z')
        || (temp >= '0' && temp <= '9')
        || (temp == '_'))
    {
      ret += temp;
    }
    else if (temp == '#')
    {
      string no;
      getline(str, no);

      if (ret.empty())
        return getString(str);
      else
        return ret;
    }
    else
    {
      str.putback(temp);
      break;
    }
  }

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq $0x0, -0x8(%rbp)
movb $0x0, (%rbp)
leaq 0x7(%rsp), %rsi
movq %rdx, %rdi
callq 0x43d0
movsbl 0x7(%rsp), %esi
movq %r14, %rdi
callq 0x4610
leaq 0x7(%rsp), %r12
leaq 0x8(%rsp), %r13
movq %r14, %rdi
movq %r12, %rsi
callq 0x4420
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x76b1
movb 0x7(%rsp), %al
movl %eax, %ecx
andb $-0x21, %cl
addb $-0x41, %cl
cmpb $0x1a, %cl
jb 0x7630
leal -0x30(%rax), %ecx
cmpb $0xa, %cl
setae %cl
cmpb $0x5f, %al
setne %dl
testb %cl, %dl
jne 0x763d
movsbl %al, %esi
movq %r13, %rdi
callq 0x42b0
jmp 0x75f0
cmpb $0x23, %al
jne 0x76a6
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %edx
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x45f0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x76f2
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x8(%rsp), %rdx
cmpq %rbp, %rdx
je 0x7702
movq %rdx, (%rbx)
movq 0x18(%rsp), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x7709
movsbl %al, %esi
movq %r14, %rdi
callq 0x4610
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rcx
cmpq %rbp, %rcx
je 0x76d0
movq %rcx, (%rbx)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x76d7
movups (%rbp), %xmm0
movups %xmm0, (%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x75a0
jmp 0x7720
movups (%rbp), %xmm0
movups %xmm0, (%rcx)
movq %rax, 0x8(%rbx)
movq %rbp, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x7737
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4310
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x76e0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x76e0
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x7771
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x7771
jmp 0x776e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7788
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::getQuoted[abi:cxx11](std::istream&)
string SceneLoader::getQuoted(istream & str)
{
  string ret;
  char temp;
  str >> temp;

  if (temp != '"')
  {
    *err << "expected opening \" at ";
    curPos(*err, str.tellg());
    *err << endl;
  }

  getline(str, ret, '"');
  return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r13
movq %r13, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xf(%rsp), %rsi
movq %rdx, %rdi
callq 0x43d0
cmpb $0x22, 0xf(%rsp)
je 0x782f
movq 0x90(%r15), %rdi
leaq 0x239ad(%rip), %rsi     # 0x2b188
movl $0x16, %edx
callq 0x4360
movq 0x90(%r15), %r12
movq %r14, %rdi
callq 0x4580
movq %r15, %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x74be
movq 0x90(%r15), %r15
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
movq %r14, %rdi
movq %rbx, %rsi
movl $0x22, %edx
callq 0x45f0
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x7852
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x7869
movq (%r13), %rsi
incq %rsi
callq 0x4310
movq %r14, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::readCommand(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool SceneLoader::readCommand(istream & str, string & name)
{
  name = getString(str);

  if (name.empty())
  {
    *err << "error: expected command but did not find one at ";
    curPos(*err, str.tellg());
    *err << endl;
    return false;
  }

  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 0x78bf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movq 0x8(%r15), %r12
testq %r12, %r12
jne 0x792a
movq 0x90(%rbx), %rdi
leaq 0x238c9(%rip), %rsi     # 0x2b19f
movl $0x30, %edx
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
testq %r12, %r12
setne %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::findOpenParen(std::istream&)
bool SceneLoader::findOpenParen(istream & str)
{
  char temp;
  string line;

  while (str >> temp)
  {
    if (temp == '(')
      return true;
    else if (temp == '#')
      getline(str, line);
    else
    {
      *err << "error: unexpected char " << temp << " at ";
      curPos(*err, str.tellg());
      *err << endl;
      return false;
    }
  }

  return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x6(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x43d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
sete %bpl
jne 0x7a5b
movzbl 0x6(%rsp), %eax
cmpl $0x23, %eax
jne 0x79bf
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x45f0
jmp 0x7970
cmpl $0x28, %eax
je 0x7a5b
movq 0x90(%rbx), %r15
leaq 0x237fa(%rip), %rsi     # 0x2b1d0
movl $0x17, %edx
movq %r15, %rdi
callq 0x4360
movb 0x6(%rsp), %al
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
movq %r15, %rdi
callq 0x4360
leaq 0x23798(%rip), %rsi     # 0x2b19a
movl $0x4, %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 %ebp, %ebp
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7a72
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7a87
jmp 0x7a87
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7aa1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::findOpenOrClosedParen(std::istream&)
int SceneLoader::findOpenOrClosedParen(istream & str)
{
  char temp;
  string line;

  while (str >> temp)
  {
    if (temp == '(')
      return OPEN;
    else if (temp == '#')
      getline(str, line);
    else if (temp == ')')
    {
      str.putback(temp);
      return CLOSED;
    }
    else
    {
      *err << "error: unexpected char " << temp << " at ";
      curPos(*err, str.tellg());
      *err << endl;
      return false;
    }
  }

  return ERROR;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0xe(%rsp), %rbx
leaq 0x10(%rsp), %r12
movq %r15, %rdi
movq %rbx, %rsi
callq 0x43d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x7b4b
movzbl 0xe(%rsp), %eax
cmpl $0x23, %eax
jne 0x7b24
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x45f0
jmp 0x7add
xorl %ebx, %ebx
cmpl $0x28, %eax
je 0x7be6
cmpl $0x29, %eax
jne 0x7b55
movl $0x1, %ebx
movq %r15, %rdi
movl $0x29, %esi
callq 0x4610
jmp 0x7be6
movl $0x2, %ebx
jmp 0x7be6
movq 0x90(%r14), %r12
leaq 0x2366d(%rip), %rsi     # 0x2b1d0
movl $0x17, %edx
movq %r12, %rdi
callq 0x4360
movb 0xe(%rsp), %al
leaq 0xf(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
movq %r12, %rdi
callq 0x4360
leaq 0x2360b(%rip), %rsi     # 0x2b19a
movl $0x4, %edx
movq %rax, %rdi
callq 0x4360
movq 0x90(%r14), %r12
movq %r15, %rdi
callq 0x4580
movq %r14, %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x74be
movq 0x90(%r14), %r14
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4050
movq %rax, %rdi
callq 0x4220
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7bfd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4310
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x7c11
jmp 0x7c11
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7c2b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::findCloseParen(std::istream&)
bool SceneLoader::findCloseParen(istream & str)
{
  char temp;
  string line;
  int close = 0;

  while (str >> temp)
  {
    if (temp == '#')
      getline(str, line);

    if (temp == '(')
      close++;

    if (temp == ')')
      close--;

    if (close < 0)
      return true;
  }

  return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
xorl %ebp, %ebp
leaq 0x7(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x43d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x20(%rax,%rcx), %r13d
testb $0x5, %r13b
jne 0x7cc8
movb 0x7(%rsp), %al
cmpb $0x23, %al
jne 0x7cb4
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x42e0
movsbl %al, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x45f0
movb 0x7(%rsp), %al
xorl %ecx, %ecx
cmpb $0x28, %al
sete %cl
addl %ecx, %ebp
xorl %ecx, %ecx
cmpb $0x29, %al
sete %cl
subl %ecx, %ebp
jns 0x7c69
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7cdf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
testb $0x5, %r13b
sete %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7d0f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0x45b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::getValues(std::istream&, std::vector<ParametricValue*, std::allocator<ParametricValue*>>&)
int SceneLoader::getValues(istream & str, vector<ParametricValue *> & vals)
{
  ParametricValue * val;

  while ( (val = getValue(str)) != NULL )
  {
    vals.push_back(val);
  }

  return int(vals.size());
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x7d84
movq %rax, (%rsp)
testq %rax, %rax
je 0x7d6d
movq %rsp, %r12
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x7d4e
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x7d59
movq %rbx, %rdi
movq %r12, %rdx
callq 0xbe88
movq %r15, %rdi
movq %r14, %rsi
callq 0x7d84
movq %rax, (%rsp)
testq %rax, %rax
jne 0x7d3a
movq 0x8(%rbx), %rax
subq (%rbx), %rax
shrq $0x3, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::getName(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool SceneLoader::getName(istream & str, string type, string & name)
{
  name = getString(str);

  if (name.empty())
  {
    *err << "Couldn't read " << type << " name at ";
    errLine(str.tellg());
    return false;
  }

  if (groups[name] != NULL)
  {
    *err << "Illegal re-use of name \"" << name << "\" at ";
    errLine(str.tellg());
    return false;
  }

  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x75a0
movq %r15, %rdi
movq %r13, %rsi
callq 0x4390
movq (%r13), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x8d2a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
cmpq $0x0, 0x8(%r15)
je 0x8d7f
leaq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xb11e
cmpq $0x0, (%rax)
je 0x8dd5
movq 0x90(%rbx), %r12
leaq 0x22640(%rip), %rsi     # 0x2b395
movl $0x18, %edx
movq %r12, %rdi
callq 0x4360
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x4360
leaq 0x22421(%rip), %rsi     # 0x2b199
movl $0x5, %edx
jmp 0x8db7
movq 0x90(%rbx), %r15
leaq 0x225f9(%rip), %rsi     # 0x2b386
movl $0xe, %edx
movq %r15, %rdi
callq 0x4360
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x4360
leaq 0x22897(%rip), %rsi     # 0x2b649
movl $0x9, %edx
movq %rax, %rdi
callq 0x4360
movq %r14, %rdi
callq 0x4580
movq %rbx, %rdi
movl %eax, %esi
callq 0x8180
xorl %eax, %eax
jmp 0x8dd7
movb $0x1, %al
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::setMaterialDefaults(ParametricMaterial*)
void SceneLoader::setMaterialDefaults(ParametricMaterial * n)
{
  if (n->RGB_ == NULL)
  {
    n->RGB_ = new ParametricColor();
    n->RGB_->color_[0] = new ConstValue(0);
    n->RGB_->color_[1] = new ConstValue(0);
    n->RGB_->color_[2] = new ConstValue(0);
  }

  for (int i = 0; i < 7; i++)
  {
    if (n->coefficients_[i] == NULL)
      n->coefficients_[i] = new ConstValue(0);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpq $0x0, (%rsi)
jne 0x8e59
movl $0x18, %edi
callq 0x4300
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
xorl %r15d, %r15d
movq %r15, 0x10(%rax)
movq %rax, (%rbx)
movl $0x10, %edi
callq 0x4300
leaq 0x2db03(%rip), %r12     # 0x36928
movq %r12, (%rax)
movq %r15, 0x8(%rax)
movq %rax, (%r14)
movl $0x10, %edi
callq 0x4300
movq %r12, (%rax)
movq %r15, 0x8(%rax)
movq %rax, 0x8(%r14)
movl $0x10, %edi
callq 0x4300
movq %r12, (%rax)
movq %r15, 0x8(%rax)
movq %rax, 0x10(%r14)
movl $0x1, %r14d
leaq 0x2dac2(%rip), %r15     # 0x36928
cmpq $0x0, (%rbx,%r14,8)
jne 0x8e86
movl $0x10, %edi
callq 0x4300
movq %r15, (%rax)
movq $0x0, 0x8(%rax)
movq %rax, (%rbx,%r14,8)
incq %r14
cmpq $0x8, %r14
jne 0x8e66
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/SceneLoader.cpp
// Function: SceneLoader::setSphereDefaults(SceneGroup*)
void SceneLoader::setSphereDefaults(SceneGroup * n)
{
  if (n->sphere_->material_ == NULL)
  {
    n->sphere_->material_ = new ParametricMaterial();
    setMaterialDefaults(n->sphere_->material_);
  }

  if (n->sphere_->radius_ == NULL)
  {
    n->sphere_->radius_ = new ConstValue(1);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x40(%rsi), %r14
cmpq $0x0, 0x8(%r14)
jne 0x9564
movq %rsi, %rbx
movl $0x40, %edi
callq 0x4300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movq %rax, 0x8(%r14)
movq %rax, %rsi
callq 0x8de6
movq 0x40(%rbx), %r14
cmpq $0x0, (%r14)
jne 0x958f
movl $0x10, %edi
callq 0x4300
leaq 0x2d3ad(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
movq %rax, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/srajangarg[P]raytracer/src/core/SceneLoader.cpp
// Function: SceneLoader::setLightDefaults(SceneGroup*)
void SceneLoader::setLightDefaults(SceneGroup * n)
{
  // set default values for unset variables
  if (n->light_->angularFalloff_ == NULL)
    n->light_->angularFalloff_ = new ConstValue(0);

  if (n->light_->color_ == NULL)
  {
    n->light_->color_ = new ParametricColor();
    n->light_->color_->color_[0] = new ConstValue(0);
    n->light_->color_->color_[1] = new ConstValue(0);
    n->light_->color_->color_[2] = new ConstValue(0);
  }

  if (n->light_->offset_ == NULL)
    n->light_->offset_ = new ConstValue(.15);

  if (n->light_->deadDistance_ == NULL)
    n->light_->deadDistance_ = new ConstValue(.1);

  if (n->light_->falloff_ == NULL)
    n->light_->falloff_ = new ConstValue(0);

  if (n->light_->type_ == NULL)
    n->light_->type_ = new ConstValue(LIGHT_AMBIENT);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x48(%rsi), %r14
cmpq $0x0, 0x18(%r14)
jne 0x9dc3
movl $0x10, %edi
callq 0x4300
leaq 0x2cb74(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movq %rax, 0x18(%r14)
cmpq $0x0, 0x8(%r14)
jne 0x9e2d
movl $0x18, %edi
callq 0x4300
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
xorl %r15d, %r15d
movq %r15, 0x10(%rax)
movq %rax, 0x8(%r14)
movl $0x10, %edi
callq 0x4300
leaq 0x2cb2f(%rip), %r12     # 0x36928
movq %r12, (%rax)
movq %r15, 0x8(%rax)
movq %rax, (%rbx)
movl $0x10, %edi
callq 0x4300
movq %r12, (%rax)
movq %r15, 0x8(%rax)
movq %rax, 0x8(%rbx)
movl $0x10, %edi
callq 0x4300
movq %r12, (%rax)
movq %r15, 0x8(%rax)
movq %rax, 0x10(%rbx)
cmpq $0x0, 0x28(%r14)
jne 0x9e5a
movl $0x10, %edi
callq 0x4300
leaq 0x2cae3(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $0x3fc3333333333333, %rcx # imm = 0x3FC3333333333333
movq %rcx, 0x8(%rax)
movq %rax, 0x28(%r14)
cmpq $0x0, 0x20(%r14)
jne 0x9e87
movl $0x10, %edi
callq 0x4300
leaq 0x2cab6(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $0x3fb999999999999a, %rcx # imm = 0x3FB999999999999A
movq %rcx, 0x8(%rax)
movq %rax, 0x20(%r14)
cmpq $0x0, 0x10(%r14)
jne 0x9eae
movl $0x10, %edi
callq 0x4300
leaq 0x2ca89(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movq %rax, 0x10(%r14)
cmpq $0x0, (%r14)
jne 0x9ed3
movl $0x10, %edi
callq 0x4300
leaq 0x2ca63(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movq %rax, (%r14)
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/SceneLoader.cpp
// Function: SceneLoader::setCameraDefaults(SceneGroup*)
void SceneLoader::setCameraDefaults(SceneGroup * n)
{
  if (n->camera_->perspective_ == NULL)
    n->camera_->perspective_ = new ConstValue(1); // default perspective to 1

  // set default values for the frustum
  if (n->camera_->frustum_[0] == NULL)
    n->camera_->frustum_[0] = new ConstValue(-0.33);

  if (n->camera_->frustum_[1] == NULL)
    n->camera_->frustum_[1] = new ConstValue(+0.33);

  if (n->camera_->frustum_[2] == NULL)
    n->camera_->frustum_[2] = new ConstValue(-0.33);

  if (n->camera_->frustum_[3] == NULL)
    n->camera_->frustum_[3] = new ConstValue(+0.33);

  if (n->camera_->frustum_[4] == NULL)
    n->camera_->frustum_[4] = new ConstValue(-1);

  if (n->camera_->frustum_[5] == NULL)
    n->camera_->frustum_[5] = new ConstValue(-100);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x50(%rsi), %r14
cmpq $0x0, (%r14)
jne 0xa5e4
movl $0x10, %edi
callq 0x4300
leaq 0x2c358(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
movq %rax, (%r14)
cmpq $0x0, 0x8(%r14)
jne 0xa615
movl $0x10, %edi
callq 0x4300
leaq 0x2c32c(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $-0x402ae147ae147ae1, %rcx # imm = 0xBFD51EB851EB851F
movq %rcx, 0x8(%rax)
movq %rax, 0x8(%r14)
movq 0x50(%rbx), %r14
cmpq $0x0, 0x10(%r14)
jne 0xa646
movl $0x10, %edi
callq 0x4300
leaq 0x2c2fb(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $0x3fd51eb851eb851f, %rcx # imm = 0x3FD51EB851EB851F
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%r14)
movq 0x50(%rbx), %r14
cmpq $0x0, 0x18(%r14)
jne 0xa677
movl $0x10, %edi
callq 0x4300
leaq 0x2c2ca(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $-0x402ae147ae147ae1, %rcx # imm = 0xBFD51EB851EB851F
movq %rcx, 0x8(%rax)
movq %rax, 0x18(%r14)
movq 0x50(%rbx), %r14
cmpq $0x0, 0x20(%r14)
jne 0xa6a8
movl $0x10, %edi
callq 0x4300
leaq 0x2c299(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $0x3fd51eb851eb851f, %rcx # imm = 0x3FD51EB851EB851F
movq %rcx, 0x8(%rax)
movq %rax, 0x20(%r14)
movq 0x50(%rbx), %r14
cmpq $0x0, 0x28(%r14)
jne 0xa6d9
movl $0x10, %edi
callq 0x4300
leaq 0x2c268(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $-0x4010000000000000, %rcx # imm = 0xBFF0000000000000
movq %rcx, 0x8(%rax)
movq %rax, 0x28(%r14)
movq 0x50(%rbx), %r14
cmpq $0x0, 0x30(%r14)
jne 0xa706
movl $0x10, %edi
callq 0x4300
leaq 0x2c237(%rip), %rcx     # 0x36928
movq %rcx, (%rax)
movabsq $-0x3fa7000000000000, %rcx # imm = 0xC059000000000000
movq %rcx, 0x8(%rax)
movq %rax, 0x30(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq