// File: /workspace/github_cpp_makefile_star2_O1/jstaursky[P]hutch/src/Sleigh/slghsymbol.cc
// Function: OperandSymbol::restoreXml(Element const*, SleighBase*)
void OperandSymbol::restoreXml(const Element *el,SleighBase *trans)

{
  defexp = (PatternExpression *)0;
  triple = (TripleSymbol *)0;
  flags = 0;
  {
    istringstream s(el->getAttributeValue("index"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> hand;
  }
  {
    istringstream s(el->getAttributeValue("off"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> reloffset;
  }
  {
    istringstream s(el->getAttributeValue("base"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> offsetbase;
  }
  {
    istringstream s(el->getAttributeValue("minlen"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> minimumlength;
  }
  for(int4 i=0;i<el->getNumAttributes();++i) {
    if (el->getAttributeName(i) == "subsym") {
      uintm id;
      istringstream s(el->getAttributeValue(i));
      s.unsetf(ios::dec | ios::hex | ios::oct);
      s >> id;
      triple = (TripleSymbol *)trans->findSymbol(id);
    }
    else if (el->getAttributeName(i) == "code") {
      if (xml_readbool(el->getAttributeValue(i)))
	flags |= code_address;
    }
  }
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  localexp = (OperandValue *)PatternExpression::restoreExpression(*iter,trans);
  localexp->layClaim();
  ++iter;
  if (iter != list.end()) {
    defexp = PatternExpression::restoreExpression(*iter,trans);
    defexp->layClaim();
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rdi)
movl $0x0, 0x58(%rdi)
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x16d9e(%rip), %rsi     # 0x7f726
leaq 0x16d9c(%rip), %rdx     # 0x7f72b
leaq 0x8(%rsp), %rdi
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f70
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x689cf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0x3c(%rbx), %rsi
callq 0x3fe80
movq 0x3a320(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41440
leaq 0xb0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x18a07(%rip), %rsi     # 0x8141d
leaq 0x18a03(%rip), %rdx     # 0x81420
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f70
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x68a58
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0x30(%rbx), %rsi
callq 0x41eb0
movq 0x3a297(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41440
leaq 0xb0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x17008(%rip), %rsi     # 0x7faa7
leaq 0x17005(%rip), %rdx     # 0x7faab
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f70
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x68ae1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0x34(%rbx), %rsi
callq 0x3fe80
movq 0x3a20e(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41440
leaq 0xb0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x188f9(%rip), %rsi     # 0x81421
leaq 0x188f8(%rip), %rdx     # 0x81427
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f70
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq %r12, 0x30(%rsp)
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x68b6f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
movq %rbx, 0x28(%rsp)
leaq 0x38(%rbx), %rsi
callq 0x3fe80
movq 0x3a17b(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41440
leaq 0xb0(%rsp), %rdi
callq 0x3f730
movq 0x40(%r15), %rdi
movq 0x48(%r15), %rax
subq %rdi, %rax
shrq $0x5, %rax
testl %eax, %eax
jle 0x68cbb
movq 0x28(%rsp), %rax
leaq 0x48(%rax), %r14
xorl %ebx, %ebx
leaq 0x18853(%rip), %r13     # 0x81428
leaq 0x38(%rsp), %rbp
xorl %r12d, %r12d
addq %rbx, %rdi
movq %r13, %rsi
callq 0x3f590
testl %eax, %eax
je 0x68c38
movq 0x40(%r15), %rdi
addq %rbx, %rdi
leaq 0x17107(%rip), %rsi     # 0x7fd01
callq 0x3f590
testl %eax, %eax
jne 0x68c9a
movq 0x58(%r15), %rax
cmpq $0x0, 0x8(%rax,%rbx)
je 0x68c9a
movq (%rax,%rbx), %rax
movzbl (%rax), %eax
cmpl $0x31, %eax
je 0x68c2d
cmpl $0x79, %eax
je 0x68c2d
cmpl $0x74, %eax
jne 0x68c9a
movq 0x28(%rsp), %rax
orb $0x1, 0x58(%rax)
jmp 0x68c9a
movq 0x58(%r15), %rsi
addq %rbx, %rsi
movq %rbp, %rdi
movl $0x8, %edx
callq 0x41c80
movq 0x38(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x41eb0
movl 0x8(%rsp), %eax
movq 0x30(%rsp), %rcx
movq 0x198(%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, (%r14)
movq %rbp, %rdi
movq 0x3a088(%rip), %rsi     # 0xa2d10
callq 0x41440
leaq 0xb0(%rsp), %rdi
callq 0x3f730
incq %r12
movq 0x40(%r15), %rdi
movq 0x48(%r15), %rax
subq %rdi, %rax
shrq $0x5, %rax
cltq
addq $0x20, %rbx
cmpq %rax, %r12
jl 0x68bdd
movq 0x78(%r15), %rbx
movq (%rbx), %rdi
movq 0x30(%rsp), %r12
movq %r12, %rsi
callq 0x407c0
movq 0x28(%rsp), %r14
movq %rax, 0x40(%r14)
incl 0x8(%rax)
addq $0x8, %rbx
cmpq 0x80(%r15), %rbx
je 0x68cfa
movq (%rbx), %rdi
movq %r12, %rsi
callq 0x407c0
movq %rax, 0x50(%r14)
incl 0x8(%rax)
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x68d41
jmp 0x68d1a
jmp 0x68d41
jmp 0x68d1a
jmp 0x68d41
jmp 0x68d1a
jmp 0x68d41
movq %rax, %rbx
jmp 0x68d62
jmp 0x68d25
jmp 0x68d25
jmp 0x68d25
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x68d62
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
jmp 0x68d62
movq %rax, %rbx
movq 0x39fc5(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41440
leaq 0xb0(%rsp), %rdi
callq 0x3f730
movq %rbx, %rdi
callq 0x41f00