user: Translate the below assembly code into C programming language:

```asm
<EToPM>:
  endbr64
  push   %r14
  movapd %xmm0,%xmm6
  movq   %xmm4,%r14
  push   %rbx
  movq   %xmm2,%rbx
  sub    $0x68,%rsp
  subsd  D270(%rip),%xmm6
  movsd  D302(%rip),%xmm2
  movsd  D279(%rip),%xmm10
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm1,0x38(%rsp)
  movapd %xmm6,%xmm0
  addsd  %xmm6,%xmm2
  maxsd  %xmm5,%xmm10
  movsd  %xmm6,0x10(%rsp)
  mulsd  D251(%rip),%xmm0
  movsd  %xmm10,0x28(%rsp)
  movsd  %xmm2,0x8(%rsp)
  divsd  %xmm2,%xmm0
  call   <exp@plt>
  movsd  D47(%rip),%xmm5
  movsd  0x8(%rsp),%xmm2
  movsd  0x10(%rsp),%xmm6
  movsd  0x38(%rsp),%xmm1
  movsd  D14(%rip),%xmm8
  mulsd  %xmm0,%xmm5
  movsd  D11(%rip),%xmm0
  mulsd  %xmm2,%xmm2
  mulsd  %xmm6,%xmm0
  mulsd  D204(%rip),%xmm1
  movapd %xmm5,%xmm7
  movsd  %xmm5,0x20(%rsp)
  mulsd  D287(%rip),%xmm7
  subsd  %xmm0,%xmm8
  movsd  %xmm8,0x8(%rsp)
  divsd  %xmm2,%xmm7
  movsd  D87(%rip),%xmm2
  movapd %xmm2,%xmm0
  subsd  %xmm1,%xmm0
  movsd  D281(%rip),%xmm1
  divsd  %xmm2,%xmm0
  movsd  %xmm7,0x18(%rsp)
  call   <pow@plt>
  movsd  D137(%rip),%xmm1
  movsd  D247(%rip),%xmm12
  movsd  0x8(%rsp),%xmm8
  movsd  0x28(%rsp),%xmm10
  mulsd  %xmm0,%xmm1
  movsd  D16(%rip),%xmm0
  movsd  0x10(%rsp),%xmm6
  movsd  0x18(%rsp),%xmm7
  movsd  0x20(%rsp),%xmm5
  mulsd  %xmm8,%xmm0
  movsd  0x30(%rsp),%xmm3
  movapd %xmm1,%xmm4
  mulsd  %xmm12,%xmm4
  divsd  %xmm0,%xmm4
  movsd  D236(%rip),%xmm0
  comisd %xmm10,%xmm0
  mulsd  D279(%rip),%xmm4
  ja     L13
  movsd  D40(%rip),%xmm11
  movq   %rbx,%xmm0
  movsd  D180(%rip),%xmm9
  mulsd  D184(%rip),%xmm0
  divsd  D84(%rip),%xmm0
  divsd  %xmm0,%xmm11
L9:
  movsd  D53(%rip),%xmm0
  addsd  D270(%rip),%xmm6
  mulsd  %xmm3,%xmm9
  mulsd  D161(%rip),%xmm10
  movsd  D273(%rip),%xmm13
  movapd %xmm0,%xmm2
  subsd  %xmm9,%xmm3
  divsd  %xmm10,%xmm2
  movsd  D167(%rip),%xmm10
  movapd %xmm10,%xmm14
  divsd  %xmm8,%xmm3
  divsd  %xmm11,%xmm2
  addsd  %xmm10,%xmm2
  mulsd  %xmm4,%xmm2
  movq   %r14,%xmm4
  mulsd  %xmm5,%xmm4
  addsd  %xmm7,%xmm2
  divsd  %xmm0,%xmm4
  divsd  %xmm2,%xmm10
  mulsd  %xmm4,%xmm13
  subsd  %xmm4,%xmm5
  divsd  %xmm1,%xmm13
  divsd  %xmm2,%xmm7
  subsd  %xmm13,%xmm14
  divsd  %xmm14,%xmm6
  mulsd  %xmm7,%xmm3
  mulsd  D299(%rip),%xmm6
  divsd  %xmm0,%xmm6
  divsd  %xmm6,%xmm1
  mulsd  %xmm12,%xmm1
  movapd %xmm1,%xmm0
  movsd  D265(%rip),%xmm1
  add    $0x68,%rsp
  divsd  %xmm11,%xmm0
  pop    %rbx
  pop    %r14
  divsd  %xmm8,%xmm1
  mulsd  %xmm1,%xmm10
  mulsd  %xmm10,%xmm0
  mulsd  %xmm5,%xmm0
  addsd  %xmm3,%xmm0
  ret
  nopl   0x0(%rax)
L13:
  pxor   %xmm9,%xmm9
  movapd %xmm10,%xmm11
  movapd %xmm0,%xmm2
  movsd  %xmm3,0x58(%rsp)
  mulsd  %xmm10,%xmm9
  movsd  %xmm4,0x50(%rsp)
  mulsd  D268(%rip),%xmm11
  movsd  %xmm1,0x48(%rsp)
  movsd  %xmm8,0x40(%rsp)
  movsd  %xmm7,0x38(%rsp)
  movsd  %xmm5,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  D180(%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    D247(%rip),%rax
  movsd  0x10(%rsp),%xmm9
  movsd  0x20(%rsp),%xmm10
  mulsd  %xmm0,%xmm11
  movq   %rbx,%xmm0
  movsd  0x28(%rsp),%xmm6
  movsd  0x30(%rsp),%xmm5
  mulsd  D48(%rip),%xmm0
  movsd  0x38(%rsp),%xmm7
  movq   %rax,%xmm12
  movsd  0x40(%rsp),%xmm8
  movsd  0x48(%rsp),%xmm1
  movsd  0x50(%rsp),%xmm4
  movsd  0x58(%rsp),%xmm3
  divsd  %xmm0,%xmm11
  jmp    L9
```

