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

```asm
<main>:
  endbr64
  push   %r13
  mov    $0x216f,%ecx
  mov    $0x67,%edx
  lea    D20(%rip),%rdi
  push   %r12
  push   %rbp
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  movabs $0x7320207473726966,%rax
  lea    0x4(%rsp),%r13
  lea    0x12(%rsp),%r12
  mov    %cx,0x24(%rsp)
  mov    %r13,%rsi
  mov    %dx,0x1e(%rsp)
  lea    0x20(%rsp),%rbp
  movl   $0x6e697274,0xc(%rsp)
  movl   $0x6e697274,0x1a(%rsp)
  movl   $0x6c6c6548,0x20(%rsp)
  movb   $0x0,0x26(%rsp)
  mov    %rax,0x4(%rsp)
  mov    $0x67,%eax
  mov    %ax,0x10(%rsp)
  movabs $0x7320646e6f636573,%rax
  mov    %rax,0x12(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  lea    D40(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  lea    D2(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x5,%edx
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <mstrncpy@plt>
  mov    %r13,%rsi
  lea    D50(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x5,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <mstrncat@plt>
  lea    D11(%rip),%r12
  mov    %rbp,%rsi
  xor    %eax,%eax
  lea    D76(%rip),%rdi
  lea    D27(%rip),%rbp
  call   <printf@plt>
  mov    $0x4,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <mstrncmp@plt>
  lea    D70(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  mov    $0x5,%edx
  call   <mstrncmp@plt>
  lea    D37(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x40,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D20
type_infered: string
name: unpack_data
arguments: data_label: D40
type_infered: string
name: unpack_data
arguments: data_label: D2
type_infered: string
name: unpack_data
arguments: data_label: D50
type_infered: string
name: unpack_data
arguments: data_label: D11
type_infered: string
name: unpack_data
arguments: data_label: D76
type_infered: string
name: unpack_data
arguments: data_label: D27
type_infered: string
name: unpack_data
arguments: data_label: D70
type_infered: string
name: unpack_data
arguments: data_label: D37
type_infered: string

tool: D20: s : %s


tool: D40: t : %s


tool: D2: bs: %s


tool: D50: strncpy(s,t,5):
%s



tool: D11: vlado

tool: D76: strncat(bs,t,5):
%s



tool: D27: vladi

tool: D70: strncmp('vladi', 'vlado', 4): %i


tool: D37: strncmp('vladi', 'vlado', 5): %i


assistant: ```c
int main(void) {
  char s[] = "first  string";
  char t[] = "second string";
  char bs[20];
  bs[0] = 'H';
  bs[1] = 'e';
  bs[2] = 'l';
  bs[3] = 'l';
  bs[4] = 'o';
  bs[5] = '!';
  bs[6] = '\0';
  printf("s : %s\n", s);
  printf("t : %s\n", t);
  printf("bs: %s\n", bs);
  printf("\n");
  mstrncpy(s, t, 5);
  printf("strncpy(s,t,5):\n%s\n\n", s);
  mstrncat(bs, t, 5);
  printf("strncat(bs,t,5):\n%s\n\n", bs);
  printf("strncmp('vladi', 'vlado', 4): %i\n", mstrncmp("vladi", "vlado", 4));
  printf("strncmp('vladi', 'vlado', 5): %i\n", mstrncmp("vladi", "vlado", 5));
  return 0;
}
```