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

```asm
<main>:
  endbr64
  push   %r14
  mov    $0x18,%edi
  movabs $0x100000000,%r14
  push   %r13
  mov    $0x28,%r13d
  push   %r12
  lea    D3(%rip),%r12
  push   %rbp
  push   %rbx
  movabs $0x100000001,%rbx
  sub    $0x210,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x208(%rsp)
  xor    %eax,%eax
  movq   $0x1,(%rsp)
  movq   $0x0,0x8(%rsp)
  movq   $0x0,0x10(%rsp)
  mov    %rbx,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  mov    %r14,0x30(%rsp)
  mov    %rbx,0x38(%rsp)
  movq   $0x0,0x40(%rsp)
  mov    %r14,0x48(%rsp)
  movl   $0x1,0x50(%rsp)
  call   <malloc@plt>
  mov    $0x7,%edx
  mov    $0x3,%esi
  mov    %rax,%rbp
  mov    %rsp,%rax
  mov    %rax,0x0(%rbp)
  lea    0x1c(%rsp),%rax
  mov    %rbp,%rdi
  mov    %rax,0x8(%rbp)
  lea    0x38(%rsp),%rax
  mov    %rax,0x10(%rbp)
  call   <cover@plt>
  mov    %r12,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  mov    $0x18,%edi
  movq   $0x1,0x60(%rsp)
  movq   $0x0,0x68(%rsp)
  movq   $0x0,0x70(%rsp)
  mov    %rbx,0x78(%rsp)
  movq   $0x0,0x80(%rsp)
  movq   $0x0,0x88(%rsp)
  mov    %r14,0x90(%rsp)
  mov    %rbx,0x98(%rsp)
  movq   $0x0,0xa0(%rsp)
  mov    %rbx,0xa8(%rsp)
  movl   $0x1,0xb0(%rsp)
  call   <malloc@plt>
  mov    $0x7,%edx
  mov    $0x3,%esi
  mov    %rax,%rbp
  lea    0x60(%rsp),%rax
  mov    %rax,0x0(%rbp)
  lea    0x7c(%rsp),%rax
  mov    %rbp,%rdi
  mov    %rax,0x8(%rbp)
  lea    0x98(%rsp),%rax
  mov    %rax,0x10(%rbp)
  call   <cover@plt>
  mov    %r12,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  lea    0xc0(%rsp),%rdi
  lea    D8(%rip),%rsi
  mov    %r13,%rcx
  rep movsq %ds:(%rsi),%es:(%rdi)
  mov    $0x40,%edi
  call   <malloc@plt>
  lea    0x200(%rsp),%rcx
  mov    %rax,%rbp
  lea    0xc0(%rsp),%rax
  mov    %rbp,%rdx
  nopl   (%rax)
L3:
  mov    %rax,(%rdx)
  add    $0x28,%rax
  add    $0x8,%rdx
  cmp    %rcx,%rax
  jne    L3
  mov    $0xa,%edx
  mov    $0x8,%esi
  mov    %rbp,%rdi
  call   <cover@plt>
  mov    %r12,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  mov    0x208(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x210,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D3
data_type: string
name: extract_symbolic_data
arguments: data_label: D8
data_type: string

tool: D3: %d


tool: D8: 

assistant: ```c
int main(int argc, char const *argv[]) {
  int i = 0;
  int case1[][7] = {{1, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 1}, {1, 1, 0, 0, 0, 1, 1}};
  int **p1 = (int **)malloc(sizeof(int *) * 3);
  for (i = 0; i < 3; i++) {
    p1[i] = case1[i];
  }
  printf("%d\n", cover(p1, 3, 7));
  free(p1);
  int case2[][7] = {{1, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 1}, {1, 1, 0, 0, 1, 1, 1}};
  int **p2 = (int **)malloc(sizeof(int *) * 3);
  for (i = 0; i < 3; i++) {
    p2[i] = case2[i];
  }
  printf("%d\n", cover(p2, 3, 7));
  free(p2);
  int case3[][10] = {{1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}};
  int **p3 = (int **)malloc(sizeof(int *) * 8);
  for (i = 0; i < 8; i++) {
    p3[i] = case3[i];
  }
  printf("%d\n", cover(p3, 8, 10));
  free(p3);
  return 0;
}
```