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,-0x44(%rbp)
  jmp    L45
L1:
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0xffffffff88888889,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x1e,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x44(%rbp),%eax
  cltq
  mov    %edx,-0x30(%rbp,%rax,4)
  addl   $0x1,-0x44(%rbp)
L45:
  cmpl   $0x9,-0x44(%rbp)
  jle    L1
  movl   $0x0,-0x44(%rbp)
  jmp    L44
L7:
  mov    -0x44(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D116(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x44(%rbp)
L44:
  cmpl   $0x9,-0x44(%rbp)
  jle    L7
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    -0x30(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D85(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x30(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D125(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    -0x30(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  sub    $0x190,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L23
  call   <__stack_chk_fail@plt>
L23:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D116
type_guessed: string
name: read_data
arguments: data_tag: D85
type_guessed: string
name: read_data
arguments: data_tag: D47
type_guessed: string
name: read_data
arguments: data_tag: D31
type_guessed: string
name: read_data
arguments: data_tag: D129
type_guessed: string
name: read_data
arguments: data_tag: D125
type_guessed: string
name: read_data
arguments: data_tag: D5
type_guessed: string

tool: D116: %d, 

tool: D85: endereco de y = %p


tool: D47: endereco de z = %p


tool: D31: valor de z    = %ld


tool: D129: conteudo de   = %d


tool: D125: valor de f    = %ld


tool: D5: conteudo de   = %f


assistant: ```c
int main(void) {
  int x, i;
  int y[10];
  int *z;
  float *f;
  for (i = 0; i < 10; i++) {
    y[i] = rand() % 30;
  }
  for (i = 0; i < 10; i++) {
    printf("%d, ", y[i]);
  }
  printf("\n");
  z = y;
  printf("endereco de y = %p\n", y);
  printf("endereco de z = %p\n", &z);
  printf("valor de z    = %ld\n", z);
  printf("conteudo de   = %d\n", *z);
  z = z + 1;
  printf("valor de z    = %ld\n", z);
  printf("conteudo de   = %d\n", *z);
  z = z + 3;
  printf("valor de z    = %ld\n", z);
  printf("conteudo de   = %d\n", *z);
  f = y;
  printf("valor de f    = %ld\n", f);
  printf("conteudo de   = %f\n", *f);
  z = y;
  z = z - 100;
  printf("valor de z    = %ld\n", z);
  printf("conteudo de   = %d\n", *z);
  return 0;
}
```