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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D28(%rip),%rax
  mov    %rax,-0x20(%rbp)
  movl   $0x1,-0x24(%rbp)
  mov    $0x2625a00,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    $0x2625a00,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movl   $0x0,-0x2c(%rbp)
  jmp    L79
L43:
  movl   $0x0,-0x28(%rbp)
  jmp    L14
L73:
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x28(%rbp),%eax
  cltq
  mov    %dl,-0xf(%rbp,%rax,1)
  mov    -0x28(%rbp),%eax
  cltq
  movzbl -0xf(%rbp,%rax,1),%eax
  cmp    $0x20,%al
  je     L14
  addl   $0x1,-0x28(%rbp)
L14:
  cmpl   $0x6,-0x28(%rbp)
  jle    L73
  lea    -0xf(%rbp),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  add    $0x1,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x2c(%rbp)
L79:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x2c(%rbp)
  jl     L43
  movl   $0x0,-0x2c(%rbp)
  jmp    L26
L50:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  jle    L93
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rax
  imul   $0x68db8bad,%rax,%rax
  shr    $0x20,%rax
  sar    $0xc,%eax
  mov    %edx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  imul   $0x2710,%eax,%esi
  mov    %edx,%eax
  sub    %esi,%eax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rsi
  imul   $0x68db8bad,%rsi,%rsi
  shr    $0x20,%rsi
  sar    $0xc,%esi
  sar    $0x1f,%edx
  sub    %edx,%esi
  mov    %eax,%edx
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x24(%rbp)
L93:
  addl   $0x1,-0x2c(%rbp)
L26:
  cmpl   $0x98967f,-0x2c(%rbp)
  jle    L50
  cmpl   $0x0,-0x24(%rbp)
  je     L56
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L56:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L37
  call   <__stack_chk_fail@plt>
L37:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D28
data_type: string
name: disassemble_data
arguments: data_tag: D27
data_type: string
name: disassemble_data
arguments: data_tag: D20
data_type: string
name: disassemble_data
arguments: data_tag: D4
data_type: string

tool: D28:                                                 0123456789       2223334445556667 77888999                                       

tool: D27: %d

tool: D20: %03d-%04d %d


tool: D4: No duplicates.

assistant: ```c
int main() {
  const char *trans = "                                                0123456789       2223334445556667 77888999                                       ";
  int *dict, n, i, l, no_duplicates = 1;
  char num_str[7];
  dict = malloc(sizeof(int[10000000]));
  memset(dict, 0, sizeof(int[10000000]));
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    l = 0;
    while (l < 7) {
      num_str[l] = trans[getchar()];
      if (num_str[l] != ' ')
        l++;
    }
    dict[atoi(num_str)]++;
  }
  for (i = 0; i < 10000000; i++)
    if (dict[i] > 1) {
      printf("%03d-%04d %d\n", i / 10000, i % 10000, dict[i]);
      no_duplicates = 0;
    }
  if (no_duplicates)
    printf("No duplicates.");
  return 0;
}
```