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

```asm
<str_dict__constname>:
  endbr64
  lea    D286(%rip),%rax
  cmp    $0x10110000,%edi
  je     L36
  jg     L12
  lea    D85(%rip),%rax
  cmp    $0x10070000,%edi
  je     L36
  jle    L167
  lea    D208(%rip),%rax
  cmp    $0x100c0000,%edi
  je     L36
  jle    L159
  lea    D87(%rip),%rax
  cmp    $0x100d0000,%edi
  je     L36
  cmp    $0x10100000,%edi
  lea    D34(%rip),%rax
  lea    D91(%rip),%rdx
  cmove  %rdx,%rax
  ret
L167:
  lea    D243(%rip),%rax
  cmp    $0x10030000,%edi
  je     L36
  jle    L59
  lea    D314(%rip),%rax
  cmp    $0x10050000,%edi
  je     L36
  cmp    $0x10060000,%edi
  lea    D34(%rip),%rax
  lea    D264(%rip),%rdx
  cmove  %rdx,%rax
  ret
L59:
  lea    D50(%rip),%rax
  cmp    $0x10010000,%edi
  je     L36
  cmp    $0x10020000,%edi
  jne    L64
  lea    D229(%rip),%rax
  ret
L64:
  cmp    $0x10000000,%edi
  lea    D34(%rip),%rax
  lea    D177(%rip),%rdx
  cmove  %rdx,%rax
  ret
L159:
  lea    D128(%rip),%rax
  cmp    $0x10090000,%edi
  je     L36
  cmp    $0x100a0000,%edi
  jne    L210
  lea    D307(%rip),%rax
  ret
L210:
  cmp    $0x10080000,%edi
  lea    D34(%rip),%rax
  lea    D90(%rip),%rdx
  cmove  %rdx,%rax
  ret
L12:
  lea    D96(%rip),%rax
  cmp    $0x10180000,%edi
  je     L36
  jle    L57
  lea    D68(%rip),%rax
  cmp    $0x10200000,%edi
  je     L36
  jle    L249
  lea    D283(%rip),%rax
  cmp    $0x10210000,%edi
  je     L36
  cmp    $0x10220000,%edi
  lea    D34(%rip),%rax
  lea    D92(%rip),%rdx
  cmove  %rdx,%rax
  ret
L57:
  lea    D318(%rip),%rax
  cmp    $0x10150000,%edi
  je     L36
  jle    L178
  lea    D118(%rip),%rax
  cmp    $0x10160000,%edi
  je     L36
  cmp    $0x10170000,%edi
  lea    D34(%rip),%rax
  lea    D276(%rip),%rdx
  cmove  %rdx,%rax
  ret
L178:
  lea    D330(%rip),%rax
  cmp    $0x10130000,%edi
  je     L36
  cmp    $0x10140000,%edi
  jne    L69
  lea    D108(%rip),%rax
  ret
L69:
  cmp    $0x10120000,%edi
  lea    D34(%rip),%rax
  lea    D239(%rip),%rdx
  cmove  %rdx,%rax
  ret
L249:
  lea    D41(%rip),%rax
  cmp    $0x10180002,%edi
  je     L36
  cmp    $0x10180003,%edi
  jne    L5
  lea    D124(%rip),%rax
L36:
  ret
L5:
  cmp    $0x10180001,%edi
  lea    D34(%rip),%rax
  lea    D187(%rip),%rdx
  cmove  %rdx,%rax
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D286
datatype: string
name: retrieve_data
arguments: data_tag: D85
datatype: string
name: retrieve_data
arguments: data_tag: D208
datatype: string
name: retrieve_data
arguments: data_tag: D87
datatype: string
name: retrieve_data
arguments: data_tag: D34
datatype: string
name: retrieve_data
arguments: data_tag: D91
datatype: string
name: retrieve_data
arguments: data_tag: D243
datatype: string
name: retrieve_data
arguments: data_tag: D314
datatype: string
name: retrieve_data
arguments: data_tag: D264
datatype: string
name: retrieve_data
arguments: data_tag: D50
datatype: string
name: retrieve_data
arguments: data_tag: D229
datatype: string
name: retrieve_data
arguments: data_tag: D177
datatype: string
name: retrieve_data
arguments: data_tag: D128
datatype: string
name: retrieve_data
arguments: data_tag: D307
datatype: string
name: retrieve_data
arguments: data_tag: D90
datatype: string
name: retrieve_data
arguments: data_tag: D96
datatype: string
name: retrieve_data
arguments: data_tag: D68
datatype: string
name: retrieve_data
arguments: data_tag: D283
datatype: string
name: retrieve_data
arguments: data_tag: D92
datatype: string
name: retrieve_data
arguments: data_tag: D318
datatype: string
name: retrieve_data
arguments: data_tag: D118
datatype: string
name: retrieve_data
arguments: data_tag: D276
datatype: string
name: retrieve_data
arguments: data_tag: D330
datatype: string
name: retrieve_data
arguments: data_tag: D108
datatype: string
name: retrieve_data
arguments: data_tag: D239
datatype: string
name: retrieve_data
arguments: data_tag: D41
datatype: string
name: retrieve_data
arguments: data_tag: D124
datatype: string
name: retrieve_data
arguments: data_tag: D187
datatype: string

tool: D286: RESTORE_DEFAULT_PARAMETERS

tool: D85: SYNCHRONOUS_WINDOW_LENGTH

tool: D208: GUARD_TIME

tool: D87: LIFE_TIME_FACTOR

tool: D34: UNKNOWN

tool: D91: STORE_PARAMETERS

tool: D243: PREDEFINED_ERROR_FIELD_COUNT

tool: D314: SYNC_COB_ID

tool: D264: COMMUNICATION_CYCLE_PERIOD

tool: D50: ERROR_REGISTER

tool: D229: MANUFACTURER_STATUS_REGISTER

tool: D177: DEVICE_TYPE

tool: D128: MANUFACTURER_HARDWARE_VERSION

tool: D307: MANUFACTURER_SOFTWARE_VERSION

tool: D90: MANUFACTURER_DEVICE_NAME

tool: D96: IDENTITY_COUNT

tool: D68: VERIFY_CONFIGURATION

tool: D283: STORE_EDS

tool: D92: STORAGE_FORMAT

tool: D318: EMERGENCY_INHIBIT_TIME

tool: D118: CONSUMER_HEARTBEAT_TIME

tool: D276: PRODUCER_HEARTBEAT_TIME

tool: D330: HIGH_RESULUTION_TIME_STAMP

tool: D108: EMERGENCY_COB_ID

tool: D239: TIME_COB_ID

tool: D41: PRODUCT_CODE

tool: D124: REVISION_NUMBER

tool: D187: VENDOR_ID

assistant: ```c
const char *str_dict__constname(uint32_t mux) {
  switch (mux) {
  case ((0x1000 << 16) | 0):
    return "DEVICE_TYPE";
  case ((0x1001 << 16) | 0):
    return "ERROR_REGISTER";
  case ((0x1002 << 16) | 0):
    return "MANUFACTURER_STATUS_REGISTER";
  case ((0x1003 << 16) | 0):
    return "PREDEFINED_ERROR_FIELD_COUNT";
  case ((0x1005 << 16) | 0):
    return "SYNC_COB_ID";
  case ((0x1006 << 16) | 0):
    return "COMMUNICATION_CYCLE_PERIOD";
  case ((0x1007 << 16) | 0):
    return "SYNCHRONOUS_WINDOW_LENGTH";
  case ((0x1008 << 16) | 0):
    return "MANUFACTURER_DEVICE_NAME";
  case ((0x1009 << 16) | 0):
    return "MANUFACTURER_HARDWARE_VERSION";
  case ((0x100A << 16) | 0):
    return "MANUFACTURER_SOFTWARE_VERSION";
  case ((0x100C << 16) | 0):
    return "GUARD_TIME";
  case ((0x100D << 16) | 0):
    return "LIFE_TIME_FACTOR";
  case ((0x1010 << 16) | 0):
    return "STORE_PARAMETERS";
  case ((0x1011 << 16) | 0):
    return "RESTORE_DEFAULT_PARAMETERS";
  case ((0x1012 << 16) | 0):
    return "TIME_COB_ID";
  case ((0x1013 << 16) | 0):
    return "HIGH_RESULUTION_TIME_STAMP";
  case ((0x1014 << 16) | 0):
    return "EMERGENCY_COB_ID";
  case ((0x1015 << 16) | 0):
    return "EMERGENCY_INHIBIT_TIME";
  case ((0x1016 << 16) | 0):
    return "CONSUMER_HEARTBEAT_TIME";
  case ((0x1017 << 16) | 0):
    return "PRODUCER_HEARTBEAT_TIME";
  case ((0x1018 << 16) | 0):
    return "IDENTITY_COUNT";
  case ((0x1018 << 16) | 1):
    return "VENDOR_ID";
  case ((0x1018 << 16) | 2):
    return "PRODUCT_CODE";
  case ((0x1018 << 16) | 3):
    return "REVISION_NUMBER";
  case ((0x1020 << 16) | 0):
    return "VERIFY_CONFIGURATION";
  case ((0x1021 << 16) | 0):
    return "STORE_EDS";
  case ((0x1022 << 16) | 0):
    return "STORAGE_FORMAT";
  default:
    return "UNKNOWN";
  }
}
```