// File: /workspace/github_cpp_makefile_star2_O3/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 0x1d6c9(%rip), %rsi     # 0x7fd1e
leaq 0x1d6c8(%rip), %rdx     # 0x7fd24
leaq 0x8(%rsp), %rdi
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x48(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6269c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
leaq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
movq %rbx, %rsi
callq 0x3fe80
movq 0x40654(%rip), %rsi     # 0xa2d10
leaq 0x48(%rsp), %rdi
callq 0x41450
leaq 0xc0(%rsp), %rdi
callq 0x3f730
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x1e737(%rip), %rsi     # 0x80e19
leaq 0x1e737(%rip), %rdx     # 0x80e20
callq 0x3f8a0
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x40f80
leaq 0x48(%rsp), %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62724
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
leaq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
leaq 0x4(%rbx), %rsi
callq 0x3fe80
movq 0x405cb(%rip), %rsi     # 0xa2d10
leaq 0x48(%rsp), %rdi
callq 0x41450
leaq 0xc0(%rsp), %rdi
callq 0x3f730
movq 0x78(%r15), %rbp
movq %r15, 0x40(%rsp)
cmpq 0x80(%r15), %rbp
je 0x62902
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 0x1de6a(%rip), %rsi     # 0x8060b
leaq 0x1de67(%rip), %rdx     # 0x8060f
callq 0x3f8a0
movq %r13, %rdi
movq %r15, %rsi
callq 0x40f80
movq %r12, %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x627df
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
movq %r12, %rdi
leaq 0x2c(%rsp), %rsi
callq 0x41ec0
movq %r12, %rdi
movq 0x4050c(%rip), %rsi     # 0xa2d10
callq 0x41450
leaq 0xc0(%rsp), %rdi
callq 0x3f730
movq %r14, 0x8(%rsp)
movq %r15, %rdi
leaq 0x1c98b(%rip), %rsi     # 0x7f1b0
leaq 0x1c987(%rip), %rdx     # 0x7f1b3
callq 0x3f8a0
movq %r13, %rdi
movq %r15, %rsi
callq 0x40f80
movq %r12, %rdi
movq %rax, %rsi
movl $0x8, %edx
callq 0x41c90
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62863
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
andl $-0x4b, 0x60(%rsp,%rax)
movq %r12, %rdi
leaq 0x28(%rsp), %rsi
callq 0x41ec0
movq %r12, %rdi
movq 0x40488(%rip), %rsi     # 0xa2d10
callq 0x41450
leaq 0xc0(%rsp), %rdi
callq 0x3f730
movq 0x10(%rbx), %rsi
cmpq 0x18(%rbx), %rsi
je 0x628b4
movl 0x2c(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x10(%rbx)
jmp 0x628c3
movq 0x38(%rsp), %rdi
leaq 0x2c(%rsp), %rdx
callq 0x40780
movq 0x28(%rbx), %rsi
cmpq 0x30(%rbx), %rsi
je 0x628dd
movl 0x28(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x28(%rbx)
jmp 0x628ec
movq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x40780
addq $0x8, %rbp
movq 0x40(%rsp), %rax
cmpq 0x80(%rax), %rbp
jne 0x6278e
movq %rbx, %rdi
callq 0x40d70
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x62931
jmp 0x6292c
jmp 0x62931
jmp 0x6292c
jmp 0x62956
jmp 0x62956
jmp 0x6292c
jmp 0x62931
movq %rax, %rbx
jmp 0x62970
movq %rax, %rbx
movq 0x403d5(%rip), %rsi     # 0xa2d10
leaq 0x48(%rsp), %rdi
callq 0x41450
leaq 0xc0(%rsp), %rdi
callq 0x3f730
jmp 0x62970
jmp 0x62956
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x62970
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40880
movq %rbx, %rdi
callq 0x41f10