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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x100,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x74736574,-0xe0(%rbp)
  movq   $0x0,-0xd8(%rbp)
  movq   $0x0,-0xd0(%rbp)
  movq   $0x0,-0xc8(%rbp)
  movq   $0x0,-0xc0(%rbp)
  movq   $0x0,-0xb8(%rbp)
  movq   $0x0,-0xb0(%rbp)
  movq   $0x0,-0xa8(%rbp)
  movq   $0x0,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  movq   $0x0,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movl   $0x0,-0x80(%rbp)
  lea    D61(%rip),%rax
  mov    %rax,-0x100(%rbp)
  mov    -0x100(%rbp),%rcx
  lea    -0xe0(%rbp),%rax
  mov    $0x3,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
  lea    -0xe0(%rbp),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movabs $0x3274736574,%rax
  mov    $0x0,%edx
  mov    %rax,-0x70(%rbp)
  mov    %rdx,-0x68(%rbp)
  movq   $0x0,-0x60(%rbp)
  movq   $0x0,-0x58(%rbp)
  movq   $0x0,-0x50(%rbp)
  movq   $0x0,-0x48(%rbp)
  movq   $0x0,-0x40(%rbp)
  movq   $0x0,-0x38(%rbp)
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  movl   $0x0,-0x10(%rbp)
  lea    D10(%rip),%rax
  mov    %rax,-0xf8(%rbp)
  mov    -0xf8(%rbp),%rcx
  lea    -0x70(%rbp),%rax
  mov    $0x3,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncat@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D9(%rip),%rax
  mov    %rax,-0xf0(%rbp)
  lea    D54(%rip),%rax
  mov    %rax,-0xe8(%rbp)
  mov    -0xe8(%rbp),%rcx
  mov    -0xf0(%rbp),%rax
  mov    $0x3,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  mov    %eax,%esi
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0xe8(%rbp),%rcx
  mov    -0xf0(%rbp),%rax
  mov    $0x5,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  mov    %eax,%esi
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0xe8(%rbp),%rcx
  mov    -0xf0(%rbp),%rax
  mov    $0x7,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  mov    %eax,%esi
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L8
  call   <__stack_chk_fail@plt>
L8:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D61
type_infered: string
name: retrieve_data
arguments: data_label: D10
type_infered: string
name: retrieve_data
arguments: data_label: D9
type_infered: string
name: retrieve_data
arguments: data_label: D54
type_infered: string
name: retrieve_data
arguments: data_label: D50
type_infered: string

tool: D61: longstring

tool: D10: longstring2

tool: D9: test3

tool: D54: test3123

tool: D50: %d


assistant: ```c
int main(void) {
  char s1[100] = "test";
  char *t1 = "longstring";
  strncpy(s1, t1, 3);
  printf("%s\n", s1);
  char s2[100] = "test2";
  char *t2 = "longstring2";
  strncat(s2, t2, 3);
  printf("%s\n", s2);
  char *s3 = "test3";
  char *t3 = "test3123";
  printf("%d\n", strncmp(s3, t3, 3));
  printf("%d\n", strncmp(s3, t3, 5));
  printf("%d\n", strncmp(s3, t3, 7));
  return 0;
}
```