LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: VarnodeListSymbol::saveXml(std::ostream&) const
void VarnodeListSymbol::saveXml(ostream &s) const

{
  s << "<varlist_sym";
  SleighSymbol::saveXmlHeader(s);
  s << ">\n";
  patval->saveXml(s);
  for(int4 i=0;i<varnode_table.size();++i) {
    if (varnode_table[i] == (VarnodeSymbol *)0)
      s << "<null/>\n";
    else
      s << "<var id=\"0x" << hex << varnode_table[i]->getId() << "\"/>\n";
  }
  s << "</varlist_sym>\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1971e(%rip), %rsi     # 0x8136a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x40b90
movq %r14, %rdi
movq %rbx, %rsi
callq 0x415c0
leaq 0x19b5e(%rip), %rsi     # 0x817c9
movl $0x2, %edx
movq %rbx, %rdi
callq 0x40b90
movq 0x30(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x38(%rax)
movq 0x38(%r14), %rax
cmpq %rax, 0x40(%r14)
je 0x67d1d
xorl %ebp, %ebp
leaq 0x186f4(%rip), %r15     # 0x80390
leaq 0x196d4(%rip), %r12     # 0x81377
leaq 0x18b6a(%rip), %r13     # 0x80814
cmpq $0x0, (%rax,%rbp,8)
je 0x67cf6
movl $0xb, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x40b90
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%rbx,%rax)
movq 0x38(%r14), %rax
movq (%rax,%rbp,8), %rax
movl 0x28(%rax), %esi
movq %rbx, %rdi
callq 0x3ffc0
movl $0x4, %edx
movq %rax, %rdi
movq %r13, %rsi
jmp 0x67d01
movl $0x8, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x40b90
incq %rbp
movq 0x38(%r14), %rax
movq 0x40(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rbp, %rcx
ja 0x67caa
leaq 0x1965f(%rip), %rsi     # 0x81383
movl $0xf, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40b90
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: VarnodeListSymbol::restoreXml(Element const*, SleighBase*)
void VarnodeListSymbol::restoreXml(const Element *el,SleighBase *trans)

{
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  patval = (PatternValue *) PatternExpression::restoreExpression(*iter,trans);
  patval->layClaim();
  ++iter;
  while(iter!=list.end()) {
    const Element *subel = *iter;
    if (subel->getName() == "var") {
      uintm id;
      istringstream s(subel->getAttributeValue("id"));
      s.unsetf(ios::dec | ios::hex | ios::oct);
      s >> id;
      varnode_table.push_back( (VarnodeSymbol *)trans->findSymbol(id) );
    }
    else
      varnode_table.push_back( (VarnodeSymbol *)0 );
    ++iter;
  }
  checkTableFill();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, %r12
movq %rdi, %rbx
movq 0x78(%rsi), %rbp
movq (%rbp), %rdi
movq %rdx, 0x30(%rsp)
movq %rdx, %rsi
callq 0x407d0
movq %rbx, 0x8(%rsp)
movq %rax, 0x30(%rbx)
incl 0x8(%rax)
addq $0x8, %rbp
cmpq 0x80(%r12), %rbp
je 0x67ed5
movq 0x8(%rsp), %rax
leaq 0x38(%rax), %r13
leaq 0x10(%rsp), %r14
leaq 0x38(%rsp), %rbx
movq (%rbp), %r15
movq %r15, %rdi
leaq 0x195b6(%rip), %rsi     # 0x813a5
callq 0x3f590
testl %eax, %eax
je 0x67e11
movq $0x0, 0x38(%rsp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x41df0
jmp 0x67ec3
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
leaq 0x17eeb(%rip), %rsi     # 0x7fd10
leaq 0x17ee6(%rip), %rdx     # 0x7fd12
callq 0x3f8a0
movq %r15, %rdi
movq %r14, %rsi
callq 0x40f80
movq %rbx, %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x67e68
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x40880
movq 0x38(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
movq %rbx, %rdi
leaq 0x4(%rsp), %rsi
callq 0x41ec0
movl 0x4(%rsp), %eax
movq 0x30(%rsp), %rcx
movq 0x198(%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, 0x10(%rsp)
movq %r13, %rdi
movq %r14, %rsi
callq 0x41df0
movq %rbx, %rdi
movq 0x3ae5f(%rip), %rsi     # 0xa2d10
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
addq $0x8, %rbp
cmpq 0x80(%r12), %rbp
jne 0x67de1
movq 0x8(%rsp), %rdi
callq 0x41bf0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x67ef3
movq %rax, %rbx
movq 0x3ae13(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
jmp 0x67f3a
movq %rax, %rbx
jmp 0x67f3a
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x67f3a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: OperandSymbol::OperandSymbol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, Constructor*)
OperandSymbol::OperandSymbol(const string &nm,int4 index,Constructor *ct)
  : SpecificSymbol(nm)
{
  flags = 0;
  hand = index;
  localexp = new OperandValue(index,ct);
  localexp->layClaim();
  defexp = (PatternExpression *)0;
  triple = (TripleSymbol *)0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rcx, %r14
movl %edx, %ebp
movq %rdi, %rbx
callq 0x40560
movq 0x3ab6e(%rip), %rax     # 0xa2ac8
addq $0x10, %rax
movq %rax, (%rbx)
movl $0x0, 0x58(%rbx)
movl %ebp, 0x3c(%rbx)
movl $0x18, %edi
callq 0x40810
movq 0x3aec4(%rip), %rcx     # 0xa2e40
addq $0x10, %rcx
movq %rcx, (%rax)
movl %ebp, 0xc(%rax)
movq %r14, 0x10(%rax)
movq %rax, 0x40(%rbx)
movl $0x1, 0x8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq 0x3ab05(%rip), %rax     # 0xa2ab0
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x67fca
movq (%rbx), %rsi
incq %rsi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: OperandSymbol::defineOperand(PatternExpression*)
void OperandSymbol::defineOperand(PatternExpression *pe)

{
  if ((defexp != (PatternExpression *)0)||(triple!=(TripleSymbol *)0))
    throw SleighError("Redefining operand");
  defexp = pe;
  defexp->layClaim();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq 0x48(%rdi), %rax
orq 0x50(%rdi), %rax
jne 0x67ff8
movq %rsi, 0x50(%rdi)
incl 0x8(%rsi)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x3fb00
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x19394(%rip), %rsi     # 0x813a9
leaq 0x1939f(%rip), %rdx     # 0x813bb
leaq 0x8(%rsp), %rdi
callq 0x3f8a0
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x3f890
xorl %ebp, %ebp
movq 0x3ae51(%rip), %rsi     # 0xa2e90
movq 0x3abf2(%rip), %rdx     # 0xa2c38
movq %rbx, %rdi
callq 0x41d70
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x68068
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
testb %bpl, %bpl
jne 0x68072
jmp 0x6807a
movq %rax, %r14
movq %rbx, %rdi
callq 0x40090
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: OperandSymbol::getVarnode() const
VarnodeTpl *OperandSymbol::getVarnode(void) const

{
  VarnodeTpl *res;
  if (defexp != (PatternExpression *)0)
    res = new VarnodeTpl(hand,true); // Definite constant handle
  else {
    SpecificSymbol *specsym = dynamic_cast<SpecificSymbol *>(triple);
    if (specsym != (SpecificSymbol *)0)
      res = specsym->getVarnode();
    else if ((triple != (TripleSymbol *)0)&&
	     ((triple->getType() == valuemap_symbol)||(triple->getType() == name_symbol)))
      res = new VarnodeTpl(hand,true); // Zero-size symbols
    else
      res = new VarnodeTpl(hand,false); // Possible dynamic handle
  }
  return res;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
cmpq $0x0, 0x50(%rdi)
je 0x681d7
movl $0x68, %edi
callq 0x40810
movq %rax, %rbx
movl 0x3c(%r14), %esi
movq %rax, %rdi
movl $0x1, %edx
callq 0x3f230
jmp 0x68265
movq 0x48(%r14), %rbx
testq %rbx, %rbx
je 0x6824a
movq 0x3ad09(%rip), %rsi     # 0xa2ef0
movq 0x3ab7a(%rip), %rdx     # 0xa2d68
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x6820d
movq (%rax), %rcx
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *0x60(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
cmpl $0x4, %eax
je 0x6822a
movq 0x48(%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
cmpl $0x5, %eax
jne 0x6824a
movl $0x68, %edi
callq 0x40810
movq %rax, %rbx
movl 0x3c(%r14), %esi
movq %rax, %rdi
movl $0x1, %edx
callq 0x3f230
jmp 0x68265
movl $0x68, %edi
callq 0x40810
movq %rax, %rbx
movl 0x3c(%r14), %esi
movq %rax, %rdi
xorl %edx, %edx
callq 0x3f230
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
jmp 0x68274
jmp 0x68274
movq %rax, %r14
movl $0x68, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: OperandSymbol::print(std::ostream&, ParserWalker&) const
void OperandSymbol::print(ostream &s,ParserWalker &walker) const

{
  walker.pushOperand(getIndex());
  if (triple != (TripleSymbol *)0) {
    if (triple->getType() == SleighSymbol::subtable_symbol)
      walker.getConstructor()->print(s,walker);
    else
      triple->print(s,walker);
  }
  else {
    intb val = defexp->getValue(walker);
    if (val >= 0)
      s << "0x" << hex << val;
    else
      s << "-0x" << hex << -val;
  }
  walker.popOperand();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movslq 0x3c(%rdi), %rax
leal 0x1(%rax), %ecx
movslq 0x18(%rdx), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x18(%rbx)
movl %ecx, 0x1c(%rbx,%rdx,4)
movq 0x10(%rbx), %rcx
movq 0x40(%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, 0x10(%rbx)
movslq 0x18(%rbx), %rax
movl $0x0, 0x1c(%rbx,%rax,4)
movq 0x48(%rdi), %rdi
testq %rdi, %rdi
je 0x68338
movq (%rdi), %rax
callq *0x10(%rax)
cmpl $0xb, %eax
jne 0x6837a
movq 0x10(%rbx), %rax
movq (%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3f050
jmp 0x683c5
movq 0x50(%r15), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
movq %rax, %r15
testq %rax, %rax
js 0x6838c
leaq 0x18d60(%rip), %rsi     # 0x810b4
movl $0x2, %edx
movq %r14, %rdi
callq 0x40b90
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r14,%rax)
jmp 0x683ba
movq 0x48(%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
movq %rbx, %rdx
callq *0x50(%rax)
jmp 0x683c5
leaq 0x18dc4(%rip), %rsi     # 0x81157
movl $0x3, %edx
movq %r14, %rdi
callq 0x40b90
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r14,%rax)
negq %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x40700
movq 0x10(%rbx), %rax
movq 0x58(%rax), %rax
movq %rax, 0x10(%rbx)
decl 0x18(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: OperandSymbol::saveXml(std::ostream&) const
void OperandSymbol::saveXml(ostream &s) const

{
  s << "<operand_sym";
  SleighSymbol::saveXmlHeader(s);
  if (triple != (TripleSymbol *)0)
    s << " subsym=\"0x" << hex << triple->getId() << "\"";
  s << " off=\"" << dec << reloffset << "\"";
  s << " base=\"" << offsetbase << "\"";
  s << " minlen=\"" << minimumlength << "\"";
  if (isCodeAddress())
    s << " code=\"true\"";
  s << " index=\"" << dec << hand << "\">\n";
  localexp->saveXml(s);
  if (defexp != (PatternExpression *)0)
    defexp->saveXml(s);
  s << "</operand_sym>\n";
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x18f56(%rip), %rsi     # 0x813bc
movl $0xc, %edx
movq %rbx, %rdi
callq 0x40b90
movq %r14, %rdi
movq %rbx, %rsi
callq 0x415c0
cmpq $0x0, 0x48(%r14)
je 0x684d1
leaq 0x18f3d(%rip), %rsi     # 0x813c9
movl $0xb, %edx
movq %rbx, %rdi
callq 0x40b90
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%rbx,%rax)
movq 0x48(%r14), %rax
movl 0x28(%rax), %esi
movq %rbx, %rdi
callq 0x3ffc0
leaq 0x19123(%rip), %rsi     # 0x815e7
movl $0x1, %edx
movq %rax, %rdi
callq 0x40b90
leaq 0x18efd(%rip), %rsi     # 0x813d5
movl $0x6, %edx
movq %rbx, %rdi
callq 0x40b90
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
movl 0x30(%r14), %esi
movq %rbx, %rdi
callq 0x3ffc0
leaq 0x190da(%rip), %r15     # 0x815e7
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x40b90
leaq 0x18eb8(%rip), %rsi     # 0x813dc
movl $0x7, %edx
movq %rbx, %rdi
callq 0x40b90
movl 0x34(%r14), %esi
movq %rbx, %rdi
callq 0x41db0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x40b90
leaq 0x18e90(%rip), %rsi     # 0x813e4
movl $0x9, %edx
movq %rbx, %rdi
callq 0x40b90
movl 0x38(%r14), %esi
movq %rbx, %rdi
callq 0x41db0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x40b90
testb $0x1, 0x58(%r14)
je 0x68598
leaq 0x18e63(%rip), %rsi     # 0x813ee
movl $0xc, %edx
movq %rbx, %rdi
callq 0x40b90
leaq 0x18344(%rip), %rsi     # 0x808e3
movl $0x8, %edx
movq %rbx, %rdi
callq 0x40b90
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
movl 0x3c(%r14), %esi
movq %rbx, %rdi
callq 0x41db0
leaq 0x18825(%rip), %rsi     # 0x80df9
movl $0x3, %edx
movq %rax, %rdi
callq 0x40b90
movq 0x40(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x38(%rax)
movq 0x50(%r14), %rdi
testq %rdi, %rdi
je 0x68600
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x38(%rax)
leaq 0x18df4(%rip), %rsi     # 0x813fb
movl $0xf, %edx
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x40b90
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: StartSymbol::getVarnode() const
VarnodeTpl *StartSymbol::getVarnode(void) const

{ // Returns current instruction offset as a constant
  ConstTpl spc(const_space);
  ConstTpl off(ConstTpl::j_start);
  ConstTpl sz_zero;
  return new VarnodeTpl(spc,off,sz_zero);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq 0x30(%rdi), %rsi
leaq 0x48(%rsp), %r14
movq %r14, %rdi
callq 0x403a0
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movl $0x2, %esi
callq 0x40770
leaq 0x8(%rsp), %r12
movl $0x0, (%r12)
movq $0x0, 0x10(%r12)
movl $0x68, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x41ab0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x68, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::~Constructor()
Constructor::~Constructor(void)

{
  if (pattern != (TokenPattern *)0)
    delete pattern;
  if (pateq != (PatternEquation *)0)
    PatternEquation::release(pateq);
  if (templ != (ConstructTpl *)0)
    delete templ;
  for(int4 i=0;i<namedtempl.size();++i) {
    ConstructTpl *ntpl = namedtempl[i];
    if (ntpl != (ConstructTpl *)0)
      delete ntpl;
  }
  vector<ContextChange *>::iterator iter;
  for(iter=context.begin();iter!=context.end();++iter)
    delete *iter;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x693fd
movq %r14, %rdi
callq 0x3fa70
movl $0x28, %esi
movq %r14, %rdi
callq 0x40880
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x6940b
callq 0x400e0
movq 0x60(%rbx), %r14
testq %r14, %r14
je 0x69429
movq %r14, %rdi
callq 0x41750
movl $0x28, %esi
movq %r14, %rdi
callq 0x40880
movq 0x68(%rbx), %rdi
movq 0x70(%rbx), %rax
cmpq %rdi, %rax
je 0x69471
xorl %r15d, %r15d
movq (%rdi,%r15,8), %r14
testq %r14, %r14
je 0x6945f
movq %r14, %rdi
callq 0x41750
movl $0x28, %esi
movq %r14, %rdi
callq 0x40880
movq 0x68(%rbx), %rdi
movq 0x70(%rbx), %rax
incq %r15
movq %rax, %rcx
subq %rdi, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x69439
movq 0x48(%rbx), %r14
movq 0x50(%rbx), %rax
cmpq %rax, %r14
je 0x6949d
movq (%r14), %rdi
testq %rdi, %rdi
je 0x69490
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x50(%rbx), %rax
addq $0x8, %r14
cmpq %rax, %r14
jne 0x6947e
movq 0x68(%rbx), %rdi
testq %rdi, %rdi
je 0x694ae
movq 0x78(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x694c3
movq 0x58(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
leaq 0x30(%rbx), %rdi
callq 0x400a0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x694e6
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x40880
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x47736
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::addOperand(OperandSymbol*)
void Constructor::addOperand(OperandSymbol *sym)

{
  string operstring = "\n ";	// Indicater character for operand
  operstring[1] = ('A'+operands.size()); // Encode index of operand
  operands.push_back(sym);
  printpiece.push_back(operstring); // Placeholder for operand's string
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, (%rsp)
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x16ff8(%rip), %rsi     # 0x8053c
leaq 0x16ff3(%rip), %rdx     # 0x8053e
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x3f8a0
movl 0x20(%rbx), %eax
subl 0x18(%rbx), %eax
shrl $0x3, %eax
addb $0x41, %al
movq (%r15), %rcx
movb %al, 0x1(%rcx)
movq 0x20(%rbx), %rsi
cmpq 0x28(%rbx), %rsi
je 0x6957d
movq %r14, (%rsi)
addq $0x8, 0x20(%rbx)
jmp 0x69589
leaq 0x18(%rbx), %rdi
movq %rsp, %rdx
callq 0x41ba0
addq $0x30, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x3fbc0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x695b1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x695d7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::setNamedSection(ConstructTpl*, int)
void Constructor::setNamedSection(ConstructTpl *tpl,int4 id)

{				// Add a named section to the constructor
  while(namedtempl.size() <= id)
    namedtempl.push_back((ConstructTpl *)0);
  namedtempl[id] = tpl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movslq %edx, %r13
movq 0x68(%rdi), %rax
movq 0x70(%rdi), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
ja 0x697ad
movq %rdi, %r14
leaq 0x68(%rdi), %r15
leaq 0x8(%rsp), %r12
movq $0x0, 0x8(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x3fce0
movq 0x68(%r14), %rax
movq 0x70(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
jbe 0x69785
movq %rbx, (%rax,%r13,8)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::printMnemonic(std::ostream&, ParserWalker&) const
void Constructor::printMnemonic(ostream &s,ParserWalker &walker) const

{
  if (flowthruindex != -1) {
    SubtableSymbol *sym = dynamic_cast<SubtableSymbol *>(operands[flowthruindex]->getDefiningSymbol());
    if (sym != (SubtableSymbol *)0) {
      walker.pushOperand(flowthruindex);
      walker.getConstructor()->printMnemonic(s,walker);
      walker.popOperand();
      return;
    }
  }
  int4 endind = (firstwhitespace==-1) ? printpiece.size() : firstwhitespace;
  for(int4 i=0;i<endind;++i) {
    if (printpiece[i][0] == '\n') {
      int4 index = printpiece[i][1]-'A';
      operands[index]->print(s,walker);
    }
    else
      s << printpiece[i];
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movslq 0x8c(%rdi), %r12
cmpq $-0x1, %r12
je 0x69878
movq 0x18(%r15), %rax
movq (%rax,%r12,8), %rax
movq 0x48(%rax), %rdi
testq %rdi, %rdi
je 0x69878
movq 0x396d9(%rip), %rsi     # 0xa2ef0
movq 0x396da(%rip), %rdx     # 0xa2ef8
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x69878
leal 0x1(%r12), %eax
movslq 0x18(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x18(%rbx)
movl %eax, 0x1c(%rbx,%rcx,4)
movq 0x10(%rbx), %rax
movq 0x40(%rax), %rax
movq (%rax,%r12,8), %rax
movq %rax, 0x10(%rbx)
movslq 0x18(%rbx), %rcx
movl $0x0, 0x1c(%rbx,%rcx,4)
movq (%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3fbf0
movq 0x10(%rbx), %rax
movq 0x58(%rax), %rax
movq %rax, 0x10(%rbx)
decl 0x18(%rbx)
jmp 0x698e1
movl 0x88(%r15), %ecx
movq 0x38(%r15), %rax
subq 0x30(%r15), %rax
shrq $0x5, %rax
cmpl $-0x1, %ecx
cmovnel %ecx, %eax
testl %eax, %eax
jle 0x698e1
movl %eax, %r12d
shlq $0x5, %r12
xorl %r13d, %r13d
movq 0x30(%r15), %rax
movq (%rax,%r13), %rsi
cmpb $0xa, (%rsi)
jne 0x698cb
movsbq 0x1(%rsi), %rax
movq 0x18(%r15), %rcx
movq -0x208(%rcx,%rax,8), %rdi
movq (%rdi), %rax
movq %r14, %rsi
movq %rbx, %rdx
callq *0x50(%rax)
jmp 0x698d8
movq 0x8(%rax,%r13), %rdx
movq %r14, %rdi
callq 0x40b90
addq $0x20, %r13
cmpq %r13, %r12
jne 0x6989f
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::printBody(std::ostream&, ParserWalker&) const
void Constructor::printBody(ostream &s,ParserWalker &walker) const

{
  if (flowthruindex != -1) {
    SubtableSymbol *sym = dynamic_cast<SubtableSymbol *>(operands[flowthruindex]->getDefiningSymbol());
    if (sym != (SubtableSymbol *)0) {
      walker.pushOperand(flowthruindex);
      walker.getConstructor()->printBody(s,walker);
      walker.popOperand();
      return;
    }
  }
  if (firstwhitespace == -1) return; // Nothing to print after firstwhitespace
  for(int4 i=firstwhitespace+1;i<printpiece.size();++i) {
    if (printpiece[i][0]=='\n') {
      int4 index = printpiece[i][1]-'A';
      operands[index]->print(s,walker);
    }
    else
      s << printpiece[i];
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movslq 0x8c(%rdi), %r12
cmpq $-0x1, %r12
je 0x69987
movq 0x18(%r15), %rax
movq (%rax,%r12,8), %rax
movq 0x48(%rax), %rdi
testq %rdi, %rdi
je 0x69987
movq 0x395cd(%rip), %rsi     # 0xa2ef0
movq 0x395ce(%rip), %rdx     # 0xa2ef8
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x69987
leal 0x1(%r12), %eax
movslq 0x18(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x18(%rbx)
movl %eax, 0x1c(%rbx,%rcx,4)
movq 0x10(%rbx), %rax
movq 0x40(%rax), %rax
movq (%rax,%r12,8), %rax
movq %rax, 0x10(%rbx)
movslq 0x18(%rbx), %rcx
movl $0x0, 0x1c(%rbx,%rcx,4)
movq (%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x40e50
movq 0x10(%rbx), %rax
movq 0x58(%rax), %rax
movq %rax, 0x10(%rbx)
decl 0x18(%rbx)
jmp 0x69a08
movl 0x88(%r15), %ecx
cmpl $-0x1, %ecx
je 0x69a08
leal 0x1(%rcx), %eax
movslq %eax, %r12
movq 0x30(%r15), %rax
movq 0x38(%r15), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r12, %rdx
jbe 0x69a08
movslq %ecx, %r13
shlq $0x5, %r13
addq $0x28, %r13
movq -0x8(%rax,%r13), %rsi
cmpb $0xa, (%rsi)
jne 0x699e1
movsbq 0x1(%rsi), %rax
movq 0x18(%r15), %rcx
movq -0x208(%rcx,%rax,8), %rdi
movq (%rdi), %rax
movq %r14, %rsi
movq %rbx, %rdx
callq *0x50(%rax)
jmp 0x699ed
movq (%rax,%r13), %rdx
movq %r14, %rdi
callq 0x40b90
incq %r12
movq 0x30(%r15), %rax
movq 0x38(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r13
cmpq %r12, %rcx
ja 0x699b8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::removeTrailingSpace()
void Constructor::removeTrailingSpace(void)

{
  // Allow for user to force extra space at end of printing
  if ((!printpiece.empty())&&(printpiece.back()==" "))
    printpiece.pop_back();
  //  while((!printpiece.empty())&&(printpiece.back()==" "))
  //    printpiece.pop_back();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
cmpq %rdi, 0x30(%rbx)
je 0x69a34
addq $-0x20, %rdi
leaq 0x16b12(%rip), %rsi     # 0x8053d
callq 0x3f590
testl %eax, %eax
je 0x69a36
popq %rbx
retq
movq 0x38(%rbx), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x38(%rbx)
movq -0x20(%rax), %rdi
addq $-0x10, %rax
cmpq %rax, %rdi
je 0x69a34
movq (%rax), %rsi
incq %rsi
popq %rbx
jmp 0x40880
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::markSubtableOperands(std::vector<int, std::allocator<int>>&) const
void Constructor::markSubtableOperands(vector<int4> &check) const

{ // Adjust -check- so it has one entry for every operand, a 0 if it is a subtable, a 2 if it is not
  check.resize(operands.size());
  for(int4 i=0;i<operands.size();++i) {
    TripleSymbol *sym = operands[i]->getDefiningSymbol();
    if ((sym != (TripleSymbol *)0)&&(sym->getType() == SleighSymbol::subtable_symbol))
      check[i] = 0;
    else
      check[i] = 2;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rsi
subq 0x18(%rdi), %rsi
sarq $0x3, %rsi
movq %rbx, %rdi
callq 0x40010
movq 0x18(%r14), %rax
cmpq %rax, 0x20(%r14)
je 0x69aca
xorl %r15d, %r15d
movq (%rax,%r15,8), %rax
movq 0x48(%rax), %rdi
testq %rdi, %rdi
je 0x69aa7
movq (%rdi), %rax
callq *0x10(%rax)
xorl %ecx, %ecx
cmpl $0xb, %eax
setne %cl
addl %ecx, %ecx
jmp 0x69aac
movl $0x2, %ecx
movq (%rbx), %rax
movl %ecx, (%rax,%r15,4)
incq %r15
movq 0x18(%r14), %rax
movq 0x20(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x69a88
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::collectLocalExports(std::vector<unsigned long, std::allocator<unsigned long>>&) const
void Constructor::collectLocalExports(vector<uintb> &results) const

{
  if (templ == (ConstructTpl *)0) return;
  HandleTpl *handle = templ->getResult();
  if (handle == (HandleTpl *)0) return;
  if (handle->getSpace().isConstSpace()) return;	// Even if the value is dynamic, the pointed to value won't get used
  if (handle->getPtrSpace().getType() != ConstTpl::real) {
    if (handle->getTempSpace().isUniqueSpace())
      results.push_back(handle->getTempOffset().getReal());
    return;
  }
  if (handle->getSpace().isUniqueSpace()) {
    results.push_back(handle->getPtrOffset().getReal());
    return;
  }
  if (handle->getSpace().getType() == ConstTpl::handle) {
    int4 handleIndex = handle->getSpace().getHandleIndex();
    OperandSymbol *opSym = getOperand(handleIndex);
    opSym->collectLocalValues(results);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq 0x60(%rdi), %rax
testq %rax, %rax
je 0x69b89
movq 0x20(%rax), %r14
testq %r14, %r14
je 0x69b89
movq %rsi, %rbx
movq %rdi, %r15
movq %r14, %rdi
callq 0x3f640
testb %al, %al
jne 0x69b89
cmpl $0x0, 0x40(%r14)
je 0x69b29
leaq 0xa0(%r14), %rdi
callq 0x40200
testb %al, %al
je 0x69b89
movq 0xd0(%r14), %rax
jmp 0x69b39
movq %r14, %rdi
callq 0x40200
testb %al, %al
je 0x69b55
movq 0x70(%r14), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x69b7c
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x69b89
cmpl $0x1, (%r14)
jne 0x69b89
movslq 0x8(%r14), %rax
movq 0x18(%r15), %rcx
movq (%rcx,%rax,8), %rdi
movq (%rdi), %rax
movq 0x58(%rax), %rax
movq %rbx, %rsi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmpq *%rax
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x3fa20
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::isRecursive() const
bool Constructor::isRecursive(void) const

{ // Does this constructor cause recursion with its table
  for(int4 i=0;i<operands.size();++i) {
    TripleSymbol *sym = operands[i]->getDefiningSymbol();
    if (sym == parent) return true;
  }
  return false;
}

// Assembly:
movq 0x18(%rdi), %rcx
movq 0x20(%rdi), %rax
subq %rcx, %rax
je 0x69be0
sarq $0x3, %rax
cmpq $0x1, %rax
movq %rax, %rdx
adcq $0x0, %rdx
movq 0x8(%rdi), %rsi
movq (%rcx), %rdi
cmpq %rsi, 0x48(%rdi)
je 0x69be3
movl $0x1, %r8d
movq %r8, %rdi
cmpq %r8, %rdx
je 0x69bd9
movq (%rcx,%rdi,8), %r9
leaq 0x1(%rdi), %r8
cmpq %rsi, 0x48(%r9)
jne 0x69bc3
cmpq %rdi, %rax
seta %al
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: Constructor::printInfo(std::ostream&) const
void Constructor::printInfo(ostream &s) const

{				// Print identifying information about constructor
				// for use in error messages
  s << "table \"" << parent->getName();
  s << "\" constructor starting at line " << dec << lineno;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1622c(%rip), %rsi     # 0x815e1
movl $0x7, %edx
movq %rbx, %rdi
callq 0x40b90
movq 0x8(%r14), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
callq 0x40b90
leaq 0x1620c(%rip), %rsi     # 0x815e9
movl $0x1f, %edx
movq %rbx, %rdi
callq 0x40b90
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
movl 0x90(%r14), %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x41db0
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: SubtableSymbol::SubtableSymbol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
SubtableSymbol::SubtableSymbol(const string &nm) : TripleSymbol(nm)

{
  beingbuilt = false;
  pattern = (TokenPattern *)0;
  decisiontree = (DecisionNode *)0;
  errors = 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x40560
movq 0x378c2(%rip), %rax     # 0xa2ce8
addq $0x10, %rax
movq %rax, (%rbx)
movw $0x0, 0x38(%rbx)
movq $0x0, 0x30(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x50(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: SubtableSymbol::~SubtableSymbol()
SubtableSymbol::~SubtableSymbol(void)

{
  if (pattern != (TokenPattern *)0)
    delete pattern;
  if (decisiontree != (DecisionNode *)0)
    delete decisiontree;
  vector<Constructor *>::iterator iter;
  for(iter=construct.begin();iter!=construct.end();++iter)
    delete *iter;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x37891(%rip), %rax     # 0xa2ce8
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x30(%rdi), %r14
testq %r14, %r14
je 0x6b47c
movq %r14, %rdi
callq 0x3fa70
movl $0x28, %esi
movq %r14, %rdi
callq 0x40880
movq 0x58(%rbx), %r14
testq %r14, %r14
je 0x6b49a
movq %r14, %rdi
callq 0x3f040
movl $0x48, %esi
movq %r14, %rdi
callq 0x40880
movq 0x40(%rbx), %r14
cmpq 0x48(%rbx), %r14
je 0x6b4cf
movq (%r14), %r15
testq %r15, %r15
je 0x6b4b4
movq %r15, %rdi
callq 0x42340
movl $0x98, %esi
movq %r15, %rdi
callq 0x40880
addq $0x8, %r14
cmpq 0x48(%rbx), %r14
jne 0x6b4a4
movq 0x40(%rbx), %r14
testq %r14, %r14
je 0x6b4e3
movq 0x50(%rbx), %rsi
subq %r14, %rsi
movq %r14, %rdi
callq 0x40880
movq 0x375c6(%rip), %rax     # 0xa2ab0
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x6b50e
movq (%rbx), %rsi
incq %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x40880
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: SubtableSymbol::saveXml(std::ostream&) const
void SubtableSymbol::saveXml(ostream &s) const

{
  if (decisiontree == (DecisionNode *)0) return; // Not fully formed
  s << "<subtable_sym";
  SleighSymbol::saveXmlHeader(s);
  s << " numct=\"" << dec << construct.size() << "\">\n";
  for(int4 i=0;i<construct.size();++i)
    construct[i]->saveXml(s);
  decisiontree->saveXml(s);
  s << "</subtable_sym>\n";
}

// Assembly:
cmpq $0x0, 0x58(%rdi)
je 0x6b649
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1607e(%rip), %rsi     # 0x81609
movl $0xd, %edx
movq %rbx, %rdi
callq 0x40b90
movq %r14, %rdi
movq %rbx, %rsi
callq 0x415c0
leaq 0x1606d(%rip), %rsi     # 0x81617
movl $0x8, %edx
movq %rbx, %rdi
callq 0x40b90
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
movq 0x48(%r14), %rsi
subq 0x40(%r14), %rsi
sarq $0x3, %rsi
movq %rbx, %rdi
callq 0x3ffc0
leaq 0x15812(%rip), %rsi     # 0x80df9
movl $0x3, %edx
movq %rax, %rdi
callq 0x40b90
movq 0x40(%r14), %rax
cmpq %rax, 0x48(%r14)
je 0x6b624
xorl %r15d, %r15d
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x40d20
incq %r15
movq 0x40(%r14), %rax
movq 0x48(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x6b601
movq 0x58(%r14), %rdi
movq %rbx, %rsi
callq 0x40ae0
leaq 0x15fe9(%rip), %rsi     # 0x81620
movl $0x10, %edx
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x40b90
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: SubtableSymbol::restoreXml(Element const*, SleighBase*)
void SubtableSymbol::restoreXml(const Element *el,SleighBase *trans)

{
  {
    int4 numct;
    istringstream s(el->getAttributeValue("numct"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> numct;
    construct.reserve(numct);
  }
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  while(iter != list.end()) {
    if ((*iter)->getName() == "constructor") {
      Constructor *ct = new Constructor();
      addConstructor(ct);
      ct->restoreXml(*iter,trans);
    }
    else if ((*iter)->getName() == "decision") {
      decisiontree = new DecisionNode();
      decisiontree->restoreXml(*iter,(DecisionNode *)0,this);
    }
    ++iter;
  }
  pattern = (TokenPattern *)0;
  beingbuilt = false;
  errors = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdx, 0x10(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x15d68(%rip), %rsi     # 0x81644
leaq 0x15d66(%rip), %rdx     # 0x81649
leaq 0x18(%rsp), %rdi
callq 0x3f8a0
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x6b923
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x40880
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0xc(%rsp), %rsi
callq 0x3fe80
leaq 0x40(%rbx), %rdi
movslq 0xc(%rsp), %rsi
callq 0x414a0
movq 0x373bd(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
movq 0x78(%r15), %r14
cmpq 0x80(%r15), %r14
je 0x6ba16
leaq 0x15d9a(%rip), %r12     # 0x8171c
leaq 0x15da0(%rip), %r13     # 0x81729
movq (%r14), %rdi
movq %r12, %rsi
callq 0x3f590
testl %eax, %eax
je 0x6b9d5
movq (%r14), %rdi
movq %r13, %rsi
callq 0x3f590
testl %eax, %eax
jne 0x6ba05
movl $0x48, %edi
callq 0x40810
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movq %rax, 0x58(%rbx)
movq (%r14), %rsi
movq %rax, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x40ea0
jmp 0x6ba05
movl $0x98, %edi
callq 0x40810
movq %rax, %rbp
movq %rax, %rdi
callq 0x3f430
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x419d0
movq (%r14), %rsi
movq %rbp, %rdi
movq 0x10(%rsp), %rdx
callq 0x41740
addq $0x8, %r14
cmpq 0x80(%r15), %r14
jne 0x6b989
movq $0x0, 0x30(%rbx)
movw $0x0, 0x38(%rbx)
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x6ba85
movq %rax, %rbx
movq 0x372cb(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
jmp 0x6ba85
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x6ba85
movq 0x28(%rsp), %rsi
incq %rsi
jmp 0x6ba80
movq %rax, %rbx
movl $0x98, %esi
movq %rbp, %rdi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: SubtableSymbol::buildDecisionTree(DecisionProperties&)
void SubtableSymbol::buildDecisionTree(DecisionProperties &props)

{				// Associate pattern disjoints to constructors
  if (pattern == (TokenPattern *)0) return; // Pattern not fully formed
  Pattern *pat;
  decisiontree = new DecisionNode((DecisionNode *)0);
  for(int4 i=0;i<construct.size();++i) {
    pat = construct[i]->getPattern()->getPattern();
    if (pat->numDisjoint() == 0)
      decisiontree->addConstructorPair((const DisjointPattern *)pat,construct[i]);
    else
      for(int4 j=0;j<pat->numDisjoint();++j)
	decisiontree->addConstructorPair(pat->getDisjoint(j),construct[i]);
  }
  decisiontree->split(props);	// Create the decision strategy
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x0, 0x30(%rdi)
je 0x6bfe1
movq %rsi, %rbx
movq %rdi, %r14
movl $0x48, %edi
callq 0x40810
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
callq 0x40c90
movq %r15, 0x58(%r14)
movq 0x40(%r14), %rax
cmpq %rax, 0x48(%r14)
je 0x6bfc8
xorl %r13d, %r13d
movq (%rax,%r13,8), %rax
movq (%rax), %rax
movq (%rax), %r15
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
testl %eax, %eax
je 0x6bf95
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
testl %eax, %eax
jle 0x6bfa9
xorl %ebp, %ebp
movq 0x58(%r14), %r12
movq (%r15), %rax
movq %r15, %rdi
movl %ebp, %esi
callq *0x48(%rax)
movq 0x40(%r14), %rcx
movq (%rcx,%r13,8), %rdx
movq %r12, %rdi
movq %rax, %rsi
callq 0x3f3f0
incl %ebp
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
cmpl %eax, %ebp
jl 0x6bf62
jmp 0x6bfa9
movq 0x40(%r14), %rax
movq 0x58(%r14), %rdi
movq (%rax,%r13,8), %rdx
movq %r15, %rsi
callq 0x3f3f0
incq %r13
movq 0x40(%r14), %rax
movq 0x48(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
ja 0x6bf3c
movq 0x58(%r14), %r15
movq %r15, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40210
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x48, %esi
movq %r15, %rdi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: DecisionProperties::identicalPattern(Constructor*, Constructor*)
void DecisionProperties::identicalPattern(Constructor *a,Constructor *b)

{ // Note that -a- and -b- have identical patterns
  if ((!a->isError())&&(!b->isError())) {
    a->setError(true);
    b->setError(true);
    ostringstream s;
    s << "Constructors with identical patterns: \n   ";
    a->printInfo(s);
    s << "\n   ";
    b->printInfo(s);
    s << endl;
    identerrors.push_back(s.str());
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
cmpb $0x0, 0x94(%rsi)
jne 0x6c41e
movq %rdx, %r14
cmpb $0x0, 0x94(%rdx)
jne 0x6c41e
movq %rsi, %r15
movq %rdi, %rbx
movb $0x1, %al
movb %al, 0x94(%rsi)
movb %al, 0x94(%r14)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x41120
leaq 0x15323(%rip), %rsi     # 0x81685
movl $0x2a, %edx
movq %r12, %rdi
callq 0x40b90
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x421a0
leaq 0x1535b(%rip), %rsi     # 0x816de
leaq 0x20(%rsp), %rdi
movl $0x4, %edx
callq 0x40b90
leaq 0x20(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x421a0
movq 0x20(%rsp), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x40750
movsbl %al, %esi
leaq 0x20(%rsp), %rdi
callq 0x3f0a0
movq %rax, %rdi
callq 0x3ffd0
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x418c0
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x3f7b0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c400
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x40880
movq 0x36979(%rip), %rsi     # 0xa2d80
leaq 0x20(%rsp), %rdi
callq 0x3fc30
leaq 0x90(%rsp), %rdi
callq 0x3f730
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c452
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x40880
jmp 0x6c452
jmp 0x6c44f
movq %rax, %rbx
movq 0x36927(%rip), %rsi     # 0xa2d80
leaq 0x20(%rsp), %rdi
callq 0x3fc30
leaq 0x90(%rsp), %rdi
callq 0x3f730
movq %rbx, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: DecisionProperties::conflictingPattern(Constructor*, Constructor*)
void DecisionProperties::conflictingPattern(Constructor *a,Constructor *b)

{ // Note that -a- and -b- have (potentially) conflicting patterns
  if ((!a->isError())&&(!b->isError())) {
    a->setError(true);
    b->setError(true);
    ostringstream s;
    s << "Constructor patterns cannot be distinguished: \n   ";
    a->printInfo(s);
    s << "\n   ";
    b->printInfo(s);
    s << endl;
    conflicterrors.push_back(s.str());
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
cmpb $0x0, 0x94(%rsi)
jne 0x6c58c
movq %rdx, %r14
cmpb $0x0, 0x94(%rdx)
jne 0x6c58c
movq %rsi, %r15
movq %rdi, %rbx
movb $0x1, %al
movb %al, 0x94(%rsi)
movb %al, 0x94(%r14)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x41120
leaq 0x151e4(%rip), %rsi     # 0x816b0
movl $0x32, %edx
movq %r12, %rdi
callq 0x40b90
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x421a0
leaq 0x151f1(%rip), %rsi     # 0x816de
leaq 0x20(%rsp), %rdi
movl $0x4, %edx
callq 0x40b90
leaq 0x20(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x421a0
movq 0x20(%rsp), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x40750
movsbl %al, %esi
leaq 0x20(%rsp), %rdi
callq 0x3f0a0
movq %rax, %rdi
callq 0x3ffd0
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x418c0
addq $0x18, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x3f7b0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c56e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x40880
movq 0x3680b(%rip), %rsi     # 0xa2d80
leaq 0x20(%rsp), %rdi
callq 0x3fc30
leaq 0x90(%rsp), %rdi
callq 0x3f730
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c5c0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x40880
jmp 0x6c5c0
jmp 0x6c5bd
movq %rax, %rbx
movq 0x367b9(%rip), %rsi     # 0xa2d80
leaq 0x20(%rsp), %rdi
callq 0x3fc30
leaq 0x90(%rsp), %rdi
callq 0x3f730
movq %rbx, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: DecisionNode::~DecisionNode()
DecisionNode::~DecisionNode(void)

{				// We own sub nodes
  vector<DecisionNode *>::iterator iter;
  for(iter=children.begin();iter!=children.end();++iter)
    delete *iter;
  vector<pair<DisjointPattern *,Constructor *> >::iterator piter;
  for(piter=list.begin();piter!=list.end();++piter)
    delete (*piter).first;	// Delete the patterns
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %r15
cmpq 0x20(%rdi), %r15
je 0x6c645
movq (%r15), %r14
testq %r14, %r14
je 0x6c62e
movq %r14, %rdi
callq 0x3f040
movl $0x48, %esi
movq %r14, %rdi
callq 0x40880
addq $0x8, %r15
cmpq 0x20(%rbx), %r15
jne 0x6c61e
movq (%rbx), %r14
movq 0x8(%rbx), %rax
cmpq %rax, %r14
je 0x6c669
movq (%r14), %rdi
testq %rdi, %rdi
je 0x6c663
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x8(%rbx), %rax
addq $0x10, %r14
jmp 0x6c64c
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x6c67e
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x6c697
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x40880
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: DecisionNode::getNumFixed(int, int, bool)
int4 DecisionNode::getNumFixed(int4 low,int4 size,bool context)

{				// Get number of patterns that specify this field
  int4 count = 0;
  uintm mask;
				// Bits which must be specified in the mask
  uintm m = (size==8*sizeof(uintm)) ? 0 : (((uintm)1)<<size);
  m = m-1;

  for(int4 i=0;i<list.size();++i) {
    mask = list[i].first->getMask(low,size,context);
    if ((mask&m)==m)
      count += 1;
  }
  return count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, (%rsp)
movq (%rdi), %rdx
cmpq %rdx, 0x8(%rdi)
je 0x6c773
movl %ecx, %eax
movl %esi, %r13d
movq %rdi, %r14
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl (%rsp), %ecx
shll %cl, %edi
xorl %ebp, %ebp
cmpl $0x20, %ecx
cmovel %ebp, %edi
movl %edi, 0x4(%rsp)
movzbl %al, %r12d
xorl %ebx, %ebx
xorl %r15d, %r15d
movq (%rdx,%rbp), %rdi
movl %r13d, %esi
movl (%rsp), %edx
movl %r12d, %ecx
callq 0x421d0
orl 0x4(%rsp), %eax
xorl %ecx, %ecx
cmpl $-0x1, %eax
sete %cl
addl %ecx, %r15d
incq %rbx
movq (%r14), %rdx
movq 0x8(%r14), %rax
subq %rdx, %rax
sarq $0x4, %rax
addq $0x10, %rbp
cmpq %rbx, %rax
ja 0x6c736
jmp 0x6c776
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: DecisionNode::getScore(int, int, bool)
double DecisionNode::getScore(int4 low,int4 size,bool context)

{
  int4 numBins = 1 << size;		// size is between 1 and 8
  int4 i;
  uintm val,mask;
  uintm m = ((uintm)1)<<size;
  m = m-1;

  int4 total = 0;
  vector<int4> count(numBins,0);

  for(i=0;i<list.size();++i) {
    mask = list[i].first->getMask(low,size,context);
    if ((mask&m)!=m) continue;	// Skip if field not fully specified
    val = list[i].first->getValue(low,size,context);
    total += 1;
    count[val] += 1;
  }
  if (total <= 0) return -1.0;
  double sc = 0.0;
  for(i=0;i<numBins;++i) {
    if (count[i] <= 0) continue;
    if (count[i] >= list.size()) return -1.0;
    double p = ((double)count[i])/total;
    sc -= p * log(p);
  }
  return ( sc / log(2.0) );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movl %esi, %r14d
movl $0x1, %r12d
movl %ebp, %ecx
shll %cl, %r12d
movq %rdi, %rbx
movslq %r12d, %rsi
leaq 0x54(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rcx
callq 0x42260
movq (%rbx), %rax
movsd 0x1487c(%rip), %xmm0    # 0x81050
movsd %xmm0, 0x28(%rsp)
cmpq %rax, 0x8(%rbx)
je 0x6c901
movl %r12d, 0x24(%rsp)
negl %r12d
movl %r12d, 0x10(%rsp)
xorl %r13d, %r13d
movzbl %r15b, %r15d
xorl %r12d, %r12d
movl $0x0, 0x18(%rsp)
movq (%rax,%r13), %rdi
movl %r14d, %esi
movl %ebp, %edx
movl %r15d, %ecx
callq 0x421d0
orl 0x10(%rsp), %eax
cmpl $-0x1, %eax
jne 0x6c83f
movq (%rbx), %rax
movq (%rax,%r13), %rdi
movl %r14d, %esi
movl %ebp, %edx
movl %r15d, %ecx
callq 0x40c10
incl 0x18(%rsp)
movl %eax, %eax
movq 0x30(%rsp), %rcx
incl (%rcx,%rax,4)
incq %r12
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x10, %r13
cmpq %r12, %rcx
ja 0x6c803
movl 0x18(%rsp), %eax
testl %eax, %eax
jle 0x6c901
xorpd %xmm1, %xmm1
cmpl $0x1f, %ebp
je 0x6c8f3
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x48(%rsp)
movl 0x24(%rsp), %eax
cmpl $0x2, %eax
movl $0x1, %r14d
cmovgel %eax, %r14d
xorl %r15d, %r15d
movq 0x30(%rsp), %rax
movslq (%rax,%r15,4), %rax
testq %rax, %rax
jle 0x6c8eb
movq 0x8(%rbx), %rcx
subq (%rbx), %rcx
sarq $0x4, %rcx
cmpq %rax, %rcx
jbe 0x6c901
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x48(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd %xmm1, 0x10(%rsp)
callq 0x402c0
mulsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x10(%rsp), %xmm1
incq %r15
cmpq %r15, %r14
jne 0x6c893
divsd 0x1475d(%rip), %xmm1    # 0x81058
movsd %xmm1, 0x28(%rsp)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x6c918
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x40880
movsd 0x28(%rsp), %xmm0
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x6c947
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
nop