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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x50(%rbp)
  movl   $0x0,-0x4c(%rbp)
  movl   $0x0,-0x48(%rbp)
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <gets@plt>
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <strupr@plt>
  movl   $0x0,-0x44(%rbp)
  jmp    L14
L78:
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x2f,%al
  jle    L49
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x39,%al
  jg     L49
  addl   $0x1,-0x54(%rbp)
  jmp    L53
L49:
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x41,%al
  je     L81
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x45,%al
  je     L81
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x49,%al
  je     L81
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x4f,%al
  je     L81
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x55,%al
  jne    L15
L81:
  addl   $0x1,-0x50(%rbp)
  jmp    L53
L15:
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  cmp    $0x20,%al
  jne    L132
  addl   $0x1,-0x4c(%rbp)
  jmp    L53
L132:
  addl   $0x1,-0x48(%rbp)
L53:
  addl   $0x1,-0x44(%rbp)
L14:
  mov    -0x44(%rbp),%eax
  cltq
  movzbl -0x40(%rbp,%rax,1),%eax
  test   %al,%al
  jne    L78
  mov    -0x50(%rbp),%eax
  mov    %eax,%esi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x48(%rbp),%eax
  mov    %eax,%esi
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x54(%rbp),%eax
  mov    %eax,%esi
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4c(%rbp),%eax
  mov    %eax,%esi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L107
  call   <__stack_chk_fail@plt>
L107:
  leave
  ret
```

tool_calls: name: read_data
arguments: tag: D47
type_infered: string
name: read_data
arguments: tag: D0
type_infered: string
name: read_data
arguments: tag: D23
type_infered: string
name: read_data
arguments: tag: D8
type_infered: string
name: read_data
arguments: tag: D1
type_infered: string

tool: D47: enter any string-

tool: D0: vowels=%d

tool: D23: 
consonents=%d

tool: D8: 
digits=%d

tool: D1: 
blank=%d

assistant: ```c
int main() {
  int digit = 0, vowel = 0, blank = 0, consonent = 0;
  char str[50];
  int i;
  printf("enter any string-");
  gets(str);
  strupr(str);
  for (i = 0; str[i] != '\0'; i++) {
    if (str[i] >= 48 && str[i] <= 57)
      digit++;
    else if (str[i] == 'A' || str[i] == 'E' || str[i] == 'I' || str[i] == 'O' || str[i] == 'U')
      vowel++;
    else if (str[i] == ' ')
      blank++;
    else
      consonent++;
  }
  printf("vowels=%d", vowel);
  printf("\nconsonents=%d", consonent);
  printf("\ndigits=%d", digit);
  printf("\nblank=%d", blank);
  return 0;
}
```