// File: /workspace/github_cpp_makefile_star2_O2/jstaursky[P]hutch/src/Sleigh/semantics.cc
// Function: ConstTpl::saveXml(std::ostream&) const
void ConstTpl::saveXml(ostream &s) const

{
  s << "<const_tpl type=\"";
  switch(type) {
  case real:
    s << "real\" val=\"0x" << hex << value_real << "\"/>";
    break;
  case handle:
    s << "handle\" val=\"" << dec << value.handle_index << "\" ";
    s << "s=\"";
    printHandleSelector(s,select);
    s << "\"";
    if (select == v_offset_plus)
      s << " plus=\"0x" << hex << value_real << "\"";
    s << "/>";
    break;
  case j_start:
    s << "start\"/>";
    break;
  case j_next:
    s << "next\"/>";
    break;
  case j_curspace:
    s << "curspace\"/>";
    break;
  case j_curspace_size:
    s << "curspace_size\"/>";
    break;
  case spaceid:
    s << "spaceid\" name=\"" << value.spaceid->getName() << "\"/>";
    break;
  case j_relative:
    s << "relative\" val=\"0x" << hex << value_real << "\"/>";
    break;
  case j_flowref:
    s << "flowref\"/>";
    break;
  case j_flowref_size:
    s << "flowref_size\"/>";
    break;
  case j_flowdest:
    s << "flowdest\"/>";
    break;
  case j_flowdest_size:
    s << "flowdest_size\"/>";
    break;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x25c23(%rip), %rsi     # 0x871f2
movq %rbx, %rdi
callq 0x4f5b0
movl (%r14), %eax
cmpq $0xb, %rax
ja 0x61779
leaq 0x25b3d(%rip), %rcx     # 0x87128
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x25c09(%rip), %rsi     # 0x87204
jmp 0x61640
leaq 0x25ca0(%rip), %rsi     # 0x872a4
jmp 0x6176a
leaq 0x25c2e(%rip), %rsi     # 0x8723e
jmp 0x6176a
leaq 0x25c6c(%rip), %rsi     # 0x87288
jmp 0x6176a
leaq 0x25c05(%rip), %rsi     # 0x8722d
jmp 0x6176a
leaq 0x25c02(%rip), %rsi     # 0x87236
jmp 0x6176a
leaq 0x25c2b(%rip), %rsi     # 0x8726b
movq %rbx, %rdi
callq 0x4f5b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq 0x10(%r14), %rsi
movq %rax, %rdi
callq 0x4e990
jmp 0x6174e
leaq 0x25b9d(%rip), %rsi     # 0x87212
movq %rbx, %rdi
callq 0x4f5b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
movl 0x8(%r14), %esi
movq %rax, %rdi
callq 0x51690
leaq 0x25b7b(%rip), %rsi     # 0x87220
movq %rax, %rdi
callq 0x4f5b0
leaq 0x25cfe(%rip), %rsi     # 0x873b2
movq %rbx, %rdi
callq 0x4f5b0
movl 0x18(%r14), %esi
movq %rbx, %rdi
callq 0x4efd0
leaq 0x26eed(%rip), %rsi     # 0x885bc
movq %rbx, %rdi
callq 0x4f5b0
cmpl $0x3, 0x18(%r14)
jne 0x6171d
leaq 0x25b3e(%rip), %rsi     # 0x87223
movq %rbx, %rdi
callq 0x4f5b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq 0x10(%r14), %rsi
movq %rax, %rdi
callq 0x4e990
leaq 0x26ea7(%rip), %rsi     # 0x885bc
movq %rax, %rdi
callq 0x4f5b0
leaq 0x25b23(%rip), %rsi     # 0x87247
jmp 0x6176a
leaq 0x25b1d(%rip), %rsi     # 0x8724a
jmp 0x6176a
leaq 0x25b25(%rip), %rsi     # 0x8725b
movq %rbx, %rdi
callq 0x4f5b0
movq 0x8(%r14), %rsi
addq $0x38, %rsi
movq %rax, %rdi
callq 0x4f1b0
leaq 0x25af1(%rip), %rsi     # 0x87246
movq %rax, %rdi
jmp 0x6176d
leaq 0x25b37(%rip), %rsi     # 0x87298
jmp 0x6176a
leaq 0x25b13(%rip), %rsi     # 0x8727d
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4f5b0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop