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

```asm
<get_line>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x18,%rsp
  mov    (%rdi),%r15
  mov    %rcx,(%rsp)
L250:
  mov    (%rbx),%rax
  xor    %ebp,%ebp
  jmp    L163
  nopl   0x0(%rax)
L308:
  mov    (%r12),%r15
  lea    (%r15,%rbp,1),%rdi
  call   <strlen@plt>
  add    %rax,%rbp
  mov    (%rbx),%rax
  lea    -0x1(%rax),%rdx
  cmp    %rbp,%rdx
  jne    L95
  lea    -0x2(%rax),%rdx
  lea    (%r15,%rdx,1),%rcx
  cmpb   $0xa,(%rcx)
  je     L159
L163:
  mov    %rax,%rsi
  sub    %rbp,%rsi
  cmp    $0x9,%rsi
  ja     L176
  mov    %r15,%rdi
  lea    0x50(%rax,%rax,1),%rsi
  call   <realloc@plt>
  mov    %rax,%r15
  test   %rax,%rax
  je     L177
  mov    %rax,(%r12)
  mov    (%rbx),%rax
  lea    0x50(%rax,%rax,1),%rsi
  mov    %rsi,(%rbx)
  sub    %rbp,%rsi
L176:
  lea    (%r15,%rbp,1),%rdi
  mov    %r13,%rdx
  call   <fgets@plt>
  test   %eax,%eax
  jne    L308
  mov    %r13,%rdi
  call   <ferror@plt>
  or     %rbp,%rax
  je     L177
  mov    %r13,%rdi
  call   <ferror@plt>
  test   %rax,%rax
  je     L308
  nopw   0x0(%rax,%rax,1)
L177:
  xor    %eax,%eax
L310:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L95:
  test   %rbp,%rbp
  je     L314
  lea    -0x1(%rbp),%rdx
  lea    (%r15,%rdx,1),%rcx
  cmpb   $0xa,(%rcx)
  je     L270
  add    %rbp,%r15
L314:
  mov    (%rsp),%rax
  xor    %edi,%edi
  addl   $0x1,(%rax)
  cmpb   $0x0,(%r15)
  sete   %dil
  xor    %r15d,%r15d
  call   <assert@plt>
  mov    (%r12),%rdi
  jmp    L246
  nopl   0x0(%rax,%rax,1)
L256:
  cmpb   $0x0,(%rsi)
  lea    0x1(%r15),%rax
  je     L299
  mov    %rax,%r15
L246:
  movsbl (%rdi,%r15,1),%edi
  call   <isspace@plt>
  mov    (%r12),%rdi
  lea    (%rdi,%r15,1),%rsi
  test   %rax,%rax
  jne    L256
L299:
  mov    %rbp,%r8
  sub    %r15,%r8
  lea    0x1(%r8),%rdx
  mov    %r8,0x8(%rsp)
  call   <memmove@plt>
  mov    (%r12),%r15
  cmpb   $0x23,(%r15)
  je     L250
  mov    0x8(%rsp),%r8
  test   %r8,%r8
  je     L118
L3:
  lea    -0x1(%r8),%rbp
  lea    (%r15,%rbp,1),%rax
  mov    %rbp,%r14
  cmpb   $0x5c,(%rax)
  jne    L156
  movb   $0x0,(%rax)
  mov    (%rbx),%rax
  mov    (%r12),%rbp
  jmp    L215
  nopl   0x0(%rax,%rax,1)
L258:
  mov    (%r12),%rbp
  lea    0x0(%rbp,%r14,1),%rdi
  call   <strlen@plt>
  add    %rax,%r14
  mov    (%rbx),%rax
  lea    -0x1(%rax),%rdx
  cmp    %r14,%rdx
  jne    L87
  lea    -0x2(%rax),%r8
  lea    0x0(%rbp,%r8,1),%rdx
  cmpb   $0xa,(%rdx)
  je     L207
L215:
  mov    %rax,%rsi
  sub    %r14,%rsi
  cmp    $0x9,%rsi
  ja     L357
  mov    %rbp,%rdi
  lea    0x50(%rax,%rax,1),%rsi
  call   <realloc@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L177
  mov    %rax,(%r12)
  mov    (%rbx),%rax
  lea    0x50(%rax,%rax,1),%rsi
  mov    %rsi,(%rbx)
  sub    %r14,%rsi
L357:
  lea    0x0(%rbp,%r14,1),%rdi
  mov    %r13,%rdx
  call   <fgets@plt>
  test   %eax,%eax
  jne    L258
  mov    %r13,%rdi
  call   <ferror@plt>
  or     %r14,%rax
  je     L177
  mov    %r13,%rdi
  call   <ferror@plt>
  test   %rax,%rax
  je     L258
  jmp    L177
  nopw   0x0(%rax,%rax,1)
L209:
  mov    (%r12),%r15
  test   %rbp,%rbp
  je     L118
  sub    $0x1,%rbp
L156:
  movsbl (%r15,%rbp,1),%edi
  mov    %r8,%rbx
  mov    %rbp,(%rsp)
  call   <isspace@plt>
  mov    (%rsp),%r8
  test   %rax,%rax
  jne    L209
  add    (%r12),%rbx
  mov    %rbx,%r15
L118:
  movb   $0x0,(%r15)
  mov    $0x1,%eax
  jmp    L310
  nopl   0x0(%rax)
L87:
  test   %r14,%r14
  je     L367
  lea    -0x1(%r14),%r8
  lea    0x0(%rbp,%r8,1),%rdx
  cmpb   $0xa,(%rdx)
  je     L26
  mov    (%rsp),%rax
  xor    %edi,%edi
  addl   $0x1,(%rax)
  cmpb   $0x0,0x0(%rbp,%r14,1)
  sete   %dil
  call   <assert@plt>
  mov    %r14,%r8
L147:
  mov    (%r12),%r15
  jmp    L3
L26:
  mov    (%rsp),%rax
  movb   $0x0,(%rdx)
  mov    %r8,0x8(%rsp)
  addl   $0x1,(%rax)
  mov    (%r12),%rax
  cmpb   $0x0,(%rax,%r8,1)
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    0x8(%rsp),%r8
  test   %r8,%r8
  jne    L147
  jmp    L10
  nopl   0x0(%rax,%rax,1)
L207:
  test   %r14,%r14
  jne    L26
L367:
  mov    (%rsp),%rax
  xor    %edi,%edi
  addl   $0x1,(%rax)
  cmpb   $0x0,0x0(%rbp)
  sete   %dil
  call   <assert@plt>
L10:
  mov    (%r12),%r15
  jmp    L118
  nopl   0x0(%rax)
L159:
  test   %rbp,%rbp
  je     L314
L270:
  movb   $0x0,(%rcx)
  mov    (%r12),%r15
  mov    %rdx,%rbp
  add    %rdx,%r15
  jmp    L314
```

