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

```asm
<main>:
  endbr64
  push   %rbx
  mov    $0x64,%edi
  call   <isalnum@plt>
  test   %rax,%rax
  jne    L36
L149:
  mov    $0x64,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  jne    L76
L140:
  mov    $0x64,%edi
  call   <iscntrl@plt>
  test   %rax,%rax
  jne    L4
L80:
  mov    $0x64,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L86
L171:
  mov    $0x64,%edi
  call   <isgraph@plt>
  test   %rax,%rax
  jne    L51
L95:
  mov    $0x64,%edi
  call   <islower@plt>
  test   %rax,%rax
  jne    L200
L41:
  mov    $0x64,%edi
  call   <isprint@plt>
  test   %rax,%rax
  jne    L71
L94:
  mov    $0x64,%edi
  call   <ispunct@plt>
  test   %rax,%rax
  jne    L21
L40:
  mov    $0x64,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L100
L92:
  mov    $0x64,%edi
  call   <isupper@plt>
  test   %rax,%rax
  jne    L97
L115:
  mov    $0x64,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L213
L164:
  mov    $0x64,%edi
  call   <tolower@plt>
  mov    %eax,%esi
  lea    D30(%rip),%rbx
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    $0x64,%edi
  call   <toupper@plt>
  mov    %eax,%esi
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  pop    %rbx
  ret
L36:
  mov    $0x64,%esi
  lea    D43(%rip),%rdi
  call   <printf@plt>
  jmp    L149
L76:
  mov    $0x64,%esi
  lea    D24(%rip),%rdi
  call   <printf@plt>
  jmp    L140
L4:
  mov    $0x64,%esi
  lea    D65(%rip),%rdi
  call   <printf@plt>
  jmp    L80
L86:
  mov    $0x64,%esi
  lea    D20(%rip),%rdi
  call   <printf@plt>
  jmp    L171
L51:
  mov    $0x64,%esi
  lea    D49(%rip),%rdi
  call   <printf@plt>
  jmp    L95
L200:
  mov    $0x64,%esi
  lea    D93(%rip),%rdi
  call   <printf@plt>
  jmp    L41
L71:
  mov    $0x64,%esi
  lea    D32(%rip),%rdi
  call   <printf@plt>
  jmp    L94
L21:
  mov    $0x64,%esi
  lea    D33(%rip),%rdi
  call   <printf@plt>
  jmp    L40
L100:
  mov    $0x64,%esi
  lea    D40(%rip),%rdi
  call   <printf@plt>
  jmp    L92
L97:
  mov    $0x64,%esi
  lea    D10(%rip),%rdi
  call   <printf@plt>
  jmp    L115
L213:
  mov    $0x64,%esi
  lea    D52(%rip),%rdi
  call   <printf@plt>
  jmp    L164
```

tool_calls: name: unpack_data
arguments: tag: D30
type: string
name: unpack_data
arguments: tag: D43
type: string
name: unpack_data
arguments: tag: D24
type: string
name: unpack_data
arguments: tag: D65
type: string
name: unpack_data
arguments: tag: D20
type: string
name: unpack_data
arguments: tag: D49
type: string
name: unpack_data
arguments: tag: D93
type: string
name: unpack_data
arguments: tag: D32
type: string
name: unpack_data
arguments: tag: D33
type: string
name: unpack_data
arguments: tag: D40
type: string
name: unpack_data
arguments: tag: D10
type: string
name: unpack_data
arguments: tag: D52
type: string

tool: D30: var = |%c|


tool: D43: 1 var = |%c|


tool: D24: 2 var = |%c|


tool: D65: 3 var = |%c|


tool: D20: 4 var = |%c|


tool: D49: 5 var = |%c|


tool: D93: 6 var = |%c|


tool: D32: 7 var = |%c|


tool: D33: 8 var = |%c|


tool: D40: 9 var = |%c|


tool: D10: 10 var = |%c|


tool: D52: 11 var = |%c|


assistant: ```c
int main() {
  int var1 = 'd';
  int var2 = '2';
  int var3 = '\t';
  int var4 = ' ';
  int var = var1;
  if (isalnum(var))
    printf("1 var = |%c|\n", var);
  if (isalpha(var))
    printf("2 var = |%c|\n", var);
  if (iscntrl(var))
    printf("3 var = |%c|\n", var);
  if (isdigit(var))
    printf("4 var = |%c|\n", var);
  if (isgraph(var))
    printf("5 var = |%c|\n", var);
  if (islower(var))
    printf("6 var = |%c|\n", var);
  if (isprint(var))
    printf("7 var = |%c|\n", var);
  if (ispunct(var))
    printf("8 var = |%c|\n", var);
  if (isspace(var))
    printf("9 var = |%c|\n", var);
  if (isupper(var))
    printf("10 var = |%c|\n", var);
  if (isxdigit(var))
    printf("11 var = |%c|\n", var);
  printf("var = |%c|\n", tolower(var));
  printf("var = |%c|\n", toupper(var));
  return 0;
}
```