user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<GifErrorString>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x14(%rbp)
  cmpl   $0x71,-0x14(%rbp)
  ja     L5
  mov    -0x14(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  lea    D1(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D1(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D234(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D124(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D48(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D101(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D96(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D36(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D104(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D120(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D174(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D185(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D234(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D10(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D107(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D78(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D223(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D96(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D129(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D36(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D104(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D174(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D118(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D233(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
  lea    D166(%rip),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L145
L5:
  movq   $0x0,-0x8(%rbp)
  nop
L145:
  mov    -0x8(%rbp),%rax
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D234
datatype: string
name: unpack_data
arguments: data_tag: D124
datatype: string
name: unpack_data
arguments: data_tag: D48
datatype: string
name: unpack_data
arguments: data_tag: D101
datatype: string
name: unpack_data
arguments: data_tag: D96
datatype: string
name: unpack_data
arguments: data_tag: D36
datatype: string
name: unpack_data
arguments: data_tag: D104
datatype: string
name: unpack_data
arguments: data_tag: D120
datatype: string
name: unpack_data
arguments: data_tag: D174
datatype: string
name: unpack_data
arguments: data_tag: D185
datatype: string
name: unpack_data
arguments: data_tag: D10
datatype: string
name: unpack_data
arguments: data_tag: D107
datatype: string
name: unpack_data
arguments: data_tag: D78
datatype: string
name: unpack_data
arguments: data_tag: D223
datatype: string
name: unpack_data
arguments: data_tag: D129
datatype: string
name: unpack_data
arguments: data_tag: D118
datatype: string
name: unpack_data
arguments: data_tag: D233
datatype: string
name: unpack_data
arguments: data_tag: D166
datatype: string

tool: D234: Failed to open given file

tool: D124: Failed to write to given file

tool: D48: Screen descriptor has already been set

tool: D101: Image descriptor is still active

tool: D96: Neither global nor local color map

tool: D36: Number of pixels bigger than width * height

tool: D104: Failed to allocate required memory

tool: D120: Write failed (disk full?)

tool: D174: Failed to close given file

tool: D185: Given file was not opened for write

tool: D10: Failed to read from given file

tool: D107: Data is not in GIF format

tool: D78: No screen descriptor detected

tool: D223: No Image Descriptor detected

tool: D129: Wrong record type detected

tool: D118: Given file was not opened for read

tool: D233: Image is defective, decoding aborted

tool: D166: Image EOF detected before image complete

assistant: ```c
char *GifErrorString(int ErrorCode) {
  char *Err;
  switch (ErrorCode) {
  case 1:
    Err = "Failed to open given file";
    break;
  case 2:
    Err = "Failed to write to given file";
    break;
  case 3:
    Err = "Screen descriptor has already been set";
    break;
  case 4:
    Err = "Image descriptor is still active";
    break;
  case 5:
    Err = "Neither global nor local color map";
    break;
  case 6:
    Err = "Number of pixels bigger than width * height";
    break;
  case 7:
    Err = "Failed to allocate required memory";
    break;
  case 8:
    Err = "Write failed (disk full?)";
    break;
  case 9:
    Err = "Failed to close given file";
    break;
  case 10:
    Err = "Given file was not opened for write";
    break;
  case 101:
    Err = "Failed to open given file";
    break;
  case 102:
    Err = "Failed to read from given file";
    break;
  case 103:
    Err = "Data is not in GIF format";
    break;
  case 104:
    Err = "No screen descriptor detected";
    break;
  case 105:
    Err = "No Image Descriptor detected";
    break;
  case 106:
    Err = "Neither global nor local color map";
    break;
  case 107:
    Err = "Wrong record type detected";
    break;
  case 108:
    Err = "Number of pixels bigger than width * height";
    break;
  case 109:
    Err = "Failed to allocate required memory";
    break;
  case 110:
    Err = "Failed to close given file";
    break;
  case 111:
    Err = "Given file was not opened for read";
    break;
  case 112:
    Err = "Image is defective, decoding aborted";
    break;
  case 113:
    Err = "Image EOF detected before image complete";
    break;
  default:
    Err = NULL;
    break;
  }
  return Err;
}
```