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

```asm
<breakUpLongWordsIn>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0xc48,%rsp
  mov    $0x382,%ecx
  pxor   %xmm0,%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x1c38(%rsp)
  xor    %eax,%eax
  mov    %rdi,%r13
  lea    0x20(%rsp),%rdi
  movaps %xmm0,0x10(%rsp)
  rep stos %rax,%es:(%rdi)
  movzbl 0x0(%r13),%eax
  test   %al,%al
  je     L157
  mov    %esi,%r12d
  mov    %edx,%r14d
  mov    %r13,%rsi
  xor    %ebx,%ebx
  movswl %r12w,%edx
  xor    %ebp,%ebp
  lea    0x10(%rsp),%r15
  mov    %edx,0xc(%rsp)
  jmp    L135
  cs nopw 0x0(%rax,%rax,1)
L203:
  add    $0x1,%ebp
  lea    0x1(%rbx),%edi
  movswq %bp,%rsi
  mov    %edi,%r10d
  add    %r13,%rsi
  movzbl (%rsi),%r9d
  cmp    $0x20,%al
  je     L83
  cmp    $0xa,%al
  je     L83
  test   %r14b,%r14b
  jne    L77
  cmp    %cx,%r12w
  jg     L31
  movb   $0xa,0x10(%rsp,%rdx,1)
  mov    $0x1,%ecx
L27:
  movswq %r10w,%rdx
  lea    0x1(%rdi),%ebx
  mov    %al,0x10(%rsp,%rdx,1)
  mov    %r9d,%eax
L115:
  test   %al,%al
  je     L66
L135:
  movswq %bx,%rdx
  cmp    $0x19,%al
  jne    L203
  movswq %bx,%rdi
  mov    $0x4,%edx
  add    $0x4,%ebp
  mov    %ecx,0x8(%rsp)
  add    %r15,%rdi
  add    $0x4,%ebx
  call   <strncpy@plt>
  movswq %bp,%rsi
  mov    0x8(%rsp),%ecx
  add    %r13,%rsi
  movzbl (%rsi),%eax
  test   %al,%al
  jne    L135
L66:
  movswq %bx,%rbx
L92:
  mov    %r15,%rsi
  mov    %r13,%rdi
  movb   $0x0,0x10(%rsp,%rbx,1)
  call   <strcpy@plt>
  mov    0x1c38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L126
  add    $0x1c48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L83:
  mov    %al,0x10(%rsp,%rdx,1)
  mov    %edi,%ebx
  mov    %r9d,%eax
  xor    %ecx,%ecx
  jmp    L115
  nopl   0x0(%rax,%rax,1)
L31:
  test   %r14b,%r14b
  je     L212
  nopl   (%rax)
L77:
  mov    0xc(%rsp),%r8d
  movswl %cx,%edi
  lea    -0x1(%r8),%r11d
  cmp    %r11d,%edi
  jge    L49
L212:
  add    $0x1,%ecx
  mov    %ebx,%r10d
  mov    %ebx,%edi
  jmp    L27
  cs nopw 0x0(%rax,%rax,1)
L49:
  cmp    $0x19,%r9b
  jne    L80
  mov    %ebp,%edi
  nopl   0x0(%rax,%rax,1)
L156:
  add    $0x4,%edi
  movswq %di,%r11
  movzbl 0x0(%r13,%r11,1),%r11d
  cmp    $0x19,%r11b
  je     L156
L213:
  test   $0xdf,%r11b
  je     L158
  cmp    $0xa,%r11b
  je     L158
  movslq %edx,%rcx
  lea    0x2(%rbx),%edi
  movswq %r10w,%rdx
  movb   $0x2d,0x10(%rsp,%rcx,1)
  mov    %edi,%r10d
  mov    $0x1,%ecx
  movb   $0xa,0x10(%rsp,%rdx,1)
  jmp    L27
L158:
  add    $0x1,%ecx
  mov    %ebx,%edi
  mov    %ebx,%r10d
  jmp    L27
  nopl   (%rax)
L157:
  xor    %ebx,%ebx
  lea    0x10(%rsp),%r15
  jmp    L92
L80:
  mov    %r9d,%r11d
  jmp    L213
L126:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void breakUpLongWordsIn(char *sourceText, short width, char useHyphens) {
  char buf[100 * (31 + 5) * 2] = "";
  short i, m, nextChar, wordWidth;
  wordWidth = 0;
  for (i = 0, m = 0; sourceText[i] != 0;) {
    if (sourceText[i] == 25) {
      strncpy(&(buf[m]), &(sourceText[i]), 4);
      i += 4;
      m += 4;
    } else if (sourceText[i] == ' ' || sourceText[i] == '\n') {
      wordWidth = 0;
      buf[m++] = sourceText[i++];
    } else {
      if (!useHyphens && wordWidth >= width) {
        buf[m++] = '\n';
        wordWidth = 0;
      } else if (useHyphens && wordWidth >= width - 1) {
        nextChar = i + 1;
        while (sourceText[nextChar] == 25) {
          nextChar += 4;
        }
        if (sourceText[nextChar] && sourceText[nextChar] != ' ' && sourceText[nextChar] != '\n') {
          buf[m++] = '-';
          buf[m++] = '\n';
          wordWidth = 0;
        }
      }
      buf[m++] = sourceText[i++];
      wordWidth++;
    }
  }
  buf[m] = '\0';
  strcpy(sourceText, buf);
}
```