user: Demonstrate the C code that generates the assembly output below:

```asm
<GetString>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  movl   $0x0,-0x8(%rbp)
L88:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <fgetc@plt>
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L196
  cmpl   $0xa,-0x4(%rbp)
  je     L196
  mov    D24(%rip),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x4(%rbp)
  jne    L88
  jmp    L196
L207:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <skip_to_end@plt>
  mov    %eax,-0x4(%rbp)
  nop
L23:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <fgetc@plt>
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L196
  mov    D24(%rip),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x4(%rbp)
  jne    L23
L196:
  cmpl   $0x23,-0x4(%rbp)
  jne    L108
  cmpl   $0xa,-0x4(%rbp)
  je     L108
  mov    D24(%rip),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x4(%rbp)
  jne    L207
L108:
  cmpl   $0xa,-0x4(%rbp)
  je     L133
  mov    -0x28(%rbp),%rdx
  mov    -0x4(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <ungetc@plt>
  jmp    L133
L52:
  cmpl   $0x23,-0x4(%rbp)
  jne    L193
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <skip_to_end@plt>
  mov    %eax,-0x4(%rbp)
L193:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <ispunct@plt>
  test   %eax,%eax
  je     L104
  cmpl   $0x5f,-0x4(%rbp)
  je     L104
  cmpl   $0x2d,-0x4(%rbp)
  je     L104
  cmpl   $0x2e,-0x4(%rbp)
  je     L104
  cmpl   $0x2b,-0x4(%rbp)
  jne    L133
L104:
  mov    -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x8(%rbp)
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  mov    %dl,(%rax)
L133:
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x8(%rbp)
  jge    L164
  cmpl   $0xa,-0x4(%rbp)
  je     L164
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <fgetc@plt>
  mov    %eax,-0x4(%rbp)
  mov    D24(%rip),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x4(%rbp)
  je     L164
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L164
  cmpl   $0x23,-0x4(%rbp)
  jne    L52
L164:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  cmpl   $0x23,-0x4(%rbp)
  jne    L54
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <skip_to_end@plt>
  mov    %eax,-0x4(%rbp)
L54:
  mov    -0x4(%rbp),%eax
  leave
  ret
```

assistant: ```c
int GetString(int maxsize, char *string, FILE *fp) {
  int i = 0;
  int c;
  do {
    c = fgetc(fp);
  } while (isspace(c) && c != '\n' && c != EOF);
  while (c == '#' && c != '\n' && c != EOF) {
    c = skip_to_end(fp);
    while (isspace(c = fgetc(fp)) && c != EOF)
      ;
  }
  if (c != '\n')
    ungetc(c, fp);
  while (i < (maxsize - 1) && c != '\n' && (c = fgetc(fp)) != EOF && !isspace(c) && c != '#') {
    if (c == '#') {
      c = skip_to_end(fp);
    }
    if (!ispunct(c) || c == '_' || c == '-' || c == '.' || c == '+')
      string[i++] = c;
  };
  string[i] = '\0';
  if (c == '#') {
    c = skip_to_end(fp);
  }
  return c;
}
```