LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: DisjointPattern::identical(DisjointPattern const*) const
bool DisjointPattern::identical(const DisjointPattern *op2) const

{				// Return true if patterns match exactly
  PatternBlock *a,*b;
  
  a = getBlock(false);
  b = op2->getBlock(false);
  if (b != (PatternBlock *)0) {	// a must match existing block
    if (a == (PatternBlock *)0) {
      if (!b->alwaysTrue())
	return false;
    }
    else if (!a->identical(b))
      return false;
  }
  else {
    if ((a != (PatternBlock *)0)&&(!a->alwaysTrue()))
      return false;
  }
  a = getBlock(true);
  b = op2->getBlock(true);
  if (b != (PatternBlock *)0) {	// a must match existing block
    if (a == (PatternBlock *)0) {
      if (!b->alwaysTrue())
	return false;
    }
    else if (!a->identical(b))
      return false;
  }
  else {
    if ((a != (PatternBlock *)0)&&(!a->alwaysTrue()))
      return false;
  }
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
xorl %esi, %esi
callq *0x78(%rax)
movq %rax, %r15
movq (%rbx), %rax
movq %rbx, %rdi
xorl %esi, %esi
callq *0x78(%rax)
testq %rax, %rax
je 0x617ae
testq %r15, %r15
je 0x617bc
movq %r15, %rdi
movq %rax, %rsi
callq 0x3ff90
testb %al, %al
jne 0x617c2
jmp 0x61808
testq %r15, %r15
je 0x617c2
cmpl $0x0, 0x4(%r15)
jne 0x61808
jmp 0x617c2
cmpl $0x0, 0x4(%rax)
jne 0x61808
movq (%r14), %rax
movq %r14, %rdi
movl $0x1, %esi
callq *0x78(%rax)
movq %rax, %r14
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x78(%rax)
testq %rax, %rax
je 0x617fc
testq %r14, %r14
je 0x6180c
movq %r14, %rdi
movq %rax, %rsi
callq 0x3ff90
testb %al, %al
je 0x61808
jmp 0x61812
testq %r14, %r14
je 0x61812
cmpl $0x0, 0x4(%r14)
je 0x61812
xorl %eax, %eax
jmp 0x61814
cmpl $0x0, 0x4(%rax)
jne 0x61808
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: resolveIntersectBlock(PatternBlock*, PatternBlock*, PatternBlock*)
static bool resolveIntersectBlock(PatternBlock *bl1,PatternBlock *bl2,PatternBlock *thisblock)

{
  PatternBlock *inter;
  bool allocated = false;
  bool res = true;

  if (bl1 == (PatternBlock *)0)
    inter = bl2;
  else if (bl2 == (PatternBlock *)0)
    inter = bl1;
  else {
    allocated = true;
    inter = bl1->intersect(bl2);
  }
  if (inter == (PatternBlock *)0) {
    if (thisblock != (PatternBlock *)0)
      res = false;
  }
  else if (thisblock == (PatternBlock *)0)
    res = false;
  else
    res = thisblock->identical(inter);
  if (allocated)
    delete inter;
  return res;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %r14
testq %rdi, %rdi
je 0x619a2
testq %rsi, %rsi
je 0x619b0
callq 0x40f30
movq %rax, %rbx
testq %r14, %r14
sete %bpl
testq %rax, %rax
je 0x619f4
testq %r14, %r14
je 0x619c8
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3ff90
movl %eax, %ebp
jmp 0x619ca
testq %rsi, %rsi
jne 0x619b3
testq %r14, %r14
sete %bpl
jmp 0x61a01
movq %rdi, %rsi
testq %r14, %r14
je 0x619c4
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x3ff90
xorl %ebp, %ebp
jmp 0x61a01
xorl %ebp, %ebp
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x619df
movq 0x30(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x619f4
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movl $0x38, %esi
movq %rbx, %rdi
callq 0x40880
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: DisjointPattern::restoreDisjoint(Element const*)
DisjointPattern *DisjointPattern::restoreDisjoint(const Element *el)

{				// DisjointPattern factory
  DisjointPattern *res;
  if (el->getName() == "instruct_pat")
    res = new InstructionPattern();
  else if (el->getName() == "context_pat")
    res = new ContextPattern();
  else
    res = new CombinePattern();
  res->restoreXml(el);
  return res;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1f3b4(%rip), %rsi     # 0x80dca
callq 0x3f590
testl %eax, %eax
je 0x61a57
leaq 0x1f3b1(%rip), %rsi     # 0x80dd7
movq %rbx, %rdi
callq 0x3f590
testl %eax, %eax
je 0x61a6d
movl $0x18, %edi
callq 0x40810
movq %rax, %r14
movq 0x413a2(%rip), %rax     # 0xa2de8
addq $0x10, %rax
movq %rax, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r14)
jmp 0x61a90
movl $0x10, %edi
callq 0x40810
movq %rax, %r14
movq 0x41215(%rip), %rax     # 0xa2c80
jmp 0x61a81
movl $0x10, %edi
callq 0x40810
movq %rax, %r14
movq 0x4110f(%rip), %rax     # 0xa2b90
addq $0x10, %rax
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movq %r14, %rdi
movq %rbx, %rsi
callq *0x70(%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::PatternBlock(int, unsigned int, unsigned int)
PatternBlock::PatternBlock(int4 off,uintm msk,uintm val)

{				// Define mask and value pattern, confined to one uintm
  offset = off;
  maskvec.push_back(msk);
  valvec.push_back(val);
  nonzerosize = sizeof(uintm);	// Assume all non-zero bytes before normalization
  normalize();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdi, %rbx
leaq 0x4(%rsp), %rax
movl %edx, (%rax)
movl %ecx, (%rsp)
leaq 0x8(%rdi), %r14
leaq 0x20(%rdi), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x8(%rdi)
movl %esi, (%rdi)
leaq 0x18(%rdi), %r15
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x40780
movq 0x28(%rbx), %rsi
cmpq 0x30(%rbx), %rsi
je 0x61d44
movl %ebp, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x28(%rbx)
jmp 0x61d4f
movq %rsp, %rdx
movq %r12, %rdi
callq 0x40780
movl $0x4, 0x4(%rbx)
movq %rbx, %rdi
callq 0x40d70
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
movq (%r12), %rdi
testq %rdi, %rdi
je 0x61d85
movq 0x30(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq %r14, %rdi
movq %r15, %rsi
callq 0x4267c
movq %r13, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::PatternBlock(PatternBlock const*, PatternBlock const*)
PatternBlock::PatternBlock(const PatternBlock *a,const PatternBlock *b)

{				// Construct PatternBlock by ANDing two others together
  PatternBlock *res = a->intersect(b);
  offset = res->offset;
  nonzerosize = res->nonzerosize;
  maskvec = res->maskvec;
  valvec = res->valvec;
  delete res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0x20(%rdi), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x8(%rdi)
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x40f30
movq %rax, %r15
movq (%rax), %rax
movq %rax, (%rbx)
leaq 0x8(%r15), %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0x423f0
movq %r15, %rbp
addq $0x20, %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0x423f0
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x61e23
movq 0x30(%r15), %rsi
subq %rdi, %rsi
callq 0x40880
movq (%r13), %rdi
testq %rdi, %rdi
je 0x61e38
movq 0x18(%r15), %rsi
subq %rdi, %rsi
callq 0x40880
movl $0x38, %esi
movq %r15, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40880
movq %rax, %r15
movq (%r12), %rdi
testq %rdi, %rdi
je 0x61e6b
movq 0x30(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq %r14, %rdi
movq %rbx, %rsi
callq 0x42695
movq %r15, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::PatternBlock(std::vector<PatternBlock*, std::allocator<PatternBlock*>>&)
PatternBlock::PatternBlock(vector<PatternBlock *> &list)

{				// AND several blocks together to construct new block
  PatternBlock *res,*next;

  if (list.empty()) {		// If not ANDing anything
    offset = 0;			// make constructed block always true
    nonzerosize = 0;
    return;
  }
  res = list[0];
  for(int4 i=1;i<list.size();++i) {
    next = res->intersect(list[i]);
    delete res;
    res = next;
  }
  offset = res->offset;
  nonzerosize = res->nonzerosize;
  maskvec = res->maskvec;
  valvec = res->valvec;
  delete res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x8(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
cmpq %rcx, %rax
je 0x62102
leaq 0x8(%rbx), %rdx
movq %rdx, (%rsp)
leaq 0x20(%rbx), %r15
movq (%rax), %rbp
subq %rax, %rcx
cmpq $0x9, %rcx
jb 0x62118
movq %rsi, %r13
movl $0x1, %r14d
movq (%rax,%r14,8), %rsi
movq %rbp, %rdi
callq 0x40f30
movq %rax, %r12
movq 0x20(%rbp), %rdi
testq %rdi, %rdi
je 0x620c4
movq 0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x40880
movq 0x8(%rbp), %rdi
testq %rdi, %rdi
je 0x620d9
movq 0x18(%rbp), %rsi
subq %rdi, %rsi
callq 0x40880
movl $0x38, %esi
movq %rbp, %rdi
callq 0x40880
incq %r14
movq (%r13), %rax
movq 0x8(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movq %r12, %rbp
cmpq %r14, %rcx
ja 0x620a0
jmp 0x6211b
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %r12
movq (%r12), %rax
movq %rax, (%rbx)
leaq 0x8(%r12), %r13
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x423f0
leaq 0x20(%r12), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x423f0
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x62159
movq 0x30(%r12), %rsi
subq %rdi, %rsi
callq 0x40880
movq (%r13), %rdi
testq %rdi, %rdi
je 0x6216f
movq 0x18(%r12), %rsi
subq %rdi, %rsi
callq 0x40880
movl $0x38, %esi
movq %r12, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40880
jmp 0x6218c
movq %rax, %r12
movq (%r15), %rdi
testq %rdi, %rdi
je 0x621a3
movq 0x30(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq (%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x621bb
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq %r12, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::clone() const
PatternBlock *PatternBlock::clone(void) const

{
  PatternBlock *res = new PatternBlock(true);

  res->offset = offset;
  res->nonzerosize = nonzerosize;
  res->maskvec = maskvec;
  res->valvec = valvec;
  return res;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x38, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
movl $0x1, %esi
callq 0x42350
movq (%r14), %rax
movq %rax, (%rbx)
leaq 0x8(%r14), %rsi
leaq 0x8(%rbx), %rdi
callq 0x423f0
addq $0x20, %r14
movq %rbx, %rdi
addq $0x20, %rdi
movq %r14, %rsi
callq 0x423f0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movl $0x38, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::commonSubPattern(PatternBlock const*) const
PatternBlock *PatternBlock::commonSubPattern(const PatternBlock *b) const

{				// The resulting pattern has a 1-bit in the mask
				// only if the two pieces have a 1-bit and the
				// values agree
  PatternBlock *res = new PatternBlock(true);
  int4 maxlength = (getLength() > b->getLength()) ? getLength() : b->getLength();

  res->offset = 0;
  int4 offset = 0;
  uintm mask1,val1,mask2,val2;
  uintm resmask,resval;
  while(offset < maxlength) {
    mask1 = getMask(offset*8,sizeof(uintm)*8);
    val1 = getValue(offset*8,sizeof(uintm)*8);
    mask2 = b->getMask(offset*8,sizeof(uintm)*8);
    val2 = b->getValue(offset*8,sizeof(uintm)*8);
    resmask = mask1 & mask2 & ~(val1^val2);
    resval = val1 & val2 & resmask;
    res->maskvec.push_back(resmask);
    res->valvec.push_back(resval);
    offset += sizeof(uintm);
  }
  res->nonzerosize = maxlength;
  res->normalize();
  return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %r13
movl $0x38, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
movl $0x1, %esi
callq 0x42350
movl 0x4(%r13), %eax
addl (%r13), %eax
movl 0x4(%r14), %ecx
movq %r14, 0x30(%rsp)
addl (%r14), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movq %rbx, 0x8(%rsp)
movl $0x0, (%rbx)
movl %ecx, (%rsp)
testl %ecx, %ecx
jle 0x6237a
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x20(%rsp)
addq $0x20, %rax
movq %rax, 0x18(%rsp)
xorl %ebp, %ebp
xorl %r15d, %r15d
movq %r13, 0x28(%rsp)
movq %r13, %rdi
movl %ebp, %esi
movl $0x20, %edx
callq 0x41a80
movl %eax, %r12d
movq %r13, %rdi
movl %ebp, %esi
movl $0x20, %edx
callq 0x40760
movl %eax, %r13d
movq 0x30(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl $0x20, %edx
callq 0x41a80
movl %eax, %r14d
movq %rbx, %rdi
movl %ebp, %esi
movl $0x20, %edx
callq 0x40760
andl %r12d, %r14d
movl %r13d, %ecx
xorl %eax, %ecx
notl %ecx
andl %r14d, %ecx
movl %ecx, 0x14(%rsp)
andl %r13d, %eax
andl %r14d, %eax
movl %eax, 0x4(%rsp)
movq 0x8(%rsp), %rbx
movq 0x10(%rbx), %rsi
cmpq 0x18(%rbx), %rsi
je 0x6232c
movl %ecx, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x10(%rbx)
jmp 0x6233b
movq 0x20(%rsp), %rdi
leaq 0x14(%rsp), %rdx
callq 0x40780
movq 0x28(%rbx), %rsi
cmpq 0x30(%rbx), %rsi
movq 0x28(%rsp), %r13
je 0x6235a
movl 0x4(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x28(%rbx)
jmp 0x62369
movq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rdx
callq 0x40780
addl $0x4, %r15d
addl $0x20, %ebp
cmpl (%rsp), %r15d
jl 0x622ac
movq 0x8(%rsp), %rbx
movl (%rsp), %eax
movl %eax, 0x4(%rbx)
movq %rbx, %rdi
callq 0x40d70
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movl $0x38, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::isInstructionMatch(ParserWalker&) const
bool PatternBlock::isInstructionMatch(ParserWalker &walker) const

{
  if (nonzerosize<=0) return (nonzerosize==0);
  int4 off = offset;
  for(int4 i=0;i<maskvec.size();++i) {
    uintm data = walker.getInstructionBytes(off,sizeof(uintm));
    if ((maskvec[i] & data)!=valvec[i]) return false;
    off += sizeof(uintm);
  }
  return true;
}

// Assembly:
cmpl $0x0, 0x4(%rdi)
jle 0x6241e
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x10(%rdi), %rax
cmpq 0x8(%rdi), %rax
je 0x62422
movq %rsi, %rbx
movl (%r14), %ebp
xorl %r15d, %r15d
movq (%rbx), %rdi
movq 0x10(%rbx), %rax
movl 0x64(%rax), %ecx
movl %ebp, %esi
movl $0x4, %edx
callq 0x40eb0
movq 0x8(%r14), %rcx
andl (%rcx,%r15,4), %eax
movq 0x20(%r14), %rdx
cmpl (%rdx,%r15,4), %eax
sete %al
jne 0x62424
addl $0x4, %ebp
incq %r15
movq 0x10(%r14), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %r15, %rdx
ja 0x623db
jmp 0x62424
sete %al
retq
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::isContextMatch(ParserWalker&) const
bool PatternBlock::isContextMatch(ParserWalker &walker) const

{
  if (nonzerosize<=0) return (nonzerosize==0);
  int4 off = offset;
  for(int4 i=0;i<maskvec.size();++i) {
    uintm data = walker.getContextBytes(off,sizeof(uintm));
    if ((maskvec[i] & data)!=valvec[i]) return false;
    off += sizeof(uintm);
  }
  return true;
}

// Assembly:
cmpl $0x0, 0x4(%rdi)
jle 0x6248f
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x10(%rdi), %rax
cmpq 0x8(%rdi), %rax
je 0x62493
movq %rsi, %rbx
movl (%r14), %ebp
xorl %r15d, %r15d
movq (%rbx), %rdi
movl %ebp, %esi
movl $0x4, %edx
callq 0x413b0
movq 0x8(%r14), %rcx
andl (%rcx,%r15,4), %eax
movq 0x20(%r14), %rdx
cmpl (%rdx,%r15,4), %eax
sete %al
jne 0x62495
addl $0x4, %ebp
incq %r15
movq 0x10(%r14), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %r15, %rdx
ja 0x62453
jmp 0x62495
sete %al
retq
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::saveXml(std::ostream&) const
void PatternBlock::saveXml(ostream &s) const

{
  s << "<pat_block ";
  s << "offset=\"" << dec << offset << "\" ";
  s << "nonzero=\"" << nonzerosize << "\">\n";
  for(int4 i=0;i<maskvec.size();++i) {
    s << "  <mask_word ";
    s << "mask=\"0x" << hex << maskvec[i] << "\" ";
    s << "val=\"0x" << valvec[i] << "\"/>\n";
  }
  s << "</pat_block>\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1e92b(%rip), %rsi     # 0x80de3
movl $0xb, %edx
movq %rbx, %rdi
callq 0x40b90
leaq 0x1d28a(%rip), %rsi     # 0x7f756
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 (%r14), %esi
movq %rbx, %rdi
callq 0x41db0
leaq 0x1dd40(%rip), %rsi     # 0x80240
movl $0x2, %edx
movq %rax, %rdi
callq 0x40b90
leaq 0x1e8db(%rip), %rsi     # 0x80def
movl $0x9, %edx
movq %rbx, %rdi
callq 0x40b90
movl 0x4(%r14), %esi
movq %rbx, %rdi
callq 0x41db0
leaq 0x1e8c5(%rip), %rsi     # 0x80df9
movl $0x3, %edx
movq %rax, %rdi
callq 0x40b90
movq 0x10(%r14), %rax
cmpq 0x8(%r14), %rax
je 0x6260c
xorl %r12d, %r12d
leaq 0x1dce7(%rip), %r13     # 0x80240
leaq 0x1dd35(%rip), %rbp     # 0x80295
leaq 0x1e2ad(%rip), %r15     # 0x80814
movl $0xd, %edx
movq %rbx, %rdi
leaq 0x1e887(%rip), %rsi     # 0x80dfd
callq 0x40b90
movl $0x8, %edx
movq %rbx, %rdi
leaq 0x1f234(%rip), %rsi     # 0x817be
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 0x8(%r14), %rax
movl (%rax,%r12,4), %esi
movq %rbx, %rdi
callq 0x3ffc0
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x40b90
movl $0x7, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x40b90
movq 0x20(%r14), %rax
movl (%rax,%r12,4), %esi
movq %rbx, %rdi
callq 0x3ffc0
movl $0x4, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x40b90
incq %r12
movq 0x10(%r14), %rax
subq 0x8(%r14), %rax
sarq $0x2, %rax
cmpq %r12, %rax
ja 0x62567
leaq 0x1e7f8(%rip), %rsi     # 0x80e0b
movl $0xd, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40b90
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: InstructionPattern::commonSubPattern(Pattern const*, int) const
Pattern *InstructionPattern::commonSubPattern(const Pattern *b,int4 sa) const

{
  if (b->numDisjoint()>0)
    return b->commonSubPattern(this,-sa);

  const CombinePattern *b2 = dynamic_cast<const CombinePattern *>(b);
  if (b2 != (const CombinePattern *)0)
    return b->commonSubPattern(this,-sa);

  const ContextPattern *b3 = dynamic_cast<const ContextPattern *>(b);
  if (b3 != (const ContextPattern *)0) {
    InstructionPattern *res = new InstructionPattern(true);
    return res;
  }
  const InstructionPattern *b4 = (const InstructionPattern *)b;
  
  PatternBlock *respattern;
  if (sa < 0) {
    PatternBlock *a = maskvalue->clone();
    a->shift(-sa);
    respattern = a->commonSubPattern(b4->maskvalue);
    delete a;
  }
  else {
    PatternBlock *c = b4->maskvalue->clone();
    c->shift(sa);
    respattern = maskvalue->commonSubPattern(c);
    delete c;
  }
  return new InstructionPattern(respattern);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x40(%rax)
testl %eax, %eax
jg 0x62b53
movq 0x401bb(%rip), %rsi     # 0xa2cf8
movq 0x4021c(%rip), %rdx     # 0xa2d60
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x62b6b
negl %ebx
movq (%r15), %rax
movq 0x30(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r14
popq %r15
jmpq *%rax
movq 0x40186(%rip), %rsi     # 0xa2cf8
movq 0x4005f(%rip), %rdx     # 0xa2bd8
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x62ba7
movl $0x10, %edi
callq 0x40810
movq %rax, %r14
movq %rax, %rdi
movl $0x1, %esi
callq 0x41030
jmp 0x62c5d
testl %ebx, %ebx
js 0x62c04
movq 0x8(%r15), %rdi
callq 0x3f950
movq %rax, %r15
addl %ebx, (%rax)
movq %rax, %rdi
callq 0x40d70
movq 0x8(%r14), %rdi
movq %r15, %rsi
callq 0x3f600
movq %rax, %rbx
movq 0x20(%r15), %rdi
testq %rdi, %rdi
je 0x62be5
movq 0x30(%r15), %rsi
subq %rdi, %rsi
callq 0x40880
movq 0x8(%r15), %rdi
testq %rdi, %rdi
je 0x62bfa
movq 0x18(%r15), %rsi
subq %rdi, %rsi
callq 0x40880
movl $0x38, %esi
movq %r15, %rdi
jmp 0x62c39
movq 0x8(%r14), %rdi
callq 0x3f950
movq %rax, %r14
subl %ebx, (%rax)
movq %rax, %rdi
callq 0x40d70
movq 0x8(%r15), %rsi
movq %r14, %rdi
callq 0x3f600
movq %rax, %rbx
movq %r14, %rdi
callq 0x3fb40
movl $0x38, %esi
movq %r14, %rdi
callq 0x40880
movl $0x10, %edi
callq 0x40810
movq %rax, %r14
movq 0x4002e(%rip), %rax     # 0xa2c80
addq $0x10, %rax
movq %rax, (%r14)
movq %rbx, 0x8(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movl $0x10, %esi
movq %r14, %rdi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: InstructionPattern::doOr(Pattern const*, int) const
Pattern *InstructionPattern::doOr(const Pattern *b,int4 sa) const

{
  if (b->numDisjoint()>0)
    return b->doOr(this,-sa);

  const CombinePattern *b2 = dynamic_cast<const CombinePattern *>(b);
  if (b2 != (const CombinePattern *)0)
    return b->doOr(this,-sa);

  DisjointPattern *res1,*res2;
  res1 = (DisjointPattern *)simplifyClone();
  res2 = (DisjointPattern *)b->simplifyClone();
  if (sa < 0)
    res1->shiftInstruction(-sa);
  else
    res2->shiftInstruction(sa);
  return new OrPattern(res1,res2);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x40(%rax)
testl %eax, %eax
jg 0x62cb5
movq 0x40059(%rip), %rsi     # 0xa2cf8
movq 0x400ba(%rip), %rdx     # 0xa2d60
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x62ccd
negl %ebx
movq (%r14), %rax
movq 0x20(%rax), %rax
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
popq %rbx
popq %r14
popq %r15
jmpq *%rax
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
movq %rax, %r15
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rax, %r14
testl %ebx, %ebx
js 0x62cf1
movq (%r14), %rax
movq %r14, %rdi
jmp 0x62cf9
negl %ebx
movq (%r15), %rax
movq %r15, %rdi
movl %ebx, %esi
callq *0x18(%rax)
movl $0x20, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3f7c0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x20, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: InstructionPattern::restoreXml(Element const*)
void InstructionPattern::restoreXml(const Element *el)

{
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  maskvalue = new PatternBlock(true);
  maskvalue->restoreXml(*iter);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x78(%rsi), %r15
movl $0x38, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
movl $0x1, %esi
callq 0x42350
movq %rbx, 0x8(%r14)
movq (%r15), %rsi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3fae0
movq %rax, %r14
movl $0x38, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: ContextPattern::doOr(Pattern const*, int) const
Pattern *ContextPattern::doOr(const Pattern *b,int4 sa) const

{
  const ContextPattern *b2 = dynamic_cast<const ContextPattern *>(b);
  if (b2 == (const ContextPattern *)0)
    return b->doOr(this,-sa);

  return new OrPattern((DisjointPattern *)simplifyClone(),(DisjointPattern *)b2->simplifyClone());
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
testq %rsi, %rsi
je 0x62e47
movq 0x3ff0a(%rip), %rsi     # 0xa2cf8
movq 0x3fde3(%rip), %rdx     # 0xa2bd8
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x62e47
movq %rax, %r12
movl $0x20, %edi
callq 0x40810
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rax, %r14
movq (%r12), %rax
movq %r12, %rdi
callq *0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3f7c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
negl %ebx
movq (%r15), %rax
movq 0x20(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rax
movq %rax, %r14
movl $0x20, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: ContextPattern::doAnd(Pattern const*, int) const
Pattern *ContextPattern::doAnd(const Pattern *b,int4 sa) const

{
  const ContextPattern *b2 = dynamic_cast<const ContextPattern *>(b);
  if (b2 == (const ContextPattern *)0)
    return b->doAnd(this,-sa);

  PatternBlock *resblock = maskvalue->intersect(b2->maskvalue);
  return new ContextPattern(resblock);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
testq %rsi, %rsi
je 0x62edf
movq 0x3fe61(%rip), %rsi     # 0xa2cf8
movq 0x3fd3a(%rip), %rdx     # 0xa2bd8
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x62edf
movq 0x8(%r14), %rdi
movq 0x8(%rax), %rsi
callq 0x40f30
movq %rax, %rbx
movl $0x10, %edi
callq 0x40810
movq 0x3fcc2(%rip), %rcx     # 0xa2b90
addq $0x10, %rcx
movq %rcx, (%rax)
movq %rbx, 0x8(%rax)
popq %rbx
popq %r14
popq %r15
retq
negl %ebx
movq (%r15), %rax
movq 0x28(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r14
popq %r15
jmpq *%rax
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: ContextPattern::commonSubPattern(Pattern const*, int) const
Pattern *ContextPattern::commonSubPattern(const Pattern *b,int4 sa) const

{
  const ContextPattern *b2 = dynamic_cast<const ContextPattern *>(b);
  if (b2 == (const ContextPattern *)0)
    return b->commonSubPattern(this,-sa);

  PatternBlock *resblock = maskvalue->commonSubPattern(b2->maskvalue);
  return new ContextPattern(resblock);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
testq %rsi, %rsi
je 0x62f59
movq 0x3fde7(%rip), %rsi     # 0xa2cf8
movq 0x3fcc0(%rip), %rdx     # 0xa2bd8
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x62f59
movq 0x8(%r14), %rdi
movq 0x8(%rax), %rsi
callq 0x3f600
movq %rax, %rbx
movl $0x10, %edi
callq 0x40810
movq 0x3fc48(%rip), %rcx     # 0xa2b90
addq $0x10, %rcx
movq %rcx, (%rax)
movq %rbx, 0x8(%rax)
popq %rbx
popq %r14
popq %r15
retq
negl %ebx
movq (%r15), %rax
movq 0x30(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r14
popq %r15
jmpq *%rax
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::~CombinePattern()
CombinePattern::~CombinePattern(void)

{
  if (context != (ContextPattern *)0)
    delete context;
  if (instr != (InstructionPattern *)0)
    delete instr;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x3fdd3(%rip), %rax     # 0xa2de8
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x6302b
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x6303b
movq (%rdi), %rax
popq %rbx
jmpq *0x8(%rax)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::doAnd(Pattern const*, int) const
Pattern *CombinePattern::doAnd(const Pattern *b,int4 sa) const

{
  CombinePattern *tmp;
  
  if (b->numDisjoint() != 0)
    return b->doAnd(this,-sa);

  const CombinePattern *b2 = dynamic_cast<const CombinePattern *>(b);
  if (b2 != (CombinePattern *)0) {
    ContextPattern *c = (ContextPattern *)context->doAnd(b2->context,0);
    InstructionPattern *i = (InstructionPattern *)instr->doAnd(b2->instr,sa);
    tmp = new CombinePattern(c,i);
  }
  else {
    const InstructionPattern *b3 = dynamic_cast<const InstructionPattern *>(b);
    if (b3 != (const InstructionPattern *)0) {
      InstructionPattern *i = (InstructionPattern *)instr->doAnd(b3,sa);
      tmp = new CombinePattern((ContextPattern *)context->simplifyClone(),i);
    }
    else {			// Must be a ContextPattern
      ContextPattern *c = (ContextPattern *)context->doAnd(b,0);
      InstructionPattern *newpat = (InstructionPattern *) instr->simplifyClone();
      if (sa < 0)
	newpat->shiftInstruction(-sa);
      tmp = new CombinePattern(c,newpat);
    }
  }
  return tmp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x40(%rax)
testl %eax, %eax
je 0x6310f
negl %ebx
movq (%r15), %rax
movq 0x28(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rax
movq 0x3fbe2(%rip), %rsi     # 0xa2cf8
movq 0x3fc43(%rip), %rdx     # 0xa2d60
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x6317b
movq %rax, %r12
movq 0x8(%r14), %rdi
movq 0x8(%rax), %rsi
movq (%rdi), %rax
xorl %edx, %edx
callq *0x28(%rax)
movq %rax, %r15
movq 0x10(%r14), %rdi
movq 0x10(%r12), %rsi
movq (%rdi), %rax
movl %ebx, %edx
callq *0x28(%rax)
movq %rax, %r14
movl $0x18, %edi
callq 0x40810
movq %rax, %rbx
movq 0x3fc7e(%rip), %rax     # 0xa2de8
addq $0x10, %rax
movq %rax, (%rbx)
movq %r15, 0x8(%rbx)
movq %r14, 0x10(%rbx)
jmp 0x631d7
movq 0x3fb76(%rip), %rsi     # 0xa2cf8
movq 0x3fbaf(%rip), %rdx     # 0xa2d38
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x631e6
movq 0x10(%r14), %rdi
movq (%rdi), %rcx
movq %rax, %rsi
movl %ebx, %edx
callq *0x28(%rcx)
movq %rax, %r15
movl $0x18, %edi
callq 0x40810
movq %rax, %rbx
movq 0x8(%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x3fc20(%rip), %rcx     # 0xa2de8
addq $0x10, %rcx
movq %rcx, (%rbx)
movq %rax, 0x8(%rbx)
movq %r15, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movq %r15, %rsi
xorl %edx, %edx
callq *0x28(%rax)
movq %rax, %r15
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %rax, %r14
testl %ebx, %ebx
jns 0x63156
negl %ebx
movq (%r14), %rax
movq %r14, %rdi
movl %ebx, %esi
callq *0x18(%rax)
jmp 0x63156
movq %rax, %r14
movl $0x18, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::commonSubPattern(Pattern const*, int) const
Pattern *CombinePattern::commonSubPattern(const Pattern *b,int4 sa) const

{
  Pattern *tmp;

  if (b->numDisjoint() != 0)
    return b->commonSubPattern(this,-sa);

  const CombinePattern *b2 = dynamic_cast<const CombinePattern *>(b);
  if (b2 != (CombinePattern *)0) {
    ContextPattern *c = (ContextPattern *)context->commonSubPattern(b2->context,0);
    InstructionPattern *i = (InstructionPattern *)instr->commonSubPattern(b2->instr,sa);
    tmp = new CombinePattern(c,i);
  }
  else {
    const InstructionPattern *b3 = dynamic_cast<const InstructionPattern *>(b);
    if (b3 != (const InstructionPattern *)0)
      tmp = instr->commonSubPattern(b3,sa);
    else			// Must be a ContextPattern
      tmp = context->commonSubPattern(b,0);
  }
  return tmp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x40(%rax)
testl %eax, %eax
je 0x63273
negl %ebx
movq (%r15), %rax
movq 0x30(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rax
movq 0x3fa7e(%rip), %rsi     # 0xa2cf8
movq 0x3fadf(%rip), %rdx     # 0xa2d60
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x632e6
movq %rax, %r12
movq 0x8(%r14), %rdi
movq 0x8(%rax), %rsi
movq (%rdi), %rax
xorl %edx, %edx
callq *0x30(%rax)
movq %rax, %r15
movq 0x10(%r14), %rdi
movq 0x10(%r12), %rsi
movq (%rdi), %rax
movl %ebx, %edx
callq *0x30(%rax)
movq %rax, %rbx
movl $0x18, %edi
callq 0x40810
movq 0x3fb1d(%rip), %rcx     # 0xa2de8
addq $0x10, %rcx
movq %rcx, (%rax)
movq %r15, 0x8(%rax)
movq %rbx, 0x10(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x3fa0b(%rip), %rsi     # 0xa2cf8
movq 0x3fa44(%rip), %rdx     # 0xa2d38
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x40b60
testq %rax, %rax
je 0x63320
movq 0x10(%r14), %rdi
movq (%rdi), %rcx
movq 0x30(%rcx), %rcx
movq %rax, %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rcx
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
movq %r15, %rsi
xorl %edx, %edx
jmp 0x63266
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::doOr(Pattern const*, int) const
Pattern *CombinePattern::doOr(const Pattern *b,int4 sa) const

{
  if (b->numDisjoint() != 0)
    return b->doOr(this,-sa);

  DisjointPattern *res1 = (DisjointPattern *)simplifyClone();
  DisjointPattern *res2 = (DisjointPattern *)b->simplifyClone();
  if (sa < 0)
    res1->shiftInstruction(-sa);
  else
    res2->shiftInstruction(sa);
  OrPattern *tmp = new OrPattern(res1,res2);
  return tmp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x40(%rax)
testl %eax, %eax
je 0x63368
negl %ebx
movq (%r15), %rax
movq 0x20(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r14
popq %r15
jmpq *%rax
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rax, %r14
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
movq %rax, %r15
testl %ebx, %ebx
js 0x6338c
movq (%r15), %rax
movq %r15, %rdi
jmp 0x63394
negl %ebx
movq (%r14), %rax
movq %r14, %rdi
movl %ebx, %esi
callq *0x18(%rax)
movl $0x20, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3f7c0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x20, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::simplifyClone() const
Pattern *CombinePattern::simplifyClone(void) const

{				// We should only have to think at "our" level
  if (context->alwaysTrue())
    return instr->simplifyClone();
  if (instr->alwaysTrue())
    return context->simplifyClone();
  if (context->alwaysFalse()||instr->alwaysFalse())
    return new InstructionPattern(false);
  return new CombinePattern((ContextPattern *)context->simplifyClone(),
			    (InstructionPattern *)instr->simplifyClone());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x50(%rax)
movq 0x10(%r14), %rdi
movq (%rdi), %rcx
testb %al, %al
jne 0x63401
callq *0x50(%rcx)
movq 0x8(%r14), %rdi
movq (%rdi), %rcx
testb %al, %al
je 0x63409
popq %rbx
popq %r14
popq %r15
jmpq *0x10(%rcx)
callq *0x58(%rcx)
testb %al, %al
jne 0x6341e
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x58(%rax)
testb %al, %al
je 0x63437
movl $0x10, %edi
callq 0x40810
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
callq 0x41030
jmp 0x63471
movl $0x18, %edi
callq 0x40810
movq %rax, %rbx
movq 0x8(%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %rax, %r15
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x3f986(%rip), %rcx     # 0xa2de8
addq $0x10, %rcx
movq %rcx, (%rbx)
movq %r15, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x18, %esi
jmp 0x6348c
movq %rax, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x40880
movq %r14, %rdi
callq 0x41f10
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::saveXml(std::ostream&) const
void CombinePattern::saveXml(ostream &s) const

{
  s << "<combine_pat>\n";
  context->saveXml(s);
  instr->saveXml(s);
  s << "</combine_pat>\n";
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1d9b4(%rip), %rsi     # 0x80e61
movl $0xe, %edx
movq %rbx, %rdi
callq 0x40b90
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x68(%rax)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x68(%rax)
leaq 0x1d995(%rip), %rsi     # 0x80e70
movl $0xf, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x40b90
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: CombinePattern::restoreXml(Element const*)
void CombinePattern::restoreXml(const Element *el)

{
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  context = new ContextPattern();
  context->restoreXml(*iter);
  ++iter;
  instr = new InstructionPattern();
  instr->restoreXml(*iter);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x78(%rsi), %r14
movl $0x10, %edi
callq 0x40810
movq 0x3f683(%rip), %rcx     # 0xa2b90
addq $0x10, %rcx
movq %rcx, (%rax)
xorl %r15d, %r15d
movq %r15, 0x8(%rax)
movq %rax, 0x8(%rbx)
movq (%r14), %rsi
movq %rax, %rdi
callq 0x3fcf0
movl $0x10, %edi
callq 0x40810
movq 0x3f745(%rip), %rcx     # 0xa2c80
addq $0x10, %rcx
movq %rcx, (%rax)
movq %r15, 0x8(%rax)
movq %rax, 0x10(%rbx)
movq 0x8(%r14), %rsi
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x41c40
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: OrPattern::doAnd(Pattern const*, int) const
Pattern *OrPattern::doAnd(const Pattern *b,int4 sa) const

{
  const OrPattern *b2 = dynamic_cast<const OrPattern *>(b);
  vector<DisjointPattern *> newlist;
  vector<DisjointPattern *>::const_iterator iter,iter2;
  DisjointPattern *tmp;
  OrPattern *tmpor;

  if (b2 == (const OrPattern *)0) {
    for(iter=orlist.begin();iter!=orlist.end();++iter) {
      tmp = (DisjointPattern *)(*iter)->doAnd(b,sa);
      newlist.push_back(tmp);
    }
  }
  else {
    for(iter=orlist.begin();iter!=orlist.end();++iter)
      for(iter2=b2->orlist.begin();iter2!=b2->orlist.end();++iter2) {
	tmp = (DisjointPattern *)(*iter)->doAnd(*iter2,sa);
	newlist.push_back(tmp);
      }
  }
  tmpor = new OrPattern(newlist);
  return tmpor;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebx
movq %rsi, %r12
movq %rdi, 0x18(%rsp)
testq %rsi, %rsi
je 0x638fb
movq 0x3f4ac(%rip), %rsi     # 0xa2cf8
movq 0x3f53d(%rip), %rdx     # 0xa2d90
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x40b60
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
testq %rax, %rax
je 0x6390b
movq %rax, %r15
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rbp
movq 0x10(%rax), %rax
cmpq %rax, %rbp
je 0x63966
movq 0x10(%r15), %rcx
movq %rsp, %r12
leaq 0x20(%rsp), %r13
movq 0x8(%r15), %r14
cmpq %rcx, %r14
je 0x638f0
movq (%rbp), %rdi
movq (%r14), %rsi
movq (%rdi), %rax
movl %ebx, %edx
callq *0x28(%rax)
movq %rax, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x638cf
movq %rax, (%rsi)
addq $0x8, 0x8(%rsp)
jmp 0x638da
movq %r12, %rdi
movq %r13, %rdx
callq 0x3f550
addq $0x8, %r14
cmpq 0x10(%r15), %r14
jne 0x638a4
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movq %r14, %rcx
addq $0x8, %rbp
cmpq %rax, %rbp
jne 0x6389b
jmp 0x63966
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq 0x8(%rax), %r14
cmpq 0x10(%rax), %r14
je 0x63966
movq %rsp, %r15
leaq 0x20(%rsp), %r13
movq (%r14), %rdi
movq (%rdi), %rax
movq %r12, %rsi
movl %ebx, %edx
callq *0x28(%rax)
movq %rax, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6394c
movq %rax, (%rsi)
addq $0x8, 0x8(%rsp)
jmp 0x63957
movq %r15, %rdi
movq %r13, %rdx
callq 0x3f550
addq $0x8, %r14
movq 0x18(%rsp), %rax
cmpq 0x10(%rax), %r14
jne 0x63922
movl $0x20, %edi
callq 0x40810
movq %rax, %r14
movq %rsp, %rsi
movq %rax, %rdi
callq 0x41f70
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x63994
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x40880
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x20, %esi
movq %r14, %rdi
callq 0x40880
jmp 0x639bf
jmp 0x639bc
jmp 0x639bc
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x639d5
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10
nop
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: OrPattern::commonSubPattern(Pattern const*, int) const
Pattern *OrPattern::commonSubPattern(const Pattern *b,int4 sa) const

{
  vector<DisjointPattern *>::const_iterator iter;
  Pattern *res,*next;

  iter = orlist.begin();
  res = (*iter)->commonSubPattern(b,sa);
  iter++;

  if (sa > 0)
    sa = 0;
  while(iter!=orlist.end()) {
    next = (*iter)->commonSubPattern(res,sa);
    delete res;
    res = next;
    ++iter;
  }
  return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r15d
movq %rdi, %rbx
movq 0x8(%rdi), %r12
movq (%r12), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rax, %r14
addq $0x8, %r12
cmpq 0x10(%rbx), %r12
je 0x63a3f
movl %r15d, %ebp
sarl $0x1f, %ebp
andl %r15d, %ebp
movq (%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
movl %ebp, %edx
callq *0x30(%rax)
movq %rax, %r15
testq %r14, %r14
je 0x63a30
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
addq $0x8, %r12
movq %r15, %r14
cmpq 0x10(%rbx), %r12
jne 0x63a10
jmp 0x63a42
movq %r14, %r15
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: OrPattern::saveXml(std::ostream&) const
void OrPattern::saveXml(ostream &s) const

{
  s << "<or_pat>\n";
  for(int4 i=0;i<orlist.size();++i)
    orlist[i]->saveXml(s);
  s << "</or_pat>\n";
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1d0e0(%rip), %rsi     # 0x80e80
movl $0x9, %edx
movq %rbx, %rdi
callq 0x40b90
movq 0x8(%r14), %rax
cmpq %rax, 0x10(%r14)
je 0x63dde
xorl %r15d, %r15d
movq (%rax,%r15,8), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x68(%rax)
incq %r15
movq 0x8(%r14), %rax
movq 0x10(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x63dba
leaq 0x1d0a5(%rip), %rsi     # 0x80e8a
movl $0xa, %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: SymbolScope::findSymbol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
SleighSymbol *SymbolScope::findSymbol(const string &nm) const

{
  SleighSymbol dummy(nm);
  SymbolTree::const_iterator iter;

  iter = tree.find( &dummy );
  if (iter != tree.end())
    return *iter;
  return (SleighSymbol *)0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x40560
leaq 0x8(%rbx), %rdi
movq %rsp, %rsi
movq %r14, (%rsi)
callq 0x3ff00
addq $0x10, %rbx
cmpq %rbx, %rax
je 0x645af
movq 0x20(%rax), %rbx
jmp 0x645b1
xorl %ebx, %ebx
movq 0x3e4f8(%rip), %rax     # 0xa2ab0
addq $0x10, %rax
leaq 0x20(%rsp), %rcx
movq %rax, -0x18(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x645db
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x40880
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x3e4c0(%rip), %rax     # 0xa2ab0
addq $0x10, %rax
leaq 0x20(%rsp), %rcx
movq %rax, -0x18(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x64613
movq 0x20(%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: SymbolTable::~SymbolTable()
SymbolTable::~SymbolTable(void)

{
  vector<SymbolScope *>::iterator iter;
  for(iter=table.begin();iter!=table.end();++iter)
    delete *iter;
  vector<SleighSymbol *>::iterator siter;
  for(siter=symbollist.begin();siter!=symbollist.end();++siter)
    delete *siter;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %r15
cmpq 0x20(%rdi), %r15
je 0x64656
movq (%r15), %r14
testq %r14, %r14
je 0x6463f
leaq 0x8(%r14), %rdi
callq 0x40790
movl $0x40, %esi
movq %r14, %rdi
callq 0x40880
addq $0x8, %r15
cmpq 0x20(%rbx), %r15
jne 0x6462e
movq (%rbx), %r14
movq 0x8(%rbx), %rax
cmpq %rax, %r14
je 0x6467a
movq (%r14), %rdi
testq %rdi, %rdi
je 0x64674
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x8(%rbx), %rax
addq $0x8, %r14
jmp 0x6465d
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x6468f
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x40880
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x646a8
movq 0x10(%rbx), %rsi
subq %rdi, %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: SymbolTable::skipScope(int) const
SymbolScope *SymbolTable::skipScope(int4 i) const

{
  SymbolScope *res = curscope;
  while(i>0) {
    if (res->parent == (SymbolScope *)0) return res;
    res = res->parent;
    --i;
  }
  return res;
}

// Assembly:
movq 0x30(%rdi), %rcx
testl %esi, %esi
jle 0x6474a
incl %esi
movq %rcx, %rax
movq (%rcx), %rcx
testq %rcx, %rcx
je 0x64749
decl %esi
movq %rcx, %rax
cmpl $0x2, %esi
jge 0x64734
retq
movq %rcx, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O3/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: SymbolTable::addGlobalSymbol(SleighSymbol*)
void SymbolTable::addGlobalSymbol(SleighSymbol *a)

{
  a->id = symbollist.size();
  symbollist.push_back(a);
  SymbolScope *scope = getGlobalScope();
  a->scopeid = scope->getId();
  SleighSymbol *res = scope->addSymbol(a);
  if (res != a)
    throw SleighError("Duplicate symbol name: "+a->getName());
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movq 0x8(%rdi), %rax
movq %rax, %rcx
subq (%rdi), %rcx
shrq $0x3, %rcx
movl %ecx, 0x28(%rsi)
cmpq 0x10(%rdi), %rax
je 0x6477f
movq %rsi, (%rax)
addq $0x8, 0x8(%rbx)
jmp 0x64795
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x40580
movq (%r14), %rsi
movq 0x18(%rbx), %rax
movq (%rax), %rdi
movl 0x38(%rdi), %eax
movl %eax, 0x2c(%rsi)
leaq 0x10(%rsp), %rbx
movq %rsi, (%rbx)
addq $0x8, %rdi
movq %rbx, %rsi
callq 0x3fdd0
addq $0x20, %rax
testb $0x1, %dl
cmovneq %rbx, %rax
movq (%rax), %rax
cmpq 0x8(%rsp), %rax
jne 0x647d4
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl $0x20, %edi
callq 0x3fb00
movq %rax, %rbx
movq 0x8(%rsp), %rdx
addq $0x8, %rdx
leaq 0x1c877(%rip), %rsi     # 0x81068
leaq 0x10(%rsp), %rdi
callq 0x40510
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x3f890
xorl %ebp, %ebp
movq 0x3e67c(%rip), %rsi     # 0xa2e90
movq 0x3e41d(%rip), %rdx     # 0xa2c38
movq %rbx, %rdi
callq 0x41d70
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x64841
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x40880
testb %bpl, %bpl
jne 0x6484b
jmp 0x64853
movq %rax, %r14
movq %rbx, %rdi
callq 0x40090
movq %r14, %rdi
callq 0x41f10
nop