// File: /workspace/github_cpp_makefile_star2_O1/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 $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1d431(%rip), %rsi     # 0x7fd1e
leaq 0x1d430(%rip), %rdx     # 0x7fd24
leaq 0x8(%rsp), %rdi
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f70
leaq 0x48(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62934
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
movq %rbx, %rsi
callq 0x3fe80
movq 0x403bc(%rip), %rsi     # 0xa2d10
leaq 0x48(%rsp), %rdi
callq 0x41440
leaq 0xc0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x1e49f(%rip), %rsi     # 0x80e19
leaq 0x1e49f(%rip), %rdx     # 0x80e20
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f70
leaq 0x48(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x629bc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
leaq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
leaq 0x4(%rbx), %rsi
callq 0x3fe80
movq 0x40333(%rip), %rsi     # 0xa2d10
leaq 0x48(%rsp), %rdi
callq 0x41440
leaq 0xc0(%rsp), %rdi
callq 0x3f730
movq 0x78(%r15), %rbp
movq %r15, 0x40(%rsp)
cmpq 0x80(%r15), %rbp
je 0x62b9a
leaq 0x8(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x20(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x8(%rsp), %r15
leaq 0x48(%rsp), %r12
movq (%rbp), %r13
movq %r14, 0x8(%rsp)
movq %r15, %rdi
leaq 0x1dbd2(%rip), %rsi     # 0x8060b
leaq 0x1dbcf(%rip), %rdx     # 0x8060f
callq 0x3f8a0
movq %r13, %rdi
movq %r15, %rsi
callq 0x40f70
movq %r12, %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62a77
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
movq %r12, %rdi
leaq 0x2c(%rsp), %rsi
callq 0x41eb0
movq %r12, %rdi
movq 0x40274(%rip), %rsi     # 0xa2d10
callq 0x41440
leaq 0xc0(%rsp), %rdi
callq 0x3f730
movq %r14, 0x8(%rsp)
movq %r15, %rdi
leaq 0x1c6f3(%rip), %rsi     # 0x7f1b0
leaq 0x1c6ef(%rip), %rdx     # 0x7f1b3
callq 0x3f8a0
movq %r13, %rdi
movq %r15, %rsi
callq 0x40f70
movq %r12, %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c80
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62afb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
movq %r12, %rdi
leaq 0x28(%rsp), %rsi
callq 0x41eb0
movq %r12, %rdi
movq 0x401f0(%rip), %rsi     # 0xa2d10
callq 0x41440
leaq 0xc0(%rsp), %rdi
callq 0x3f730
movq 0x10(%rbx), %rsi
cmpq 0x18(%rbx), %rsi
je 0x62b4c
movl 0x2c(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x10(%rbx)
jmp 0x62b5b
movq 0x38(%rsp), %rdi
leaq 0x2c(%rsp), %rdx
callq 0x40770
movq 0x28(%rbx), %rsi
cmpq 0x30(%rbx), %rsi
je 0x62b75
movl 0x28(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x28(%rbx)
jmp 0x62b84
movq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x40770
addq $0x8, %rbp
movq 0x40(%rsp), %rax
cmpq 0x80(%rax), %rbp
jne 0x62a26
movq %rbx, %rdi
callq 0x40d60
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x62bc9
jmp 0x62bc4
jmp 0x62bc9
jmp 0x62bc4
jmp 0x62bee
jmp 0x62bee
jmp 0x62bc4
jmp 0x62bc9
movq %rax, %rbx
jmp 0x62c08
movq %rax, %rbx
movq 0x4013d(%rip), %rsi     # 0xa2d10
leaq 0x48(%rsp), %rdi
callq 0x41440
leaq 0xc0(%rsp), %rdi
callq 0x3f730
jmp 0x62c08
jmp 0x62bee
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62c08
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40870
movq %rbx, %rdi
callq 0x41f00