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

```asm
<reverseVowels>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  movq   $0x0,-0x10(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,-0x8(%rbp)
  movq   $0x0,-0x20(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L109
  mov    -0x8(%rbp),%rax
  sub    $0x1,%rax
  jmp    L111
L109:
  mov    $0x0,%eax
L111:
  mov    %rax,-0x18(%rbp)
  movb   $0x0,-0x21(%rbp)
  cmpq   $0x0,-0x38(%rbp)
  jne    L19
  mov    $0x0,%eax
  jmp    L26
L19:
  mov    -0x8(%rbp),%rax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  cmpq   $0x0,-0x8(%rbp)
  jne    L145
  mov    -0x10(%rbp),%rax
  jmp    L26
L133:
  mov    -0x10(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x41,%eax
  cmp    $0x34,%eax
  seta   %dl
  test   %dl,%dl
  jne    L47
  movabs $0x10411100104111,%rdx
  mov    %eax,%ecx
  shr    %cl,%rdx
  mov    %rdx,%rax
  and    $0x1,%eax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  je     L47
  jmp    L82
L129:
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x41,%eax
  cmp    $0x34,%eax
  seta   %dl
  test   %dl,%dl
  jne    L17
  movabs $0x10411100104111,%rdx
  mov    %eax,%ecx
  shr    %cl,%rdx
  mov    %rdx,%rax
  and    $0x1,%eax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  je     L17
  mov    -0x10(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x21(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%rcx
  mov    -0x20(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x21(%rbp),%eax
  mov    %al,(%rdx)
  nop
L17:
  subq   $0x1,-0x18(%rbp)
  cmpb   $0x0,-0x21(%rbp)
  je     L82
  movb   $0x0,-0x21(%rbp)
  nop
  jmp    L95
L82:
  mov    -0x18(%rbp),%rax
  cmp    -0x20(%rbp),%rax
  ja     L129
L95:
  nop
L47:
  addq   $0x1,-0x20(%rbp)
L145:
  mov    -0x20(%rbp),%rax
  cmp    -0x18(%rbp),%rax
  jb     L133
  mov    -0x10(%rbp),%rax
L26:
  leave
  ret
```

assistant: ```c
char *reverseVowels(char *s) {
  char *retval = NULL;
  size_t slen = strlen(s);
  size_t i = 0;
  size_t j = slen == 0 ? 0 : slen - 1;
  char swap = '\0';
  if (!s) {
    return NULL;
  }
  retval = (char *)malloc(sizeof(char) * (slen + 1));
  strcpy(retval, s);
  if (!slen) {
    return retval;
  }
  while (i < j) {
    switch (retval[i]) {
    case 'a':
    case 'e':
    case 'i':
    case 'o':
    case 'u':
    case 'A':
    case 'E':
    case 'I':
    case 'O':
    case 'U':
      while (j > i) {
        switch (retval[j]) {
        case 'a':
        case 'e':
        case 'i':
        case 'o':
        case 'u':
        case 'A':
        case 'E':
        case 'I':
        case 'O':
        case 'U':
          swap = retval[i];
          retval[i] = retval[j];
          retval[j] = swap;
          break;
        }
        --j;
        if (swap) {
          swap = '\0';
          break;
        }
      }
      break;
    }
    ++i;
  }
  return retval;
}
```