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

```asm
<errorName>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x14(%rbp)
  cmpl   $0x10,-0x14(%rbp)
  ja     L86
  mov    -0x14(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  lea    D198(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D198(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D102(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D87(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D16(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D166(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D42(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D85(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D71(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D156(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D2(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D131(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D88(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D193(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D81(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D36(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D169(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D77(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
  lea    D47(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L45
L86:
  lea    D56(%rip),%rax
  mov    %rax,-0x8(%rbp)
  nop
L45:
  mov    -0x8(%rbp),%rax
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: label: D102
type_guessed: string
name: retrieve_data
arguments: label: D87
type_guessed: string
name: retrieve_data
arguments: label: D16
type_guessed: string
name: retrieve_data
arguments: label: D166
type_guessed: string
name: retrieve_data
arguments: label: D42
type_guessed: string
name: retrieve_data
arguments: label: D85
type_guessed: string
name: retrieve_data
arguments: label: D71
type_guessed: string
name: retrieve_data
arguments: label: D156
type_guessed: string
name: retrieve_data
arguments: label: D2
type_guessed: string
name: retrieve_data
arguments: label: D131
type_guessed: string
name: retrieve_data
arguments: label: D88
type_guessed: string
name: retrieve_data
arguments: label: D193
type_guessed: string
name: retrieve_data
arguments: label: D81
type_guessed: string
name: retrieve_data
arguments: label: D36
type_guessed: string
name: retrieve_data
arguments: label: D169
type_guessed: string
name: retrieve_data
arguments: label: D77
type_guessed: string
name: retrieve_data
arguments: label: D47
type_guessed: string
name: retrieve_data
arguments: label: D56
type_guessed: string

tool: D102: SQLITE_OK

tool: D87: SQLITE_ERROR

tool: D16: SQLITE_INTERNAL

tool: D166: SQLITE_PERM

tool: D42: SQLITE_ABORT

tool: D85: SQLITE_BUSY

tool: D71: SQLITE_NOMEM

tool: D156: SQLITE_READONLY

tool: D2: SQLITE_INTERRUPT

tool: D131: SQLITE_IOERR

tool: D88: SQLITE_CORRUPT

tool: D193: SQLITE_NOTFOUND

tool: D81: SQLITE_FULL

tool: D36: SQLITE_CANTOPEN

tool: D169: SQLITE_PROTOCOL

tool: D77: SQLITE_EMPTY

tool: D47: SQLITE_LOCKED

tool: D56: SQLITE_Unknown

assistant: ```c
char *errorName(int rc) {
  char *zName;
  switch (rc) {
  case 0:
    zName = "SQLITE_OK";
    break;
  case 1:
    zName = "SQLITE_ERROR";
    break;
  case 2:
    zName = "SQLITE_INTERNAL";
    break;
  case 3:
    zName = "SQLITE_PERM";
    break;
  case 4:
    zName = "SQLITE_ABORT";
    break;
  case 5:
    zName = "SQLITE_BUSY";
    break;
  case 7:
    zName = "SQLITE_NOMEM";
    break;
  case 8:
    zName = "SQLITE_READONLY";
    break;
  case 9:
    zName = "SQLITE_INTERRUPT";
    break;
  case 10:
    zName = "SQLITE_IOERR";
    break;
  case 11:
    zName = "SQLITE_CORRUPT";
    break;
  case 12:
    zName = "SQLITE_NOTFOUND";
    break;
  case 13:
    zName = "SQLITE_FULL";
    break;
  case 14:
    zName = "SQLITE_CANTOPEN";
    break;
  case 15:
    zName = "SQLITE_PROTOCOL";
    break;
  case 16:
    zName = "SQLITE_EMPTY";
    break;
  case 6:
    zName = "SQLITE_LOCKED";
    break;
  default:
    zName = "SQLITE_Unknown";
    break;
  }
  return zName;
}
```