user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r13
  lea    D34(%rip),%rdi
  push   %r12
  push   %rbp
  lea    D12(%rip),%rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  movabs $0x200000001,%rax
  lea    0x4(%rsp),%rbx
  lea    0x28(%rsp),%r12
  mov    %rax,(%rsp)
  movabs $0x400000003,%rax
  mov    %rax,0x8(%rsp)
  movabs $0x600000005,%rax
  mov    %rax,0x10(%rsp)
  movabs $0x800000007,%rax
  mov    %rax,0x18(%rsp)
  movabs $0xa00000009,%rax
  mov    %rax,0x20(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%esi
  jmp    L30
  nopl   0x0(%rax)
L87:
  mov    (%rbx),%esi
  add    $0x4,%rbx
L30:
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L87
  lea    D44(%rip),%rdi
  xor    %eax,%eax
  xor    %ebx,%ebx
  mov    $0x1,%ebp
  call   <printf@plt>
  lea    D35(%rip),%r12
  jmp    L38
  nopl   0x0(%rax,%rax,1)
L2:
  add    $0x1,%rbx
  cmp    $0xa,%rbx
  je     L53
L81:
  mov    (%rsp,%rbx,4),%ebp
L38:
  test   $0x1,%bpl
  jne    L2
  mov    %ebp,%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  add    $0x1,%rbx
  sar    %eax
  cltq
  mov    %ebp,0x30(%rsp,%rax,4)
  cmp    $0xa,%rbx
  jne    L81
L53:
  lea    D2(%rip),%rdi
  xor    %eax,%eax
  lea    0x30(%rsp),%rbx
  call   <printf@plt>
  lea    0x44(%rsp),%r12
  mov    %rbx,%rbp
  lea    D50(%rip),%r13
L50:
  mov    0x0(%rbp),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    %r12,%rbp
  jne    L50
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  lea    D74(%rip),%rbp
  call   <printf@plt>
L28:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L28
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L27
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L27:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D34
type: string
name: unpack_data
arguments: data_label: D12
type: string
name: unpack_data
arguments: data_label: D44
type: string
name: unpack_data
arguments: data_label: D35
type: string
name: unpack_data
arguments: data_label: D2
type: string
name: unpack_data
arguments: data_label: D50
type: string
name: unpack_data
arguments: data_label: D14
type: string
name: unpack_data
arguments: data_label: D74
type: string

tool: D34: 
--- Vetor ---

tool: D12: 
valor : %d 

tool: D44: 

--- Ponteiro Vetor para Numero Pares ---

tool: D35: 
Numero Par : %d 

tool: D2: 


--- Novo Vetor ---

tool: D50: 
valor: %d 

tool: D14: 

--- Ponteiro Novo Vetor ---

tool: D74: 
Novo Vetor : %d 

assistant: ```c
int main(void) {
  int vetor[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  int *ptr_vetor;
  int novo_vetor[10];
  int *ptr_novo_vetor;
  ptr_vetor = &vetor[0];
  printf("\n--- Vetor ---");
  for (int i = 0; i < 10; i++)
    printf("\nvalor : %d ", vetor[i]);
  printf("\n\n--- Ponteiro Vetor para Numero Pares ---");
  for (int i = 0; i < 10; i++) {
    if (ptr_vetor[i] % 2 == 0) {
      printf("\nNumero Par : %d ", ptr_vetor[i]);
      novo_vetor[i / 2] = ptr_vetor[i];
    }
  }
  ptr_novo_vetor = novo_vetor;
  printf("\n\n\n--- Novo Vetor ---");
  for (int i = 0; i < 10 / 2; i++)
    printf("\nvalor: %d ", novo_vetor[i]);
  printf("\n\n--- Ponteiro Novo Vetor ---");
  for (int i = 0; i < 10 / 2; i++)
    printf("\nNovo Vetor : %d ", *(ptr_novo_vetor + i));
}
```