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

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movabs $0x2073692073696854,%rax
  movabs $0x7372696620656874,%rdx
  mov    %rax,(%rsp)
  mov    %rdx,0x8(%rsp)
  movabs $0x7320747365742074,%rax
  movabs $0x2e676e697274,%rdx
  mov    %rax,0x10(%rsp)
  mov    %rdx,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movq   $0x0,0x30(%rsp)
  movq   $0x0,0x38(%rsp)
  movq   $0x0,0x40(%rsp)
  movq   $0x0,0x48(%rsp)
  movq   $0x0,0x50(%rsp)
  movq   $0x0,0x58(%rsp)
  movl   $0x0,0x60(%rsp)
  mov    %rsp,%rbx
  mov    %rbx,%rsi
  lea    D50(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0xc,%edx
  lea    D106(%rip),%rbp
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strn_cpy@plt>
  mov    %rbx,%rsi
  lea    D62(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1e,%edx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strn_cpy@plt>
  mov    %rbx,%rsi
  lea    D117(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpb   $0x0,0xc(%rsp)
  sete   %sil
  movzbl %sil,%esi
  lea    D99(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpb   $0x0,0x10(%rsp)
  sete   %sil
  movzbl %sil,%esi
  lea    D58(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpb   $0x0,0x1d(%rsp)
  sete   %sil
  movzbl %sil,%esi
  lea    D49(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x14,%edx
  lea    D149(%rip),%rsi
  mov    %rbx,%rdi
  call   <strn_cat@plt>
  mov    %rax,%rsi
  lea    D147(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x5,%edx
  lea    D123(%rip),%rbp
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strn_cmp@plt>
  mov    %eax,%esi
  lea    D57(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xb,%edx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strn_cmp@plt>
  mov    %eax,%esi
  lea    D42(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xf,%edx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strn_cmp@plt>
  mov    %eax,%esi
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x6,%edx
  lea    D80(%rip),%rsi
  mov    %rbx,%rdi
  call   <strn_cmp@plt>
  mov    %eax,%esi
  lea    D132(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  mov    $0x0,%eax
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  ret
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D50
data_type: string
name: parse_data
arguments: tag: D106
data_type: string
name: parse_data
arguments: tag: D62
data_type: string
name: parse_data
arguments: tag: D117
data_type: string
name: parse_data
arguments: tag: D99
data_type: string
name: parse_data
arguments: tag: D58
data_type: string
name: parse_data
arguments: tag: D49
data_type: string
name: parse_data
arguments: tag: D149
data_type: string
name: parse_data
arguments: tag: D147
data_type: string
name: parse_data
arguments: tag: D123
data_type: string
name: parse_data
arguments: tag: D57
data_type: string
name: parse_data
arguments: tag: D42
data_type: string
name: parse_data
arguments: tag: D20
data_type: string
name: parse_data
arguments: tag: D80
data_type: string
name: parse_data
arguments: tag: D132
data_type: string

tool: D50: Test string s:
%s


tool: D106: This is the 

tool: D62: strn_cpy(s, "This is the ", 12):
s: %s


tool: D117: strn_cpy(s, "This is the ", 30):
s: %s


tool: D99: Should be padded with 0s. Test s[12] == 0? %d


tool: D58: Should be padded with 0s. Test s[16] == 0? %d


tool: D49: Should be padded with 0s. Test s[29] == 0? %d


tool: D149: concatenated string.

tool: D147: strn_cat(s, "concatenated string. But this sentence must not be copied.", 20):
s: %s


tool: D123: This is the

tool: D57: strn_cmp(s, "This is the", 5) returns %d


tool: D42: strn_cmp(s, "This is the", 11) returns %d


tool: D20: strn_cmp(s, "This is the", 15) returns %d


tool: D80: UVWXYZ

tool: D132: strn_cmp(s, "UVWXYZ", 6) returns %d


assistant: ```c
int main(int argc, char **argv) {
  char s[100] = "This is the first test string.";
  char *ps;
  int r;
  printf("Test string s:\n%s\n", s);
  printf("\n");
  strn_cpy(s, "This is the ", 12);
  printf("strn_cpy(s, \"This is the \", 12):\ns: %s\n", s);
  strn_cpy(s, "This is the ", 30);
  printf("strn_cpy(s, \"This is the \", 30):\ns: %s\n", s);
  printf("Should be padded with 0s. Test s[12] == 0? %d\n", s[12] == '\0' ? 1 : 0);
  printf("Should be padded with 0s. Test s[16] == 0? %d\n", s[16] == '\0' ? 1 : 0);
  printf("Should be padded with 0s. Test s[29] == 0? %d\n", s[29] == '\0' ? 1 : 0);
  ps = strn_cat(s, "concatenated string.", 20);
  printf("strn_cat(s, \"concatenated string. But this sentence must not be copied.\", 20):\ns: %s\n", ps);
  printf("\n");
  r = strn_cmp(s, "This is the", 5);
  printf("strn_cmp(s, \"This is the\", 5) returns %d\n", r);
  r = strn_cmp(s, "This is the", 11);
  printf("strn_cmp(s, \"This is the\", 11) returns %d\n", r);
  r = strn_cmp(s, "This is the", 15);
  printf("strn_cmp(s, \"This is the\", 15) returns %d\n", r);
  r = strn_cmp(s, "UVWXYZ", 6);
  printf("strn_cmp(s, \"UVWXYZ\", 6) returns %d\n", r);
  return 0;
}
```