user: What is the c source code of the assembly code below?

```asm
<test_strrchr>:
  endbr64
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movl   $0x79797978,0x2(%rsp)
  movw   $0x7a,0x6(%rsp)
  lea    0x2(%rsp),%rdi
  mov    $0x7a,%esi
  call   <strrchr@plt>
  lea    0x6(%rsp),%rdx
  cmp    %rax,%rdx
  je     L16
  mov    $0x101,%edx
  lea    D14(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
L48:
  mov    0x8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L137
  add    $0x10,%rsp
  pop    %rbx
  ret
L16:
  lea    0x2(%rsp),%rdi
  mov    $0x7a,%esi
  call   <strrchr@plt>
  lea    0x6(%rsp),%rdx
  cmp    %rax,%rdx
  je     L68
  mov    $0x102,%edx
  lea    D14(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L48
L68:
  lea    0x2(%rsp),%rdi
  mov    $0x0,%esi
  call   <strrchr@plt>
  lea    0x7(%rsp),%rdx
  cmp    %rax,%rdx
  je     L51
  mov    $0x105,%edx
  lea    D12(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L48
L51:
  lea    0x2(%rsp),%rdi
  mov    $0x0,%esi
  call   <strrchr@plt>
  lea    0x7(%rsp),%rdx
  cmp    %rax,%rdx
  je     L67
  mov    $0x106,%edx
  lea    D93(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L48
L67:
  lea    0x2(%rsp),%rdi
  mov    $0x64,%esi
  call   <strrchr@plt>
  test   %rax,%rax
  je     L125
  mov    $0x108,%edx
  lea    D53(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L48
L125:
  lea    0x2(%rsp),%rdi
  mov    $0x79,%esi
  call   <strrchr@plt>
  lea    0x5(%rsp),%rdx
  cmp    %rax,%rdx
  je     L5
  mov    $0x109,%edx
  lea    D76(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L48
L5:
  lea    0x2(%rsp),%rbx
  mov    $0x78,%esi
  mov    %rbx,%rdi
  call   <strrchr@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  cmp    %rdx,%rbx
  je     L48
  mov    $0x10a,%edx
  lea    D65(%rip),%rsi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L48
L137:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D14
type_infered: string
name: unpack_data
arguments: data_label: D33
type_infered: string
name: unpack_data
arguments: data_label: D12
type_infered: string
name: unpack_data
arguments: data_label: D93
type_infered: string
name: unpack_data
arguments: data_label: D53
type_infered: string
name: unpack_data
arguments: data_label: D76
type_infered: string
name: unpack_data
arguments: data_label: D65
type_infered: string

tool: D14: &data[4] == strrchr(data, 'z')

tool: D33: expression '%s' untrue at %d


tool: D12: &data[5] == strrchr(data, 0)

tool: D93: &data[5] == strrchr(data, '\0')

tool: D53: NULL == strrchr(data, 'd')

tool: D76: &data[3] == strrchr(data, 'y')

tool: D65: &data[0] == strrchr(data, 'x')

assistant: ```c
int test_strrchr(void) {
  char data[] = "xyyyz";
  do {
    if (!(&data[4] == strrchr(data, 'z'))) {
      printf("expression '%s' untrue at %d\n", "&data[4] == strrchr(data, 'z')", 257);
      return 0;
    }
  } while (0);
  do {
    if (!(&data[4] == strrchr(data, 'z'))) {
      printf("expression '%s' untrue at %d\n", "&data[4] == strrchr(data, 'z')", 258);
      return 0;
    }
  } while (0);
  do {
    if (!(&data[5] == strrchr(data, 0))) {
      printf("expression '%s' untrue at %d\n", "&data[5] == strrchr(data, 0)", 261);
      return 0;
    }
  } while (0);
  do {
    if (!(&data[5] == strrchr(data, '\0'))) {
      printf("expression '%s' untrue at %d\n", "&data[5] == strrchr(data, '\\0')", 262);
      return 0;
    }
  } while (0);
  do {
    if (!(NULL == strrchr(data, 'd'))) {
      printf("expression '%s' untrue at %d\n", "NULL == strrchr(data, 'd')", 264);
      return 0;
    }
  } while (0);
  do {
    if (!(&data[3] == strrchr(data, 'y'))) {
      printf("expression '%s' untrue at %d\n", "&data[3] == strrchr(data, 'y')", 265);
      return 0;
    }
  } while (0);
  do {
    if (!(&data[0] == strrchr(data, 'x'))) {
      printf("expression '%s' untrue at %d\n", "&data[0] == strrchr(data, 'x')", 266);
      return 0;
    }
  } while (0);
  return 1;
}
```