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

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x64,%ecx
  xor    %r15d,%r15d
  push   %r14
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  mov    $0xf4240,%r12d
  push   %rbp
  mov    $0xffffffff,%ebp
  push   %rbx
  sub    $0x338,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x328(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbx
  mov    $0xffffffffffffffff,%rax
  lea    0x10(%rsp),%r14
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  nopl   0x0(%rax,%rax,1)
L197:
  xor    %eax,%eax
  call   <random_number@plt>
  imul   $0x63,%eax,%edx
  cmp    %edx,%ebp
  cmovl  %edx,%ebp
  cmp    %edx,%r12d
  cmovg  %edx,%r12d
  test   %r15d,%r15d
  je     L97
  lea    -0x1(%r15),%eax
  cmp    $0x2,%eax
  jbe    L190
  mov    %r15d,%ecx
  movd   %edx,%xmm3
  pxor   %xmm0,%xmm0
  mov    %rbx,%rax
  shr    $0x2,%ecx
  pshufd $0x0,%xmm3,%xmm2
  sub    $0x1,%ecx
  shl    $0x4,%rcx
  add    %r14,%rcx
  nopl   0x0(%rax)
L146:
  movdqa %xmm2,%xmm1
  add    $0x10,%rax
  pcmpeqd -0x10(%rax),%xmm1
  psubd  %xmm1,%xmm0
  cmp    %rcx,%rax
  jne    L146
  movdqa %xmm0,%xmm1
  mov    %r15d,%ecx
  psrldq $0x8,%xmm1
  and    $0xfffffffc,%ecx
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%eax
  test   $0x3,%r15b
  je     L139
L40:
  movslq %ecx,%rdi
  cmp    (%rsp,%rdi,4),%edx
  je     L22
  add    $0x1,%ecx
  cmp    %r15d,%ecx
  jge    L139
  movslq %ecx,%rdi
  cmp    %edx,(%rsp,%rdi,4)
  je     L123
L52:
  add    $0x1,%ecx
  cmp    %r15d,%ecx
  jge    L139
L188:
  movslq %ecx,%rcx
  cmp    %edx,(%rsp,%rcx,4)
  jne    L139
  add    $0x1,%eax
L139:
  test   %eax,%eax
  je     L97
L150:
  cmp    $0x1,%eax
  je     L129
  lea    D29(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
L129:
  add    $0x1,%r13d
  cmp    $0x63,%r15d
  jne    L197
  mov    %r12d,%edx
  mov    %ebp,%esi
  lea    D46(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13d,%esi
  xor    %eax,%eax
  xor    %ebp,%ebp
  lea    D25(%rip),%rdi
  lea    D36(%rip),%r12
  call   <printf@plt>
  cs nopw 0x0(%rax,%rax,1)
L134:
  mov    (%rbx,%rbp,4),%edx
  mov    %ebp,%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    $0x63,%rbp
  jne    L134
  mov    0x328(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L93
  add    $0x338,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L97:
  movslq %r15d,%rax
  mov    %r15d,%esi
  lea    D17(%rip),%rdi
  add    $0x1,%r15d
  mov    %edx,(%rsp,%rax,4)
  mov    %r13d,%edx
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L129
  nopl   0x0(%rax,%rax,1)
L22:
  add    $0x1,%ecx
  add    $0x1,%eax
  cmp    %r15d,%ecx
  jge    L150
  movslq %ecx,%rdi
  cmp    %edx,(%rsp,%rdi,4)
  jne    L52
L123:
  add    $0x1,%ecx
  add    $0x1,%eax
  cmp    %r15d,%ecx
  jl     L188
  jmp    L150
L190:
  xor    %eax,%eax
  xor    %ecx,%ecx
  jmp    L40
L93:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D29
type_infered: string
name: retrieve_data
arguments: data_tag: D46
type_infered: string
name: retrieve_data
arguments: data_tag: D25
type_infered: string
name: retrieve_data
arguments: data_tag: D36
type_infered: string
name: retrieve_data
arguments: data_tag: D17
type_infered: string

tool: D29: 

on a enregistre plusieurs fois le meme

tool: D46: max %d 	 min %d 


tool: D25: nbre de tirage : %d


tool: D36: %3d %3d


tool: D17: k =%3d c =%3d


assistant: ```c
void main(void) {
  int k, nvois, ivois, max, min, c, i, dejavu;
  int liste[200];
  for (k = 0; k < 200; k++)
    liste[k] = -1;
  max = -1;
  min = 1000000;
  nvois = 99;
  k = 0;
  c = 0;
  while (k != nvois) {
    ivois = (int)(nvois * random_number());
    if (ivois > max)
      max = ivois;
    if (ivois < min)
      min = ivois;
    dejavu = 0;
    for (i = 0; i < k; i++) {
      if (liste[i] == ivois)
        dejavu++;
    }
    if (dejavu == 0) {
      liste[k] = ivois;
      printf("k =%3d c =%3d\n", k, c);
      k++;
    } else if (dejavu > 1) {
      printf("\n\non a enregistre plusieurs fois le meme\n");
      exit(0);
    }
    c++;
  }
  printf("max %d \t min %d \n", max, min);
  printf("nbre de tirage : %d\n", c);
  for (k = 0; k < nvois; k++)
    printf("%3d %3d\n", k, liste[k]);
}
```