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

```asm
<add_usb_radio_debug_function>:
  endbr64
  push   %r12
  lea    D101(%rip),%rsi
  lea    D146(%rip),%r12
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D57(%rip),%rsi
  mov    %rbx,%rdi
  lea    D46(%rip),%r12
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D86(%rip),%rsi
  mov    %rbx,%rdi
  lea    D43(%rip),%r12
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D110(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D27(%rip),%rsi
  mov    %rbx,%rdi
  lea    D58(%rip),%r12
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D30(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D31(%rip),%rsi
  mov    %rbx,%rdi
  lea    D3(%rip),%r12
  call   <strcmp@plt>
  test   %eax,%eax
  je     L32
  lea    D140(%rip),%rsi
  mov    %rbx,%rdi
  lea    D33(%rip),%r12
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L85
L32:
  add    $0x8,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %r12
  ret
L85:
  mov    %rbx,%rsi
  lea    D142(%rip),%rdi
  mov    %rbx,%r12
  call   <USB_INFO@plt>
  jmp    L32
```

tool_calls: name: disassemble_data
arguments: data_tag: D101
datatype: string
name: disassemble_data
arguments: data_tag: D146
datatype: string
name: disassemble_data
arguments: data_tag: D57
datatype: string
name: disassemble_data
arguments: data_tag: D46
datatype: string
name: disassemble_data
arguments: data_tag: D86
datatype: string
name: disassemble_data
arguments: data_tag: D43
datatype: string
name: disassemble_data
arguments: data_tag: D110
datatype: string
name: disassemble_data
arguments: data_tag: D27
datatype: string
name: disassemble_data
arguments: data_tag: D58
datatype: string
name: disassemble_data
arguments: data_tag: D30
datatype: string
name: disassemble_data
arguments: data_tag: D31
datatype: string
name: disassemble_data
arguments: data_tag: D3
datatype: string
name: disassemble_data
arguments: data_tag: D140
datatype: string
name: disassemble_data
arguments: data_tag: D33
datatype: string
name: disassemble_data
arguments: data_tag: D142
datatype: string

tool: D101: ffs,acm

tool: D146: adb,diag,modem,acm

tool: D57: mtp,adb

tool: D46: adb,diag,modem,rmnet

tool: D86: mass_storage,adb

tool: D43: mass_storage,adb,diag,modem,rmnet

tool: D110: mass_storage,adb,acm

tool: D27: mass_storage

tool: D58: mass_storage,diag,modem,rmnet

tool: D30: mass_storage,acm

tool: D31: rndis

tool: D3: rndis,diag,modem

tool: D140: rndis,adb

tool: D33: rndis,adb,diag,modem

tool: D142: switch to radio debug function:%s


assistant: ```c
const char *add_usb_radio_debug_function(const char *buff) {
  if (!strcmp(buff, "ffs,acm"))
    return "adb,diag,modem,acm";
  else if (!strcmp(buff, "mtp,adb"))
    return "adb,diag,modem,rmnet";
  else if (!strcmp(buff, "mass_storage,adb"))
    return "mass_storage,adb,diag,modem,rmnet";
  else if (!strcmp(buff, "mass_storage,adb,acm"))
    return "mass_storage,adb,diag,modem,rmnet";
  else if (!strcmp(buff, "mass_storage"))
    return "mass_storage,diag,modem,rmnet";
  else if (!strcmp(buff, "mass_storage,acm"))
    return "mass_storage,diag,modem,rmnet";
  else if (!strcmp(buff, "rndis"))
    return "rndis,diag,modem";
  else if (!strcmp(buff, "rndis,adb"))
    return "rndis,adb,diag,modem";
  USB_INFO("switch to radio debug function:%s\n", buff);
  return buff;
}
```