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

```asm
<myesc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x30,%eax
  cmp    $0x48,%eax
  ja     L129
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D17(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D17(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    $0x7,%eax
  jmp    L78
  mov    $0xb,%eax
  jmp    L78
  mov    $0x8,%eax
  jmp    L78
  mov    $0xc,%eax
  jmp    L78
  mov    $0xa,%eax
  jmp    L78
  mov    $0xd,%eax
  jmp    L78
  mov    $0x9,%eax
  jmp    L78
  mov    $0x1,%ebx
  jmp    L90
L102:
  add    $0x1,%ebx
L90:
  movslq %ebx,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L98
  movslq %ebx,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x30,%eax
  cmp    $0x9,%eax
  jbe    L102
L98:
  movslq %ebx,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x16(%rbp)
  movslq %ebx,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <otoi@plt>
  mov    %al,-0x15(%rbp)
  movslq %ebx,%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x16(%rbp),%eax
  mov    %al,(%rdx)
  movzbl -0x15(%rbp),%eax
  jmp    L78
  movl   $0x2,-0x14(%rbp)
  jmp    L130
L59:
  addl   $0x1,-0x14(%rbp)
L130:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L145
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <is_hex_digit@plt>
  test   %eax,%eax
  jne    L59
L145:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x16(%rbp)
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <htoi@plt>
  mov    %al,-0x15(%rbp)
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x16(%rbp),%eax
  mov    %al,(%rdx)
  movzbl -0x15(%rbp),%eax
  jmp    L78
L129:
  mov    -0x28(%rbp),%rax
  movzbl 0x1(%rax),%eax
L78:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
unsigned char myesc(array)
unsigned char array[];
{
  unsigned char c, esc_char;
  register int sptr;
  switch (array[1]) {
  case 'a':
    return ('\a');
  case 'v':
    return ('\v');
  case 'b':
    return ('\b');
  case 'f':
    return ('\f');
  case 'n':
    return ('\n');
  case 'r':
    return ('\r');
  case 't':
    return ('\t');
  case '0':
  case '1':
  case '2':
  case '3':
  case '4':
  case '5':
  case '6':
  case '7':
  case '8':
  case '9': {
    sptr = 1;
    while (((array[sptr]) <= 0177) && isdigit(array[sptr]))
      ++sptr;
    c = array[sptr];
    array[sptr] = '\0';
    esc_char = otoi(array + 1);
    array[sptr] = c;
    return (esc_char);
  }
  case 'x': {
    int sptr = 2;
    while (((array[sptr]) <= 0177) && is_hex_digit(array[sptr]))
      ++sptr;
    c = array[sptr];
    array[sptr] = '\0';
    esc_char = htoi(array + 2);
    array[sptr] = c;
    return (esc_char);
  }
  default:
    return (array[1]);
  }
}
```