user: What would the C source look like for the assembly code provided here:

```asm
<test_strrchr>:
  endbr64
  push   %rbp
  mov    $0x7a,%esi
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x2(%rsp),%rbp
  mov    $0x7a,%eax
  movl   $0x79797978,0x2(%rsp)
  mov    %rbp,%rdi
  mov    %ax,0x6(%rsp)
  call   <strrchr@plt>
  mov    %rax,%rbx
  lea    0x6(%rsp),%rax
  cmp    %rax,%rbx
  je     L68
  mov    $0x101,%edx
  lea    D21(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
L108:
  mov    0x8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L81
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  ret
L68:
  mov    $0x7a,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  cmp    %rax,%rbx
  je     L36
  mov    $0x102,%edx
  lea    D21(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L108
  xchg   %ax,%ax
L36:
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  mov    %rax,%rbx
  lea    0x7(%rsp),%rax
  cmp    %rax,%rbx
  je     L133
  mov    $0x105,%edx
  lea    D122(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L108
  nopl   0x0(%rax,%rax,1)
L133:
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  cmp    %rax,%rbx
  je     L87
  mov    $0x106,%edx
  lea    D5(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L108
  cs nopw 0x0(%rax,%rax,1)
L87:
  mov    $0x64,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  test   %rax,%rax
  je     L15
  mov    $0x108,%edx
  lea    D44(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L108
  nopl   0x0(%rax)
L15:
  mov    $0x79,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  lea    0x5(%rsp),%rdx
  cmp    %rax,%rdx
  je     L74
  mov    $0x109,%edx
  lea    D82(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L108
L74:
  mov    $0x78,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  mov    %rax,%r8
  mov    $0x1,%eax
  cmp    %r8,%rbp
  je     L108
  mov    $0x10a,%edx
  lea    D107(%rip),%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L108
L81:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D21
type: string
name: parse_data
arguments: label: D2
type: string
name: parse_data
arguments: label: D122
type: string
name: parse_data
arguments: label: D5
type: string
name: parse_data
arguments: label: D44
type: string
name: parse_data
arguments: label: D82
type: string
name: parse_data
arguments: label: D107
type: string

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

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


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

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

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

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

tool: D107: &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;
}
```