user: 这段汇编代码用C语言表示是什么样的?

```asm
<format_replace_emails>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x34(%rbp)
  movl   $0x0,-0x3c(%rbp)
  movl   $0x0,-0x38(%rbp)
  movl   $0x0,-0x4c(%rbp)
  jmp    L25
L16:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x40,%al
  jne    L153
  cmpl   $0x0,-0x4c(%rbp)
  jle    L153
  mov    -0x34(%rbp),%eax
  sub    $0x2,%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L153
  mov    -0x4c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x44(%rbp)
  jmp    L214
L265:
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L144
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L144
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L144
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xd,%al
  je     L144
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L219
  addl   $0x1,-0x38(%rbp)
L219:
  addl   $0x1,-0x44(%rbp)
L214:
  mov    -0x44(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L265
L144:
  cmpl   $0x0,-0x38(%rbp)
  jne    L188
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
  jmp    L273
L188:
  mov    -0x4c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x48(%rbp)
  jmp    L200
L40:
  mov    -0x48(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L271
  mov    -0x48(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L271
  mov    -0x48(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L271
  mov    -0x48(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xd,%al
  je     L271
  subl   $0x1,-0x48(%rbp)
L200:
  cmpl   $0x0,-0x48(%rbp)
  jg     L40
L271:
  addl   $0x1,-0x48(%rbp)
  mov    -0x4c(%rbp),%eax
  sub    -0x48(%rbp),%eax
  sub    %eax,-0x3c(%rbp)
  cmpl   $0x0,-0x3c(%rbp)
  jns    L241
  movl   $0x0,-0x3c(%rbp)
L241:
  lea    -0x30(%rbp),%rax
  lea    D2(%rip),%rdx
  lea    D0(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  movl   $0x0,-0x40(%rbp)
  jmp    L38
L50:
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  mov    -0x40(%rbp),%eax
  cltq
  movzbl -0x30(%rbp,%rax,1),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x40(%rbp)
L38:
  lea    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x40(%rbp)
  jl     L50
  mov    -0x48(%rbp),%eax
  mov    %eax,-0x40(%rbp)
  jmp    L207
L196:
  mov    -0x40(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x40(%rbp)
L207:
  mov    -0x40(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L196
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x22,(%rax)
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x3e,(%rax)
  mov    -0x48(%rbp),%eax
  mov    %eax,-0x40(%rbp)
  jmp    L91
L280:
  mov    -0x40(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x40(%rbp)
L91:
  mov    -0x40(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L280
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x3c,(%rax)
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2f,(%rax)
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x61,(%rax)
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x3e,(%rax)
  mov    -0x44(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x4c(%rbp)
  jmp    L273
L153:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x3c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x3c(%rbp)
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
L273:
  addl   $0x1,-0x4c(%rbp)
L25:
  mov    -0x4c(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L16
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L81
  call   <__stack_chk_fail@plt>
L81:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D2
type: string
name: parse_data
arguments: data_label: D0
type: string

tool: D2: <a href="mailto:

tool: D0: %s

assistant: ```c
void format_replace_emails(char *text, char *result) {
  char str[32];
  int i, start, end, k, length = strlen(text);
  int ctr = 0, dots = 0;
  for (i = 0; i < length; i++) {
    if ((text[i] == '@') && (i > 0) && (i < length - 2)) {
      end = i + 1;
      while (end < length) {
        if ((text[end] == ' ') || (text[end] == ',') || (text[end] == 10) || (text[end] == 13)) {
          break;
        }
        if (text[end] == '.')
          dots++;
        end++;
      }
      if (dots == 0) {
        result[ctr++] = text[i];
        continue;
      }
      start = i - 1;
      while (start >= 1) {
        if ((text[start] == ' ') || (text[start] == ',') || (text[start] == 10) || (text[start] == 13)) {
          break;
        }
        start--;
      }
      start++;
      ctr -= (i - start);
      if (ctr < 0)
        ctr = 0;
      sprintf(str, "%s", "<a href=\"mailto:");
      for (k = 0; k < strlen(str); k++) {
        result[ctr++] = str[k];
      }
      for (k = start; k < end; k++) {
        result[ctr++] = text[k];
      }
      result[ctr++] = '"';
      result[ctr++] = '>';
      for (k = start; k < end; k++) {
        result[ctr++] = text[k];
      }
      result[ctr++] = '<';
      result[ctr++] = '/';
      result[ctr++] = 'a';
      result[ctr++] = '>';
      i = end - 1;
    } else {
      result[ctr++] = text[i];
    }
  }
  result[ctr] = 0;
}
```