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

```asm
<EToPM>:
  endbr64
  push   %r14
  movq   %xmm4,%r14
  push   %rbx
  movq   %xmm2,%rbx
  sub    $0x68,%rsp
  movsd  D156(%rip),%xmm2
  movsd  D234(%rip),%xmm10
  movsd  %xmm6,(%rsp)
  movapd %xmm0,%xmm6
  subsd  D152(%rip),%xmm6
  maxsd  %xmm5,%xmm10
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm1,0x38(%rsp)
  movapd %xmm6,%xmm0
  addsd  %xmm6,%xmm2
  movsd  %xmm6,0x10(%rsp)
  mulsd  D113(%rip),%xmm0
  movsd  %xmm10,0x28(%rsp)
  movsd  %xmm2,0x8(%rsp)
  divsd  %xmm2,%xmm0
  call   <exp@plt>
  movsd  D265(%rip),%xmm7
  movsd  0x8(%rsp),%xmm2
  movsd  0x10(%rsp),%xmm6
  movsd  0x38(%rsp),%xmm1
  mulsd  %xmm0,%xmm7
  movsd  D19(%rip),%xmm0
  movsd  D117(%rip),%xmm5
  mulsd  %xmm2,%xmm2
  mulsd  %xmm6,%xmm0
  mulsd  D17(%rip),%xmm1
  movapd %xmm7,%xmm8
  movsd  %xmm7,0x20(%rsp)
  mulsd  D227(%rip),%xmm8
  subsd  %xmm0,%xmm5
  movsd  %xmm5,0x8(%rsp)
  divsd  %xmm2,%xmm8
  movsd  D187(%rip),%xmm2
  movapd %xmm2,%xmm0
  subsd  %xmm1,%xmm0
  movsd  D103(%rip),%xmm1
  divsd  %xmm2,%xmm0
  movsd  %xmm8,0x18(%rsp)
  call   <pow@plt>
  movsd  D174(%rip),%xmm1
  movsd  D94(%rip),%xmm12
  movsd  0x8(%rsp),%xmm5
  movsd  0x28(%rsp),%xmm10
  mulsd  %xmm0,%xmm1
  movsd  D104(%rip),%xmm0
  movsd  0x10(%rsp),%xmm6
  movsd  0x18(%rsp),%xmm8
  movsd  0x20(%rsp),%xmm7
  mulsd  %xmm5,%xmm0
  movsd  0x30(%rsp),%xmm3
  movapd %xmm1,%xmm4
  mulsd  %xmm12,%xmm4
  divsd  %xmm0,%xmm4
  movsd  D214(%rip),%xmm0
  comisd %xmm10,%xmm0
  mulsd  D234(%rip),%xmm4
  ja     L14
  movsd  D189(%rip),%xmm11
  movq   %rbx,%xmm0
  movsd  D266(%rip),%xmm9
  mulsd  D122(%rip),%xmm0
  divsd  D253(%rip),%xmm0
  divsd  %xmm0,%xmm11
L5:
  movsd  D179(%rip),%xmm0
  addsd  D152(%rip),%xmm6
  mulsd  %xmm3,%xmm9
  mulsd  D162(%rip),%xmm10
  movsd  D26(%rip),%xmm13
  movapd %xmm0,%xmm2
  subsd  %xmm9,%xmm3
  divsd  %xmm10,%xmm2
  movsd  D80(%rip),%xmm10
  movapd %xmm10,%xmm14
  divsd  %xmm11,%xmm2
  addsd  %xmm10,%xmm2
  mulsd  %xmm4,%xmm2
  movq   %r14,%xmm4
  mulsd  %xmm7,%xmm4
  addsd  %xmm8,%xmm2
  divsd  %xmm0,%xmm4
  divsd  %xmm2,%xmm10
  mulsd  %xmm4,%xmm13
  subsd  %xmm4,%xmm7
  divsd  %xmm1,%xmm13
  divsd  %xmm2,%xmm8
  subsd  %xmm13,%xmm14
  divsd  %xmm14,%xmm6
  mulsd  D235(%rip),%xmm6
  divsd  %xmm0,%xmm6
  divsd  %xmm6,%xmm1
  mulsd  %xmm12,%xmm1
  movapd %xmm1,%xmm0
  movsd  D167(%rip),%xmm1
  divsd  %xmm11,%xmm0
  divsd  %xmm5,%xmm1
  mulsd  (%rsp),%xmm5
  add    $0x68,%rsp
  pop    %rbx
  pop    %r14
  divsd  %xmm5,%xmm3
  mulsd  %xmm1,%xmm10
  mulsd  %xmm10,%xmm0
  mulsd  %xmm7,%xmm0
  mulsd  %xmm8,%xmm3
  addsd  %xmm3,%xmm0
  ret
  nop
L14:
  pxor   %xmm9,%xmm9
  movapd %xmm10,%xmm11
  movapd %xmm0,%xmm2
  movsd  %xmm3,0x58(%rsp)
  mulsd  %xmm10,%xmm9
  movsd  %xmm4,0x50(%rsp)
  mulsd  D297(%rip),%xmm11
  movsd  %xmm1,0x48(%rsp)
  movsd  %xmm5,0x40(%rsp)
  movsd  %xmm8,0x38(%rsp)
  movsd  %xmm7,0x30(%rsp)
  subsd  %xmm9,%xmm2
  movsd  %xmm6,0x28(%rsp)
  movsd  %xmm10,0x20(%rsp)
  movsd  %xmm11,0x10(%rsp)
  movapd %xmm2,%xmm0
  movsd  %xmm2,0x18(%rsp)
  divsd  %xmm11,%xmm0
  call   <log@plt>
  movsd  0x10(%rsp),%xmm11
  movsd  D266(%rip),%xmm9
  movsd  0x18(%rsp),%xmm2
  movsd  %xmm0,0x8(%rsp)
  mulsd  %xmm9,%xmm11
  movsd  %xmm9,0x10(%rsp)
  divsd  %xmm11,%xmm2
  movapd %xmm2,%xmm0
  call   <log@plt>
  movsd  0x8(%rsp),%xmm11
  mov    D94(%rip),%rax
  movsd  0x10(%rsp),%xmm9
  movsd  0x20(%rsp),%xmm10
  mulsd  %xmm0,%xmm11
  movq   %rbx,%xmm0
  movsd  0x28(%rsp),%xmm6
  movsd  0x30(%rsp),%xmm7
  mulsd  D16(%rip),%xmm0
  movsd  0x38(%rsp),%xmm8
  movq   %rax,%xmm12
  movsd  0x40(%rsp),%xmm5
  movsd  0x48(%rsp),%xmm1
  movsd  0x50(%rsp),%xmm4
  movsd  0x58(%rsp),%xmm3
  divsd  %xmm0,%xmm11
  jmp    L5
```

