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

```asm
<obex_response_to_string>:
  endbr64
  sub    $0x10,%edi
  cmp    $0x51,%edi
  ja     L5
  mov    %edi,%edi
  lea    D172(%rip),%rdx
  movslq (%rdx,%rdi,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D178(%rip),%rax
  ret
  lea    D174(%rip),%rax
  ret
  lea    D163(%rip),%rax
  ret
  lea    D37(%rip),%rax
  ret
  lea    D6(%rip),%rax
  ret
  lea    D94(%rip),%rax
  ret
  lea    D8(%rip),%rax
  ret
  lea    D122(%rip),%rax
  ret
  lea    D113(%rip),%rax
  ret
  lea    D106(%rip),%rax
  ret
  lea    D125(%rip),%rax
  ret
  lea    D98(%rip),%rax
  ret
  lea    D169(%rip),%rax
  ret
  lea    D139(%rip),%rax
  ret
  lea    D147(%rip),%rax
  ret
  lea    D20(%rip),%rax
  ret
L5:
  lea    D86(%rip),%rax
  ret
  lea    D67(%rip),%rax
  ret
```

tool_calls: name: read_data
arguments: data_label: D178
type_guessed: string
name: read_data
arguments: data_label: D174
type_guessed: string
name: read_data
arguments: data_label: D163
type_guessed: string
name: read_data
arguments: data_label: D37
type_guessed: string
name: read_data
arguments: data_label: D6
type_guessed: string
name: read_data
arguments: data_label: D94
type_guessed: string
name: read_data
arguments: data_label: D8
type_guessed: string
name: read_data
arguments: data_label: D122
type_guessed: string
name: read_data
arguments: data_label: D113
type_guessed: string
name: read_data
arguments: data_label: D106
type_guessed: string
name: read_data
arguments: data_label: D125
type_guessed: string
name: read_data
arguments: data_label: D98
type_guessed: string
name: read_data
arguments: data_label: D169
type_guessed: string
name: read_data
arguments: data_label: D139
type_guessed: string
name: read_data
arguments: data_label: D147
type_guessed: string
name: read_data
arguments: data_label: D20
type_guessed: string
name: read_data
arguments: data_label: D86
type_guessed: string
name: read_data
arguments: data_label: D67
type_guessed: string

tool: D178: Switching protocols

tool: D174: OK, Success

tool: D163: Created

tool: D37: Accepted

tool: D6: No Content

tool: D94: Bad Request

tool: D8: Unautorized

tool: D122: Payment required

tool: D113: Forbidden

tool: D106: Not found

tool: D125: Method not allowed

tool: D98: Conflict

tool: D169: Internal server error

tool: D139: Not implemented!

tool: D147: Database full

tool: D20: Database locked

tool: D86: Unknown response

tool: D67: Continue

assistant: ```c
char *obex_response_to_string(int rsp) {
  switch (rsp) {
  case 0x10:
    return "Continue";
  case 0x11:
    return "Switching protocols";
  case 0x20:
    return "OK, Success";
  case 0x21:
    return "Created";
  case 0x22:
    return "Accepted";
  case 0x24:
    return "No Content";
  case 0x40:
    return "Bad Request";
  case 0x41:
    return "Unautorized";
  case 0x42:
    return "Payment required";
  case 0x43:
    return "Forbidden";
  case 0x44:
    return "Not found";
  case 0x45:
    return "Method not allowed";
  case 0x49:
    return "Conflict";
  case 0x50:
    return "Internal server error";
  case 0x51:
    return "Not implemented!";
  case 0x60:
    return "Database full";
  case 0x61:
    return "Database locked";
  default:
    return "Unknown response";
  }
}
```