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

```asm
<create_dictionary>:
  endbr64
  push   %r15
  mov    $0xffffffff,%r15d
  push   %r14
  mov    %rsi,%r14
  push   %r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x18,%rsp
  mov    %rsi,0x8(%rsp)
  call   <strlen@plt>
  mov    %r14,%rdi
  mov    $0x10000,%edx
  xor    %esi,%esi
  lea    -0x1(%rax),%r13d
  xor    %r14d,%r14d
  call   <memset@plt>
  test   %r13d,%r13d
  jle    L62
  cs nopw 0x0(%rax,%rax,1)
L77:
  movslq %r14d,%rax
  movsbl 0x1(%rbx,%rax,1),%esi
  movsbl (%rbx,%rax,1),%edi
  call   <word_terminator@plt>
  cmp    $0x1,%eax
  je     L134
L91:
  add    $0x1,%r14d
  cmp    %r14d,%r13d
  jg     L77
L62:
  movss  D18(%rip),%xmm0
L5:
  mov    0x8(%rsp),%rdx
  lea    0x10000(%rdx),%rcx
  mov    %rdx,%rax
  cs nopw 0x0(%rax,%rax,1)
L35:
  movss  (%rax),%xmm1
  add    $0x4,%rax
  maxss  %xmm0,%xmm1
  movaps %xmm1,%xmm0
  cmp    %rcx,%rax
  jne    L35
  shufps $0x0,%xmm0,%xmm0
  nopl   0x0(%rax,%rax,1)
L61:
  movups (%rdx),%xmm1
  add    $0x10,%rdx
  divps  %xmm0,%xmm1
  movups %xmm1,-0x10(%rdx)
  cmp    %rcx,%rdx
  jne    L61
L31:
  add    $0x18,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L134:
  cmp    $0xffffffff,%r15d
  jne    L12
  lea    0x1(%r14),%r15d
  cmp    %r13d,%r15d
  jge    L62
L116:
  movslq %r15d,%r15
L40:
  movsbl (%rbx,%r15,1),%edi
  mov    %r15d,%r14d
  mov    %edi,%eax
  and    $0xffffffdf,%eax
  sub    $0x41,%eax
  cmp    $0x19,%al
  ja     L102
  movsbl 0x1(%rbx,%r15,1),%esi
  call   <word_terminator@plt>
  cmp    $0x1,%eax
  jne    L91
  mov    %r15d,%ebp
L48:
  movss  D0(%rip),%xmm0
  lea    0x1(%rbp),%r15d
  mov    %r14d,%esi
  mov    %rbx,%rdi
  mov    %r15d,%edx
  call   <word_to_float@plt>
  mov    %eax,%esi
  cmp    $0x3fff,%eax
  jg     L68
  mov    0x8(%rsp),%rsi
  cltq
  movss  D18(%rip),%xmm0
  add    $0x1,%r12d
  lea    (%rsi,%rax,4),%rax
  movss  (%rax),%xmm1
  addss  %xmm0,%xmm1
  movss  %xmm1,(%rax)
  cmp    %r13d,%r15d
  jl     L116
  jmp    L5
  nopl   0x0(%rax)
L102:
  add    $0x1,%r15
  cmp    %r15d,%r13d
  jg     L40
  jmp    L62
L68:
  mov    $0x4000,%edx
  lea    D22(%rip),%rdi
  mov    $0xffffffff,%r12d
  call   <printf@plt>
  jmp    L31
L12:
  mov    %r14d,%ebp
  mov    %r15d,%r14d
  jmp    L48
```

tool_calls: name: retrieve_data
arguments: data_label: D18
data_type: f32
name: retrieve_data
arguments: data_label: D0
data_type: byte[4]
name: retrieve_data
arguments: data_label: D22
data_type: string

tool: D18: 1

tool: {"D0": [0x10,0x73,0x1a,0x44]}

tool: D22: Dictionary size exceeded %d/%d


assistant: ```c
int create_dictionary(char *text, float dictionary[]) {
  int i, state = 1, prev_pos = -1, index, total_words = 0;
  int length = strlen(text) - 1;
  float max = 1, mult = (128 * 128) / (26.0f * 1.02f);
  memset((void *)dictionary, '\0', (128 * 128) * sizeof(float));
  for (i = 0; i < length; i++) {
    if (state == 0) {
      if (((text[i] >= 'a') && (text[i] <= 'z')) || ((text[i] >= 'A') && (text[i] <= 'Z'))) {
        state = 1;
        prev_pos = i;
      }
    }
    if (state == 1) {
      if (word_terminator(text[i], text[i + 1]) == 1) {
        state = 0;
        if (prev_pos > -1) {
          index = (int)word_to_float(text, prev_pos, i + 1, mult);
          if (index >= (128 * 128)) {
            printf("Dictionary size exceeded %d/%d\n", index, (128 * 128));
            return -1;
          } else {
            dictionary[index]++;
            total_words++;
          }
        }
      }
    }
  }
  for (i = 0; i < (128 * 128); i++) {
    if (dictionary[i] > max)
      max = dictionary[i];
  }
  for (i = 0; i < (128 * 128); i++) {
    dictionary[i] /= max;
  }
  return total_words;
}
```