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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x8,%esi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x5c(%rbp)
  jmp    L119
L29:
  lea    -0x50(%rbp),%rdx
  mov    -0x5c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x5c(%rbp),%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%edx
  mov    -0x5c(%rbp),%eax
  cltq
  mov    %edx,-0x30(%rbp,%rax,4)
  addl   $0x1,-0x5c(%rbp)
L119:
  cmpl   $0x7,-0x5c(%rbp)
  jle    L29
  movl   $0x7,-0x58(%rbp)
  jmp    L63
L79:
  movl   $0x0,-0x5c(%rbp)
  jmp    L2
L42:
  mov    -0x5c(%rbp),%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%edx
  mov    -0x5c(%rbp),%eax
  add    $0x1,%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%eax
  cmp    %eax,%edx
  jle    L55
  mov    -0x5c(%rbp),%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%eax
  mov    %eax,-0x54(%rbp)
  mov    -0x5c(%rbp),%eax
  add    $0x1,%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%edx
  mov    -0x5c(%rbp),%eax
  cltq
  mov    %edx,-0x50(%rbp,%rax,4)
  mov    -0x5c(%rbp),%eax
  add    $0x1,%eax
  cltq
  mov    -0x54(%rbp),%edx
  mov    %edx,-0x50(%rbp,%rax,4)
L55:
  addl   $0x1,-0x5c(%rbp)
L2:
  mov    -0x5c(%rbp),%eax
  cmp    -0x58(%rbp),%eax
  jl     L42
  subl   $0x1,-0x58(%rbp)
L63:
  cmpl   $0x0,-0x58(%rbp)
  jg     L79
  lea    D62(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x5c(%rbp)
  jmp    L93
L73:
  mov    -0x5c(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D70(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x5c(%rbp)
L93:
  cmpl   $0x7,-0x5c(%rbp)
  jle    L73
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x5c(%rbp)
  jmp    L87
L88:
  mov    -0x5c(%rbp),%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D70(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x5c(%rbp)
L87:
  cmpl   $0x7,-0x5c(%rbp)
  jle    L88
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x7,-0x5c(%rbp)
  jmp    L134
L83:
  mov    -0x5c(%rbp),%eax
  cltq
  mov    -0x50(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D70(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  subl   $0x1,-0x5c(%rbp)
L134:
  cmpl   $0x0,-0x5c(%rbp)
  jns    L83
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L132
  call   <__stack_chk_fail@plt>
L132:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D63
data_type: string
name: extract_symbolic_data
arguments: data_label: D19
data_type: string
name: extract_symbolic_data
arguments: data_label: D62
data_type: string
name: extract_symbolic_data
arguments: data_label: D70
data_type: string
name: extract_symbolic_data
arguments: data_label: D54
data_type: string
name: extract_symbolic_data
arguments: data_label: D30
data_type: string

tool: D63: Ordenacao de Vetores - Estilo Bubble Sort
Digite %d valores para serem ordenados:


tool: D19: %d

tool: D62: 

Vetor Original:

tool: D70: %d 

tool: D54: 

Vetor Ordenado:

tool: D30: 

Vetor Inverso:

assistant: ```c
int main() {
  int vet[8], clone[8];
  int i, j;
  int menor;
  printf("Ordenacao de Vetores - Estilo Bubble Sort\nDigite %d valores para serem ordenados:\n", 8);
  for (i = 0; i < 8; i++) {
    scanf("%d", &vet[i]);
    clone[i] = vet[i];
  }
  for (j = (8 - 1); j > 0; j--) {
    for (i = 0; i < j; i++) {
      if (vet[i] > vet[i + 1]) {
        menor = vet[i];
        vet[i] = vet[i + 1];
        vet[i + 1] = menor;
      }
    }
  }
  printf("\n\nVetor Original:\n");
  for (i = 0; i < 8; i++) {
    printf("%d ", clone[i]);
  }
  printf("\n\nVetor Ordenado:\n");
  for (i = 0; i < 8; i++) {
    printf("%d ", vet[i]);
  }
  printf("\n\nVetor Inverso:\n");
  for (i = 8 - 1; i >= 0; i--) {
    printf("%d ", vet[i]);
  }
  return 0;
}
```