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

```asm
<__argz_replace>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %rcx,-0x90(%rbp)
  mov    %r8,-0x98(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x48(%rbp)
  cmpq   $0x0,-0x88(%rbp)
  je     L189
  mov    -0x88(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L189
  movq   $0x0,-0x40(%rbp)
  mov    -0x78(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x28(%rbp)
  movq   $0x0,-0x68(%rbp)
  movq   $0x0,-0x60(%rbp)
  movl   $0x1,-0x6c(%rbp)
  mov    -0x88(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  mov    %rax,-0x20(%rbp)
  mov    -0x90(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  mov    %rax,-0x18(%rbp)
  jmp    L63
L115:
  mov    -0x88(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  je     L184
  mov    -0x10(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x10(%rbp),%rax
  sub    -0x40(%rbp),%rax
  mov    %rax,-0x58(%rbp)
  mov    -0x58(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <__strndup@plt>
  mov    %rax,-0x50(%rbp)
  jmp    L10
L84:
  mov    -0x18(%rbp),%rax
  mov    %eax,%ecx
  mov    -0x90(%rbp),%rdx
  lea    -0x58(%rbp),%rsi
  lea    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <str_append@plt>
  mov    -0x50(%rbp),%rax
  test   %rax,%rax
  je     L10
  mov    -0x88(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  je     L49
  mov    -0x10(%rbp),%rax
  sub    -0x38(%rbp),%rax
  mov    %eax,%ecx
  mov    -0x38(%rbp),%rdx
  lea    -0x58(%rbp),%rsi
  lea    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <str_append@plt>
  mov    -0x10(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x38(%rbp)
  jmp    L10
L49:
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%ecx
  mov    -0x38(%rbp),%rdx
  lea    -0x58(%rbp),%rsi
  lea    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <str_append@plt>
  movq   $0x0,-0x38(%rbp)
L10:
  mov    -0x50(%rbp),%rax
  test   %rax,%rax
  je     L226
  cmpq   $0x0,-0x38(%rbp)
  jne    L84
L226:
  mov    -0x50(%rbp),%rax
  test   %rax,%rax
  je     L13
  cmpl   $0x0,-0x6c(%rbp)
  je     L161
  mov    -0x40(%rbp),%rax
  cmp    -0x30(%rbp),%rax
  jbe    L240
  mov    -0x40(%rbp),%rax
  sub    -0x30(%rbp),%rax
  mov    %eax,%ecx
  mov    -0x30(%rbp),%rdx
  lea    -0x60(%rbp),%rsi
  lea    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <__argz_append@plt>
  mov    %rax,-0x48(%rbp)
L240:
  movl   $0x0,-0x6c(%rbp)
L161:
  cmpq   $0x0,-0x48(%rbp)
  jne    L212
  mov    -0x50(%rbp),%rdx
  lea    -0x60(%rbp),%rcx
  lea    -0x68(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <__argz_add@plt>
  mov    %rax,-0x48(%rbp)
L212:
  mov    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  jmp    L205
L13:
  mov    D8(%rip),%rax
  mov    (%rax),%rax
  mov    %rax,-0x48(%rbp)
L205:
  cmpq   $0x0,-0x98(%rbp)
  je     L63
  mov    -0x98(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x98(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L63
L184:
  cmpl   $0x0,-0x6c(%rbp)
  jne    L63
  mov    -0x40(%rbp),%rdx
  lea    -0x60(%rbp),%rcx
  lea    -0x68(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <__argz_add@plt>
  mov    %rax,-0x48(%rbp)
L63:
  cmpq   $0x0,-0x48(%rbp)
  jne    L116
  mov    -0x40(%rbp),%rdx
  mov    -0x28(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <argz_next@plt>
  mov    %rax,-0x40(%rbp)
  cmpq   $0x0,-0x40(%rbp)
  jne    L115
L116:
  cmpq   $0x0,-0x48(%rbp)
  jne    L209
  cmpl   $0x0,-0x6c(%rbp)
  jne    L189
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x68(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x60(%rbp),%rdx
  mov    -0x80(%rbp),%rax
  mov    %rdx,(%rax)
  jmp    L189
L209:
  mov    -0x60(%rbp),%rax
  test   %rax,%rax
  je     L189
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
L189:
  mov    -0x48(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L191
  call   <__stack_chk_fail@plt>
L191:
  leave
  ret
```

assistant: ```c
error_t __argz_replace(char **argz, size_t *argz_len, const char *str, const char *with, unsigned *replace_count) {
  error_t err = 0;
  if (str && *str) {
    char *arg = 0;
    char *src = *argz;
    size_t src_len = *argz_len;
    char *dst = 0;
    size_t dst_len = 0;
    int delayed_copy = 1;
    size_t str_len = strlen(str), with_len = strlen(with);
    while (!err && (arg = argz_next(src, src_len, arg))) {
      char *match = strstr(arg, str);
      if (match) {
        char *from = match + str_len;
        size_t to_len = match - arg;
        char *to = __strndup(arg, to_len);
        while (to && from) {
          str_append(&to, &to_len, with, with_len);
          if (to) {
            match = strstr(from, str);
            if (match) {
              str_append(&to, &to_len, from, match - from);
              from = match + str_len;
            } else {
              str_append(&to, &to_len, from, strlen(from));
              from = 0;
            }
          }
        }
        if (to) {
          if (delayed_copy) {
            if (arg > src)
              err = __argz_append(&dst, &dst_len, src, (arg - src));
            delayed_copy = 0;
          }
          if (!err)
            err = __argz_add(&dst, &dst_len, to);
          free(to);
        } else
          err = ENOMEM;
        if (replace_count)
          (*replace_count)++;
      } else if (!delayed_copy)
        err = __argz_add(&dst, &dst_len, arg);
    }
    if (!err) {
      if (!delayed_copy) {
        free(src);
        *argz = dst;
        *argz_len = dst_len;
      }
    } else if (dst_len > 0)
      free(dst);
  }
  return err;
}
```