tool_calls: name: read_data
arguments: data_label: D156
data_type: f64
name: read_data
arguments: data_label: D234
data_type: f64
name: read_data
arguments: data_label: D152
data_type: f64
name: read_data
arguments: data_label: D113
data_type: f64
name: read_data
arguments: data_label: D265
data_type: f64
name: read_data
arguments: data_label: D19
data_type: f64
name: read_data
arguments: data_label: D117
data_type: f64
name: read_data
arguments: data_label: D17
data_type: f64
name: read_data
arguments: data_label: D227
data_type: byte[8]
name: read_data
arguments: data_label: D187
data_type: f64
name: read_data
arguments: data_label: D103
data_type: byte[8]
name: read_data
arguments: data_label: D174
data_type: f64
name: read_data
arguments: data_label: D94
data_type: f64
name: read_data
arguments: data_label: D104
data_type: f64
name: read_data
arguments: data_label: D214
data_type: byte[8]
name: read_data
arguments: data_label: D189
data_type: byte[8]
name: read_data
arguments: data_label: D266
data_type: f64
name: read_data
arguments: data_label: D122
data_type: byte[8]
name: read_data
arguments: data_label: D253
data_type: f64
name: read_data
arguments: data_label: D179
data_type: byte[8]
name: read_data
arguments: data_label: D162
data_type: byte[8]
name: read_data
arguments: data_label: D26
data_type: f64
name: read_data
arguments: data_label: D80
data_type: byte[8]
name: read_data
arguments: data_label: D235
data_type: byte[8]
name: read_data
arguments: data_label: D167
data_type: f64
name: read_data
arguments: data_label: D297
data_type: f64
name: read_data
arguments: data_label: D16
data_type: byte[8]

