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

```asm
<test_any>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %rdi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <assert@plt>
  mov    $0x0,%ecx
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x1,%ecx
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x0,%ecx
  mov    $0xffffffffffffffff,%rdx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x0,%ecx
  lea    D8(%rip),%rbp
  mov    %rbp,%rdx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x1,%ecx
  lea    D4(%rip),%r12
  mov    %r12,%rdx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x1,%ecx
  lea    D58(%rip),%rdx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x2,%ecx
  mov    %r12,%rdx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x2,%ecx
  lea    D44(%rip),%rdx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movl   $0x78,(%rsp)
  mov    %rsp,%rsi
  mov    $0x0,%ecx
  mov    %rbp,%rdx
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  mov    $0x0,%edi
  test   %eax,%eax
  jne    L18
  cmpl   $0x78,(%rsp)
  sete   %dil
  movzbl %dil,%edi
L18:
  call   <assert@plt>
  mov    %rsp,%rbp
  mov    $0x1,%ecx
  lea    D4(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  or     (%rsp),%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x1,%ecx
  lea    D58(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  mov    $0x0,%edi
  cmp    $0x1,%eax
  je     L20
L49:
  call   <assert@plt>
  mov    %rsp,%rbp
  mov    $0x2,%ecx
  lea    D4(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  or     (%rsp),%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    $0x2,%ecx
  lea    D44(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <charset_mbtowc@plt>
  mov    $0x0,%edi
  cmp    $0x1,%eax
  je     L103
L93:
  call   <assert@plt>
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  call   <charset_wctomb@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movb   $0x2e,0x7(%rsp)
  movb   $0x2e,0x6(%rsp)
  lea    0x6(%rsp),%rsi
  mov    $0x0,%edx
  mov    %rbx,%rdi
  call   <charset_wctomb@plt>
  mov    $0x0,%edi
  cmp    $0x1,%eax
  je     L33
L24:
  call   <assert@plt>
  lea    0x6(%rsp),%rsi
  mov    $0x78,%edx
  mov    %rbx,%rdi
  call   <charset_wctomb@plt>
  mov    $0x0,%edi
  cmp    $0x1,%eax
  je     L5
L23:
  call   <assert@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L17
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L20:
  cmpl   $0x62,(%rsp)
  sete   %dil
  movzbl %dil,%edi
  jmp    L49
L103:
  cmpl   $0x63,(%rsp)
  sete   %dil
  movzbl %dil,%edi
  jmp    L93
L33:
  cmpb   $0x0,0x6(%rsp)
  jne    L24
  cmpb   $0x2e,0x7(%rsp)
  sete   %dil
  movzbl %dil,%edi
  jmp    L24
L5:
  cmpb   $0x78,0x6(%rsp)
  jne    L23
  cmpb   $0x2e,0x7(%rsp)
  sete   %dil
  movzbl %dil,%edi
  jmp    L23
L17:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D8
type: string
name: disassemble_data
arguments: data_tag: D4
type: string
name: disassemble_data
arguments: data_tag: D58
type: string
name: disassemble_data
arguments: data_tag: D44
type: string

tool: D8: a

tool: 

tool: D58: b

tool: D44: c

assistant: ```c
void test_any(struct charset *charset) {
  int wc;
  char s[2];
  assert(charset);
  assert(charset_mbtowc(charset, 0, 0, 0) == 0);
  assert(charset_mbtowc(charset, 0, 0, 1) == 0);
  assert(charset_mbtowc(charset, 0, (char *)(-1), 0) == 0);
  assert(charset_mbtowc(charset, 0, "a", 0) == 0);
  assert(charset_mbtowc(charset, 0, "", 1) == 0);
  assert(charset_mbtowc(charset, 0, "b", 1) == 1);
  assert(charset_mbtowc(charset, 0, "", 2) == 0);
  assert(charset_mbtowc(charset, 0, "c", 2) == 1);
  wc = 'x';
  assert(charset_mbtowc(charset, &wc, "a", 0) == 0 && wc == 'x');
  assert(charset_mbtowc(charset, &wc, "", 1) == 0 && wc == 0);
  assert(charset_mbtowc(charset, &wc, "b", 1) == 1 && wc == 'b');
  assert(charset_mbtowc(charset, &wc, "", 2) == 0 && wc == 0);
  assert(charset_mbtowc(charset, &wc, "c", 2) == 1 && wc == 'c');
  assert(charset_wctomb(charset, 0, 0) == 0);
  s[0] = s[1] = '.';
  assert(charset_wctomb(charset, s, 0) == 1 && s[0] == '\0' && s[1] == '.');
  assert(charset_wctomb(charset, s, 'x') == 1 && s[0] == 'x' && s[1] == '.');
}
```