user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%rbx
  mov    $0x1,%ebp
  lea    D76(%rip),%r14
  lea    D35(%rip),%r13
L62:
  lea    -0x1(%rbp),%r12d
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  cmpl   $0x0,(%rbx)
  je     L79
  add    $0x1,%ebp
  add    $0x4,%rbx
  cmp    $0x15,%ebp
  jne    L62
  lea    D28(%rip),%rdi
  call   <puts@plt>
  mov    $0x14,%r12d
L20:
  movslq %r12d,%rdx
  shl    $0x2,%rdx
  lea    0x10(%rsp,%rdx,1),%rax
  lea    0xc(%rsp,%rdx,1),%rdx
  lea    -0x1(%r12),%ecx
  shl    $0x2,%rcx
  sub    %rcx,%rdx
  pxor   %xmm0,%xmm0
L21:
  pxor   %xmm1,%xmm1
  cvtsi2ssl (%rax),%xmm1
  addss  %xmm1,%xmm0
  sub    $0x4,%rax
  cmp    %rdx,%rax
  jne    L21
  cmp    $0x1,%r12d
  je     L104
  pxor   %xmm1,%xmm1
  cvtsi2ss %r12d,%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,0xc(%rsp)
  cvtss2sd %xmm0,%xmm0
  lea    D73(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x1,%ebx
  lea    D48(%rip),%r13
  lea    D0(%rip),%rbp
  jmp    L116
L79:
  test   %r12d,%r12d
  jg     L20
  pxor   %xmm1,%xmm1
  cvtsi2ss %r12d,%xmm1
  pxor   %xmm0,%xmm0
  divss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D73(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L67
L89:
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L40:
  add    $0x1,%rbx
  cmp    %ebx,%r12d
  jl     L67
L116:
  mov    0x10(%rsp,%rbx,4),%esi
  pxor   %xmm0,%xmm0
  cvtsi2ss %esi,%xmm0
  movss  0xc(%rsp),%xmm2
  ucomiss %xmm2,%xmm0
  jp     L107
  je     L89
L107:
  comiss 0xc(%rsp),%xmm0
  jbe    L40
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L40
L104:
  lea    D67(%rip),%rdi
  call   <puts@plt>
L67:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L65
  mov    $0x0,%eax
  add    $0x70,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L65:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D76
type: string
name: retrieve_data
arguments: data_label: D35
type: string
name: retrieve_data
arguments: data_label: D28
type: string
name: retrieve_data
arguments: data_label: D73
type: string
name: retrieve_data
arguments: data_label: D48
type: string
name: retrieve_data
arguments: data_label: D0
type: string
name: retrieve_data
arguments: data_label: D67
type: string

tool: D76: Digite um valor inteiro: 

tool: D35: %d

tool: D28: 
Limite maximo atingido!

tool: D73: 
Media e: %3.1f


tool: D48: 
%d e maior que a media

tool: D0: 
%d e igual a media

tool: D67: 
Por favor, digite mais de um valor.

assistant: ```c
main() {
  int numero[21], i = 0, fim = 0, total_valores;
  float media = 0;
  do {
    i++;
    if (i <= 20) {
      printf("Digite um valor inteiro: ");
      scanf("%d", &numero[i]);
      if (numero[i] == 0) {
        i--;
        fim = 1;
      }
    } else {
      printf("\nLimite maximo atingido!\n");
      i--;
      fim = 1;
    }
  } while (fim == 0);
  total_valores = i;
  while (i >= 1) {
    media = media + numero[i];
    i--;
  }
  if (total_valores != 1) {
    media = (float)media / total_valores;
    printf("\nMedia e: %3.1f\n", media);
    for (i = 1; i <= total_valores; i++) {
      if (numero[i] == media) {
        printf("\n%d e igual a media", numero[i]);
      } else if (numero[i] > media) {
        printf("\n%d e maior que a media", numero[i]);
      }
    }
  } else {
    printf("\nPor favor, digite mais de um valor.\n");
  }
}
```