user: 这段汇编代码用C语言表示是什么样的？

```asm
<deslash>:
  endbr64
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x10,%rsp
  movzbl (%rdi),%edx
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    %rdi,(%rsp)
  test   %dl,%dl
  je     L10
  mov    %rdi,%rax
  lea    D1(%rip),%rbp
  jmp    L171
  nopl   (%rax)
L123:
  movzbl (%rax),%eax
  mov    %al,-0x1(%r12)
  mov    %rcx,%rax
L177:
  movzbl (%rax),%edx
  test   %dl,%dl
  je     L46
L171:
  lea    0x1(%rax),%rcx
  add    $0x1,%r12
  mov    %rcx,(%rsp)
  cmp    $0x5c,%dl
  jne    L123
  movzbl 0x1(%rax),%edx
  cmp    $0x78,%dl
  ja     L97
  cmp    $0x61,%dl
  jbe    L160
  sub    $0x62,%edx
  cmp    $0x16,%dl
  ja     L97
  movzbl %dl,%edx
  movslq 0x0(%rbp,%rdx,4),%rdx
  add    %rbp,%rdx
  notrack jmp *%rdx
  nopw   0x0(%rax,%rax,1)
L160:
  cmp    $0x30,%dl
  je     L175
  sub    $0x31,%edx
  cmp    $0x8,%dl
  jbe    L126
L97:
  lea    0x2(%rax),%rdx
  mov    %rdx,(%rsp)
  movzbl 0x1(%rax),%eax
  mov    %al,-0x1(%r12)
  mov    %rdx,%rax
  movzbl (%rax),%edx
  test   %dl,%dl
  jne    L171
  nopl   0x0(%rax)
L46:
  mov    %r12d,%eax
  sub    %ebx,%eax
L0:
  movb   $0x0,(%r12)
  mov    0x8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L179
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopw   0x0(%rax,%rax,1)
L126:
  mov    %rsp,%rdi
  mov    $0xa,%esi
  call   <get_char_code@plt>
  mov    %al,-0x1(%r12)
  mov    (%rsp),%rax
  jmp    L177
  nopl   0x0(%rax,%rax,1)
  add    $0x2,%rax
  mov    %rsp,%rdi
  mov    $0x10,%esi
  mov    %rax,(%rsp)
  call   <get_char_code@plt>
  mov    %al,-0x1(%r12)
  mov    (%rsp),%rax
  jmp    L177
  nopl   0x0(%rax,%rax,1)
  add    $0x2,%rax
  movb   $0x9,-0x1(%r12)
  mov    %rax,(%rsp)
  jmp    L177
  nopl   0x0(%rax,%rax,1)
  add    $0x2,%rax
  movb   $0xd,-0x1(%r12)
  mov    %rax,(%rsp)
  jmp    L177
  nopl   0x0(%rax,%rax,1)
  add    $0x2,%rax
  movb   $0xa,-0x1(%r12)
  mov    %rax,(%rsp)
  jmp    L177
  nopl   0x0(%rax,%rax,1)
  add    $0x2,%rax
  movb   $0x8,-0x1(%r12)
  mov    %rax,(%rsp)
  jmp    L177
  nopl   0x0(%rax,%rax,1)
L175:
  mov    %rsp,%rdi
  mov    $0x8,%esi
  call   <get_char_code@plt>
  mov    %al,-0x1(%r12)
  mov    (%rsp),%rax
  jmp    L177
  nopl   0x0(%rax,%rax,1)
L10:
  xor    %eax,%eax
  jmp    L0
L179:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int deslash(unsigned char *str) {
  unsigned char *wp, *rp;
  rp = wp = str;
  while (*rp) {
    if (*rp != '\\')
      *wp++ = *rp++;
    else {
      switch (*++rp) {
      case 'n':
        *wp++ = 10;
        ++rp;
        break;
      case 'r':
        *wp++ = 13;
        ++rp;
        break;
      case 't':
        *wp++ = 9;
        ++rp;
        break;
      case 'b':
        *wp++ = 8;
        ++rp;
        break;
      case 'x':
        ++rp;
        *wp++ = get_char_code(&rp, 16);
        break;
      case '0':
        *wp++ = get_char_code(&rp, 8);
        break;
      case '1':
      case '2':
      case '3':
      case '4':
      case '5':
      case '6':
      case '7':
      case '8':
      case '9':
        *wp++ = get_char_code(&rp, 10);
        break;
      default:
        *wp++ = *rp++;
        break;
      }
    }
  }
  *wp = '\0';
  return wp - str;
}
```