// File: /workspace/github_cpp_makefile_star2_O3/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 0x17090(%rip), %rsi     # 0x7f726
leaq 0x1708e(%rip), %rdx     # 0x7f72b
leaq 0x8(%rsp), %rdi
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x686dd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0x3c(%rbx), %rsi
callq 0x3fe80
movq 0x3a612(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x18cf9(%rip), %rsi     # 0x8141d
leaq 0x18cf5(%rip), %rdx     # 0x81420
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x68766
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0x30(%rbx), %rsi
callq 0x41ec0
movq 0x3a589(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x172fa(%rip), %rsi     # 0x7faa7
leaq 0x172f7(%rip), %rdx     # 0x7faab
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x687ef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
leaq 0x34(%rbx), %rsi
callq 0x3fe80
movq 0x3a500(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x18beb(%rip), %rsi     # 0x81421
leaq 0x18bea(%rip), %rdx     # 0x81427
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq %r12, 0x30(%rsp)
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6887d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
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 0x3a46d(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
movq 0x40(%r15), %rdi
movq 0x48(%r15), %rax
subq %rdi, %rax
shrq $0x5, %rax
testl %eax, %eax
jle 0x689c9
movq 0x28(%rsp), %rax
leaq 0x48(%rax), %r14
xorl %ebx, %ebx
leaq 0x18b45(%rip), %r13     # 0x81428
leaq 0x38(%rsp), %rbp
xorl %r12d, %r12d
addq %rbx, %rdi
movq %r13, %rsi
callq 0x3f590
testl %eax, %eax
je 0x68946
movq 0x40(%r15), %rdi
addq %rbx, %rdi
leaq 0x173f9(%rip), %rsi     # 0x7fd01
callq 0x3f590
testl %eax, %eax
jne 0x689a8
movq 0x58(%r15), %rax
cmpq $0x0, 0x8(%rax,%rbx)
je 0x689a8
movq (%rax,%rbx), %rax
movzbl (%rax), %eax
cmpl $0x31, %eax
je 0x6893b
cmpl $0x79, %eax
je 0x6893b
cmpl $0x74, %eax
jne 0x689a8
movq 0x28(%rsp), %rax
orb $0x1, 0x58(%rax)
jmp 0x689a8
movq 0x58(%r15), %rsi
addq %rbx, %rsi
movq %rbp, %rdi
movl $0x8, %edx
callq 0x41c90
movq 0x38(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x50(%rsp,%rax)
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x41ec0
movl 0x8(%rsp), %eax
movq 0x30(%rsp), %rcx
movq 0x198(%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, (%r14)
movq %rbp, %rdi
movq 0x3a37a(%rip), %rsi     # 0xa2d10
callq 0x41450
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 0x688eb
movq 0x78(%r15), %rbx
movq (%rbx), %rdi
movq 0x30(%rsp), %r12
movq %r12, %rsi
callq 0x407d0
movq 0x28(%rsp), %r14
movq %rax, 0x40(%r14)
incl 0x8(%rax)
addq $0x8, %rbx
cmpq 0x80(%r15), %rbx
je 0x68a08
movq (%rbx), %rdi
movq %r12, %rsi
callq 0x407d0
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 0x68a4f
jmp 0x68a28
jmp 0x68a4f
jmp 0x68a28
jmp 0x68a4f
jmp 0x68a28
jmp 0x68a4f
movq %rax, %rbx
jmp 0x68a70
jmp 0x68a33
jmp 0x68a33
jmp 0x68a33
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x68a70
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
jmp 0x68a70
movq %rax, %rbx
movq 0x3a2b7(%rip), %rsi     # 0xa2d10
leaq 0x38(%rsp), %rdi
callq 0x41450
leaq 0xb0(%rsp), %rdi
callq 0x3f730
movq %rbx, %rdi
callq 0x41f10