user: Converte this assembly snippet into its equivalent C code:

```asm
<cc2400_manand>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  mov    %edi,%eax
  mov    %ax,-0x4(%rbp)
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D46(%rip),%rax
  mov    %rax,%rdx
  mov    $0xf,%esi
  mov    $0xf,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D169(%rip),%rax
  mov    %rax,%rdx
  mov    $0xe,%esi
  mov    $0xe,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D380(%rip),%rax
  mov    %rax,%rdx
  mov    $0xd,%esi
  mov    $0xd,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D460(%rip),%rax
  mov    %rax,%rdx
  mov    $0xc,%esi
  mov    $0xc,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D73(%rip),%rax
  mov    %rax,%rdx
  mov    $0xb,%esi
  mov    $0xb,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D59(%rip),%rax
  mov    %rax,%rdx
  mov    $0xa,%esi
  mov    $0xa,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D258(%rip),%rax
  mov    %rax,%rdx
  mov    $0x9,%esi
  mov    $0x9,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D154(%rip),%rax
  mov    %rax,%rdx
  mov    $0x8,%esi
  mov    $0x8,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D308(%rip),%rax
  mov    %rax,%rdx
  mov    $0x7,%esi
  mov    $0x7,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D207(%rip),%rax
  mov    %rax,%rdx
  mov    $0x6,%esi
  mov    $0x6,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D27(%rip),%rax
  mov    %rax,%rdx
  mov    $0x5,%esi
  mov    $0x5,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D269(%rip),%rax
  mov    %rax,%rdx
  mov    $0x4,%esi
  mov    $0x4,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D138(%rip),%rax
  mov    %rax,%rdx
  mov    $0x3,%esi
  mov    $0x3,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D409(%rip),%rax
  mov    %rax,%rdx
  mov    $0x2,%esi
  mov    $0x2,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D195(%rip),%rax
  mov    %rax,%rdx
  mov    $0x1,%esi
  mov    $0x1,%edi
  call   <bits@plt>
  lea    D157(%rip),%r8
  lea    D93(%rip),%rax
  mov    %rax,%rcx
  lea    D74(%rip),%rax
  mov    %rax,%rdx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <bits@plt>
  nop
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D157
type_infered: string
name: retrieve_data
arguments: label: D93
type_infered: string
name: retrieve_data
arguments: label: D46
type_infered: string
name: retrieve_data
arguments: label: D169
type_infered: string
name: retrieve_data
arguments: label: D380
type_infered: string
name: retrieve_data
arguments: label: D460
type_infered: string
name: retrieve_data
arguments: label: D73
type_infered: string
name: retrieve_data
arguments: label: D59
type_infered: string
name: retrieve_data
arguments: label: D258
type_infered: string
name: retrieve_data
arguments: label: D154
type_infered: string
name: retrieve_data
arguments: label: D308
type_infered: string
name: retrieve_data
arguments: label: D207
type_infered: string
name: retrieve_data
arguments: label: D27
type_infered: string
name: retrieve_data
arguments: label: D269
type_infered: string
name: retrieve_data
arguments: label: D138
type_infered: string
name: retrieve_data
arguments: label: D409
type_infered: string
name: retrieve_data
arguments: label: D195
type_infered: string
name: retrieve_data
arguments: label: D74
type_infered: string

tool: 

tool: D93: RW

tool: D46: VGA_RESET_N

tool: D169: LOCK_STATUS

tool: D380: BALUN_CTRL

tool: D460: RXTX

tool: D73: PRE_PD

tool: D59: PA_N_PD

tool: D258: PA_P_PD

tool: D154: DAC_LPF_PD

tool: D308: BIAS_PD

tool: D207: XOSC16M_PD

tool: D27: CHP_PD

tool: D269: FS_PD

tool: D138: ADC_PD

tool: D409: VGA_PD

tool: D195: RXBPF_PD

tool: D74: LNAMIX_PD

assistant: ```c
void cc2400_manand(unsigned short v) {
  (void)(v);
  bits(15, 15, "VGA_RESET_N", "RW", "");
  bits(14, 14, "LOCK_STATUS", "RW", "");
  bits(13, 13, "BALUN_CTRL", "RW", "");
  bits(12, 12, "RXTX", "RW", "");
  bits(11, 11, "PRE_PD", "RW", "");
  bits(10, 10, "PA_N_PD", "RW", "");
  bits(9, 9, "PA_P_PD", "RW", "");
  bits(8, 8, "DAC_LPF_PD", "RW", "");
  bits(7, 7, "BIAS_PD", "RW", "");
  bits(6, 6, "XOSC16M_PD", "RW", "");
  bits(5, 5, "CHP_PD", "RW", "");
  bits(4, 4, "FS_PD", "RW", "");
  bits(3, 3, "ADC_PD", "RW", "");
  bits(2, 2, "VGA_PD", "RW", "");
  bits(1, 1, "RXBPF_PD", "RW", "");
  bits(0, 0, "LNAMIX_PD", "RW", "");
}
```