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

```asm
<janus_get_api_error>:
  endbr64
  lea    D222(%rip),%rax
  test   %edi,%edi
  je     L4
  sub    $0x193,%edi
  cmp    $0x57,%edi
  ja     L25
  cmp    $0x42,%edi
  ja     L25
  lea    D104(%rip),%rdx
  movslq (%rdx,%rdi,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
L25:
  lea    D140(%rip),%rax
L4:
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D161(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D164(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D128(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D90(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D151(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D49(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D178(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D231(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D38(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D228(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D116(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D159(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D194(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D105(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D47(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D39(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D183(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D175(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D227(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D18(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D197(%rip),%rax
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D222
type_infered: string
name: disassemble_data
arguments: data_tag: D140
type_infered: string
name: disassemble_data
arguments: data_tag: D161
type_infered: string
name: disassemble_data
arguments: data_tag: D164
type_infered: string
name: disassemble_data
arguments: data_tag: D128
type_infered: string
name: disassemble_data
arguments: data_tag: D90
type_infered: string
name: disassemble_data
arguments: data_tag: D151
type_infered: string
name: disassemble_data
arguments: data_tag: D49
type_infered: string
name: disassemble_data
arguments: data_tag: D178
type_infered: string
name: disassemble_data
arguments: data_tag: D231
type_infered: string
name: disassemble_data
arguments: data_tag: D38
type_infered: string
name: disassemble_data
arguments: data_tag: D228
type_infered: string
name: disassemble_data
arguments: data_tag: D116
type_infered: string
name: disassemble_data
arguments: data_tag: D159
type_infered: string
name: disassemble_data
arguments: data_tag: D194
type_infered: string
name: disassemble_data
arguments: data_tag: D105
type_infered: string
name: disassemble_data
arguments: data_tag: D47
type_infered: string
name: disassemble_data
arguments: data_tag: D39
type_infered: string
name: disassemble_data
arguments: data_tag: D183
type_infered: string
name: disassemble_data
arguments: data_tag: D175
type_infered: string
name: disassemble_data
arguments: data_tag: D227
type_infered: string
name: disassemble_data
arguments: data_tag: D18
type_infered: string
name: disassemble_data
arguments: data_tag: D197
type_infered: string

tool: D222: Success

tool: D140: Unknown error

tool: D161: Unexpected ANSWER (no OFFER)

tool: D164: Session ID already in use

tool: D128: Invalid element type

tool: D90: Invalid stream

tool: D151: Invalid SDP

tool: D49: Unsupported JSEP type

tool: D178: Error detaching from plugin

tool: D231: Error sending message to plugin

tool: D38: Error attaching plugin

tool: D228: Plugin not found

tool: D116: Handle not found

tool: D159: Session not found

tool: D194: Invalid path for this request

tool: D105: Missing mandatory element

tool: D47: Invalid JSON Object

tool: D39: Invalid JSON

tool: D183: Unknown request

tool: D175: Missing request

tool: D227: Use POST

tool: D18: Use GET

tool: D197: Unauthorized request (wrong or missing secret)

assistant: ```c
const char *janus_get_api_error(int error) {
  switch (error) {
  case 0:
    return "Success";
  case 403:
    return "Unauthorized request (wrong or missing secret)";
  case 490:
    return "Unknown error";
  case 450:
    return "Use GET";
  case 451:
    return "Use POST";
  case 452:
    return "Missing request";
  case 453:
    return "Unknown request";
  case 454:
    return "Invalid JSON";
  case 455:
    return "Invalid JSON Object";
  case 456:
    return "Missing mandatory element";
  case 457:
    return "Invalid path for this request";
  case 458:
    return "Session not found";
  case 459:
    return "Handle not found";
  case 460:
    return "Plugin not found";
  case 461:
    return "Error attaching plugin";
  case 462:
    return "Error sending message to plugin";
  case 463:
    return "Error detaching from plugin";
  case 464:
    return "Unsupported JSEP type";
  case 465:
    return "Invalid SDP";
  case 466:
    return "Invalid stream";
  case 467:
    return "Invalid element type";
  case 468:
    return "Session ID already in use";
  case 469:
    return "Unexpected ANSWER (no OFFER)";
  default:
    return "Unknown error";
  }
  return "Unknown error";
}
```