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

```asm
<draw>:
  endbr64
  push   %rbp
  push   %rbx
  mov    %edi,%ebx
  lea    D65(%rip),%rdi
  sub    $0x8,%rsp
  call   <printf@plt>
  lea    D107(%rip),%rdi
  call   <printf@plt>
  lea    D126(%rip),%rdi
  call   <printf@plt>
  cmp    $0x6,%ebx
  ja     L17
  lea    D55(%rip),%rdx
  movslq (%rdx,%rbx,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  cs nopw 0x0(%rax,%rax,1)
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    D153(%rip),%rdi
  call   <printf@plt>
  lea    D201(%rip),%rdi
  call   <printf@plt>
L17:
  lea    D31(%rip),%rdi
  call   <printf@plt>
  lea    D143(%rip),%rdi
  call   <printf@plt>
  add    $0x8,%rsp
  lea    D89(%rip),%rdi
  pop    %rbx
  pop    %rbp
  jmp    1050 <printf@plt>
  xchg   %ax,%ax
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    D153(%rip),%rdi
  call   <printf@plt>
  lea    D67(%rip),%rdi
  call   <printf@plt>
  jmp    L17
  cs nopw 0x0(%rax,%rax,1)
  lea    D269(%rip),%rdi
  call   <printf@plt>
  lea    D261(%rip),%rdi
  call   <printf@plt>
  lea    D149(%rip),%rdi
  call   <printf@plt>
  jmp    L17
  nopl   0x0(%rax)
  lea    D261(%rip),%rbp
  lea    D56(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  jmp    L17
  nopl   0x0(%rax,%rax,1)
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    D75(%rip),%rdi
  call   <printf@plt>
  lea    D149(%rip),%rdi
  call   <printf@plt>
  jmp    L17
  nopl   0x0(%rax)
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    D82(%rip),%rdi
  call   <printf@plt>
  lea    D261(%rip),%rdi
  call   <printf@plt>
  jmp    L17
  nopl   0x0(%rax)
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    D153(%rip),%rdi
  call   <printf@plt>
  lea    D149(%rip),%rdi
  call   <printf@plt>
  jmp    L17
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D65
type_infered: string
name: extract_symbolic_data
arguments: data_label: D107
type_infered: string
name: extract_symbolic_data
arguments: data_label: D126
type_infered: string
name: extract_symbolic_data
arguments: data_label: D56
type_infered: string
name: extract_symbolic_data
arguments: data_label: D153
type_infered: string
name: extract_symbolic_data
arguments: data_label: D201
type_infered: string
name: extract_symbolic_data
arguments: data_label: D31
type_infered: string
name: extract_symbolic_data
arguments: data_label: D143
type_infered: string
name: extract_symbolic_data
arguments: data_label: D89
type_infered: string
name: extract_symbolic_data
arguments: data_label: D67
type_infered: string
name: extract_symbolic_data
arguments: data_label: D269
type_infered: string
name: extract_symbolic_data
arguments: data_label: D261
type_infered: string
name: extract_symbolic_data
arguments: data_label: D149
type_infered: string
name: extract_symbolic_data
arguments: data_label: D75
type_infered: string
name: extract_symbolic_data
arguments: data_label: D82
type_infered: string

tool: D65: 


tool: D107:  +-----+   


tool: D126:  |     |   


tool: D56:  |     o   


tool: D153:  |    /O\ 


tool: D201:  |    / \ 


tool: D31:  |         


tool: D143: / \      


tool: D89: 



tool: D67:  |    /  


tool: D269:  |        


tool: D261:  |     


tool: D149:  |      


tool: D75:  |     O 


tool: D82:  |    /O 


assistant: ```c
void draw(int erros) {
  printf("\n");
  printf(" +-----+   \n");
  printf(" |     |   \n");
  switch (erros) {
  case 0:
    printf(" |        \n");
    printf(" |     \n");
    printf(" |      \n");
    break;
  case 1:
    printf(" |     o   \n");
    printf(" |     \n");
    printf(" |     \n");
    break;
  case 2:
    printf(" |     o   \n");
    printf(" |     O \n");
    printf(" |      \n");
    break;
  case 3:
    printf(" |     o   \n");
    printf(" |    /O \n");
    printf(" |     \n");
    break;
  case 4:
    printf(" |     o   \n");
    printf(" |    /O\\ \n");
    printf(" |      \n");
    break;
  case 5:
    printf(" |     o   \n");
    printf(" |    /O\\ \n");
    printf(" |    /  \n");
    break;
  case 6:
    printf(" |     o   \n");
    printf(" |    /O\\ \n");
    printf(" |    / \\ \n");
    break;
  }
  printf(" |         \n");
  printf("/ \\      \n");
  printf("\n\n");
}
```