user: What is the c source code of the assembly code below:

```asm
<break_string>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xc(%rbp)
  movl   $0x0,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  jmp    L89
L38:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L146
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  jne    L57
L146:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
L57:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L180
  addl   $0x1,-0x10(%rbp)
L180:
  addl   $0x1,-0x18(%rbp)
L89:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L38
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x8(%rbp)
  mov    -0xc(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jle    L107
  movl   $0x0,-0x18(%rbp)
  jmp    L2
L104:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L79
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0xa,(%rax)
L79:
  addl   $0x1,-0x18(%rbp)
L2:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L104
  mov    -0x10(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L170
L107:
  movl   $0x1,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  jmp    L225
L32:
  mov    -0x8(%rbp),%eax
  imul   -0x18(%rbp),%eax
  cltd
  idivl  -0xc(%rbp)
  mov    %eax,-0x4(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L58
L72:
  mov    -0x4(%rbp),%eax
  sub    -0x14(%rbp),%eax
  test   %eax,%eax
  js     L181
  mov    -0x4(%rbp),%eax
  sub    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L181
  mov    -0x4(%rbp),%eax
  sub    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0xa,(%rax)
  addl   $0x1,-0x10(%rbp)
  jmp    L0
L181:
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8(%rbp)
  jle    L3
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L3
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0xa,(%rax)
  addl   $0x1,-0x10(%rbp)
  jmp    L0
L3:
  addl   $0x1,-0x14(%rbp)
L58:
  mov    -0x4(%rbp),%eax
  sub    -0x14(%rbp),%eax
  test   %eax,%eax
  jns    L72
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8(%rbp)
  jg     L72
L0:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jge    L221
  addl   $0x1,-0x18(%rbp)
L225:
  mov    -0x18(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L32
  jmp    L170
L221:
  nop
L170:
  leave
  ret
```

assistant: ```c
void break_string(char *s, int *nlines) {
  int i, j, j0, c, nl, len;
  nl = (*nlines);
  for (i = c = 0; s[i] != '\0'; i++) {
    if (s[i] == '\n' || s[i] == '\t')
      s[i] = ' ';
    if (s[i] == ' ')
      c++;
  }
  len = strlen(s);
  if (nl > c) {
    for (i = 0; s[i] != '\0'; i++)
      if (s[i] == ' ')
        s[i] = '\n';
    (*nlines) = c + 1;
    return;
  }
  for (i = c = 1; i < nl; i++) {
    j0 = len * i / nl;
    for (j = 0; j0 - j >= 0 || j0 + j < len; j++) {
      if (j0 - j >= 0 && s[j0 - j] == ' ') {
        s[j0 - j] = '\n';
        c++;
        break;
      }
      if (j0 + j < len && s[j0 + j] == ' ') {
        s[j0 + j] = '\n';
        c++;
        break;
      }
    }
    if (c >= nl)
      break;
  }
}
```