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

{
  ValueSymbol::restoreXml(el,trans);
  {
    uintm id;
    istringstream s(el->getAttributeValue("varnode"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> id;
    vn = (VarnodeSymbol *)trans->findSymbol(id);
  }
  {  
    istringstream s(el->getAttributeValue("low"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> low;
  }
  {  
    istringstream s(el->getAttributeValue("high"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> high;
  }
  flow = true;
  for(int4 i=el->getNumAttributes()-1;i>=0;--i) {
    if (el->getAttributeName(i)=="flow") {
      flow = xml_readbool(el->getAttributeValue(i));
      break;
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq 0x78(%rsi), %rax
movq (%rax), %rdi
movq %rdx, %rsi
callq 0x407c0
movq %rax, 0x30(%rbx)
incl 0x8(%rax)
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x19afb(%rip), %rsi     # 0x812f5
leaq 0x19afb(%rip), %rdx     # 0x812fc
leaq 0x8(%rsp), %rdi
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x40f70
leaq 0x30(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x67841
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x30(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x48(%rsp,%rax)
leaq 0x2c(%rsp), %rsi
callq 0x41eb0
movl 0x2c(%rsp), %eax
movq 0x198(%r15), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, 0x38(%rbx)
movq 0x3b49a(%rip), %rsi     # 0xa2d10
leaq 0x30(%rsp), %rdi
callq 0x41440
leaq 0xa8(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x19a33(%rip), %rsi     # 0x812cf
leaq 0x19a2f(%rip), %rdx     # 0x812d2
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x40f70
leaq 0x30(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x678de
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x30(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x48(%rsp,%rax)
leaq 0x40(%rbx), %rsi
callq 0x41eb0
movq 0x3b411(%rip), %rsi     # 0xa2d10
leaq 0x30(%rsp), %rdi
callq 0x41440
leaq 0xa8(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x199d8(%rip), %rsi     # 0x812fd
leaq 0x199d5(%rip), %rdx     # 0x81301
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x40f70
leaq 0x30(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x67967
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x30(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x48(%rsp,%rax)
leaq 0x44(%rbx), %rsi
callq 0x41eb0
movq 0x3b388(%rip), %rsi     # 0xa2d10
leaq 0x30(%rsp), %rdi
callq 0x41440
leaq 0xa8(%rsp), %rdi
callq 0x3f730
movb $0x1, 0x48(%rbx)
movq 0x48(%r14), %rax
subq 0x40(%r14), %rax
shrq $0x5, %rax
movslq %eax, %rdi
leaq 0x1(%rdi), %r12
shlq $0x5, %rdi
addq $-0x20, %rdi
leaq 0x19909(%rip), %r15     # 0x812ce
decq %r12
jle 0x67a0b
leaq -0x20(%rdi), %r13
addq 0x40(%r14), %rdi
movq %r15, %rsi
callq 0x3f590
movq %r13, %rdi
testl %eax, %eax
jne 0x679c5
movq 0x58(%r14), %rax
cmpq $0x0, 0x28(%rax,%r13)
je 0x67a06
movq 0x20(%rax,%r13), %rax
movzbl (%rax), %ecx
movb $0x1, %al
cmpl $0x31, %ecx
je 0x67a08
cmpl $0x74, %ecx
je 0x67a08
cmpl $0x79, %ecx
je 0x67a08
xorl %eax, %eax
movb %al, 0x48(%rbx)
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x67a24
jmp 0x67a47
jmp 0x67a24
jmp 0x67a47
movq %rax, %rbx
movq 0x3b2e2(%rip), %rsi     # 0xa2d10
leaq 0x30(%rsp), %rdi
callq 0x41440
leaq 0xa8(%rsp), %rdi
callq 0x3f730
jmp 0x67a6a
movq %rax, %rbx
jmp 0x67a6a
jmp 0x67a50
jmp 0x67a50
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x67a6a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
movq %rbx, %rdi
callq 0x41f00