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

```asm
<fullJustify>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %esi,-0x4c(%rbp)
  mov    %edx,-0x50(%rbp)
  mov    %rcx,-0x58(%rbp)
  movl   $0x0,-0x3c(%rbp)
  movl   $0x0,-0x38(%rbp)
  jmp    L72
L103:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  je     L27
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x38(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x38(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    (%rcx),%rax
  mov    %rax,(%rdx)
L27:
  addl   $0x1,-0x3c(%rbp)
L72:
  mov    -0x3c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L103
  cmpl   $0x0,-0x4c(%rbp)
  jne    L51
  mov    -0x58(%rbp),%rax
  movl   $0x0,(%rax)
  mov    $0x0,%edi
  call   <malloc@plt>
  jmp    L5
L51:
  mov    $0x8,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x58(%rbp),%rax
  movl   $0x1,(%rax)
  mov    -0x50(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    -0x18(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x48(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x48(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x34(%rbp)
  movl   $0x1,-0x3c(%rbp)
  movl   $0x0,-0x38(%rbp)
  jmp    L113
L53:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  add    $0x1,%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x34(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x50(%rbp)
  jl     L137
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x34(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x20,(%rax)
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x58(%rbp),%rdx
  mov    (%rdx),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x34(%rbp),%edx
  movslq %edx,%rdx
  add    $0x1,%rdx
  add    %rcx,%rdx
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <strcpy@plt>
  mov    -0x20(%rbp),%eax
  add    %eax,-0x34(%rbp)
  jmp    L50
L137:
  mov    -0x3c(%rbp),%eax
  sub    -0x38(%rbp),%eax
  cmp    $0x1,%eax
  jg     L46
  mov    -0x50(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    -0x58(%rbp),%rdx
  mov    (%rdx),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x34(%rbp),%edx
  movslq %edx,%rdx
  add    %rdx,%rcx
  mov    %eax,%edx
  mov    $0x20,%esi
  mov    %rcx,%rdi
  call   <memset@plt>
  jmp    L120
L46:
  mov    -0x50(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    -0x3c(%rbp),%edx
  sub    -0x38(%rbp),%edx
  lea    -0x1(%rdx),%ecx
  cltd
  idiv   %ecx
  mov    %edx,-0x30(%rbp)
  mov    -0x3c(%rbp),%eax
  sub    -0x38(%rbp),%eax
  sub    $0x1,%eax
  sub    -0x30(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x3c(%rbp),%eax
  sub    -0x38(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x28(%rbp)
  mov    -0x50(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    -0x3c(%rbp),%edx
  sub    -0x38(%rbp),%edx
  lea    -0x1(%rdx),%esi
  cltd
  idiv   %esi
  mov    %eax,-0x1c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x34(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x0,(%rax)
  jmp    L48
L158:
  mov    -0x10(%rbp),%rdx
  lea    -0x1(%rdx),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rcx
  mov    %rcx,-0x8(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
L31:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L158
  mov    -0x10(%rbp),%rdx
  lea    -0x1(%rdx),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rcx
  mov    %rcx,-0x8(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  cmpl   $0x0,-0x2c(%rbp)
  je     L89
  subl   $0x1,-0x2c(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L177
L89:
  subl   $0x1,-0x30(%rbp)
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x24(%rbp)
  jmp    L177
L80:
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movb   $0x20,(%rax)
L177:
  mov    -0x24(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x24(%rbp)
  test   %eax,%eax
  jne    L80
L48:
  mov    -0x28(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x28(%rbp)
  test   %eax,%eax
  jne    L31
L120:
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x3c(%rbp),%eax
  mov    %eax,-0x38(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  add    $0x1,%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <realloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x50(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    -0x58(%rbp),%rdx
  mov    (%rdx),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%esi
  mov    -0x58(%rbp),%rcx
  mov    %esi,(%rcx)
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x20(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x34(%rbp)
L50:
  addl   $0x1,-0x3c(%rbp)
L113:
  mov    -0x3c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L53
  mov    -0x50(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    -0x58(%rbp),%rdx
  mov    (%rdx),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x34(%rbp),%edx
  movslq %edx,%rdx
  add    %rdx,%rcx
  mov    %eax,%edx
  mov    $0x20,%esi
  mov    %rcx,%rdi
  call   <memset@plt>
  mov    -0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x18(%rbp),%rax
L5:
  leave
  ret
```

assistant: ```c
char **fullJustify(char **words, int wordsSize, int maxWidth, int *returnSize) {
  int i, j, lastLength;
  char **ret;
  for (i = 0, j = 0; i < wordsSize; ++i)
    if (strlen(words[i]))
      words[j++] = words[i];
  if (!wordsSize) {
    *returnSize = 0;
    return (char **)malloc(0);
  }
  ret = (char **)malloc(sizeof(char *));
  *returnSize = 1;
  *ret = (char *)malloc((maxWidth + 1) * sizeof(char));
  strcpy(*ret, words[0]);
  lastLength = strlen(words[0]);
  for (i = 1, j = 0; i < wordsSize; ++i) {
    int curLength = strlen(words[i]) + 1;
    if (lastLength + curLength <= maxWidth) {
      ret[*returnSize - 1][lastLength] = ' ';
      strcpy(ret[*returnSize - 1] + lastLength + 1, words[i]);
      lastLength += curLength;
    } else {
      if (i - j <= 1)
        memset(ret[*returnSize - 1] + lastLength, ' ', maxWidth - lastLength);
      else {
        int p = (maxWidth - lastLength) % (i - j - 1), q = i - j - 1 - p, all = i - j - 1;
        int lessSpace = (maxWidth - lastLength) / (i - j - 1);
        char *l = ret[*returnSize - 1] + lastLength - 1, *r = ret[*returnSize - 1] + maxWidth - 1;
        ret[*returnSize - 1][maxWidth] = 0;
        while (all--) {
          int t;
          while (*l != ' ')
            *r-- = *l--;
          *r-- = *l--;
          if (q) {
            --q;
            t = lessSpace;
          } else {
            --p;
            t = lessSpace + 1;
          }
          while (t--)
            *r-- = ' ';
        }
      }
      ret[*returnSize - 1][maxWidth] = 0;
      j = i;
      ret = (char **)realloc(ret, sizeof(char *) * (*returnSize + 1));
      ret[*returnSize] = (char *)malloc((maxWidth + 1) * sizeof(char));
      strcpy(ret[(*returnSize)++], words[i]);
      lastLength = curLength - 1;
    }
  }
  memset(ret[*returnSize - 1] + lastLength, ' ', maxWidth - lastLength);
  ret[*returnSize - 1][maxWidth] = 0;
  return ret;
}
```