user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movq   $0x0,0x30(%rsp)
  lea    0x8(%rsp),%rsi
  lea    D0(%rip),%rdi
  call   <scanf@plt>
  cmpl   $0x0,0x8(%rsp)
  jle    L102
  mov    $0x0,%ebx
  lea    D36(%rip),%rbp
  jmp    L84
L209:
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  comiss %xmm1,%xmm0
  jbe    L185
  lea    0x1(%rax),%edx
  pxor   %xmm1,%xmm1
  cvtsi2ss %edx,%xmm1
  comiss %xmm0,%xmm1
  jb     L185
  cltq
  addl   $0x1,0x10(%rsp,%rax,4)
  jmp    L91
L185:
  add    $0x1,%eax
  cmp    $0x9,%eax
  jg     L91
L151:
  test   %eax,%eax
  jne    L209
  comiss D25(%rip),%xmm0
  jb     L143
  movss  D61(%rip),%xmm2
  comiss %xmm0,%xmm2
  jb     L129
  addl   $0x1,0x10(%rsp)
L91:
  add    $0x1,%ebx
  cmp    %ebx,0x8(%rsp)
  jle    L102
L84:
  lea    0xc(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movss  0xc(%rsp),%xmm0
  mov    $0x0,%eax
  jmp    L151
L143:
  mov    $0x1,%eax
  jmp    L151
L129:
  mov    $0x1,%eax
  jmp    L151
L102:
  lea    0x10(%rsp),%rcx
  lea    0x38(%rsp),%rsi
  mov    %rcx,%rax
  mov    $0x0,%r13d
L68:
  mov    (%rax),%edx
  cmp    %edx,%r13d
  cmovl  %edx,%r13d
  add    $0x4,%rax
  cmp    %rax,%rsi
  jne    L68
L206:
  mov    (%rcx),%eax
  lea    (%rax,%rax,4),%eax
  shl    $0x2,%eax
  cltd
  idiv   %r13d
  mov    %eax,(%rcx)
  add    $0x4,%rcx
  cmp    %rcx,%rsi
  jne    L206
  lea    D12(%rip),%rdi
  call   <puts@plt>
  lea    0x34(%rsp),%r14
  mov    $0xa,%r12d
  lea    D55(%rip),%r15
  jmp    L2
L48:
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L159:
  mov    %r14,%rbp
  mov    (%r14),%ebx
  test   %ebx,%ebx
  jle    L140
L141:
  mov    $0x2a,%edi
  call   <putchar@plt>
  sub    $0x1,%ebx
  mov    %ebx,0x0(%rbp)
  jne    L141
L140:
  mov    $0xa,%edi
  call   <putchar@plt>
  sub    $0x4,%r14
  sub    $0x1,%r12d
  je     L39
L2:
  movslq %r12d,%rax
  imul   $0x66666667,%rax,%rax
  sar    $0x21,%rax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  lea    (%rax,%rax,4),%eax
  cmp    %eax,%r12d
  jne    L48
  mov    %r12d,%esi
  lea    D84(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L159
L39:
  lea    D86(%rip),%rdi
  call   <puts@plt>
  lea    0x0(%r13,%r13,2),%eax
  lea    0x3(%rax),%ecx
  test   %eax,%eax
  cmovns %eax,%ecx
  sar    $0x2,%ecx
  mov    %r13d,%edx
  shr    $0x1f,%edx
  add    %r13d,%edx
  sar    %edx
  lea    0x3(%r13),%esi
  test   %r13d,%r13d
  cmovns %r13d,%esi
  sar    $0x2,%esi
  mov    %r13d,%r8d
  lea    D19(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L204
  mov    $0x0,%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L204:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D0
type_guessed: string
name: retrieve_data
arguments: label: D36
type_guessed: string
name: retrieve_data
arguments: label: D25
type_guessed: byte[4]
name: retrieve_data
arguments: label: D61
type_guessed: byte[4]
name: retrieve_data
arguments: label: D12
type_guessed: string
name: retrieve_data
arguments: label: D55
type_guessed: string
name: retrieve_data
arguments: label: D84
type_guessed: string
name: retrieve_data
arguments: label: D86
type_guessed: string
name: retrieve_data
arguments: label: D19
type_guessed: string

tool: D0: %d


tool: D36: %f

tool: {"D25": [0x00,0x00,0x00,0x00]}

tool: {"D61": [0x00,0x00,0x80,0x3f]}

tool: D12:   ^

tool: D55:   |

tool: D84: %2d|

tool: D86:  0+----+----+----+----+>

tool: D19:   0   %d   %d   %d   %d


assistant: ```c
int main() {
  int i, j, n, maior = 0, vetor[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
  float aux;
  scanf("%d\n", &n);
  for (i = 0; i < n; i++) {
    scanf("%f", &aux);
    for (j = 0; j < 10; j++) {
      if (j == 0) {
        if ((j <= aux) && (aux <= (j + 1))) {
          vetor[j]++;
          j = 10;
        }
      } else {
        if ((j < aux) && (aux <= (j + 1))) {
          vetor[j]++;
          j = 10;
        }
      }
    }
  }
  for (j = 0; j < 10; j++) {
    if (vetor[j] > maior) {
      maior = vetor[j];
    }
  }
  for (j = 0; j < 10; j++) {
    vetor[j] = (vetor[j] * 20) / maior;
  }
  printf("  ^\n");
  for (j = 9; j >= 0; j--) {
    if (((j + 1) % 5) == 0) {
      printf("%2d|", (j + 1));
    } else {
      printf("  |");
    }
    while (vetor[j] > 0) {
      printf("*");
      vetor[j]--;
    }
    printf("\n");
  }
  printf(" 0+----+----+----+----+>\n");
  printf("  0   %d   %d   %d   %d\n", (maior / 4), (maior / 2), ((3 * maior) / 4), maior);
  return 0;
}
```