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

```asm
<originalDigits>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x180,%rsp
  mov    %rdi,-0x178(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D62(%rip),%rax
  mov    %rax,-0x110(%rbp)
  lea    D5(%rip),%rax
  mov    %rax,-0x108(%rbp)
  lea    D13(%rip),%rax
  mov    %rax,-0x100(%rbp)
  lea    D48(%rip),%rax
  mov    %rax,-0xf8(%rbp)
  lea    D79(%rip),%rax
  mov    %rax,-0xf0(%rbp)
  lea    D93(%rip),%rax
  mov    %rax,-0xe8(%rbp)
  lea    D16(%rip),%rax
  mov    %rax,-0xe0(%rbp)
  lea    D46(%rip),%rax
  mov    %rax,-0xd8(%rbp)
  lea    D32(%rip),%rax
  mov    %rax,-0xd0(%rbp)
  lea    D37(%rip),%rax
  mov    %rax,-0xc8(%rbp)
  movl   $0x7a,-0xc0(%rbp)
  movl   $0x0,-0xbc(%rbp)
  movl   $0x77,-0xb8(%rbp)
  movl   $0x2,-0xb4(%rbp)
  movl   $0x78,-0xb0(%rbp)
  movl   $0x6,-0xac(%rbp)
  movl   $0x67,-0xa8(%rbp)
  movl   $0x8,-0xa4(%rbp)
  movl   $0x73,-0xa0(%rbp)
  movl   $0x7,-0x9c(%rbp)
  movl   $0x76,-0x98(%rbp)
  movl   $0x5,-0x94(%rbp)
  movl   $0x66,-0x90(%rbp)
  movl   $0x4,-0x8c(%rbp)
  movl   $0x72,-0x88(%rbp)
  movl   $0x3,-0x84(%rbp)
  movl   $0x6f,-0x80(%rbp)
  movl   $0x1,-0x7c(%rbp)
  movl   $0x69,-0x78(%rbp)
  movl   $0x9,-0x74(%rbp)
  mov    -0x178(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x154(%rbp)
  lea    -0x70(%rbp),%rax
  mov    $0x68,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0x170(%rbp)
  jmp    L112
L7:
  mov    -0x170(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x61,%eax
  movslq %eax,%rdx
  mov    -0x70(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x70(%rbp,%rax,4)
  addl   $0x1,-0x170(%rbp)
L112:
  mov    -0x170(%rbp),%eax
  cmp    -0x154(%rbp),%eax
  jl     L7
  movl   $0x0,-0x16c(%rbp)
  lea    -0x140(%rbp),%rax
  mov    $0x28,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0x168(%rbp)
  jmp    L59
L51:
  mov    -0x168(%rbp),%eax
  cltq
  mov    -0xc0(%rbp,%rax,8),%eax
  sub    $0x61,%eax
  cltq
  mov    -0x70(%rbp,%rax,4),%eax
  mov    %eax,-0x150(%rbp)
  cmpl   $0x0,-0x150(%rbp)
  je     L20
  mov    -0x150(%rbp),%eax
  add    %eax,-0x16c(%rbp)
  mov    -0x168(%rbp),%eax
  cltq
  mov    -0xbc(%rbp,%rax,8),%eax
  cltq
  mov    -0x150(%rbp),%edx
  mov    %edx,-0x140(%rbp,%rax,4)
  mov    -0x168(%rbp),%eax
  cltq
  mov    -0xbc(%rbp,%rax,8),%eax
  cltq
  mov    -0x110(%rbp,%rax,8),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x14c(%rbp)
  movl   $0x0,-0x164(%rbp)
  jmp    L103
L69:
  mov    -0x168(%rbp),%eax
  cltq
  mov    -0xbc(%rbp,%rax,8),%eax
  cltq
  mov    -0x110(%rbp,%rax,8),%rdx
  mov    -0x164(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x61,%eax
  cltq
  mov    -0x70(%rbp,%rax,4),%eax
  mov    -0x168(%rbp),%edx
  movslq %edx,%rdx
  mov    -0xbc(%rbp,%rdx,8),%edx
  movslq %edx,%rdx
  mov    -0x110(%rbp,%rdx,8),%rcx
  mov    -0x164(%rbp),%edx
  movslq %edx,%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movsbl %dl,%edx
  lea    -0x61(%rdx),%ecx
  sub    -0x150(%rbp),%eax
  mov    %eax,%edx
  movslq %ecx,%rax
  mov    %edx,-0x70(%rbp,%rax,4)
  addl   $0x1,-0x164(%rbp)
L103:
  mov    -0x164(%rbp),%eax
  cmp    -0x14c(%rbp),%eax
  jl     L69
L20:
  addl   $0x1,-0x168(%rbp)
L59:
  cmpl   $0x9,-0x168(%rbp)
  jle    L51
  mov    -0x16c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x148(%rbp)
  movl   $0x0,-0x160(%rbp)
  movl   $0x0,-0x15c(%rbp)
  jmp    L111
L36:
  movl   $0x0,-0x158(%rbp)
  jmp    L14
L113:
  mov    -0x15c(%rbp),%eax
  lea    0x30(%rax),%ecx
  mov    -0x160(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x148(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x160(%rbp)
  addl   $0x1,-0x158(%rbp)
L14:
  mov    -0x15c(%rbp),%eax
  cltq
  mov    -0x140(%rbp,%rax,4),%eax
  cmp    %eax,-0x158(%rbp)
  jl     L113
  addl   $0x1,-0x15c(%rbp)
L111:
  cmpl   $0x9,-0x15c(%rbp)
  jle    L36
  mov    -0x16c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x148(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x148(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L70
  call   <__stack_chk_fail@plt>
L70:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D62
datatype: string
name: disassemble_data
arguments: tag: D5
datatype: string
name: disassemble_data
arguments: tag: D13
datatype: string
name: disassemble_data
arguments: tag: D48
datatype: string
name: disassemble_data
arguments: tag: D79
datatype: string
name: disassemble_data
arguments: tag: D93
datatype: string
name: disassemble_data
arguments: tag: D16
datatype: string
name: disassemble_data
arguments: tag: D46
datatype: string
name: disassemble_data
arguments: tag: D32
datatype: string
name: disassemble_data
arguments: tag: D37
datatype: string

tool: D62: zero

tool: D5: one

tool: D13: two

tool: D48: three

tool: D79: four

tool: D93: five

tool: D16: six

tool: D46: seven

tool: D32: eight

tool: D37: nine

assistant: ```c
char *originalDigits(char *s) {
  char *pres[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
  int pair[10][2] = {{'z', 0}, {'w', 2}, {'x', 6}, {'g', 8}, {'s', 7}, {'v', 5}, {'f', 4}, {'r', 3}, {'o', 1}, {'i', 9}};
  int size = strlen(s);
  int cnt[26];
  memset(cnt, 0, 26 * sizeof(int));
  for (int i = 0; i < size; i++) {
    cnt[s[i] - 'a']++;
  }
  int res[10];
  int resLen = 0;
  memset(res, 0, 10 * sizeof(int));
  for (int i = 0; i < 10; i++) {
    int c = cnt[pair[i][0] - 'a'];
    if (c != 0) {
      resLen += c;
      res[pair[i][1]] = c;
      int len = strlen(pres[pair[i][1]]);
      for (int j = 0; j < len; j++) {
        cnt[pres[pair[i][1]][j] - 'a'] -= c;
      }
    }
  }
  char *resString = (char *)malloc((resLen + 1) * sizeof(char));
  int idx = 0;
  for (int i = 0; i < 10; i++) {
    for (int j = 0; j < res[i]; j++) {
      resString[idx] = '0' + i;
      idx++;
    }
  }
  resString[resLen] = 0;
  return resString;
}
```