user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x74736574,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x656e6564,-0x33(%rbp)
  movw   $0x656d,-0x2f(%rbp)
  movb   $0x0,-0x2d(%rbp)
  movabs $0x7420676e69727473,%rax
  mov    %rax,-0x2c(%rbp)
  movl   $0x747365,-0x24(%rbp)
  lea    -0x2c(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  lea    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x33(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    -0x33(%rbp),%rax
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x2c(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    -0x2c(%rbp),%rax
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x33(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D100(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x2c(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movb   $0x61,-0x33(%rbp)
  lea    -0x33(%rbp),%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    %eax,%esi
  lea    D121(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x33(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  mov    %eax,%esi
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x20(%rbp),%rdx
  lea    -0x33(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  mov    %eax,%esi
  lea    D72(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L4
  call   <__stack_chk_fail@plt>
L4:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D63
type_infered: string
name: parse_data
arguments: tag: D75
type_infered: string
name: parse_data
arguments: tag: D100
type_infered: string
name: parse_data
arguments: tag: D16
type_infered: string
name: parse_data
arguments: tag: D31
type_infered: string
name: parse_data
arguments: tag: D26
type_infered: string
name: parse_data
arguments: tag: D121
type_infered: string
name: parse_data
arguments: tag: D111
type_infered: string
name: parse_data
arguments: tag: D72
type_infered: string

tool: D63: %s %d


tool: D75: 
strcpy:

tool: D100: 
strcat:

tool: D16: 
strcmp:

tool: D31: s1: %s


tool: D26: s2: %s


tool: D121: s1-s1 %d


tool: D111: s1-s2 %d


tool: D72: s2-s1 %d


assistant: ```c
int main() {
  char s1[20] = {'t', 'e', 's', 't', 0};
  char s2[] = {'d', 'e', 'n', 'e', 'm', 'e', 0};
  char s3[] = "string test";
  char *cp = s3;
  printf("%s %d\n", s1, strlen(s1));
  printf("%s %d\n", s2, strlen(s2));
  printf("%s %d\n", s3, strlen(s3));
  printf("%s\n", cp);
  printf("\nstrcpy:\n");
  strcpy(s1, s2);
  printf("%s %d\n", s1, strlen(s1));
  printf("\nstrcat:\n");
  strcat(s1, s3);
  printf("%s %d\n", s1, strlen(s1));
  printf("\nstrcmp:\n");
  printf("s1: %s\n", s1);
  s2[0] = 'a';
  printf("s2: %s\n", s2);
  printf("s1-s1 %d\n", strcmp(s1, s1));
  printf("s1-s2 %d\n", strcmp(s1, s2));
  printf("s2-s1 %d\n", strcmp(s2, s1));
  return 0;
}
```