// File: /workspace/github_cpp_makefile_star2_O2/jstaursky[P]hutch/src/Sleigh/slghpattern.cc
// Function: PatternBlock::restoreXml(Element const*)
void PatternBlock::restoreXml(const Element *el)

{
  {
    istringstream s(el->getAttributeValue("offset"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> offset;
  }
  {
    istringstream s(el->getAttributeValue("nonzero"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> nonzerosize;
  }
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  uintm mask,val;
  while(iter != list.end()) {
    Element *subel = *iter;
    {
      istringstream s(subel->getAttributeValue("mask"));
      s.unsetf(ios::dec | ios::hex | ios::oct);
      s >> mask;
    }
    {
      istringstream s(subel->getAttributeValue("val"));
      s.unsetf(ios::dec | ios::hex | ios::oct);
      s >> val;
    }
    maskvec.push_back(mask);
    valvec.push_back(val);
    ++iter;
  }
  normalize();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x19f90(%rip), %rsi     # 0x86cfe
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x515e0
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x50230
leaq 0x58(%rsp), %rdi
pushq $0x8
popq %rdx
movq %rax, %rsi
callq 0x51500
leaq 0x10(%rsp), %rdi
callq 0x4e020
leaq 0x58(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x70(%rsp,%rax)
movq %rbx, %rsi
callq 0x4e750
leaq 0x58(%rsp), %rdi
callq 0x4e070
leaq 0x1b02b(%rip), %rsi     # 0x87df9
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x515e0
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x50230
leaq 0x58(%rsp), %rdi
pushq $0x8
popq %rdx
movq %rax, %rsi
callq 0x51500
leaq 0x10(%rsp), %rdi
callq 0x4e020
leaq 0x58(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x70(%rsp,%rax)
leaq 0x4(%rbx), %rsi
callq 0x4e750
leaq 0x58(%rsp), %r15
movq %r15, %rdi
callq 0x4e070
movq %r14, 0x48(%rsp)
movq 0x78(%r14), %r14
leaq 0x8(%rbx), %rax
movq %rax, 0x40(%rsp)
movq %rbx, 0x30(%rsp)
leaq 0x20(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x10(%rsp), %rbx
leaq 0xc(%rsp), %r12
leaq 0x54(%rsp), %r13
movq 0x48(%rsp), %rax
cmpq 0x80(%rax), %r14
je 0x6cf3e
movq (%r14), %rbp
movq %rbx, %rdi
leaq 0x1a772(%rip), %rsi     # 0x875eb
leaq 0xb(%rsp), %rdx
callq 0x515e0
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x50230
movq %r15, %rdi
movq %rax, %rsi
pushq $0x8
popq %rdx
callq 0x51500
movq %rbx, %rdi
callq 0x4e020
movq 0x58(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x70(%rsp,%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x51830
movq %r15, %rdi
callq 0x4e070
movq %rbx, %rdi
leaq 0x192e1(%rip), %rsi     # 0x861b0
leaq 0xb(%rsp), %rdx
callq 0x515e0
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x50230
movq %r15, %rdi
movq %rax, %rsi
pushq $0x8
popq %rdx
callq 0x51500
movq %rbx, %rdi
callq 0x4e020
movq 0x58(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x70(%rsp,%rax)
movq %r15, %rdi
movq %r13, %rsi
callq 0x51830
movq %r15, %rdi
callq 0x4e070
movq 0x40(%rsp), %rdi
movq %r12, %rsi
callq 0x4e220
movq 0x38(%rsp), %rdi
movq %r13, %rsi
callq 0x4e220
addq $0x8, %r14
jmp 0x6ce5a
movq 0x30(%rsp), %rdi
callq 0x4fe50
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6cf6f
jmp 0x6cf6a
jmp 0x6cf6f
jmp 0x6cf6a
jmp 0x6cf80
jmp 0x6cf80
jmp 0x6cf6a
jmp 0x6cf6f
movq %rax, %rbx
jmp 0x6cf8d
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x4e070
jmp 0x6cf8d
jmp 0x6cf80
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x4e020
movq %rbx, %rdi
callq 0x518c0
nop