user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  movl   $0x64,-0x14(%rbp)
  movl   $0x32,-0x10(%rbp)
  movl   $0x9,-0xc(%rbp)
  movl   $0x20,-0x8(%rbp)
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isalnum@plt>
  test   %rax,%rax
  je     L80
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D106(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L80:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  je     L79
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D126(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L79:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <iscntrl@plt>
  test   %rax,%rax
  je     L17
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D22(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L17:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L21
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D43(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L21:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isgraph@plt>
  test   %rax,%rax
  je     L57
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D93(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L57:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <islower@plt>
  test   %rax,%rax
  je     L58
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L58:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isprint@plt>
  test   %rax,%rax
  je     L23
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L23:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <ispunct@plt>
  test   %rax,%rax
  je     L87
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D68(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L87:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L75
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L75:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isupper@plt>
  test   %rax,%rax
  je     L49
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D71(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L49:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  je     L28
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L28:
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <tolower@plt>
  mov    %eax,%esi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <toupper@plt>
  mov    %eax,%esi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D106
type: string
name: parse_data
arguments: tag: D126
type: string
name: parse_data
arguments: tag: D22
type: string
name: parse_data
arguments: tag: D43
type: string
name: parse_data
arguments: tag: D93
type: string
name: parse_data
arguments: tag: D38
type: string
name: parse_data
arguments: tag: D55
type: string
name: parse_data
arguments: tag: D68
type: string
name: parse_data
arguments: tag: D46
type: string
name: parse_data
arguments: tag: D71
type: string
name: parse_data
arguments: tag: D52
type: string
name: parse_data
arguments: tag: D31
type: string

tool: D106: 1 var = |%c|


tool: D126: 2 var = |%c|


tool: D22: 3 var = |%c|


tool: D43: 4 var = |%c|


tool: D93: 5 var = |%c|


tool: D38: 6 var = |%c|


tool: D55: 7 var = |%c|


tool: D68: 8 var = |%c|


tool: D46: 9 var = |%c|


tool: D71: 10 var = |%c|


tool: D52: 11 var = |%c|


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