// File: jstaursky[P]hutch/src/Sleigh/semantics.cc
// Function: OpTpl::restoreXml(Element const*, AddrSpaceManager const*)
void OpTpl::restoreXml(const Element *el,const AddrSpaceManager *manage)

{
  opc = get_opcode(el->getAttributeValue("code"));
  const List &list(el->getChildren());
  List::const_iterator iter;
  iter = list.begin();
  if ((*iter)->getName() == "null")
    output = (VarnodeTpl *)0;
  else {
    output = new VarnodeTpl();
    output->restoreXml(*iter,manage);
  }
  ++iter;
  while(iter != list.end()) {
    VarnodeTpl *vn = new VarnodeTpl();
    vn->restoreXml(*iter,manage);
    input.push_back(vn);
    ++iter;
  }
}

// Assembly:
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0x40(%rsp)
leaq 0x8f(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0xe0c80
movq 0x48(%rsp), %rdx
leaq 0x701e6(%rip), %rsi     # 0x187cfd
leaq 0x90(%rsp), %rdi
callq 0xe00a0
jmp 0x117b26
movq 0x40(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0x30(%rsp)
jmp 0x117b3f
movq 0x30(%rsp), %rdi
callq 0xdfa30
movl %eax, 0x2c(%rsp)
jmp 0x117b4f
movq 0x38(%rsp), %rax
movl 0x2c(%rsp), %ecx
movl %ecx, 0x8(%rax)
leaq 0x90(%rsp), %rdi
callq 0xd4550
leaq 0x8f(%rsp), %rdi
callq 0xd8ec0
movq 0xb8(%rsp), %rdi
callq 0xde930
movq %rax, 0x70(%rsp)
leaq 0x68(%rsp), %rdi
callq 0xd03e0
movq 0x70(%rsp), %rdi
callq 0xd4960
movq %rax, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x68(%rsp)
leaq 0x68(%rsp), %rdi
callq 0xddc90
movq (%rax), %rdi
callq 0xcea10
movq %rax, %rdi
leaq 0x707da(%rip), %rsi     # 0x1883a0
callq 0xe30f0
testb $0x1, %al
jne 0x117bd1
jmp 0x117c25
movq 0x38(%rsp), %rax
movq $0x0, (%rax)
jmp 0x117c9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0x117c13
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x90(%rsp), %rdi
callq 0xd4550
leaq 0x8f(%rsp), %rdi
callq 0xd8ec0
jmp 0x117d68
movl $0x68, %edi
callq 0xd8380
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x20(%rsp)
callq 0xdde00
jmp 0x117c41
movq 0x38(%rsp), %rax
movq 0x20(%rsp), %rcx
movq %rcx, (%rax)
movq (%rax), %rax
movq %rax, 0x18(%rsp)
leaq 0x68(%rsp), %rdi
callq 0xddc90
movq 0x18(%rsp), %rdi
movq (%rax), %rsi
movq 0xb0(%rsp), %rdx
callq 0xe08e0
jmp 0x117c9c
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
movl $0x68, %esi
callq 0xd8620
jmp 0x117d68
leaq 0x68(%rsp), %rdi
callq 0xd0700
movq 0x70(%rsp), %rdi
callq 0xd7a70
movq %rax, 0x58(%rsp)
leaq 0x68(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0xd72b0
testb $0x1, %al
jne 0x117ccd
jmp 0x117d60
movl $0x68, %edi
callq 0xd8380
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x10(%rsp)
callq 0xdde00
jmp 0x117ce9
movq 0x10(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x68(%rsp), %rdi
callq 0xddc90
movq 0x8(%rsp), %rdi
movq (%rax), %rsi
movq 0xb0(%rsp), %rdx
callq 0xe08e0
movq 0x38(%rsp), %rdi
addq $0x10, %rdi
leaq 0x50(%rsp), %rsi
callq 0xe1c50
leaq 0x68(%rsp), %rdi
callq 0xd0700
jmp 0x117ca6
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
movl $0x68, %esi
callq 0xd8620
jmp 0x117d68
addq $0xc8, %rsp
retq
movq 0x80(%rsp), %rdi
callq 0xe0be0
nopw %cs:(%rax,%rax)