user: 下面的汇编指令对应的C源代码是什么:

```asm
<writehelp>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  mov    %rsi,%r14
  push   %r13
  push   %r12
  mov    %rcx,%r12
  mov    $0x7e,%ecx
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  sub    $0x448,%rsp
  mov    %edi,0x10(%rsp)
  lea    0x40(%rsp),%rdi
  lea    0x30(%rsp),%r13
  mov    %fs:0x28,%rax
  mov    %rax,0x438(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x30(%rsp)
  rep stos %rax,%es:(%rdi)
  mov    %r12,%rdi
  call   <strlen@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  movslq %eax,%r15
  mov    %eax,0x2c(%rsp)
  mov    %rax,%rbx
  mov    %r15,%rdx
  lea    0x0(%r13,%r15,1),%r12
  call   <memcpy@plt>
  mov    $0x400,%edx
  xor    %esi,%esi
  mov    %r12,%rdi
  sub    %r15,%rdx
  mov    %r12,0x8(%rsp)
  call   <memset@plt>
  mov    0x10(%rsp),%eax
  sub    %ebp,%eax
  add    $0x4,%eax
  mov    %eax,0x28(%rsp)
  cltq
  lea    0x0(%r13,%rax,1),%rdx
  mov    %rax,0x10(%rsp)
  movzbl (%rdx),%eax
  mov    %al,0x20(%rsp)
  cmp    %rdx,%r12
  jbe    L106
  movb   $0x0,(%rdx)
  mov    $0xa,%esi
  mov    %r13,%rdi
  mov    %rdx,0x18(%rsp)
  call   <strchr@plt>
  mov    0x18(%rsp),%rdx
  test   %rax,%rax
  mov    %rax,%r12
  je     L83
L162:
  movb   $0x0,(%r12)
  cmp    0x28(%rsp),%ebx
  jle    L47
  movzbl 0x20(%rsp),%eax
  mov    %al,(%rdx)
L47:
  lea    D15(%rip),%rax
  mov    %r13,%rcx
  mov    %r14,%rdx
  mov    %ebp,%esi
  mov    %rax,0x18(%rsp)
  mov    %rax,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movb   $0x20,(%r12)
  mov    %r12,%rax
  sub    %r13,%rax
L78:
  cmp    %r15,%rax
  jl     L72
  jmp    L120
  nop
L53:
  cmp    %rax,%r15
  jle    L120
L72:
  add    $0x1,%r12
  mov    %r12,%rax
  sub    %r13,%rax
  cmpb   $0x20,(%r12)
  je     L53
L57:
  cmp    %r15,%rax
  jge    L120
  mov    %r15,%r14
  mov    %r12,%r15
  mov    %ebp,%r12d
  mov    %r13,%rbp
  nop
L222:
  mov    0x10(%rsp),%rax
  lea    (%r15,%r14,1),%r13
  lea    (%r15,%rax,1),%rdx
  movzbl (%rdx),%ebx
  cmp    %rdx,0x8(%rsp)
  jbe    L51
  movb   $0x0,(%rdx)
  mov    $0xa,%esi
  mov    %r15,%rdi
  mov    %rdx,0x20(%rsp)
  call   <strchr@plt>
  mov    0x20(%rsp),%rdx
  test   %rax,%rax
  mov    %rax,%r13
  je     L20
L173:
  movb   $0x0,0x0(%r13)
  mov    0x28(%rsp),%ecx
  cmp    %ecx,0x2c(%rsp)
  jle    L10
  mov    %bl,(%rdx)
L10:
  mov    0x18(%rsp),%rdi
  mov    %r15,%rcx
  mov    %r12d,%esi
  xor    %eax,%eax
  lea    D27(%rip),%rdx
  call   <printf@plt>
  movb   $0x20,0x0(%r13)
  mov    %r13,%rax
  sub    %rbp,%rax
L94:
  cmp    %rax,%r14
  jg     L141
  jmp    L120
  nopl   (%rax)
L54:
  cmp    %r14,%rax
  jge    L120
L141:
  add    $0x1,%r13
  mov    %r13,%rax
  sub    %rbp,%rax
  cmpb   $0x20,0x0(%r13)
  je     L54
  mov    %r13,%r15
  cmp    %r14,%rax
  jl     L222
  nopw   0x0(%rax,%rax,1)
L120:
  mov    0x438(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L244
  add    $0x448,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L106:
  mov    0x8(%rsp),%r12
L163:
  lea    D15(%rip),%rax
  mov    %ebp,%esi
  mov    %r13,%rcx
  mov    %r14,%rdx
  mov    %rax,0x18(%rsp)
  mov    %rax,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movzbl 0x20(%rsp),%esi
  mov    %r12,%rax
  sub    %r13,%rax
  mov    %sil,(%r12)
  cmp    $0x20,%sil
  je     L78
  jmp    L57
  nopw   0x0(%rax,%rax,1)
L20:
  mov    $0x20,%esi
  mov    %r15,%rdi
  call   <strrchr@plt>
  mov    0x20(%rsp),%rdx
  test   %rax,%rax
  mov    %rax,%r13
  jne    L173
  mov    %rdx,%r13
  nopl   0x0(%rax)
L51:
  mov    0x18(%rsp),%rdi
  mov    %r15,%rcx
  mov    %r12d,%esi
  xor    %eax,%eax
  lea    D27(%rip),%rdx
  call   <printf@plt>
  mov    %r13,%rax
  mov    %bl,0x0(%r13)
  sub    %rbp,%rax
  cmp    $0x20,%bl
  je     L94
  mov    %r13,%r15
  cmp    %r14,%rax
  jl     L222
  jmp    L120
  nopl   (%rax)
L83:
  mov    $0x20,%esi
  mov    %r13,%rdi
  call   <strrchr@plt>
  mov    0x18(%rsp),%rdx
  test   %rax,%rax
  mov    %rax,%r12
  jne    L162
  mov    %rdx,%r12
  jmp    L163
L244:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D15
type_infered: string
name: unpack_data
arguments: data_tag: D27
type_infered: string

tool: D15: %-*s    %s


tool: 

assistant: ```c
void writehelp(int maxwidth, const char *lhs, int width, const char *help) {
  char helpbuf[1024] = {0};
  int n, r = (int)strlen(help);
  char t, *s, *h = helpbuf;
  memcpy(h, help, r);
  memset(h + r, 0, (sizeof(helpbuf) / sizeof(*(helpbuf))) - r);
  n = maxwidth - width + 4;
  t = h[n];
  s = h + r;
  if ((h + n) < (helpbuf + r)) {
    h[n] = '\0';
    if ((s = strchr(h, '\n')) || (s = strrchr(h, ' '))) {
      *s = '\0';
      if (n < r)
        h[n] = t;
      t = ' ';
    } else {
      s = h + n;
    }
  }
  printf("%-*s    %s\n", width, lhs, h);
  h = s;
  *s = t;
  while (*h == ' ' && (h - helpbuf) < r)
    ++h;
  while ((h - helpbuf) < r) {
    t = h[n];
    s = h + r;
    if ((h + n) < (helpbuf + r)) {
      h[n] = '\0';
      if ((s = strchr(h, '\n')) || (s = strrchr(h, ' '))) {
        *s = '\0';
        if (n < r)
          h[n] = t;
        t = ' ';
      } else {
        s = h + n;
      }
    }
    printf("%-*s    %s\n", width, "", h);
    h = s;
    *s = t;
    while (*h == ' ' && (h - helpbuf) < r)
      ++h;
  }
}
```