user: 请将以下的汇编代码转换成C语言代码：

```asm
<Xascii>:
  endbr64
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <Xstrlen@plt>
  lea    0x1(%rax),%edi
  mov    %eax,%ebx
  call   <malloc@plt>
  mov    %rax,%r8
  test   %ebx,%ebx
  jle    L151
  movslq %ebx,%rsi
  lea    0x0(%rbp,%rsi,4),%rax
  lea    (%r8,%rsi,1),%rdx
  cmp    %rax,%r8
  setae  %al
  cmp    %rdx,%rbp
  setae  %dl
  or     %dl,%al
  je     L110
  lea    -0x1(%rbx),%eax
  cmp    $0xe,%eax
  jbe    L110
  mov    %ebx,%ecx
  movdqa D28(%rip),%xmm5
  mov    %rbp,%rax
  mov    %r8,%rdx
  shr    $0x4,%ecx
  movdqa D48(%rip),%xmm4
  pxor   %xmm6,%xmm6
  movdqa D27(%rip),%xmm8
  sub    $0x1,%ecx
  movdqa D25(%rip),%xmm7
  movdqa D14(%rip),%xmm9
  shl    $0x6,%rcx
  psubd  %xmm5,%xmm4
  lea    0x40(%rbp,%rcx,1),%rcx
  nopl   0x0(%rax)
L46:
  movdqu 0x10(%rax),%xmm11
  movdqu (%rax),%xmm0
  add    $0x40,%rax
  add    $0x10,%rdx
  movdqu -0x10(%rax),%xmm10
  movdqu -0x20(%rax),%xmm1
  movdqa %xmm0,%xmm3
  movdqa %xmm11,%xmm2
  paddd  %xmm8,%xmm3
  paddd  %xmm8,%xmm2
  psubd  %xmm5,%xmm3
  psubd  %xmm5,%xmm2
  pcmpgtd %xmm4,%xmm3
  pcmpgtd %xmm4,%xmm2
  pcmpeqd %xmm6,%xmm3
  pcmpeqd %xmm6,%xmm2
  movdqa %xmm3,%xmm12
  punpcklwd %xmm2,%xmm3
  punpckhwd %xmm2,%xmm12
  movdqa %xmm3,%xmm2
  punpckhwd %xmm12,%xmm2
  punpcklwd %xmm12,%xmm3
  movdqa %xmm10,%xmm12
  punpcklwd %xmm2,%xmm3
  movdqa %xmm1,%xmm2
  paddd  %xmm8,%xmm12
  paddd  %xmm8,%xmm2
  psubd  %xmm5,%xmm12
  pand   %xmm7,%xmm3
  psubd  %xmm5,%xmm2
  pcmpgtd %xmm4,%xmm12
  pcmpgtd %xmm4,%xmm2
  pcmpeqd %xmm6,%xmm12
  pcmpeqd %xmm6,%xmm2
  movdqa %xmm2,%xmm13
  punpcklwd %xmm12,%xmm2
  punpckhwd %xmm12,%xmm13
  movdqa %xmm2,%xmm12
  punpckhwd %xmm13,%xmm12
  punpcklwd %xmm13,%xmm2
  punpcklwd %xmm12,%xmm2
  pand   %xmm7,%xmm2
  packuswb %xmm2,%xmm3
  movdqa %xmm0,%xmm2
  punpcklwd %xmm11,%xmm0
  punpckhwd %xmm11,%xmm2
  movdqa %xmm0,%xmm11
  punpckhwd %xmm2,%xmm11
  punpcklwd %xmm2,%xmm0
  movdqa %xmm1,%xmm2
  punpcklwd %xmm10,%xmm1
  punpckhwd %xmm10,%xmm2
  punpcklwd %xmm11,%xmm0
  movdqa %xmm1,%xmm10
  punpcklwd %xmm2,%xmm1
  pand   %xmm7,%xmm0
  punpckhwd %xmm2,%xmm10
  punpcklwd %xmm10,%xmm1
  pand   %xmm7,%xmm1
  packuswb %xmm1,%xmm0
  pand   %xmm3,%xmm0
  pandn  %xmm9,%xmm3
  por    %xmm0,%xmm3
  movups %xmm3,-0x10(%rdx)
  cmp    %rcx,%rax
  jne    L46
  mov    %ebx,%eax
  and    $0xfffffff0,%eax
  test   $0xf,%bl
  je     L25
  mov    %eax,%r9d
  mov    $0x3f,%ecx
  mov    0x0(%rbp,%r9,4),%edi
  lea    0x0(,%r9,4),%rdx
  lea    -0x20(%rdi),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%edi
  mov    %dil,(%r8,%r9,1)
  lea    0x1(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x4(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x2(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x8(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x3(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0xc(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x4(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x10(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x5(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x14(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x6(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x18(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x7(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x1c(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  lea    0x8(%rax),%ecx
  mov    %r9b,(%r8,%rdi,1)
  cmp    %ecx,%ebx
  jle    L25
  mov    0x20(%rbp,%rdx,1),%r9d
  movslq %ecx,%rdi
  mov    $0x3f,%ecx
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0x9(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x24(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0xa(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x28(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0xb(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x2c(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0xc(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x30(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  mov    %r9b,(%r8,%rdi,1)
  lea    0xd(%rax),%edi
  cmp    %edi,%ebx
  jle    L25
  mov    0x34(%rbp,%rdx,1),%r9d
  movslq %edi,%rdi
  lea    -0x20(%r9),%r10d
  cmp    $0x5f,%r10d
  cmovae %ecx,%r9d
  add    $0xe,%eax
  mov    %r9b,(%r8,%rdi,1)
  cmp    %eax,%ebx
  jle    L25
  mov    0x38(%rbp,%rdx,1),%edx
  cltq
  lea    -0x20(%rdx),%edi
  cmp    $0x5f,%edi
  cmovae %ecx,%edx
  mov    %dl,(%r8,%rax,1)
L25:
  add    %r8,%rsi
  mov    %r8,%rax
  movb   $0x0,(%rsi)
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopl   0x0(%rax)
L110:
  mov    %ebx,%ebx
  xor    %eax,%eax
L217:
  mov    0x0(%rbp,%rax,4),%edx
  lea    -0x20(%rdx),%ecx
  cmp    $0x5e,%ecx
  ja     L90
L30:
  mov    %dl,(%r8,%rax,1)
  add    $0x1,%rax
  cmp    %rbx,%rax
  je     L25
  mov    0x0(%rbp,%rax,4),%edx
  lea    -0x20(%rdx),%ecx
  cmp    $0x5e,%ecx
  jbe    L30
L90:
  movb   $0x3f,(%r8,%rax,1)
  add    $0x1,%rax
  cmp    %rbx,%rax
  jne    L217
  jmp    L25
  nopl   0x0(%rax)
L151:
  mov    %rax,%rsi
  mov    %r8,%rax
  movb   $0x0,(%rsi)
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D28
datatype: byte[16]
name: retrieve_data
arguments: data_tag: D48
datatype: byte[16]
name: retrieve_data
arguments: data_tag: D27
datatype: byte[16]
name: retrieve_data
arguments: data_tag: D25
datatype: byte[16]
name: retrieve_data
arguments: data_tag: D14
datatype: byte[16]

tool: {"D28": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80]}

tool: {"D48": [0x5e,0x00,0x00,0x00,0x5e,0x00,0x00,0x00,0x5e,0x00,0x00,0x00,0x5e,0x00,0x00,0x00]}

tool: {"D27": [0xe0,0xff,0xff,0xff,0xe0,0xff,0xff,0xff,0xe0,0xff,0xff,0xff,0xe0,0xff,0xff,0xff]}

tool: {"D25": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

tool: {"D14": [0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f]}

assistant: ```c
char *Xascii(XML_Char *s) {
  char *res;
  int x;
  int len = Xstrlen(s);
  res = malloc(sizeof(char) * (len + 1));
  for (x = 0; x < len; x++) {
    if (s[x] >= 32 && s[x] < 127)
      res[x] = s[x];
    else
      res[x] = '?';
  }
  res[x] = 0;
  return res;
}
```