user: Please show me the C implementation that matches the assembly code listed below:

```asm
<fullJustify>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  mov    %rcx,-0x78(%rbp)
  movl   $0x64,-0x48(%rbp)
  movl   $0x0,-0x5c(%rbp)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x70(%rbp),%eax
  add    $0x1,%eax
  imul   -0x48(%rbp),%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x20(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L220
L187:
  mov    -0x70(%rbp),%eax
  add    $0x1,%eax
  imul   -0x60(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    -0x20(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rdx,(%rax)
  addl   $0x1,-0x60(%rbp)
L220:
  mov    -0x60(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  jl     L187
  mov    -0x6c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L55
L50:
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x18(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,(%rbx)
  addl   $0x1,-0x60(%rbp)
L55:
  mov    -0x60(%rbp),%eax
  cmp    -0x6c(%rbp),%eax
  jl     L50
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x50(%rbp)
  movl   $0x0,-0x4c(%rbp)
  movl   $0x0,-0x60(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L157
L112:
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x54(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x70(%rbp)
  jge    L204
  cmpl   $0x1,-0x58(%rbp)
  je     L87
  mov    -0x70(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x58(%rbp),%edx
  lea    -0x1(%rdx),%ebx
  cltd
  idiv   %ebx
  jmp    L200
L87:
  mov    $0x0,%eax
L200:
  mov    %eax,-0x38(%rbp)
  cmpl   $0x1,-0x58(%rbp)
  je     L206
  mov    -0x70(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x58(%rbp),%edx
  lea    -0x1(%rdx),%ecx
  cltd
  idiv   %ecx
  mov    %edx,%eax
  jmp    L2
L206:
  mov    $0x0,%eax
L2:
  mov    %eax,-0x34(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x38(%rbp),%r9d
  mov    -0x70(%rbp),%r8d
  mov    -0x18(%rbp),%rcx
  mov    -0x68(%rbp),%rdx
  mov    -0x54(%rbp),%esi
  sub    $0x8,%rsp
  mov    -0x60(%rbp),%edi
  push   %rdi
  mov    -0x50(%rbp),%edi
  push   %rdi
  mov    -0x34(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  call   <line_fill@plt>
  add    $0x20,%rsp
  addl   $0x1,-0x5c(%rbp)
  movl   $0x1,-0x58(%rbp)
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    $0x1,%eax
  mov    %eax,-0x54(%rbp)
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x60(%rbp),%eax
  mov    %eax,-0x50(%rbp)
  jmp    L90
L204:
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x54(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x70(%rbp)
  jne    L4
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,-0x4c(%rbp)
  cmpl   $0x0,-0x58(%rbp)
  je     L196
  mov    -0x70(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  cltd
  idivl  -0x58(%rbp)
  jmp    L211
L196:
  mov    $0x0,%eax
L211:
  mov    %eax,-0x40(%rbp)
  cmpl   $0x0,-0x58(%rbp)
  je     L26
  mov    -0x70(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  cltd
  idivl  -0x58(%rbp)
  mov    %edx,%eax
  jmp    L202
L26:
  mov    $0x0,%eax
L202:
  mov    %eax,-0x3c(%rbp)
  mov    -0x60(%rbp),%eax
  lea    0x1(%rax),%edi
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x40(%rbp),%r9d
  mov    -0x70(%rbp),%r8d
  mov    -0x18(%rbp),%rcx
  mov    -0x68(%rbp),%rdx
  mov    -0x54(%rbp),%esi
  sub    $0x8,%rsp
  push   %rdi
  mov    -0x50(%rbp),%edi
  push   %rdi
  mov    -0x3c(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  call   <line_fill@plt>
  add    $0x20,%rsp
  addl   $0x1,-0x5c(%rbp)
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x4c(%rbp)
  mov    -0x60(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x50(%rbp)
  jmp    L90
L4:
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,-0x4c(%rbp)
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    $0x1,%eax
  add    %eax,-0x54(%rbp)
  addl   $0x1,-0x58(%rbp)
L90:
  addl   $0x1,-0x60(%rbp)
L157:
  mov    -0x60(%rbp),%eax
  cmp    -0x6c(%rbp),%eax
  jl     L112
  cmpl   $0x0,-0x58(%rbp)
  jle    L120
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x50(%rbp),%eax
  mov    %eax,-0x60(%rbp)
  jmp    L226
L9:
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  add    %rax,-0x30(%rbp)
  mov    -0x50(%rbp),%edx
  mov    -0x58(%rbp),%eax
  add    %edx,%eax
  sub    $0x1,%eax
  cmp    %eax,-0x60(%rbp)
  jge    L138
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movb   $0x20,(%rax)
L138:
  addl   $0x1,-0x60(%rbp)
L226:
  mov    -0x50(%rbp),%edx
  mov    -0x58(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x60(%rbp)
  jl     L9
  jmp    L98
L181:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movb   $0x20,(%rax)
L98:
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rcx
  mov    -0x30(%rbp),%rax
  sub    %rcx,%rax
  mov    %rax,%rdx
  mov    -0x70(%rbp),%eax
  cltq
  cmp    %rax,%rdx
  jl     L181
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movb   $0x0,(%rax)
  addl   $0x1,-0x5c(%rbp)
L120:
  mov    -0x78(%rbp),%rax
  mov    -0x5c(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x28(%rbp),%rax
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
char **fullJustify(char **words, int wordsSize, int maxWidth, int *returnSize) {
  int i, j, k, cap = 100, count = 0;
  char **lines = malloc(cap * sizeof(char *));
  char *buf = malloc(cap * (maxWidth + 1));
  for (i = 0; i < cap; i++) {
    lines[i] = buf + i * (maxWidth + 1);
  }
  int *word_lens = malloc(wordsSize * sizeof(int));
  for (i = 0; i < wordsSize; i++) {
    word_lens[i] = strlen(words[i]);
  }
  int wc = 0;
  int len = 0;
  int start = 0;
  int chars = 0;
  for (i = 0, j = 0; i < wordsSize; i++) {
    if (len + word_lens[i] > maxWidth) {
      int even_spaces = wc == 1 ? 0 : (maxWidth - chars) / (wc - 1);
      int remain_spaces = wc == 1 ? 0 : (maxWidth - chars) % (wc - 1);
      line_fill(lines[count], len, words, word_lens, maxWidth, even_spaces, remain_spaces, start, i);
      count++;
      wc = 1;
      len = word_lens[i] + 1;
      chars = word_lens[i];
      start = i;
    } else if (len + word_lens[i] == maxWidth) {
      chars += word_lens[i];
      int even_spaces = wc == 0 ? 0 : (maxWidth - chars) / wc;
      int remain_spaces = wc == 0 ? 0 : (maxWidth - chars) % wc;
      line_fill(lines[count], len, words, word_lens, maxWidth, even_spaces, remain_spaces, start, i + 1);
      count++;
      wc = 0;
      len = 0;
      chars = 0;
      start = i + 1;
    } else {
      chars += word_lens[i];
      len += word_lens[i] + 1;
      wc++;
    }
  }
  if (wc > 0) {
    char *p = lines[count];
    for (i = start; i < start + wc; i++) {
      memcpy(p, words[i], word_lens[i]);
      p += word_lens[i];
      if (i < start + wc - 1) {
        *p++ = ' ';
      }
    }
    while (p - lines[count] < maxWidth) {
      *p++ = ' ';
    }
    *p++ = '\0';
    count++;
  }
  *returnSize = count;
  return lines;
}
```