user: 下面的汇编指令对应的C源代码是什么：

```asm
<GetString>:
  endbr64
  push   %r15
  push   %r14
  mov    %rsi,%r14
  push   %r13
  mov    %edi,%r13d
  push   %r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  sub    $0x8,%rsp
  jmp    L292
  nopl   (%rax)
L158:
  cmp    $0xa,%r15d
  je     L22
  mov    D25(%rip),%rbx
  cmp    %r15d,(%rbx)
  je     L116
L292:
  mov    %rbp,%rdi
  call   <fgetc@plt>
  mov    %eax,%edi
  mov    %eax,%r15d
  call   <isspace@plt>
  test   %rax,%rax
  jne    L158
  cmp    $0x23,%r15d
  jne    L123
  mov    D25(%rip),%rbx
  nopw   0x0(%rax,%rax,1)
L216:
  cmpl   $0x23,(%rbx)
  je     L256
  mov    %rbp,%rdi
  call   <skip_to_end@plt>
  jmp    L221
  nop
L56:
  cmp    %r15d,(%rbx)
  je     L104
L221:
  mov    %rbp,%rdi
  call   <fgetc@plt>
  mov    %eax,%edi
  mov    %eax,%r15d
  call   <isspace@plt>
  test   %rax,%rax
  jne    L56
L104:
  cmp    $0x23,%r15d
  je     L216
L123:
  cmp    $0xa,%r15d
  jne    L173
L22:
  movb   $0x0,(%r14)
  mov    $0xa,%r15d
  jmp    L127
  nopl   0x0(%rax,%rax,1)
L256:
  mov    %rbp,%rsi
  mov    $0x23,%edi
  sub    $0x1,%r13d
  call   <ungetc@plt>
  test   %r13d,%r13d
  jle    L72
L134:
  xor    %r12d,%r12d
  jmp    L124
  nop
L76:
  lea    -0x2b(%r15),%eax
  cmp    $0x34,%eax
  ja     L246
  movabs $0x1000000000000d,%rcx
  bt     %rax,%rcx
  jb     L288
L246:
  cmp    %r13d,%r12d
  jge    L220
L244:
  cmp    $0xa,%r15d
  je     L272
L124:
  mov    %rbp,%rdi
  call   <fgetc@plt>
  mov    %eax,%r15d
  cmp    %eax,(%rbx)
  je     L33
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L33
  cmp    $0x23,%r15d
  je     L114
  mov    %r15d,%edi
  call   <ispunct@plt>
  test   %eax,%eax
  jne    L76
L288:
  movslq %r12d,%rax
  add    $0x1,%r12d
  mov    %r15b,(%r14,%rax,1)
  cmp    %r13d,%r12d
  jl     L244
L220:
  movslq %r12d,%r12
  movb   $0x0,(%r14,%r12,1)
  jmp    L127
L33:
  movslq %r12d,%rax
  add    %r14,%rax
  movb   $0x0,(%rax)
  cmp    $0x23,%r15d
  je     L82
L127:
  add    $0x8,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L116:
  cmp    $0x23,%r15d
  je     L216
L173:
  mov    %rbp,%rsi
  mov    %r15d,%edi
  sub    $0x1,%r13d
  call   <ungetc@plt>
  test   %r13d,%r13d
  jg     L185
  movb   $0x0,(%r14)
  jmp    L127
  nopl   0x0(%rax)
L114:
  movslq %r12d,%r12
  movb   $0x0,(%r14,%r12,1)
L82:
  add    $0x8,%rsp
  mov    %rbp,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1090 <skip_to_end@plt>
L272:
  movslq %r12d,%r12
  mov    $0xa,%r15d
  add    %r12,%r14
  movb   $0x0,(%r14)
  jmp    L127
L72:
  movb   $0x0,(%r14)
  jmp    L82
L185:
  mov    D25(%rip),%rbx
  jmp    L134
```

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;
}
```