assistant: ```c
int get_line(char **result, size_t *result_len, FILE *f, int *line) {
  size_t pos;
  do {
    pos = 0;
    do {
      if (*result_len - pos < 10) {
        char *newstr = realloc(*result, *result_len * 2 + 80);
        if (newstr == NULL) {
          return 0;
        }
        *result = newstr;
        *result_len = *result_len * 2 + 80;
      }
      if (!fgets(*result + pos, *result_len - pos, f)) {
        if (ferror(f) == 0 && pos == 0)
          return 0;
        if (ferror(f) != 0)
          return 0;
      }
      pos += strlen(*result + pos);
    } while (pos == *result_len - 1 && (*result)[pos - 1] != '\n');
    if (pos != 0 && (*result)[pos - 1] == '\n')
      (*result)[--pos] = '\0';
    (*line)++;
    assert((*result)[pos] == '\0');
    int first = 0;
    while (isspace((*result)[first]) && (*result)[first])
      first++;
    memmove(*result, *result + first, pos - first + 1);
    pos -= first;
  } while ((*result)[0] == '#');
  while (pos && (*result)[pos - 1] == '\\') {
    (*result)[--pos] = '\0';
    do {
      if (*result_len - pos < 10) {
        char *newstr = realloc(*result, *result_len * 2 + 80);
        if (newstr == NULL) {
          return 0;
        }
        *result = newstr;
        *result_len = *result_len * 2 + 80;
      }
      if (!fgets(*result + pos, *result_len - pos, f)) {
        if (ferror(f) == 0 && pos == 0)
          return 0;
        if (ferror(f) != 0)
          return 0;
      }
      pos += strlen(*result + pos);
    } while (pos == *result_len - 1 && (*result)[pos - 1] != '\n');
    if (pos != 0 && (*result)[pos - 1] == '\n')
      (*result)[--pos] = '\0';
    (*line)++;
    assert((*result)[pos] == '\0');
  }
  while (pos && isspace((*result)[pos - 1]))
    pos--;
  (*result)[pos] = '\0';
  return 1;
}
```