user: 请从给定的汇编指令推导出C源代码：

```asm
<collapse_continuations>:
  endbr64
  push   %r15
  mov    $0xa,%esi
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,0x8(%rsp)
  call   <strchr@plt>
  test   %rax,%rax
  je     L65
  mov    %rax,%rbx
  mov    %rax,%r12
  cmp    %rax,%r15
  jb     L34
  jmp    L198
  nopw   0x0(%rax,%rax,1)
L293:
  sub    $0x1,%r12
  cmp    %r12,0x8(%rsp)
  je     L198
L34:
  cmpb   $0x5c,-0x1(%r12)
  je     L293
L198:
  cmpb   $0x0,(%rbx)
  je     L63
  mov    0x8(%rsp),%rax
  lea    -0x1(%rbx),%r14
  lea    0x1(%rbx),%rbp
  lea    -0x1(%rax),%r13
  cmp    %r14,0x8(%rsp)
  ja     L141
  nopl   0x0(%rax,%rax,1)
L85:
  xor    %r15d,%r15d
  xor    %r8d,%r8d
  lea    -0x1(%r12),%rdx
  jmp    L89
  nopl   (%rax)
L129:
  sub    $0x1,%r14
  cmp    %r13,%r14
  je     L328
L89:
  cmpb   $0x5c,(%r14)
  jne    L328
  cmp    $0x1,%r8d
  sbb    $0xffffffff,%r15d
  xor    $0x1,%r8d
  cmp    %rdx,%rbx
  jne    L129
  xor    %eax,%eax
  sub    $0x1,%r14
  mov    %rdx,0x18(%rsp)
  mov    %r8d,0x14(%rsp)
  call   <abort@plt>
  mov    0x18(%rsp),%rdx
  mov    0x14(%rsp),%r8d
  cmp    %r13,%r14
  jne    L89
  nopl   0x0(%rax)
L328:
  test   %r15d,%r15d
  je     L228
  mov    %r15,%rdx
  mov    $0x5c,%esi
  mov    %r12,%rdi
  mov    %r8d,0x14(%rsp)
  call   <memset@plt>
  mov    0x14(%rsp),%r8d
  add    %r12,%r15
L122:
  test   %r8d,%r8d
  jne    L152
L40:
  movb   $0xa,(%r15)
  lea    0x1(%r15),%r12
L223:
  movzbl 0x0(%rbp),%eax
  test   %al,%al
  je     L63
L60:
  lea    0x1(%rbp),%rbx
  cmp    $0x5c,%al
  je     L298
  mov    %rbx,%rbp
  mov    %al,(%r12)
  add    $0x1,%r12
  movzbl 0x0(%rbp),%eax
  test   %al,%al
  jne    L60
L63:
  movb   $0x0,(%r12)
L65:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L298:
  movzbl 0x1(%rbp),%eax
  cmp    $0x5c,%al
  jne    L88
  nopl   0x0(%rax,%rax,1)
L273:
  movzbl 0x1(%rbx),%eax
  add    $0x1,%rbx
  cmp    $0x5c,%al
  je     L273
L88:
  cmp    $0xa,%al
  je     L224
  cmp    %rbx,%rbp
  jae    L223
  mov    %rbx,%rsi
  xor    %eax,%eax
  sub    %rbp,%rsi
  nopl   (%rax)
L8:
  movzbl 0x0(%rbp,%rax,1),%edx
  mov    %dl,(%r12,%rax,1)
  add    $0x1,%rax
  cmp    %rax,%rsi
  jne    L8
  add    %rsi,%r12
  mov    %rbx,%rbp
  jmp    L223
L224:
  cmpb   $0x0,(%rbx)
  je     L63
  lea    -0x1(%rbx),%r14
  lea    0x1(%rbx),%rbp
  cmp    %r14,0x8(%rsp)
  jbe    L85
L141:
  mov    %r12,%r15
  jmp    L40
L152:
  mov    %rbp,%rdi
  call   <next_token@plt>
  mov    %rax,%rbp
  cmp    %r15,0x8(%rsp)
  jb     L57
  jmp    L22
  nopl   0x0(%rax)
L73:
  lea    -0x1(%r15),%rax
  cmp    %rax,0x8(%rsp)
  je     L98
  mov    %rax,%r15
L57:
  movzbl -0x1(%r15),%eax
  cmp    $0x20,%al
  je     L73
  cmp    $0x9,%al
  je     L73
L22:
  lea    0x1(%r15),%r12
L235:
  movb   $0x20,(%r15)
  jmp    L223
L98:
  mov    %r15,%r12
  mov    0x8(%rsp),%r15
  jmp    L235
L228:
  mov    %r12,%r15
  jmp    L122
```

assistant: ```c
void collapse_continuations(char *line) {
  register char *in, *out, *p;
  register int backslash;
  register unsigned int bs_write;
  in = strchr(line, '\n');
  if (in == 0)
    return;
  out = in;
  while (out > line && out[-1] == '\\')
    --out;
  while (*in != '\0') {
    backslash = 0;
    bs_write = 0;
    for (p = in - 1; p >= line && *p == '\\'; --p) {
      if (backslash)
        ++bs_write;
      backslash = !backslash;
      if (in == out - 1)
        abort();
    }
    while (bs_write-- > 0)
      *out++ = '\\';
    ++in;
    if (backslash) {
      in = next_token(in);
      while (out > line && (((unsigned char)out[-1]) == ' ' || ((unsigned char)out[-1]) == '\t'))
        --out;
      *out++ = ' ';
    } else
      *out++ = '\n';
    while (*in != '\0')
      if (*in == '\\') {
        p = in + 1;
        while (*p == '\\')
          ++p;
        if (*p == '\n') {
          in = p;
          break;
        }
        while (in < p)
          *out++ = *in++;
      } else
        *out++ = *in++;
  }
  *out = '\0';
}
```