// File: jstaursky[P]hutch/src/Sleigh/slghpatexpress.cc
// Function: TokenField::restoreXml(Element const*, Translate*)
void TokenField::restoreXml(const Element *el,Translate *trans)

{
  tok = (Token *)0;
  bigendian = xml_readbool(el->getAttributeValue("bigendian"));
  signbit = xml_readbool(el->getAttributeValue("signbit"));
  {
    istringstream s(el->getAttributeValue("bitstart"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> bitstart;
  }
  {
    istringstream s(el->getAttributeValue("bitend"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> bitend;
  }
  {
    istringstream s(el->getAttributeValue("bytestart"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> bytestart;
  }
  {
    istringstream s(el->getAttributeValue("byteend"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> byteend;
  }
  {
    istringstream s(el->getAttributeValue("shift"));
    s.unsetf(ios::dec | ios::hex | ios::oct);
    s >> shift;
  }
}

// Assembly:
subq $0x9f8, %rsp            # imm = 0x9F8
movq %rdi, 0x9f0(%rsp)
movq %rsi, 0x9e8(%rsp)
movq %rdx, 0x9e0(%rsp)
movq 0x9f0(%rsp), %rax
movq %rax, 0x120(%rsp)
movq $0x0, 0x10(%rax)
movq 0x9e8(%rsp), %rax
movq %rax, 0x128(%rsp)
leaq 0x9bf(%rsp), %rdi
movq %rdi, 0x130(%rsp)
callq 0xe0c80
movq 0x130(%rsp), %rdx
leaq 0x5e7a1(%rip), %rsi     # 0x1877ac
leaq 0x9c0(%rsp), %rdi
callq 0xe00a0
jmp 0x12901a
movq 0x128(%rsp), %rdi
leaq 0x9c0(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0x118(%rsp)
jmp 0x129039
movq 0x118(%rsp), %rdi
callq 0xd9e90
movb %al, 0x117(%rsp)
jmp 0x12904f
movq 0x120(%rsp), %rax
movb 0x117(%rsp), %cl
andb $0x1, %cl
movb %cl, 0x18(%rax)
leaq 0x9c0(%rsp), %rdi
callq 0xd4550
leaq 0x9bf(%rsp), %rdi
callq 0xd8ec0
movq 0x9e8(%rsp), %rax
movq %rax, 0x100(%rsp)
leaq 0x987(%rsp), %rdi
movq %rdi, 0x108(%rsp)
callq 0xe0c80
movq 0x108(%rsp), %rdx
leaq 0x5f76f(%rip), %rsi     # 0x188821
leaq 0x988(%rsp), %rdi
callq 0xe00a0
jmp 0x1290c1
movq 0x100(%rsp), %rdi
leaq 0x988(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0xf8(%rsp)
jmp 0x1290e0
movq 0xf8(%rsp), %rdi
callq 0xd9e90
movb %al, 0xf7(%rsp)
jmp 0x1290f6
movq 0x120(%rsp), %rax
movb 0xf7(%rsp), %cl
andb $0x1, %cl
movb %cl, 0x19(%rax)
leaq 0x988(%rsp), %rdi
callq 0xd4550
leaq 0x987(%rsp), %rdi
callq 0xd8ec0
movq 0x9e8(%rsp), %rax
movq %rax, 0xe0(%rsp)
leaq 0x7df(%rsp), %rdi
movq %rdi, 0xe8(%rsp)
callq 0xe0c80
movq 0xe8(%rsp), %rdx
leaq 0x5f6d0(%rip), %rsi     # 0x188829
leaq 0x7e0(%rsp), %rdi
callq 0xe00a0
jmp 0x129168
movq 0xe0(%rsp), %rdi
leaq 0x7e0(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0xd8(%rsp)
jmp 0x129187
movq 0xd8(%rsp), %rsi
leaq 0x800(%rsp), %rdi
movl $0x8, %edx
callq 0xdfcc0
jmp 0x1291a3
leaq 0x7e0(%rsp), %rdi
callq 0xd4550
leaq 0x7df(%rsp), %rdi
callq 0xd8ec0
movq 0x800(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x800(%rsp,%rax), %rax
movq %rax, 0xc8(%rsp)
movl $0x2, %edi
movl $0x8, %esi
callq 0xe0e70
movl %eax, 0xd4(%rsp)
jmp 0x1291f1
movl 0xd4(%rsp), %edi
movl $0x40, %esi
callq 0xe0e70
movl %eax, 0xc4(%rsp)
jmp 0x12920b
movl 0xc4(%rsp), %esi
movq 0xc8(%rsp), %rdi
callq 0xda6e0
jmp 0x129221
movq 0x120(%rsp), %rsi
addq $0x1c, %rsi
leaq 0x800(%rsp), %rdi
callq 0xd4480
jmp 0x12923c
leaq 0x800(%rsp), %rdi
callq 0xd25a0
movq 0x9e8(%rsp), %rax
movq %rax, 0xb0(%rsp)
leaq 0x637(%rsp), %rdi
movq %rdi, 0xb8(%rsp)
callq 0xe0c80
movq 0xb8(%rsp), %rdx
leaq 0x5f5b5(%rip), %rsi     # 0x188832
leaq 0x638(%rsp), %rdi
callq 0xe00a0
jmp 0x12928c
movq 0xb0(%rsp), %rdi
leaq 0x638(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0xa8(%rsp)
jmp 0x1292ab
movq 0xa8(%rsp), %rsi
leaq 0x658(%rsp), %rdi
movl $0x8, %edx
callq 0xdfcc0
jmp 0x1292c7
leaq 0x638(%rsp), %rdi
callq 0xd4550
leaq 0x637(%rsp), %rdi
callq 0xd8ec0
movq 0x658(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x658(%rsp,%rax), %rax
movq %rax, 0x98(%rsp)
movl $0x2, %edi
movl $0x8, %esi
callq 0xe0e70
movl %eax, 0xa4(%rsp)
jmp 0x129315
movl 0xa4(%rsp), %edi
movl $0x40, %esi
callq 0xe0e70
movl %eax, 0x94(%rsp)
jmp 0x12932f
movl 0x94(%rsp), %esi
movq 0x98(%rsp), %rdi
callq 0xda6e0
jmp 0x129345
movq 0x120(%rsp), %rsi
addq $0x20, %rsi
leaq 0x658(%rsp), %rdi
callq 0xd4480
jmp 0x129360
leaq 0x658(%rsp), %rdi
callq 0xd25a0
movq 0x9e8(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0x48f(%rsp), %rdi
movq %rdi, 0x88(%rsp)
callq 0xe0c80
movq 0x88(%rsp), %rdx
leaq 0x5f498(%rip), %rsi     # 0x188839
leaq 0x490(%rsp), %rdi
callq 0xe00a0
jmp 0x1293b0
movq 0x80(%rsp), %rdi
leaq 0x490(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0x78(%rsp)
jmp 0x1293cc
movq 0x78(%rsp), %rsi
leaq 0x4b0(%rsp), %rdi
movl $0x8, %edx
callq 0xdfcc0
jmp 0x1293e5
leaq 0x490(%rsp), %rdi
callq 0xd4550
leaq 0x48f(%rsp), %rdi
callq 0xd8ec0
movq 0x4b0(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x4b0(%rsp,%rax), %rax
movq %rax, 0x68(%rsp)
movl $0x2, %edi
movl $0x8, %esi
callq 0xe0e70
movl %eax, 0x74(%rsp)
jmp 0x12942d
movl 0x74(%rsp), %edi
movl $0x40, %esi
callq 0xe0e70
movl %eax, 0x64(%rsp)
jmp 0x129441
movl 0x64(%rsp), %esi
movq 0x68(%rsp), %rdi
callq 0xda6e0
jmp 0x129451
movq 0x120(%rsp), %rsi
addq $0x24, %rsi
leaq 0x4b0(%rsp), %rdi
callq 0xd4480
jmp 0x12946c
leaq 0x4b0(%rsp), %rdi
callq 0xd25a0
movq 0x9e8(%rsp), %rax
movq %rax, 0x50(%rsp)
leaq 0x2e7(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0xe0c80
movq 0x58(%rsp), %rdx
leaq 0x5f39f(%rip), %rsi     # 0x188843
leaq 0x2e8(%rsp), %rdi
callq 0xe00a0
jmp 0x1294b3
movq 0x50(%rsp), %rdi
leaq 0x2e8(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0x48(%rsp)
jmp 0x1294cc
movq 0x48(%rsp), %rsi
leaq 0x308(%rsp), %rdi
movl $0x8, %edx
callq 0xdfcc0
jmp 0x1294e5
leaq 0x2e8(%rsp), %rdi
callq 0xd4550
leaq 0x2e7(%rsp), %rdi
callq 0xd8ec0
movq 0x308(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x308(%rsp,%rax), %rax
movq %rax, 0x38(%rsp)
movl $0x2, %edi
movl $0x8, %esi
callq 0xe0e70
movl %eax, 0x44(%rsp)
jmp 0x12952d
movl 0x44(%rsp), %edi
movl $0x40, %esi
callq 0xe0e70
movl %eax, 0x34(%rsp)
jmp 0x129541
movl 0x34(%rsp), %esi
movq 0x38(%rsp), %rdi
callq 0xda6e0
jmp 0x129551
movq 0x120(%rsp), %rsi
addq $0x28, %rsi
leaq 0x308(%rsp), %rdi
callq 0xd4480
jmp 0x12956c
leaq 0x308(%rsp), %rdi
callq 0xd25a0
movq 0x9e8(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x13f(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0xe0c80
movq 0x28(%rsp), %rdx
leaq 0x5f2a7(%rip), %rsi     # 0x18884b
leaq 0x140(%rsp), %rdi
callq 0xe00a0
jmp 0x1295b3
movq 0x20(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0xdb6f0
movq %rax, 0x18(%rsp)
jmp 0x1295cc
movq 0x18(%rsp), %rsi
leaq 0x160(%rsp), %rdi
movl $0x8, %edx
callq 0xdfcc0
jmp 0x1295e5
leaq 0x140(%rsp), %rdi
callq 0xd4550
leaq 0x13f(%rsp), %rdi
callq 0xd8ec0
movq 0x160(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x160(%rsp,%rax), %rax
movq %rax, 0x8(%rsp)
movl $0x2, %edi
movl $0x8, %esi
callq 0xe0e70
movl %eax, 0x14(%rsp)
jmp 0x12962d
movl 0x14(%rsp), %edi
movl $0x40, %esi
callq 0xe0e70
movl %eax, 0x4(%rsp)
jmp 0x129641
movl 0x4(%rsp), %esi
movq 0x8(%rsp), %rdi
callq 0xda6e0
jmp 0x129651
movq 0x120(%rsp), %rsi
addq $0x2c, %rsi
leaq 0x160(%rsp), %rdi
callq 0xd4480
jmp 0x12966c
leaq 0x160(%rsp), %rdi
callq 0xd25a0
addq $0x9f8, %rsp            # imm = 0x9F8
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x1296b8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x9c0(%rsp), %rdi
callq 0xd4550
leaq 0x9bf(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x129701
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x988(%rsp), %rdi
callq 0xd4550
leaq 0x987(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x12974a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x7e0(%rsp), %rdi
callq 0xd4550
leaq 0x7df(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x800(%rsp), %rdi
callq 0xd25a0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x1297b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x638(%rsp), %rdi
callq 0xd4550
leaq 0x637(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x658(%rsp), %rdi
callq 0xd25a0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x129828
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x490(%rsp), %rdi
callq 0xd4550
leaq 0x48f(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x4b0(%rsp), %rdi
callq 0xd25a0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x129897
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0xd4550
leaq 0x2e7(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x308(%rsp), %rdi
callq 0xd25a0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
jmp 0x129903
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x140(%rsp), %rdi
callq 0xd4550
leaq 0x13f(%rsp), %rdi
callq 0xd8ec0
jmp 0x129933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x9b0(%rsp)
movl %eax, 0x9ac(%rsp)
leaq 0x160(%rsp), %rdi
callq 0xd25a0
movq 0x9b0(%rsp), %rdi
callq 0xe0be0