user: Translate the below assembly code into C programming language:

```asm
<create_letter_distribution_diagram>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x110,%rsp
  mov    %rdi,-0x108(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0xf4(%rbp)
  movl   $0x61,-0xec(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L47
L49:
  mov    -0xec(%rbp),%edx
  mov    -0xf0(%rbp),%eax
  add    %eax,%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    %edx,-0xe0(%rbp,%rax,8)
  mov    -0xf0(%rbp),%eax
  cltq
  movl   $0x0,-0xdc(%rbp,%rax,8)
  addl   $0x1,-0xf0(%rbp)
L47:
  cmpl   $0x19,-0xf0(%rbp)
  jle    L49
  jmp    L189
L180:
  mov    -0xf4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0xe4(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L7
L135:
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%eax
  cmp    %eax,-0xe4(%rbp)
  je     L3
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%eax
  sub    $0x20,%eax
  cmp    %eax,-0xe4(%rbp)
  jne    L13
L3:
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%eax
  lea    0x1(%rax),%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    %edx,-0xdc(%rbp,%rax,8)
L13:
  addl   $0x1,-0xf0(%rbp)
L7:
  cmpl   $0x19,-0xf0(%rbp)
  jle    L135
  addl   $0x1,-0xf4(%rbp)
L189:
  mov    -0x108(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0xf4(%rbp)
  jl     L180
  movl   $0x0,-0xf0(%rbp)
  jmp    L82
L144:
  movl   $0x0,-0xf4(%rbp)
  jmp    L173
L125:
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%edx
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%eax
  cmp    %eax,%edx
  jle    L136
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%eax
  mov    %eax,-0xe8(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    %edx,-0xe0(%rbp,%rax,8)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe8(%rbp),%edx
  mov    %edx,-0xe0(%rbp,%rax,8)
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%eax
  mov    %eax,-0xe8(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    %edx,-0xdc(%rbp,%rax,8)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe8(%rbp),%edx
  mov    %edx,-0xdc(%rbp,%rax,8)
  jmp    L39
L136:
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%edx
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%eax
  cmp    %eax,%edx
  jne    L39
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%edx
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%eax
  cmp    %eax,%edx
  jge    L39
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%eax
  mov    %eax,-0xe8(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    %edx,-0xe0(%rbp,%rax,8)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe8(%rbp),%edx
  mov    %edx,-0xe0(%rbp,%rax,8)
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%eax
  mov    %eax,-0xe8(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    %edx,-0xdc(%rbp,%rax,8)
  mov    -0xf4(%rbp),%eax
  cltq
  mov    -0xe8(%rbp),%edx
  mov    %edx,-0xdc(%rbp,%rax,8)
L39:
  addl   $0x1,-0xf4(%rbp)
L173:
  cmpl   $0x19,-0xf4(%rbp)
  jle    L125
  addl   $0x1,-0xf0(%rbp)
L82:
  cmpl   $0x19,-0xf0(%rbp)
  jle    L144
  movl   $0x0,-0xf0(%rbp)
  jmp    L55
L56:
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xdc(%rbp,%rax,8),%edx
  mov    -0xf0(%rbp),%eax
  cltq
  mov    -0xe0(%rbp,%rax,8),%eax
  mov    %eax,%esi
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  addl   $0x1,-0xf0(%rbp)
L55:
  cmpl   $0x19,-0xf0(%rbp)
  jle    L56
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L87
  call   <__stack_chk_fail@plt>
L87:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D7
data_type: string

tool: D7: %c: %d 


assistant: ```c
int create_letter_distribution_diagram(char izrechenie[50]) {
  int alphabet[26][2];
  int counter = 0, lines, ascii = 97, asciicode, tmp;
  for (lines = 0; lines < 26; lines++) {
    alphabet[lines][0] = ascii + lines;
    alphabet[lines][1] = 0;
  }
  while (counter < strlen(izrechenie)) {
    asciicode = izrechenie[counter];
    for (lines = 0; lines < 26; lines++) {
      if (asciicode == alphabet[lines][0] || asciicode == alphabet[lines][0] - 32) {
        alphabet[lines][1]++;
      }
    }
    counter++;
  }
  for (lines = 0; lines < 26; lines++) {
    for (counter = 0; counter < 26; counter++) {
      if (alphabet[lines][1] > alphabet[counter][1]) {
        tmp = alphabet[lines][0];
        alphabet[lines][0] = alphabet[counter][0];
        alphabet[counter][0] = tmp;
        tmp = alphabet[lines][1];
        alphabet[lines][1] = alphabet[counter][1];
        alphabet[counter][1] = tmp;
      } else if (alphabet[lines][1] == alphabet[counter][1]) {
        if (alphabet[lines][0] < alphabet[counter][0]) {
          tmp = alphabet[lines][0];
          alphabet[lines][0] = alphabet[counter][0];
          alphabet[counter][0] = tmp;
          tmp = alphabet[lines][1];
          alphabet[lines][1] = alphabet[counter][1];
          alphabet[counter][1] = tmp;
        }
      }
    }
  }
  for (lines = 0; lines < 26; lines++) {
    printf("%c: %d \n", alphabet[lines][0], alphabet[lines][1]);
  }
  return 0;
}
```