user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<dcs_photonuclear_f2a_BM>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  movsd  %xmm0,0x28(%rsp)
  movq   %xmm1,%rbx
  movq   %xmm2,%r13
  movsd  %xmm3,0x18(%rsp)
  mulsd  D28(%rip),%xmm4
  movapd %xmm4,%xmm1
  addsd  D122(%rip),%xmm1
  movapd %xmm4,%xmm7
  divsd  %xmm1,%xmm7
  movapd %xmm7,%xmm0
  addsd  D128(%rip),%xmm0
  movapd %xmm0,%xmm6
  mulsd  D160(%rip),%xmm6
  movsd  %xmm6,0x10(%rsp)
  movapd %xmm4,%xmm6
  addsd  %xmm4,%xmm6
  movapd %xmm6,%xmm0
  movsd  %xmm4,0x8(%rsp)
  movapd %xmm4,%xmm1
  addsd  D137(%rip),%xmm1
  divsd  %xmm1,%xmm0
  addsd  D128(%rip),%xmm0
  movapd %xmm0,%xmm7
  mulsd  D154(%rip),%xmm7
  movsd  %xmm7,(%rsp)
  movapd %xmm7,%xmm2
  xorpd  D175(%rip),%xmm2
  movapd %xmm2,%xmm1
  movapd %xmm3,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbp
  movsd  0x8(%rsp),%xmm5
  movapd %xmm5,%xmm1
  addsd  D162(%rip),%xmm1
  movapd %xmm5,%xmm7
  divsd  %xmm1,%xmm7
  movapd %xmm7,%xmm0
  movsd  D128(%rip),%xmm1
  addsd  (%rsp),%xmm1
  call   <pow@plt>
  movq   %rbp,%xmm3
  mulsd  D4(%rip),%xmm3
  mulsd  %xmm0,%xmm3
  movsd  %xmm3,0x20(%rsp)
  movsd  D128(%rip),%xmm3
  subsd  0x18(%rsp),%xmm3
  movsd  D13(%rip),%xmm1
  addsd  0x10(%rsp),%xmm1
  movsd  %xmm3,(%rsp)
  movapd %xmm3,%xmm0
  call   <pow@plt>
  movq   %xmm0,%r14
  movsd  0x10(%rsp),%xmm4
  addsd  D176(%rip),%xmm4
  movapd %xmm4,%xmm1
  movsd  (%rsp),%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbp
  movsd  D187(%rip),%xmm1
  movsd  0x18(%rsp),%xmm0
  call   <pow@plt>
  movq   %xmm0,%r15
  movsd  0x10(%rsp),%xmm1
  movsd  (%rsp),%xmm0
  call   <pow@plt>
  movq   %xmm0,%r12
  movsd  0x8(%rsp),%xmm5
  movapd %xmm5,%xmm1
  addsd  D7(%rip),%xmm1
  divsd  %xmm1,%xmm5
  movapd %xmm5,%xmm0
  movsd  D2(%rip),%xmm1
  call   <pow@plt>
  movq   %r15,%xmm2
  movq   %r12,%xmm4
  mulsd  %xmm4,%xmm2
  mulsd  %xmm0,%xmm2
  movapd %xmm2,%xmm4
  mulsd  D47(%rip),%xmm4
  movapd %xmm4,%xmm3
  mulsd  D183(%rip),%xmm2
  mulsd  (%rsp),%xmm2
  mulsd  D119(%rip),%xmm4
  movapd %xmm4,%xmm0
  movsd  D13(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  movq   %rbp,%xmm1
  movsd  0x20(%rsp),%xmm6
  mulsd  %xmm6,%xmm1
  addsd  %xmm1,%xmm0
  movq   %rbx,%xmm1
  movsd  0x28(%rsp),%xmm7
  subsd  %xmm7,%xmm1
  mulsd  %xmm1,%xmm0
  movq   %r14,%xmm1
  mulsd  %xmm6,%xmm1
  addsd  %xmm2,%xmm3
  addsd  %xmm3,%xmm1
  mulsd  %xmm7,%xmm1
  addsd  %xmm1,%xmm0
  movq   %r13,%xmm6
  mulsd  %xmm6,%xmm0
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: tag: D28
data_type: byte[8]
name: read_data
arguments: tag: D122
data_type: byte[8]
name: read_data
arguments: tag: D128
data_type: f64
name: read_data
arguments: tag: D160
data_type: f64
name: read_data
arguments: tag: D137
data_type: byte[8]
name: read_data
arguments: tag: D154
data_type: f64
name: read_data
arguments: tag: D175
data_type: byte[16]
name: read_data
arguments: tag: D162
data_type: byte[8]
name: read_data
arguments: tag: D4
data_type: f64
name: read_data
arguments: tag: D13
data_type: f64
name: read_data
arguments: tag: D176
data_type: f64
name: read_data
arguments: tag: D187
data_type: byte[8]
name: read_data
arguments: tag: D7
data_type: byte[8]
name: read_data
arguments: tag: D2
data_type: f64
name: read_data
arguments: tag: D47
data_type: f64
name: read_data
arguments: tag: D183
data_type: f64
name: read_data
arguments: tag: D119
data_type: byte[8]

tool: {"D28": [0x00,0x00,0x00,0x00,0x80,0x84,0x2e,0x41]}

tool: {"D122": [0x00,0x00,0x00,0x00,0x68,0x1c,0x47,0x41]}

tool: D128: 1

tool: D160: 1.5

tool: {"D137": [0x00,0x00,0x00,0x00,0xe4,0x9b,0x36,0x41]}

tool: D154: 0.0988

tool: {"D175": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D162": [0x00,0x00,0x00,0x00,0x20,0xad,0x0e,0x41]}

tool: D4: 0.12

tool: D13: 4

tool: D176: 1.8152

tool: {"D187": [0xbe,0xc1,0x17,0x26,0x53,0x05,0xe3,0x3f]}

tool: {"D7": [0x00,0x00,0x00,0x00,0xd0,0xe0,0x22,0x41]}

tool: D2: 0.4056

tool: D47: 1.2437

tool: D183: 0.1853

tool: {"D119": [0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x3f]}

assistant: ```c
double dcs_photonuclear_f2a_BM(double Z, double A, double shadowing, double x, double Q2) {
  Q2 *= 1E+06;
  const double a = 0.2513E+06;
  const double b = 0.6186E+06;
  const double c = 3.0292E+06;
  const double d = 1.4817E+06;
  const double intercept_pomeron = 0.0988;
  const double intercept_reggeon = 0.4056;
  const double tau = 1.8152;
  const double A_s = 0.12;
  const double B_up = 1.2437;
  const double B_down = 0.1853;
  const double n = 1.5 * (1. + Q2 / (Q2 + c));
  const double dl = intercept_pomeron * (1. + 2. * Q2 / (Q2 + d));
  double aux = A_s * pow(x, -dl) * pow(Q2 / (Q2 + a), 1. + dl);
  const double F_proton_singlet = aux * pow(1. - x, n + 4.);
  const double F_neutron_singlet = aux * pow(1. - x, n + tau);
  aux = pow(x, 1. - intercept_reggeon) * pow(1. - x, n) * pow(Q2 / (Q2 + b), intercept_reggeon);
  const double Up_valence = B_up * aux;
  const double Down_valence = B_down * aux * (1. - x);
  const double F_proton_non_singlet = Up_valence + Down_valence;
  const double F_neutron_non_singlet = Up_valence / 4. + Down_valence * 4.;
  const double structure_function_proton = F_proton_singlet + F_proton_non_singlet;
  const double structure_function_neutron = F_neutron_singlet + F_neutron_non_singlet;
  return shadowing * (Z * structure_function_proton + (A - Z) * structure_function_neutron);
}
```