user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x34(%rbp)
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  movq   $0x0,-0x10(%rbp)
  lea    -0x44(%rbp),%rax
  mov    %rax,%rsi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0x0,-0x3c(%rbp)
  jmp    L143
L42:
  lea    -0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0x0,-0x38(%rbp)
  jmp    L97
L216:
  cmpl   $0x0,-0x38(%rbp)
  jne    L207
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x38(%rbp),%xmm1
  movss  -0x40(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jb     L76
  mov    -0x38(%rbp),%eax
  add    $0x1,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  -0x40(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jb     L76
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  lea    0x1(%rax),%edx
  mov    -0x38(%rbp),%eax
  cltq
  mov    %edx,-0x30(%rbp,%rax,4)
  movl   $0xa,-0x38(%rbp)
  jmp    L76
L207:
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x38(%rbp),%xmm1
  movss  -0x40(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jbe    L76
  mov    -0x38(%rbp),%eax
  add    $0x1,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  -0x40(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jb     L76
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  lea    0x1(%rax),%edx
  mov    -0x38(%rbp),%eax
  cltq
  mov    %edx,-0x30(%rbp,%rax,4)
  movl   $0xa,-0x38(%rbp)
L76:
  addl   $0x1,-0x38(%rbp)
L97:
  cmpl   $0x9,-0x38(%rbp)
  jle    L216
  addl   $0x1,-0x3c(%rbp)
L143:
  mov    -0x44(%rbp),%eax
  cmp    %eax,-0x3c(%rbp)
  jl     L42
  movl   $0x0,-0x38(%rbp)
  jmp    L153
L219:
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  cmp    %eax,-0x34(%rbp)
  jge    L201
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  mov    %eax,-0x34(%rbp)
L201:
  addl   $0x1,-0x38(%rbp)
L153:
  cmpl   $0x9,-0x38(%rbp)
  jle    L219
  movl   $0x0,-0x38(%rbp)
  jmp    L44
L52:
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  shl    $0x2,%eax
  cltd
  idivl  -0x34(%rbp)
  mov    %eax,%edx
  mov    -0x38(%rbp),%eax
  cltq
  mov    %edx,-0x30(%rbp,%rax,4)
  addl   $0x1,-0x38(%rbp)
L44:
  cmpl   $0x9,-0x38(%rbp)
  jle    L52
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x9,-0x38(%rbp)
  jmp    L209
L180:
  mov    -0x38(%rbp),%eax
  lea    0x1(%rax),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    %eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x2,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  jne    L65
  mov    -0x38(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D64(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L127
L65:
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L127
L10:
  mov    $0x2a,%edi
  call   <putchar@plt>
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  lea    -0x1(%rax),%edx
  mov    -0x38(%rbp),%eax
  cltq
  mov    %edx,-0x30(%rbp,%rax,4)
L127:
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  test   %eax,%eax
  jg     L10
  mov    $0xa,%edi
  call   <putchar@plt>
  subl   $0x1,-0x38(%rbp)
L209:
  cmpl   $0x0,-0x38(%rbp)
  jns    L180
  lea    D39(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x34(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  mov    %eax,%esi
  mov    -0x34(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%ecx
  mov    -0x34(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  mov    %eax,%r9d
  mov    %esi,%r8d
  mov    $0x0,%esi
  lea    D18(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L148
  call   <__stack_chk_fail@plt>
L148:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D3
data_type: string
name: read_data
arguments: data_tag: D52
data_type: string
name: read_data
arguments: data_tag: D6
data_type: string
name: read_data
arguments: data_tag: D64
data_type: string
name: read_data
arguments: data_tag: D42
data_type: string
name: read_data
arguments: data_tag: D39
data_type: string
name: read_data
arguments: data_tag: D18
data_type: string

tool: D3: %d


tool: D52: %f

tool: D6:      ^

tool: D64: %4d |

tool: D42:      |

tool: D39:    0 +----+----+----+----+>

tool: D18: %6d%5d%5d%5d%5d


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("%4d |", (j + 1));
    } else {
      printf("     |");
    }
    while (vetor[j] > 0) {
      printf("*");
      vetor[j]--;
    }
    printf("\n");
  }
  printf("   0 +----+----+----+----+>\n");
  printf("%6d%5d%5d%5d%5d\n", 0, maior / 4, maior / 2, (maior * 3) / 4, maior);
  return 0;
}
```