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

```asm
<print_sys_cfg_custom_ie_usage>:
  endbr64
  sub    $0x8,%rsp
  lea    D10(%rip),%rdi
  call   <printf@plt>
  lea    D12(%rip),%rdi
  call   <printf@plt>
  lea    D4(%rip),%rdi
  call   <printf@plt>
  lea    D87(%rip),%rdi
  call   <printf@plt>
  lea    D37(%rip),%rdi
  call   <printf@plt>
  lea    D143(%rip),%rdi
  call   <printf@plt>
  lea    D146(%rip),%rdi
  call   <printf@plt>
  lea    D189(%rip),%rdi
  call   <printf@plt>
  lea    D130(%rip),%rdi
  call   <printf@plt>
  lea    D31(%rip),%rdi
  call   <printf@plt>
  lea    D2(%rip),%rdi
  call   <printf@plt>
  lea    D186(%rip),%rdi
  call   <printf@plt>
  lea    D86(%rip),%rdi
  call   <printf@plt>
  lea    D33(%rip),%rdi
  call   <printf@plt>
  lea    D179(%rip),%rdi
  call   <printf@plt>
  lea    D166(%rip),%rdi
  call   <printf@plt>
  lea    D69(%rip),%rdi
  call   <printf@plt>
  lea    D184(%rip),%rdi
  call   <printf@plt>
  lea    D115(%rip),%rdi
  call   <printf@plt>
  add    $0x8,%rsp
  ret
```

tool_calls: name: unpack_data
arguments: label: D10
type_guessed: string
name: unpack_data
arguments: label: D12
type_guessed: string
name: unpack_data
arguments: label: D4
type_guessed: string
name: unpack_data
arguments: label: D87
type_guessed: string
name: unpack_data
arguments: label: D37
type_guessed: string
name: unpack_data
arguments: label: D143
type_guessed: string
name: unpack_data
arguments: label: D146
type_guessed: string
name: unpack_data
arguments: label: D189
type_guessed: string
name: unpack_data
arguments: label: D130
type_guessed: string
name: unpack_data
arguments: label: D31
type_guessed: string
name: unpack_data
arguments: label: D2
type_guessed: string
name: unpack_data
arguments: label: D186
type_guessed: string
name: unpack_data
arguments: label: D86
type_guessed: string
name: unpack_data
arguments: label: D33
type_guessed: string
name: unpack_data
arguments: label: D179
type_guessed: string
name: unpack_data
arguments: label: D166
type_guessed: string
name: unpack_data
arguments: label: D69
type_guessed: string
name: unpack_data
arguments: label: D184
type_guessed: string
name: unpack_data
arguments: label: D115
type_guessed: string

tool: D10: 
Usage : sys_cfg_custom_ie [INDEX] [MASK] [IEBuffer]

tool: D12: 
         empty - Get all IE settings


tool: D4: 
         INDEX:  0 - Get/Set IE index 0 setting

tool: D87: 
                 1 - Get/Set IE index 1 setting

tool: D37: 
                 2 - Get/Set IE index 2 setting

tool: D143: 
                 3 - Get/Set IE index 3 setting

tool: D146: 
                -1 - Append/Delet IE automatically

tool: D189: 
                     Delete will delete the IE from the matching IE buffer

tool: D130: 
                     Append will append the IE to the buffer with the same mask

tool: D31: 
         MASK :  Management subtype mask value as per bit defintions

tool: D2: 
              :  Bit 0 - Association request.

tool: D186: 
              :  Bit 1 - Association response.

tool: D86: 
              :  Bit 2 - Reassociation request.

tool: D33: 
              :  Bit 3 - Reassociation response.

tool: D179: 
              :  Bit 4 - Probe request.

tool: D166: 
              :  Bit 5 - Probe response.

tool: D69: 
              :  Bit 8 - Beacon.

tool: D184: 
         MASK :  MASK = 0 to clear the mask and the IE buffer

tool: D115: 
         IEBuffer :  IE Buffer in hex (max 256 bytes)



assistant: ```c
void print_sys_cfg_custom_ie_usage(void) {
  printf("\nUsage : sys_cfg_custom_ie [INDEX] [MASK] [IEBuffer]");
  printf("\n         empty - Get all IE settings\n");
  printf("\n         INDEX:  0 - Get/Set IE index 0 setting");
  printf("\n                 1 - Get/Set IE index 1 setting");
  printf("\n                 2 - Get/Set IE index 2 setting");
  printf("\n                 3 - Get/Set IE index 3 setting");
  printf("\n                -1 - Append/Delet IE automatically");
  printf("\n                     Delete will delete the IE from the matching IE buffer");
  printf("\n                     Append will append the IE to the buffer with the same mask");
  printf("\n         MASK :  Management subtype mask value as per bit defintions");
  printf("\n              :  Bit 0 - Association request.");
  printf("\n              :  Bit 1 - Association response.");
  printf("\n              :  Bit 2 - Reassociation request.");
  printf("\n              :  Bit 3 - Reassociation response.");
  printf("\n              :  Bit 4 - Probe request.");
  printf("\n              :  Bit 5 - Probe response.");
  printf("\n              :  Bit 8 - Beacon.");
  printf("\n         MASK :  MASK = 0 to clear the mask and the IE buffer");
  printf("\n         IEBuffer :  IE Buffer in hex (max 256 bytes)\n\n");
  return;
}
```