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

```asm
<abbreviate>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  mov    $0x1,%esi
  lea    0x1(%rax),%edi
  mov    %eax,%r12d
  call   <calloc@plt>
  movl   $0x0,(%rsp)
  movl   $0x0,0x4(%rsp)
  mov    %rax,%r13
  test   %r12d,%r12d
  je     L25
  lea    0x4(%rsp),%rbp
  lea    D89(%rip),%r14
  lea    D117(%rip),%r15
  jmp    L66
  nopw   0x0(%rax,%rax,1)
L59:
  mov    %rsp,%rdx
  lea    D47(%rip),%rsi
  mov    %r13,%rdi
  call   <insert_abbreviation@plt>
L134:
  mov    0x4(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0x4(%rsp)
  cmp    %r12d,%eax
  jae    L25
L66:
  mov    %r14,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <is_substitutable_sequence@plt>
  test   %rax,%rax
  jne    L59
  mov    %r15,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <is_substitutable_sequence@plt>
  test   %rax,%rax
  je     L63
  mov    %rsp,%rdx
  lea    D103(%rip),%rsi
  mov    %r13,%rdi
  call   <insert_abbreviation@plt>
  mov    0x4(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0x4(%rsp)
  cmp    %r12d,%eax
  jb     L66
L25:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L156
  add    $0x18,%rsp
  mov    %r13,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L63:
  lea    D83(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <is_substitutable_sequence@plt>
  test   %rax,%rax
  je     L47
  mov    %rsp,%rdx
  lea    D40(%rip),%rsi
  mov    %r13,%rdi
  call   <insert_abbreviation@plt>
  jmp    L134
  xchg   %ax,%ax
L47:
  lea    D97(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <is_substitutable_sequence@plt>
  test   %rax,%rax
  je     L5
  mov    %rsp,%rdx
  lea    D74(%rip),%rsi
  mov    %r13,%rdi
  call   <insert_abbreviation@plt>
  jmp    L134
  xchg   %ax,%ax
L5:
  lea    D44(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <is_substitutable_sequence@plt>
  test   %rax,%rax
  je     L138
  mov    %rsp,%rdx
  lea    D115(%rip),%rsi
  mov    %r13,%rdi
  call   <insert_abbreviation@plt>
  jmp    L134
  xchg   %ax,%ax
L138:
  lea    D5(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <is_substitutable_sequence@plt>
  test   %rax,%rax
  jne    L142
  mov    0x4(%rsp),%eax
  movzbl (%rbx,%rax,1),%edx
  mov    (%rsp),%eax
  mov    %dl,0x0(%r13,%rax,1)
  addl   $0x1,(%rsp)
  jmp    L134
L142:
  mov    %rsp,%rdx
  lea    D70(%rip),%rsi
  mov    %r13,%rdi
  call   <insert_abbreviation@plt>
  jmp    L134
L156:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D89
type: string
name: read_data
arguments: label: D117
type: string
name: read_data
arguments: label: D47
type: string
name: read_data
arguments: label: D103
type: string
name: read_data
arguments: label: D83
type: string
name: read_data
arguments: label: D40
type: string
name: read_data
arguments: label: D97
type: string
name: read_data
arguments: label: D74
type: string
name: read_data
arguments: label: D44
type: string
name: read_data
arguments: label: D115
type: string
name: read_data
arguments: label: D5
type: string
name: read_data
arguments: label: D70
type: string

tool: D89: DCCCC

tool: D117: CCCC

tool: D47: CM

tool: D103: CD

tool: D83: LXXXX

tool: D40: XC

tool: D97: XXXX

tool: D74: XL

tool: D44: VIIII

tool: D115: IX

tool: D5: IIII

tool: D70: IV

assistant: ```c
char *abbreviate(char original[]) {
  unsigned int original_length = strlen(original);
  char *abbreviated = calloc(original_length + 1, sizeof(char));
  unsigned int j = 0;
  unsigned int i;
  for (i = 0; i < original_length; i++) {
    if (is_substitutable_sequence(original, &i, "DCCCC")) {
      insert_abbreviation(abbreviated, "CM", &j);
    } else if (is_substitutable_sequence(original, &i, "CCCC")) {
      insert_abbreviation(abbreviated, "CD", &j);
    } else if (is_substitutable_sequence(original, &i, "LXXXX")) {
      insert_abbreviation(abbreviated, "XC", &j);
    } else if (is_substitutable_sequence(original, &i, "XXXX")) {
      insert_abbreviation(abbreviated, "XL", &j);
    } else if (is_substitutable_sequence(original, &i, "VIIII")) {
      insert_abbreviation(abbreviated, "IX", &j);
    } else if (is_substitutable_sequence(original, &i, "IIII")) {
      insert_abbreviation(abbreviated, "IV", &j);
    } else {
      abbreviated[j] = original[i];
      j += 1;
    }
  }
  return abbreviated;
}
```