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

```asm
<originalDigits>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x140,%rsp
  mov    %rdi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x138(%rsp)
  xor    %eax,%eax
  lea    D20(%rip),%rax
  mov    %rax,0x30(%rsp)
  lea    D59(%rip),%rax
  mov    %rax,0x38(%rsp)
  lea    D25(%rip),%rax
  mov    %rax,0x40(%rsp)
  lea    D13(%rip),%rax
  mov    %rax,0x48(%rsp)
  lea    D99(%rip),%rax
  mov    %rax,0x50(%rsp)
  lea    D40(%rip),%rax
  mov    %rax,0x58(%rsp)
  lea    D56(%rip),%rax
  mov    %rax,0x60(%rsp)
  lea    D51(%rip),%rax
  mov    %rax,0x68(%rsp)
  lea    D77(%rip),%rax
  mov    %rax,0x70(%rsp)
  lea    D72(%rip),%rax
  mov    %rax,0x78(%rsp)
  movl   $0x7a,0x80(%rsp)
  movl   $0x0,0x84(%rsp)
  movl   $0x77,0x88(%rsp)
  movl   $0x2,0x8c(%rsp)
  movl   $0x78,0x90(%rsp)
  movl   $0x6,0x94(%rsp)
  movl   $0x67,0x98(%rsp)
  movl   $0x8,0x9c(%rsp)
  movl   $0x73,0xa0(%rsp)
  movl   $0x7,0xa4(%rsp)
  movl   $0x76,0xa8(%rsp)
  movl   $0x5,0xac(%rsp)
  movl   $0x66,0xb0(%rsp)
  movl   $0x4,0xb4(%rsp)
  movl   $0x72,0xb8(%rsp)
  movl   $0x3,0xbc(%rsp)
  movl   $0x6f,0xc0(%rsp)
  movl   $0x1,0xc4(%rsp)
  movl   $0x69,0xc8(%rsp)
  movl   $0x9,0xcc(%rsp)
  call   <strlen@plt>
  mov    %eax,%ebp
  lea    0xd0(%rsp),%rdi
  mov    $0x68,%edx
  mov    $0x0,%esi
  call   <memset@plt>
  test   %ebp,%ebp
  jle    L55
  mov    %rbx,%rdx
  lea    -0x1(%rbp),%eax
  lea    0x1(%rbx,%rax,1),%rcx
L114:
  movsbl (%rdx),%eax
  sub    $0x61,%eax
  cltq
  addl   $0x1,0xd0(%rsp,%rax,4)
  add    $0x1,%rdx
  cmp    %rcx,%rdx
  jne    L114
L55:
  mov    %rsp,%rdi
  mov    $0x28,%edx
  mov    $0x0,%esi
  call   <memset@plt>
  lea    0x80(%rsp),%rbp
  lea    0xd0(%rsp),%r13
  mov    $0x0,%ebx
  jmp    L24
L5:
  add    $0x8,%rbp
  cmp    %r13,%rbp
  je     L6
L24:
  mov    0x0(%rbp),%eax
  sub    $0x61,%eax
  cltq
  mov    0xd0(%rsp,%rax,4),%r12d
  test   %r12d,%r12d
  je     L5
  add    %r12d,%ebx
  movslq 0x4(%rbp),%rax
  mov    %r12d,(%rsp,%rax,4)
  mov    0x30(%rsp,%rax,8),%r14
  mov    %r14,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jle    L5
  mov    %r14,%rdx
  lea    -0x1(%rax),%eax
  lea    0x1(%r14,%rax,1),%rcx
L86:
  movsbl (%rdx),%eax
  sub    $0x61,%eax
  cltq
  sub    %r12d,0xd0(%rsp,%rax,4)
  add    $0x1,%rdx
  cmp    %rcx,%rdx
  jne    L86
  jmp    L5
L6:
  lea    0x1(%rbx),%edi
  call   <malloc@plt>
  mov    %rsp,%r10
  mov    $0x30,%esi
  mov    $0x0,%ecx
  jmp    L46
L2:
  lea    (%rax,%rdx,1),%rcx
  mov    %sil,(%rcx,%r8,1)
  lea    (%rdi,%rdx,1),%ecx
  add    $0x1,%rdx
  cmp    %edx,(%r9)
  jg     L2
L49:
  add    $0x4,%r10
  add    $0x1,%esi
  cmp    $0x3a,%sil
  je     L69
L46:
  mov    %r10,%r9
  mov    $0x0,%edx
  movslq %ecx,%r8
  lea    0x1(%rcx),%edi
  cmpl   $0x0,(%r10)
  jg     L2
  jmp    L49
L69:
  movslq %ebx,%rbx
  movb   $0x0,(%rax,%rbx,1)
  mov    0x138(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L45
  add    $0x140,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L45:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D20
data_type: string
name: parse_data
arguments: data_tag: D59
data_type: string
name: parse_data
arguments: data_tag: D25
data_type: string
name: parse_data
arguments: data_tag: D13
data_type: string
name: parse_data
arguments: data_tag: D99
data_type: string
name: parse_data
arguments: data_tag: D40
data_type: string
name: parse_data
arguments: data_tag: D56
data_type: string
name: parse_data
arguments: data_tag: D51
data_type: string
name: parse_data
arguments: data_tag: D77
data_type: string
name: parse_data
arguments: data_tag: D72
data_type: string

tool: D20: zero

tool: D59: one

tool: D25: two

tool: D13: three

tool: D99: four

tool: D40: five

tool: D56: six

tool: D51: seven

tool: D77: eight

tool: D72: 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;
}
```