user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<sanitize_name>:
  endbr64
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <strlen@plt>
  lea    0x1(%rax),%edi
  mov    %eax,%ebx
  call   <malloc@plt>
  mov    %rax,%r8
  test   %ebx,%ebx
  jle    L80
  lea    0x1(%rbp),%rdx
  sub    %rdx,%rax
  cmp    $0xe,%rax
  jbe    L187
  lea    -0x1(%rbx),%eax
  cmp    $0xe,%eax
  jbe    L187
  mov    %ebx,%edx
  movdqa D6(%rip),%xmm3
  movdqa D7(%rip),%xmm2
  xor    %eax,%eax
  shr    $0x4,%edx
  shl    $0x4,%rdx
  nop
L2:
  movdqu 0x0(%rbp,%rax,1),%xmm0
  movdqu 0x0(%rbp,%rax,1),%xmm4
  movdqa %xmm2,%xmm1
  pcmpeqb %xmm3,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm4,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,(%r8,%rax,1)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L2
  mov    %ebx,%eax
  and    $0xfffffff0,%eax
  test   $0xf,%bl
  je     L80
  mov    %eax,%esi
  mov    $0x5f,%edx
  movzbl 0x0(%rbp,%rsi,1),%ecx
  cmp    $0x2f,%cl
  cmove  %edx,%ecx
  mov    %cl,(%r8,%rsi,1)
  lea    0x1(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  mov    %sil,(%r8,%rcx,1)
  lea    0x2(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  mov    %sil,(%r8,%rcx,1)
  lea    0x3(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  mov    %sil,(%r8,%rcx,1)
  lea    0x4(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  mov    %sil,(%r8,%rcx,1)
  lea    0x5(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  mov    %sil,(%r8,%rcx,1)
  lea    0x6(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  mov    %sil,(%r8,%rcx,1)
  lea    0x7(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L80
  movslq %ecx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  cmp    $0x2f,%sil
  cmove  %edx,%esi
  lea    0x8(%rax),%edx
  mov    %sil,(%r8,%rcx,1)
  cmp    %edx,%ebx
  jle    L80
  movslq %edx,%rdx
  mov    $0x5f,%ecx
  movzbl 0x0(%rbp,%rdx,1),%esi
  cmp    $0x2f,%sil
  cmove  %ecx,%esi
  mov    %sil,(%r8,%rdx,1)
  lea    0x9(%rax),%edx
  cmp    %edx,%ebx
  jle    L80
  movslq %edx,%rdx
  movzbl 0x0(%rbp,%rdx,1),%esi
  cmp    $0x2f,%sil
  cmove  %ecx,%esi
  mov    %sil,(%r8,%rdx,1)
  lea    0xa(%rax),%edx
  cmp    %edx,%ebx
  jle    L80
  movslq %edx,%rdx
  movzbl 0x0(%rbp,%rdx,1),%esi
  cmp    $0x2f,%sil
  cmove  %ecx,%esi
  mov    %sil,(%r8,%rdx,1)
  lea    0xb(%rax),%edx
  cmp    %edx,%ebx
  jle    L80
  movslq %edx,%rdx
  movzbl 0x0(%rbp,%rdx,1),%esi
  cmp    $0x2f,%sil
  cmove  %ecx,%esi
  mov    %sil,(%r8,%rdx,1)
  lea    0xc(%rax),%edx
  cmp    %edx,%ebx
  jle    L80
  movslq %edx,%rdx
  movzbl 0x0(%rbp,%rdx,1),%esi
  cmp    $0x2f,%sil
  cmove  %ecx,%esi
  mov    %sil,(%r8,%rdx,1)
  lea    0xd(%rax),%edx
  cmp    %edx,%ebx
  jle    L80
  movslq %edx,%rdx
  movzbl 0x0(%rbp,%rdx,1),%esi
  cmp    $0x2f,%sil
  cmove  %ecx,%esi
  add    $0xe,%eax
  mov    %sil,(%r8,%rdx,1)
  cmp    %eax,%ebx
  jle    L80
  cltq
  movzbl 0x0(%rbp,%rax,1),%edx
  cmp    $0x2f,%dl
  cmove  %ecx,%edx
  mov    %dl,(%r8,%rax,1)
L80:
  movslq %ebx,%rbx
  mov    %r8,%rax
  movb   $0x0,(%r8,%rbx,1)
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L187:
  mov    %ebx,%ecx
  xor    %eax,%eax
L61:
  movzbl 0x0(%rbp,%rax,1),%edx
  cmp    $0x2f,%dl
  je     L38
L37:
  mov    %dl,(%r8,%rax,1)
  add    $0x1,%rax
  cmp    %rcx,%rax
  je     L80
  movzbl 0x0(%rbp,%rax,1),%edx
  cmp    $0x2f,%dl
  jne    L37
L38:
  movb   $0x5f,(%r8,%rax,1)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L61
  jmp    L80
```

tool_calls: name: disassemble_data
arguments: data_label: D6
type_infered: byte[16]
name: disassemble_data
arguments: data_label: D7
type_infered: byte[16]

tool: {"D6": [0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f]}

tool: {"D7": [0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f]}

assistant: ```c
char *sanitize_name(const char *name) {
  int n = strlen(name);
  char *s = malloc(n + 1);
  for (int i = 0; i < n; i++) {
    s[i] = name[i] == '/' ? '_' : name[i];
  }
  s[n] = 0;
  return s;
}
```