user: What is the c source code of the assembly code below?

```asm
<remove_spaces>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x1,-0x14(%rbp)
  movl   $0x0,-0x10(%rbp)
  mov    $0x200,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    $0x200,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0xc(%rbp)
  jmp    L152
L19:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  jne    L60
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
L60:
  addl   $0x1,-0xc(%rbp)
L152:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L19
  movl   $0x0,-0x1c(%rbp)
  jmp    L17
L39:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L18
  cmpl   $0x0,-0x10(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x10(%rbp)
  jmp    L27
L18:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L27
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L58
  cmpl   $0x0,-0x10(%rbp)
  je     L31
L58:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L53
  cmpl   $0x0,-0x10(%rbp)
  je     L53
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x18(%rbp)
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2a,(%rax)
  jmp    L27
L53:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x18(%rbp)
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
  movl   $0x1,-0x14(%rbp)
  jmp    L27
L31:
  cmpl   $0x0,-0x14(%rbp)
  je     L12
  cmpl   $0x0,-0x1c(%rbp)
  je     L12
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L12
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x18(%rbp)
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
L12:
  movl   $0x0,-0x14(%rbp)
L27:
  addl   $0x1,-0x1c(%rbp)
L17:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L39
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  nop
  leave
  ret
```

assistant: ```c
void remove_spaces(char *input) {
  int i, j = 0;
  int first = 1;
  int doubleCouts = 0;
  char *temp;
  temp = (char *)malloc(512 * sizeof(char));
  memset(temp, 0, 512);
  int k = 0;
  while (input[k] != '\0') {
    if (input[k] == '\t')
      input[k] = ' ';
    k++;
  }
  for (i = 0; input[i] != '\0'; i++) {
    if (input[i] == '\"') {
      doubleCouts = !doubleCouts;
    } else {
      if (input[i] == '\n') {
      } else if (input[i] != ' ' || doubleCouts) {
        if (input[i] == ' ' && doubleCouts) {
          temp[j++] = '*';
        } else {
          temp[j++] = input[i];
          first = 1;
        }
      } else {
        if (first && i != 0 && input[i] != '\n') {
          temp[j++] = ' ';
        }
        first = 0;
      }
    }
  }
  temp[j] = '\0';
  strcpy(input, temp);
}
```