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

```asm
<create_letter_distribution_diagram>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x108,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xf8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  call   <strlen@plt>
  movdqa D8(%rip),%xmm0
  mov    $0xd,%ecx
  mov    %rbp,%rdi
  movslq %eax,%rdx
  xor    %eax,%eax
  rep stos %rax,%es:(%rdi)
  movaps %xmm0,0x80(%rsp)
  movdqa D32(%rip),%xmm0
  mov    D0(%rip),%rax
  movaps %xmm0,0x90(%rsp)
  movdqa D62(%rip),%xmm0
  mov    %rax,0xe0(%rsp)
  mov    %edx,%eax
  movaps %xmm0,0xa0(%rsp)
  movdqa D3(%rip),%xmm0
  movaps %xmm0,0xb0(%rsp)
  movdqa D26(%rip),%xmm0
  movaps %xmm0,0xc0(%rsp)
  movdqa D18(%rip),%xmm0
  movaps %xmm0,0xd0(%rsp)
  sub    $0x1,%eax
  js     L22
  movslq %eax,%rdi
  lea    -0x2(%rbx,%rdx,1),%r8
  mov    %eax,%eax
  add    %rbx,%rdi
  sub    %rax,%r8
  nopl   (%rax)
L174:
  movsbl (%rdi),%esi
  mov    %rbp,%rcx
  mov    $0x61,%edx
  mov    $0x41,%eax
  jmp    L7
  nopw   0x0(%rax,%rax,1)
L47:
  cmp    $0x7a,%edx
  jg     L157
L7:
  cmp    %eax,%esi
  je     L120
  cmp    %edx,%esi
  jne    L141
L120:
  addl   $0x1,(%rcx)
L141:
  add    $0x1,%eax
  add    $0x1,%edx
  add    $0x4,%rcx
  cmp    $0x5a,%eax
  jle    L47
L157:
  sub    $0x1,%rdi
  cmp    %r8,%rdi
  jne    L174
L22:
  lea    0x80(%rsp),%r12
  mov    (%rsp),%ecx
  mov    %rbp,%rdi
  xor    %ebx,%ebx
  mov    %r12,%r8
  nopl   0x0(%rax,%rax,1)
L8:
  movslq %ebx,%rsi
  add    $0x1,%rbx
  mov    %rbx,%rax
  nopw   0x0(%rax,%rax,1)
L5:
  mov    0x0(%rbp,%rax,4),%edx
  cmp    %edx,%ecx
  jge    L100
  mov    %edx,%ecx
  movslq %eax,%rsi
L100:
  add    $0x1,%rax
  cmp    $0x1a,%eax
  jne    L5
  mov    (%rdi),%eax
  mov    (%r8),%edx
  add    $0x4,%rdi
  add    $0x4,%r8
  mov    %eax,(%rsp,%rsi,4)
  mov    0x80(%rsp,%rsi,4),%eax
  mov    %ecx,-0x4(%rdi)
  mov    (%rdi),%ecx
  mov    %edx,0x80(%rsp,%rsi,4)
  mov    %eax,-0x4(%r8)
  cmp    $0x19,%rbx
  jne    L8
  lea    0x84(%rsp),%rcx
  lea    0x4(%rsp),%rdx
L170:
  mov    -0x4(%rdx),%esi
  xor    %eax,%eax
  jmp    L106
  nopw   0x0(%rax,%rax,1)
L74:
  add    $0x1,%rax
  cmp    %rbx,%rax
  je     L95
L106:
  cmp    (%rdx,%rax,4),%esi
  jne    L74
  mov    -0x4(%rcx),%edi
  mov    (%rcx,%rax,4),%r8d
  cmp    %r8d,%edi
  jle    L74
  mov    %r8d,-0x4(%rcx)
  mov    %edi,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    %rbx,%rax
  jne    L106
  nopw   0x0(%rax,%rax,1)
L95:
  add    $0x4,%rcx
  add    $0x4,%rdx
  sub    $0x1,%rbx
  jne    L170
  lea    D36(%rip),%r13
  nopl   (%rax)
L86:
  mov    0x0(%rbp,%rbx,1),%edx
  mov    (%r12,%rbx,1),%esi
  mov    %r13,%rdi
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    $0x68,%rbx
  jne    L86
  mov    0xf8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L113
  add    $0x108,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L113:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D8
type: byte[16]
name: read_data
arguments: label: D32
type: byte[16]
name: read_data
arguments: label: D0
type: byte[8]
name: read_data
arguments: label: D62
type: byte[16]
name: read_data
arguments: label: D3
type: byte[16]
name: read_data
arguments: label: D26
type: byte[16]
name: read_data
arguments: label: D18
type: byte[16]
name: read_data
arguments: label: D36
type: string

tool: {"D8": [0x61,0x00,0x00,0x00,0x62,0x00,0x00,0x00,0x63,0x00,0x00,0x00,0x64,0x00,0x00,0x00]}

tool: {"D32": [0x65,0x00,0x00,0x00,0x66,0x00,0x00,0x00,0x67,0x00,0x00,0x00,0x68,0x00,0x00,0x00]}

tool: {"D0": [0x79,0x00,0x00,0x00,0x7a,0x00,0x00,0x00]}

tool: {"D62": [0x69,0x00,0x00,0x00,0x6a,0x00,0x00,0x00,0x6b,0x00,0x00,0x00,0x6c,0x00,0x00,0x00]}

tool: {"D3": [0x6d,0x00,0x00,0x00,0x6e,0x00,0x00,0x00,0x6f,0x00,0x00,0x00,0x70,0x00,0x00,0x00]}

tool: {"D26": [0x71,0x00,0x00,0x00,0x72,0x00,0x00,0x00,0x73,0x00,0x00,0x00,0x74,0x00,0x00,0x00]}

tool: {"D18": [0x75,0x00,0x00,0x00,0x76,0x00,0x00,0x00,0x77,0x00,0x00,0x00,0x78,0x00,0x00,0x00]}

tool: D36: %c %d


assistant: ```c
int create_letter_distribution_diagram(char sentence[1000]) {
  int length = strlen(sentence);
  int letters[30];
  int count = 0;
  int ascii_letters[30];
  for (; count < 26; count++) {
    letters[count] = 0;
  }
  for (count = 0; count < 26; count++) {
    ascii_letters[count] = count + 97;
  }
  for (length--; length >= 0; length--) {
    int ascii_uppercase = 65;
    int ascii_lowercase = 97;
    for (; ascii_uppercase < 91 && ascii_lowercase < 123; ascii_uppercase++, ascii_lowercase++) {
      if (sentence[length] == ascii_uppercase) {
        count = ascii_uppercase - 65;
        letters[count]++;
      }
      if (sentence[length] == ascii_lowercase) {
        count = ascii_lowercase - 97;
        letters[count]++;
      }
    }
  }
  for (count = 0; count < 26; count++) {
    int min = count;
    int helper;
    int help_sort;
    for (helper = count + 1; helper < 26; helper++)
      if (letters[min] < letters[helper])
        min = helper;
    help_sort = letters[min];
    letters[min] = letters[count];
    letters[count] = help_sort;
    help_sort = ascii_letters[min];
    ascii_letters[min] = ascii_letters[count];
    ascii_letters[count] = help_sort;
  }
  for (count = 0; count < 26; count++) {
    int helper;
    for (helper = count + 1; helper < 26; helper++)
      if (letters[count] == letters[helper] && ascii_letters[count] > ascii_letters[helper]) {
        int help_sort = ascii_letters[count];
        ascii_letters[count] = ascii_letters[helper];
        ascii_letters[helper] = help_sort;
      }
  }
  for (count = 0; count < 26; count++) {
    printf("%c %d\n", ascii_letters[count], letters[count]);
  }
  return 0;
}
```