tool_calls: name: parse_data
arguments: label: D270
datatype: f64
name: parse_data
arguments: label: D302
datatype: f64
name: parse_data
arguments: label: D279
datatype: f64
name: parse_data
arguments: label: D251
datatype: f64
name: parse_data
arguments: label: D47
datatype: f64
name: parse_data
arguments: label: D14
datatype: f64
name: parse_data
arguments: label: D11
datatype: f64
name: parse_data
arguments: label: D204
datatype: f64
name: parse_data
arguments: label: D287
datatype: byte[8]
name: parse_data
arguments: label: D87
datatype: f64
name: parse_data
arguments: label: D281
datatype: byte[8]
name: parse_data
arguments: label: D137
datatype: f64
name: parse_data
arguments: label: D247
datatype: f64
name: parse_data
arguments: label: D16
datatype: f64
name: parse_data
arguments: label: D236
datatype: byte[8]
name: parse_data
arguments: label: D40
datatype: byte[8]
name: parse_data
arguments: label: D180
datatype: f64
name: parse_data
arguments: label: D184
datatype: byte[8]
name: parse_data
arguments: label: D84
datatype: f64
name: parse_data
arguments: label: D53
datatype: byte[8]
name: parse_data
arguments: label: D161
datatype: byte[8]
name: parse_data
arguments: label: D273
datatype: f64
name: parse_data
arguments: label: D167
datatype: byte[8]
name: parse_data
arguments: label: D299
datatype: byte[8]
name: parse_data
arguments: label: D265
datatype: f64
name: parse_data
arguments: label: D268
datatype: f64
name: parse_data
arguments: label: D48
datatype: byte[8]

tool: D270: 273.15

tool: D302: 237.3

tool: D279: 0.001

tool: D251: 17.27

tool: D47: 0.61078

tool: D14: 2.501

tool: D11: 0.002361

tool: D204: 0.0065

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

tool: D87: 293.16

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

tool: D137: 101.3

tool: D247: 1.013

tool: D16: 0.622

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

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

tool: D180: 0.1

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

tool: D84: 4.87

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

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

tool: D273: 0.378

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

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

tool: D265: 3.6

tool: D268: 0.123

tool: {"D48": [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 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);
  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);
}
```