user: 请将以下的汇编代码转换成C语言代码:

```asm
<get_ratestr>:
  endbr64
  cmp    $0x93,%edi
  ja     L5
  lea    D21(%rip),%rdx
  mov    %edi,%edi
  movslq (%rdx,%rdi,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  nopl   0x0(%rax,%rax,1)
  lea    D67(%rip),%rax
  ret
  lea    D193(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D140(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D11(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D53(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D136(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D16(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D33(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
L5:
  lea    D97(%rip),%rax
  ret
  lea    D12(%rip),%rax
  ret
  lea    D102(%rip),%rax
  ret
  lea    D76(%rip),%rax
  ret
  lea    D191(%rip),%rax
  ret
  lea    D197(%rip),%rax
  ret
  lea    D168(%rip),%rax
  ret
  lea    D166(%rip),%rax
  ret
  lea    D36(%rip),%rax
  ret
  lea    D194(%rip),%rax
  ret
  lea    D159(%rip),%rax
  ret
  lea    D130(%rip),%rax
  ret
  lea    D69(%rip),%rax
  ret
```

tool_calls: name: read_data
arguments: data_tag: D67
type: string
name: read_data
arguments: data_tag: D193
type: string
name: read_data
arguments: data_tag: D140
type: string
name: read_data
arguments: data_tag: D11
type: string
name: read_data
arguments: data_tag: D53
type: string
name: read_data
arguments: data_tag: D136
type: string
name: read_data
arguments: data_tag: D16
type: string
name: read_data
arguments: data_tag: D33
type: string
name: read_data
arguments: data_tag: D97
type: string
name: read_data
arguments: data_tag: D12
type: string
name: read_data
arguments: data_tag: D102
type: string
name: read_data
arguments: data_tag: D76
type: string
name: read_data
arguments: data_tag: D191
type: string
name: read_data
arguments: data_tag: D197
type: string
name: read_data
arguments: data_tag: D168
type: string
name: read_data
arguments: data_tag: D166
type: string
name: read_data
arguments: data_tag: D36
type: string
name: read_data
arguments: data_tag: D194
type: string
name: read_data
arguments: data_tag: D159
type: string
name: read_data
arguments: data_tag: D130
type: string
name: read_data
arguments: data_tag: D69
type: string

tool: D67: MCS0

tool: D193: MCS1

tool: D140: MCS2

tool: D11: MCS3

tool: D53: MCS4

tool: D136: MCS5

tool: D16: MCS6

tool: D33: MCS7

tool: D97: Unkn

tool: D12: 54

tool: D102: 48

tool: D76: 36

tool: D191: 24

tool: D197: 18

tool: D168: 12

tool: D166: 9

tool: D36: 6

tool: D194: 11

tool: D159: 5.5

tool: D130: 1

tool: D69: 2

assistant: ```c
char *get_ratestr(int txRate) {
  char *pStr;
  switch (txRate) {
  case 0:
    pStr = "1";
    break;
  case 1:
    pStr = "2";
    break;
  case 2:
    pStr = "5.5";
    break;
  case 3:
    pStr = "11";
    break;
  case 4:
    pStr = "6";
    break;
  case 5:
    pStr = "9";
    break;
  case 6:
    pStr = "12";
    break;
  case 7:
    pStr = "18";
    break;
  case 8:
    pStr = "24";
    break;
  case 9:
    pStr = "36";
    break;
  case 10:
    pStr = "48";
    break;
  case 11:
    pStr = "54";
    break;
  case 12:
    pStr = "MCS0";
    break;
  case 13:
    pStr = "MCS1";
    break;
  case 14:
    pStr = "MCS2";
    break;
  case 15:
    pStr = "MCS3";
    break;
  case 16:
    pStr = "MCS4";
    break;
  case 17:
    pStr = "MCS5";
    break;
  case 18:
    pStr = "MCS6";
    break;
  case 19:
    pStr = "MCS7";
    break;
  case 140:
    pStr = "MCS0";
    break;
  case 141:
    pStr = "MCS1";
    break;
  case 142:
    pStr = "MCS2";
    break;
  case 143:
    pStr = "MCS3";
    break;
  case 144:
    pStr = "MCS4";
    break;
  case 145:
    pStr = "MCS5";
    break;
  case 146:
    pStr = "MCS6";
    break;
  case 147:
    pStr = "MCS7";
    break;
  default:
    pStr = "Unkn";
    break;
  }
  return pStr;
}
```