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

```asm
<prompt_player>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <input_line@plt>
  jmp    L44
L121:
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  mov    $0xffffffff,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <shftstr@plt>
L44:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L41
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jle    L121
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jg     L121
  jmp    L41
L113:
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    -0x1(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
L41:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L40
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    -0x1(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jle    L113
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    -0x1(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jg     L113
L40:
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L116
L27:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jle    L91
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jle    L196
L91:
  movl   $0x0,-0xc(%rbp)
  jmp    L21
L134:
  addl   $0x1,-0xc(%rbp)
  addq   $0x1,-0x8(%rbp)
L21:
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L165
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jle    L134
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jg     L134
L165:
  mov    -0x8(%rbp),%rax
  movb   $0x20,(%rax)
  cmpl   $0x0,-0xc(%rbp)
  je     L196
  mov    -0xc(%rbp),%eax
  neg    %eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <shftstr@plt>
  mov    -0xc(%rbp),%eax
  cltq
  neg    %rax
  add    %rax,-0x8(%rbp)
L196:
  addq   $0x1,-0x8(%rbp)
L116:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L27
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L190
L14:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x60,%al
  jle    L102
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jg     L102
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  and    $0xffffffdf,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %dl,(%rax)
L102:
  addq   $0x1,-0x8(%rbp)
L190:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L14
  nop
  leave
  ret
```

assistant: ```c
prompt_player(command) char *command;
{
  char *pos;
  int len;
  input_line(command);
  while ((*command != '\0') && (((*command) < '!') || ((*command) > 'z')))
    shftstr(command + 1, -1);
  while ((*command != '\0') && (((*(command + strlen(command) - 1)) < '!') || ((*(command + strlen(command) - 1)) > 'z')))
    *(command + strlen(command) - 1) = '\0';
  for (pos = command; *pos != '\0'; ++pos) {
    if ((((*pos) < '!') || ((*pos) > 'z'))) {
      len = 0;
      while ((*(pos + 1) != '\0') && (((*(pos + 1)) < '!') || ((*(pos + 1)) > 'z'))) {
        ++len;
        ++pos;
      }
      *pos = ' ';
      if (len) {
        shftstr(pos, -len);
        pos -= len;
      }
    }
  }
  for (pos = command; *pos != '\0'; ++pos)
    if ((*pos >= 'a') && (*pos <= 'z'))
      *pos &= 0xdf;
}
```