user: 请从给定的汇编指令推导出C源代码:

```asm
<myesc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x30,%eax
  cmp    $0x48,%eax
  ja     L14
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D11(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D11(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    $0x8,%eax
  jmp    L108
  mov    $0xc,%eax
  jmp    L108
  mov    $0xa,%eax
  jmp    L108
  mov    $0xd,%eax
  jmp    L108
  mov    $0x9,%eax
  jmp    L108
  mov    $0x7,%eax
  jmp    L108
  mov    $0xb,%eax
  jmp    L108
  movl   $0x1,-0x8(%rbp)
  jmp    L78
L139:
  addl   $0x1,-0x8(%rbp)
L78:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L74
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x30,%eax
  cmp    $0x9,%eax
  jbe    L139
L74:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0xa(%rbp)
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <otoi@plt>
  mov    %al,-0x9(%rbp)
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  movzbl -0xa(%rbp),%eax
  mov    %al,(%rdx)
  movzbl -0x9(%rbp),%eax
  jmp    L108
  movl   $0x2,-0x4(%rbp)
  jmp    L157
L84:
  addl   $0x1,-0x4(%rbp)
L157:
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L133
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isxdigit@plt>
  test   %eax,%eax
  jne    L84
L133:
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0xa(%rbp)
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <htoi@plt>
  mov    %al,-0x9(%rbp)
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  movzbl -0xa(%rbp),%eax
  mov    %al,(%rdx)
  movzbl -0x9(%rbp),%eax
  jmp    L108
L14:
  mov    -0x18(%rbp),%rax
  movzbl 0x1(%rax),%eax
L108:
  leave
  ret
```

assistant: ```c
unsigned char myesc(array)
unsigned char array[];
{
  unsigned char c, esc_char;
  switch (array[1]) {
  case 'b':
    return '\b';
  case 'f':
    return '\f';
  case 'n':
    return '\n';
  case 'r':
    return '\r';
  case 't':
    return '\t';
  case 'a':
    return '\a';
  case 'v':
    return '\v';
  case '0':
  case '1':
  case '2':
  case '3':
  case '4':
  case '5':
  case '6':
  case '7': {
    int 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) && isxdigit((char)array[sptr]))
      ++sptr;
    c = array[sptr];
    array[sptr] = '\0';
    esc_char = htoi(array + 2);
    array[sptr] = c;
    return esc_char;
  }
  default:
    return array[1];
  }
}
```