user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<message_reply_subj>:
  endbr64
  push   %r12
  mov    $0x8,%edx
  mov    %rsi,%r12
  lea    D47(%rip),%rsi
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  call   <strncasecmp@plt>
  test   %rax,%rax
  jne    L25
  movzbl 0x8(%rbp),%eax
  lea    0x8(%rbp),%rbx
  cmp    $0x20,%al
  jne    L76
  nopl   0x0(%rax)
L66:
  movzbl 0x1(%rbx),%eax
  add    $0x1,%rbx
  cmp    $0x20,%al
  je     L66
L76:
  cmp    $0x9,%al
  je     L66
  test   %al,%al
  je     L25
  cmp    $0xa,%al
  je     L25
  mov    %rbx,%rbp
  nopl   0x0(%rax,%rax,1)
L33:
  movzbl 0x1(%rbp),%eax
  add    $0x1,%rbp
  cmp    $0xa,%al
  je     L75
  test   %al,%al
  jne    L33
L75:
  cmp    %rbx,%rbp
  je     L25
  lea    D11(%rip),%rdx
  lea    D44(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  movslq %eax,%rdx
  add    %r12,%rdx
  mov    %rdx,%r8
  cmp    %rbx,%rbp
  jb     L137
  lea    0x1(%rbx),%rcx
  mov    %rdx,%rax
  mov    %rbp,%rdi
  sub    %rcx,%rax
  sub    %rbx,%rdi
  cmp    $0xe,%rax
  jbe    L104
  cmp    $0x6,%rdi
  jbe    L104
  lea    0x1(%rdi),%r8
  cmp    $0xe,%rdi
  jbe    L256
  lea    -0xf(%rdi),%rax
  xor    %esi,%esi
  shr    $0x4,%rax
  lea    0x1(%rax),%rcx
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L221:
  movdqu (%rbx,%rax,1),%xmm0
  add    $0x1,%rsi
  movups %xmm0,(%rdx,%rax,1)
  add    $0x10,%rax
  cmp    %rsi,%rcx
  ja     L221
  mov    %rcx,%rax
  shl    $0x4,%rax
  lea    (%rbx,%rax,1),%rcx
  lea    (%rdx,%rax,1),%rsi
  cmp    %rax,%r8
  je     L165
  sub    %rax,%rdi
  lea    0x1(%rdi),%r9
  cmp    $0x6,%rdi
  jbe    L99
L108:
  mov    (%rbx,%rax,1),%rdi
  mov    %rdi,(%rdx,%rax,1)
  mov    %r9,%rax
  and    $0xfffffffffffffff8,%rax
  add    %rax,%rcx
  add    %rax,%rsi
  cmp    %rax,%r9
  je     L165
L99:
  movzbl (%rcx),%eax
  mov    %al,(%rsi)
  lea    0x1(%rcx),%rax
  cmp    %rax,%rbp
  jb     L165
  movzbl 0x1(%rcx),%eax
  mov    %al,0x1(%rsi)
  lea    0x2(%rcx),%rax
  cmp    %rax,%rbp
  jb     L165
  movzbl 0x2(%rcx),%eax
  mov    %al,0x2(%rsi)
  lea    0x3(%rcx),%rax
  cmp    %rax,%rbp
  jb     L165
  movzbl 0x3(%rcx),%eax
  mov    %al,0x3(%rsi)
  lea    0x4(%rcx),%rax
  cmp    %rax,%rbp
  jb     L165
  movzbl 0x4(%rcx),%eax
  mov    %al,0x4(%rsi)
  lea    0x5(%rcx),%rax
  cmp    %rax,%rbp
  jb     L165
  movzbl 0x5(%rcx),%eax
  mov    %al,0x5(%rsi)
  lea    0x6(%rcx),%rax
  cmp    %rax,%rbp
  jb     L165
  movzbl 0x6(%rcx),%eax
  mov    %al,0x6(%rsi)
L165:
  add    %rdx,%r8
L137:
  mov    $0xa,%eax
  mov    %r12,%rdi
  mov    %ax,(%r8)
  pop    %rbx
  pop    %rbp
  pop    %r12
  jmp    1070 <strlen@plt>
  nopw   0x0(%rax,%rax,1)
L25:
  mov    %r12,%rdi
  lea    D45(%rip),%rdx
  lea    D35(%rip),%rsi
  call   <sprintf@plt>
  pop    %rbx
  mov    %r12,%rdi
  pop    %rbp
  pop    %r12
  jmp    1070 <strlen@plt>
  nopw   0x0(%rax,%rax,1)
L104:
  add    $0x1,%rbp
  xor    %eax,%eax
  sub    %rbx,%rbp
  nopl   0x0(%rax)
L64:
  movzbl (%rbx,%rax,1),%ecx
  mov    %cl,(%rdx,%rax,1)
  add    $0x1,%rax
  cmp    %rbp,%rax
  jne    L64
  lea    0x1(%rdi),%r8
  add    %rdx,%r8
  jmp    L137
L256:
  mov    %r8,%r9
  mov    %rdx,%rsi
  mov    %rbx,%rcx
  xor    %eax,%eax
  jmp    L108
```

tool_calls: name: read_data
arguments: data_tag: D47
datatype: string
name: read_data
arguments: data_tag: D11
datatype: string
name: read_data
arguments: data_tag: D44
datatype: string
name: read_data
arguments: data_tag: D45
datatype: string
name: read_data
arguments: data_tag: D35
datatype: string

tool: D47: subject:

tool: D11: Re

tool: D44: Subject: %s: 

tool: D45: Re: Your question

tool: D35: Subject: %s



assistant: ```c
int message_reply_subj(char const *intxt, char *outtxt) {
  char const *p, *q;
  char *s;
  if (strncasecmp(intxt, "subject:", 8)) {
    sprintf(outtxt, "Subject: %s\n\n", "Re: Your question");
    return strlen(outtxt);
  }
  p = intxt + 8;
  while (*p == ' ' || *p == '\t')
    p++;
  q = p;
  while (*q != '\n' && *q != 0)
    q++;
  if (p == q) {
    sprintf(outtxt, "Subject: %s\n\n", "Re: Your question");
    return strlen(outtxt);
  }
  s = outtxt + sprintf(outtxt, "Subject: %s: ", "Re");
  while (p <= q) {
    *s++ = *p;
    p++;
  }
  *s++ = '\n';
  *s = 0;
  return strlen(outtxt);
}
```