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    L254
  nopl   (%rax)
L180:
  cmp    $0xa,%r15d
  je     L57
  mov    D7(%rip),%rbx
  cmp    %r15d,(%rbx)
  je     L265
L254:
  mov    %rbp,%rdi
  call   <fgetc@plt>
  mov    %eax,%edi
  mov    %eax,%r15d
  call   <isspace@plt>
  test   %rax,%rax
  jne    L180
  cmp    $0x23,%r15d
  jne    L226
  mov    D7(%rip),%rbx
  nopw   0x0(%rax,%rax,1)
L60:
  cmpl   $0x23,(%rbx)
  je     L50
  mov    %rbp,%rdi
  call   <skip_to_end@plt>
  jmp    L278
  nop
L248:
  cmp    %r15d,(%rbx)
  je     L94
L278:
  mov    %rbp,%rdi
  call   <fgetc@plt>
  mov    %eax,%edi
  mov    %eax,%r15d
  call   <isspace@plt>
  test   %rax,%rax
  jne    L248
L94:
  cmp    $0x23,%r15d
  je     L60
L226:
  cmp    $0xa,%r15d
  jne    L156
L57:
  movb   $0x0,(%r14)
  mov    $0xa,%r15d
  jmp    L290
  nopl   0x0(%rax,%rax,1)
L50:
  mov    %rbp,%rsi
  mov    $0x23,%edi
  sub    $0x1,%r13d
  call   <ungetc@plt>
  test   %r13d,%r13d
  jle    L69
L154:
  xor    %r12d,%r12d
  jmp    L129
  nop
L277:
  lea    -0x2b(%r15),%eax
  cmp    $0x34,%eax
  ja     L165
  movabs $0x1000000000000d,%rcx
  bt     %rax,%rcx
  jb     L246
L165:
  cmp    %r13d,%r12d
  jge    L295
L39:
  cmp    $0xa,%r15d
  je     L177
L129:
  mov    %rbp,%rdi
  call   <fgetc@plt>
  mov    %eax,%r15d
  cmp    %eax,(%rbx)
  je     L258
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L258
  cmp    $0x23,%r15d
  je     L205
  mov    %r15d,%edi
  call   <ispunct@plt>
  test   %eax,%eax
  jne    L277
L246:
  movslq %r12d,%rax
  add    $0x1,%r12d
  mov    %r15b,(%r14,%rax,1)
  cmp    %r13d,%r12d
  jl     L39
L295:
  movslq %r12d,%r12
  movb   $0x0,(%r14,%r12,1)
  jmp    L290
L258:
  movslq %r12d,%rax
  add    %r14,%rax
  movb   $0x0,(%rax)
  cmp    $0x23,%r15d
  je     L135
L290:
  add    $0x8,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L265:
  cmp    $0x23,%r15d
  je     L60
L156:
  mov    %rbp,%rsi
  mov    %r15d,%edi
  sub    $0x1,%r13d
  call   <ungetc@plt>
  test   %r13d,%r13d
  jg     L66
  movb   $0x0,(%r14)
  jmp    L290
  nopl   0x0(%rax)
L205:
  movslq %r12d,%r12
  movb   $0x0,(%r14,%r12,1)
L135:
  add    $0x8,%rsp
  mov    %rbp,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1090 <skip_to_end@plt>
L177:
  movslq %r12d,%r12
  mov    $0xa,%r15d
  add    %r12,%r14
  movb   $0x0,(%r14)
  jmp    L290
L69:
  movb   $0x0,(%r14)
  jmp    L135
L66:
  mov    D7(%rip),%rbx
  jmp    L154
```

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