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

```asm
<string_line_pack>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,-0x58(%rbp)
  movb   $0x20,-0x49(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  movl   $0x0,-0x48(%rbp)
  movl   $0x0,-0x44(%rbp)
  movl   $0x1,-0x40(%rbp)
  jmp    L561
L248:
  addq   $0x1,-0x30(%rbp)
L561:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,-0x49(%rbp)
  je     L248
  jmp    L270
L50:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x27,%al
  jne    L532
  cmpl   $0x2,-0x44(%rbp)
  je     L532
  cmpl   $0x0,-0x44(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x44(%rbp)
  jmp    L186
L532:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L49
  cmpl   $0x1,-0x44(%rbp)
  je     L49
  cmpl   $0x0,-0x44(%rbp)
  jne    L548
  mov    $0x2,%eax
  jmp    L418
L548:
  mov    $0x0,%eax
L418:
  mov    %eax,-0x44(%rbp)
  jmp    L186
L49:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5c,%al
  jne    L118
  cmpl   $0x1,-0x44(%rbp)
  je     L118
  mov    -0x30(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L118
  movl   $0x0,-0x40(%rbp)
  addq   $0x1,-0x30(%rbp)
  jmp    L186
L118:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,-0x49(%rbp)
  jne    L550
  cmpl   $0x0,-0x40(%rbp)
  jne    L550
  cmpl   $0x0,-0x44(%rbp)
  jne    L550
  addl   $0x1,-0x48(%rbp)
L550:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,-0x49(%rbp)
  jne    L217
  cmpl   $0x0,-0x44(%rbp)
  jne    L217
  mov    $0x1,%eax
  jmp    L229
L217:
  mov    $0x0,%eax
L229:
  mov    %eax,-0x40(%rbp)
L186:
  addq   $0x1,-0x30(%rbp)
L270:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L50
  cmpl   $0x0,-0x40(%rbp)
  jne    L225
  addl   $0x1,-0x48(%rbp)
L225:
  mov    -0x48(%rbp),%eax
  add    $0x1,%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  movl   $0x0,-0x3c(%rbp)
  jmp    L237
L510:
  movl   $0x0,-0x38(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L143
L390:
  addq   $0x1,-0x28(%rbp)
L143:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,-0x49(%rbp)
  je     L390
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  jmp    L102
L189:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x27,%al
  jne    L362
  cmpl   $0x2,-0x44(%rbp)
  je     L362
  cmpl   $0x0,-0x44(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x44(%rbp)
  subl   $0x1,-0x38(%rbp)
  jmp    L76
L362:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L576
  cmpl   $0x1,-0x44(%rbp)
  je     L576
  cmpl   $0x0,-0x44(%rbp)
  jne    L152
  mov    $0x2,%eax
  jmp    L599
L152:
  mov    $0x0,%eax
L599:
  mov    %eax,-0x44(%rbp)
  subl   $0x1,-0x38(%rbp)
  jmp    L76
L576:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5c,%al
  jne    L286
  cmpl   $0x1,-0x44(%rbp)
  je     L286
  mov    -0x30(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L286
  subl   $0x1,-0x38(%rbp)
  addq   $0x1,-0x30(%rbp)
  jmp    L76
L286:
  cmpl   $0x0,-0x44(%rbp)
  jne    L76
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,-0x49(%rbp)
  je     L279
L76:
  addq   $0x1,-0x30(%rbp)
L102:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L189
  jmp    L164
L279:
  nop
L164:
  mov    -0x30(%rbp),%rax
  sub    -0x28(%rbp),%rax
  mov    %eax,%edx
  mov    -0x38(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x38(%rbp)
  mov    -0x38(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  jne    L89
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <string_pack_free@plt>
  mov    $0x0,%eax
  jmp    L371
L89:
  movl   $0x0,-0x34(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L120
L408:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x27,%al
  jne    L300
  cmpl   $0x2,-0x44(%rbp)
  je     L300
  cmpl   $0x0,-0x44(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x44(%rbp)
  jmp    L497
L300:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L245
  cmpl   $0x1,-0x44(%rbp)
  je     L245
  cmpl   $0x0,-0x44(%rbp)
  jne    L289
  mov    $0x2,%eax
  jmp    L142
L289:
  mov    $0x0,%eax
L142:
  mov    %eax,-0x44(%rbp)
  jmp    L497
L245:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5c,%al
  jne    L407
  cmpl   $0x1,-0x44(%rbp)
  je     L407
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L407
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    -0x34(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x18(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  mov    %eax,%edi
  call   <char_unescape@plt>
  mov    %al,(%rbx)
  addl   $0x1,-0x34(%rbp)
  addq   $0x1,-0x28(%rbp)
  jmp    L497
L407:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x34(%rbp)
L497:
  addq   $0x1,-0x28(%rbp)
L120:
  mov    -0x28(%rbp),%rax
  cmp    -0x30(%rbp),%rax
  jne    L408
  mov    -0x38(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%rax
  mov    %rax,(%rdx)
  addl   $0x1,-0x3c(%rbp)
L237:
  mov    -0x3c(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  jl     L510
  mov    -0x48(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
  mov    -0x20(%rbp),%rax
L371:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
char **string_line_pack(const char *buf) {
  const char delimiter = ' ', *p = buf;
  int elements = 0, quote = 0;
  bool isdelimiter = true;
  while (*p == delimiter)
    ++p;
  while (*p != '\0') {
    if (*p == '\'' && quote != 2)
      quote = quote == 0 ? 1 : 0;
    else if (*p == '"' && quote != 1)
      quote = quote == 0 ? 2 : 0;
    else if (*p == '\\' && quote != 1 && *(p + 1) != '\0') {
      isdelimiter = false;
      ++p;
    } else {
      if (*p == delimiter && !isdelimiter && quote == 0)
        ++elements;
      isdelimiter = (*p == delimiter && quote == 0);
    }
    ++p;
  }
  if (!isdelimiter)
    ++elements;
  char **packed = (char **)malloc((elements + 1) * sizeof(char *));
  const char *q = buf;
  for (int i = 0; i < elements; i++) {
    int length = 0;
    quote = 0;
    while (*q == delimiter)
      ++q;
    p = q;
    while (*p != '\0') {
      if (*p == '\'' && quote != 2) {
        quote = quote == 0 ? 1 : 0;
        length -= 1;
      } else if (*p == '"' && quote != 1) {
        quote = quote == 0 ? 2 : 0;
        length -= 1;
      } else if (*p == '\\' && quote != 1 && *(p + 1) != '\0') {
        length -= 1;
        p += 1;
      } else if (quote == 0 && *p == delimiter)
        break;
      ++p;
    }
    length += p - q;
    char *newstr = (char *)malloc(length + 1);
    if (!newstr) {
      string_pack_free(packed);
      return NULL;
    }
    int j = 0;
    quote = 0;
    for (; q != p; q++) {
      if (*q == '\'' && quote != 2)
        quote = quote == 0 ? 1 : 0;
      else if (*q == '"' && quote != 1)
        quote = quote == 0 ? 2 : 0;
      else if (*q == '\\' && quote != 1 && *(q + 1) != '\0') {
        newstr[j] = char_unescape(*(q + 1));
        ++j;
        q += 1;
      } else {
        newstr[j] = *q;
        ++j;
      }
    }
    newstr[length] = '\0';
    packed[i] = newstr;
  }
  packed[elements] = NULL;
  return packed;
}
```