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

```asm
<test_ft_memchr>:
  endbr64
  push   %r12
  lea    D62(%rip),%rdi
  push   %rbp
  lea    D12(%rip),%rbp
  lea    0x1(%rbp),%r12
  sub    $0x8,%rsp
  call   <puts@plt>
  lea    D15(%rip),%rdi
  xor    %eax,%eax
  call   <_it@plt>
  xor    %eax,%eax
  call   <_begin_assert@plt>
  xor    %eax,%eax
  mov    $0x5,%edx
  mov    %rbp,%rdi
  mov    $0x30,%esi
  call   <ft_memchr@plt>
  cltq
  cmp    %r12,%rax
  mov    $0x0,%eax
  je     L12
  call   <_fail_test@plt>
  mov    $0x1f,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x90,%edx
  lea    D86(%rip),%rsi
  xor    %eax,%eax
  lea    D85(%rip),%rdi
  call   <printf@plt>
  xor    %edi,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x5,%edx
  mov    $0x30,%esi
L3:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <ft_memchr@plt>
  mov    %r12,%rdx
  lea    D112(%rip),%rdi
  mov    $0x1,%r12d
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
L22:
  add    $0x8,%rsp
  mov    %r12d,%eax
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L12:
  call   <_begin_assert@plt>
  mov    $0x5,%edx
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    $0x6c,%esi
  lea    D92(%rip),%r12
  call   <ft_memchr@plt>
  cltq
  cmp    %r12,%rax
  je     L68
  xor    %eax,%eax
  call   <_fail_test@plt>
  mov    $0x1f,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x91,%edx
  lea    D86(%rip),%rsi
  xor    %eax,%eax
  lea    D85(%rip),%rdi
  call   <printf@plt>
  xor    %edi,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x5,%edx
  mov    $0x6c,%esi
  jmp    L3
  nopl   0x0(%rax)
L68:
  lea    D61(%rip),%rdi
  xor    %eax,%eax
  call   <_it@plt>
  xor    %eax,%eax
  call   <_begin_assert@plt>
  xor    %edx,%edx
  xor    %eax,%eax
  mov    $0x30,%esi
  mov    %rbp,%rdi
  call   <ft_memchr@plt>
  test   %eax,%eax
  mov    $0x0,%eax
  jne    L48
  call   <_begin_assert@plt>
  mov    $0x5,%edx
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    $0x6b,%esi
  call   <ft_memchr@plt>
  mov    %eax,%r12d
  xor    %eax,%eax
  test   %r12d,%r12d
  jne    L20
  call   <_close_pending@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L22
  nopw   0x0(%rax,%rax,1)
L48:
  call   <_fail_test@plt>
  mov    $0x1f,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x94,%edx
  lea    D86(%rip),%rsi
  xor    %eax,%eax
  lea    D85(%rip),%rdi
  call   <printf@plt>
  xor    %edi,%edi
  xor    %eax,%eax
  call   <_color@plt>
  xor    %edx,%edx
  mov    $0x30,%esi
L14:
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    $0x1,%r12d
  call   <ft_memchr@plt>
  xor    %edx,%edx
  lea    D112(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  add    $0x8,%rsp
  mov    %r12d,%eax
  pop    %rbp
  pop    %r12
  ret
L20:
  call   <_fail_test@plt>
  mov    $0x1f,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x95,%edx
  lea    D86(%rip),%rsi
  xor    %eax,%eax
  lea    D85(%rip),%rdi
  call   <printf@plt>
  xor    %edi,%edi
  xor    %eax,%eax
  call   <_color@plt>
  mov    $0x5,%edx
  mov    $0x6b,%esi
  jmp    L14
```

tool_calls: name: retrieve_data
arguments: data_tag: D62
data_type: string
name: retrieve_data
arguments: data_tag: D12
data_type: string
name: retrieve_data
arguments: data_tag: D15
data_type: string
name: retrieve_data
arguments: data_tag: D86
data_type: string
name: retrieve_data
arguments: data_tag: D85
data_type: string
name: retrieve_data
arguments: data_tag: D112
data_type: string
name: retrieve_data
arguments: data_tag: D92
data_type: string
name: retrieve_data
arguments: data_tag: D61
data_type: string

tool: D62: ft_memchr

tool: D12: b0cal

tool: D15: should return the first ocurrence of c in string s

tool: D86: test_ft_memchr

tool: D85: 
failure in %s() line %d


tool: D112: expected %p to equal %p



tool: D92: l

tool: D61: should return null if no such byte exists within n bytes

assistant: ```c
int test_ft_memchr() {
  char *str = "b0cal";
  printf("%s\n", __func__ + 5);
  _it("should return the first ocurrence of c in string s");
  do {
    _begin_assert();
    if (ft_memchr(str, '0', 5) != memchr(str, '0', 5)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 144);
        _color(0);
      } while (0);
      printf("expected %p to equal %p\n\n", ft_memchr(str, '0', 5), memchr(str, '0', 5));
      return 1;
    }
  } while (0);
  do {
    _begin_assert();
    if (ft_memchr(str, 'l', 5) != memchr(str, 'l', 5)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 145);
        _color(0);
      } while (0);
      printf("expected %p to equal %p\n\n", ft_memchr(str, 'l', 5), memchr(str, 'l', 5));
      return 1;
    }
  } while (0);
  _it("should return null if no such byte exists within n bytes");
  do {
    _begin_assert();
    if (ft_memchr(str, '0', 0) != memchr(str, '0', 0)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 148);
        _color(0);
      } while (0);
      printf("expected %p to equal %p\n\n", ft_memchr(str, '0', 0), memchr(str, '0', 0));
      return 1;
    }
  } while (0);
  do {
    _begin_assert();
    if (ft_memchr(str, 'k', 5) != memchr(str, 'k', 5)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 149);
        _color(0);
      } while (0);
      printf("expected %p to equal %p\n\n", ft_memchr(str, 'k', 5), memchr(str, 'k', 5));
      return 1;
    }
  } while (0);
  do {
    _close_pending();
    printf("\n");
    return (0);
  } while (0);
}
```