user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<splitline>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,-0x48(%rbp)
  movl   $0x0,-0x38(%rbp)
  movl   $0x0,-0x34(%rbp)
  movl   $0x0,-0x30(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  cmpq   $0x0,-0x48(%rbp)
  jne    L109
  mov    $0x0,%eax
  jmp    L26
L109:
  mov    D48(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  call   <emalloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    D48(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,-0x34(%rbp)
  mov    D48(%rip),%rax
  mov    (%rax),%eax
  cltq
  shr    $0x3,%rax
  mov    %eax,-0x38(%rbp)
  jmp    L19
L93:
  addq   $0x1,-0x20(%rbp)
L44:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L93
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L93
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L82
  mov    -0x30(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x38(%rbp)
  jg     L11
  mov    D48(%rip),%rax
  mov    (%rax),%edx
  mov    -0x34(%rbp),%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <erealloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    D48(%rip),%rax
  mov    (%rax),%eax
  add    %eax,-0x34(%rbp)
  mov    D48(%rip),%rax
  mov    (%rax),%eax
  cltq
  shr    $0x3,%rax
  mov    %eax,%edx
  mov    -0x38(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x38(%rbp)
L11:
  mov    -0x20(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  movl   $0x1,-0x2c(%rbp)
  jmp    L3
L40:
  addl   $0x1,-0x2c(%rbp)
L3:
  addq   $0x1,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L1
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L1
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  jne    L40
L1:
  mov    -0x30(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x30(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  mov    -0x2c(%rbp),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <newstr@plt>
  mov    %rax,(%rbx)
L19:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L44
  jmp    L33
L82:
  nop
L33:
  mov    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
  mov    -0x28(%rbp),%rax
L26:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
char **splitline(char *line) {
  char *newstr();
  char **args;
  int spots = 0;
  int bufspace = 0;
  int argnum = 0;
  char *cp = line;
  char *start;
  int len;
  if (line == NULL)
    return NULL;
  args = emalloc(BUFSIZ);
  bufspace = BUFSIZ;
  spots = BUFSIZ / sizeof(char *);
  while (*cp != '\0') {
    while (((*cp) == ' ' || (*cp) == '\t'))
      cp++;
    if (*cp == '\0')
      break;
    if (argnum + 1 >= spots) {
      args = erealloc(args, bufspace + BUFSIZ);
      bufspace += BUFSIZ;
      spots += BUFSIZ / sizeof(char *);
    }
    start = cp;
    len = 1;
    while (*++cp != '\0' && !((*cp) == ' ' || (*cp) == '\t'))
      len++;
    args[argnum++] = newstr(start, len);
  }
  args[argnum] = NULL;
  return args;
}
```