tool: D156: 237.3

tool: D234: 0.001

tool: D152: 273.15

tool: D113: 17.27

tool: D265: 0.61078

tool: D19: 0.002361

tool: D117: 2.501

tool: D17: 0.0065

tool: {"D227": [0x00,0x00,0x00,0x00,0x00,0x02,0xb0,0x40]}

tool: D187: 293.16

tool: {"D103": [0x50,0x4a,0x47,0xeb,0xd9,0x08,0x15,0x40]}

tool: D174: 101.3

tool: D94: 1.013

tool: D104: 0.622

tool: {"D214": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

tool: {"D189": [0x00,0x00,0x00,0x00,0x00,0x80,0x57,0x40]}

tool: D266: 0.1

tool: {"D122": [0x53,0x44,0xf0,0x51,0x63,0x0b,0x1a,0x40]}

tool: D253: 4.87

tool: {"D179": [0x00,0x00,0x00,0x00,0x00,0x00,0x59,0x40]}

tool: {"D162": [0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x40]}

tool: D26: 0.378

tool: {"D80": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D235": [0x00,0x00,0x00,0x00,0x00,0xf0,0x71,0x40]}

tool: D167: 3.6

tool: D297: 0.123

tool: {"D16": [0xa2,0x92,0x3a,0x01,0x4d,0x84,0xc5,0x3f]}

assistant: ```c
double EToPM(double T, double Z, double u2, double Rn, double Rh, double hc, double daily_N) {
  double ea, delta, gamma, gstar, L;
  double P, ra, d, Zom, Zoh, G, ETrad, u10, rs, ed, Tkv, rho, ETaero, ETp;
  T -= 273.15;
  if (hc < 0.001)
    hc = 0.001;
  ea = 0.61078 * exp((17.27 * T) / (T + 237.3));
  delta = (4098 * ea) / pow((237.3 + T), 2);
  L = 2.501 - (0.002361 * T);
  P = 101.3 * pow(((293.16 - 0.0065 * (Z - 0)) / 293.16), (9.81 / (0.0065 * 287)));
  gamma = ((1.013 * P) / (0.622 * L)) * 0.001;
  if (hc < 2) {
    d = (2 / 3) * hc;
    Zom = 0.123 * hc;
    Zoh = 0.1 * Zom;
    ra = (log((2 - d) / Zom) * log((2 - d) / Zoh)) / (0.41 * 0.41 * u2);
  } else {
    u10 = u2 * (log((67.8 * 10) - 5.42)) / 4.87;
    ra = 94 / u10;
  }
  rs = 100 / (0.5 * 24 * hc);
  gstar = gamma * (1 + (rs / ra));
  G = 0.1 * Rn;
  ETrad = (delta / (delta + gstar)) * ((Rn - G) / (L * daily_N));
  ed = Rh * ea / 100;
  Tkv = (T + 273.15) / (1 - (0.378 * ed / P));
  rho = P / (Tkv * 287 / 100);
  ETaero = (3.6 / L) * (1 / (delta + gstar)) * (rho * 1.013 / ra) * (ea - ed);
  ETp = ETrad + ETaero;
  return (ETp);
}
```