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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %rsi,-0x20(%rbp)
  cmpl   $0x2,-0x14(%rbp)
  je     L69
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x1,%eax
  jmp    L118
L69:
  movl   $0x0,-0x4(%rbp)
  movl   $0x0,-0x4(%rbp)
  jmp    L77
L64:
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rdx
  mov    -0x4(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x5(%rbp)
  movsbl -0x5(%rbp),%eax
  sub    $0x41,%eax
  cmp    $0x38,%eax
  ja     L15
  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    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L66
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D89(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L66
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D69(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L66
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L66
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D72(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L66
  cmpl   $0x2,-0x4(%rbp)
  jle    L96
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L96
L15:
  movsbl -0x5(%rbp),%edx
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L66
L96:
  nop
L66:
  addl   $0x1,-0x4(%rbp)
L77:
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rdx
  mov    -0x4(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L64
  mov    $0x0,%eax
L118:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D8
data_type: string
name: unpack_data
arguments: data_label: D38
data_type: string
name: unpack_data
arguments: data_label: D89
data_type: string
name: unpack_data
arguments: data_label: D69
data_type: string
name: unpack_data
arguments: data_label: D15
data_type: string
name: unpack_data
arguments: data_label: D72
data_type: string
name: unpack_data
arguments: data_label: D57
data_type: string
name: unpack_data
arguments: data_label: D6
data_type: string

tool: D8: ERROR: you need one argument.

tool: D38: %d: 'A'


tool: D89: %d: 'E'


tool: D69: %d: 'I'


tool: D15: %d: 'O'


tool: D72: %d: 'U'


tool: D57: %d: 'Y'


tool: D6: %d: %c is not a vowel


assistant: ```c
int main(int argc, char *argv[]) {
  if (argc != 2) {
    printf("ERROR: you need one argument.\n");
    return 1;
  }
  int i = 0;
  for (i = 0; argv[1][i] != '\0'; i++) {
    char letter = argv[1][i];
    switch (letter) {
    case 'a':
    case 'A':
      printf("%d: 'A'\n", i);
      break;
    case 'e':
    case 'E':
      printf("%d: 'E'\n", i);
      break;
    case 'i':
    case 'I':
      printf("%d: 'I'\n", i);
      break;
    case 'o':
    case 'O':
      printf("%d: 'O'\n", i);
      break;
    case 'u':
    case 'U':
      printf("%d: 'U'\n", i);
      break;
    case 'y':
    case 'Y':
      if (i > 2) {
        printf("%d: 'Y'\n", i);
      }
      break;
    default:
      printf("%d: %c is not a vowel\n", i, letter);
    }
  }
  return 0;
}
```