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

```asm
<sub_with_height>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  movq   %xmm0,%r12
  movq   %xmm1,%r15
  movq   %xmm2,%r13
  movq   %xmm5,%rbx
  movsd  %xmm6,0x10(%rsp)
  movsd  %xmm7,0x18(%rsp)
  mov    $0x0,%edi
  call   <pow@plt>
  movapd %xmm0,%xmm3
  mulsd  D134(%rip),%xmm3
  movq   %r12,%xmm1
  mulsd  D197(%rip),%xmm1
  addsd  D99(%rip),%xmm1
  movsd  D172(%rip),%xmm2
  divsd  %xmm1,%xmm2
  addsd  D205(%rip),%xmm2
  mulsd  %xmm1,%xmm1
  movsd  D18(%rip),%xmm0
  divsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm2,%xmm1
  movapd %xmm3,%xmm0
  mulsd  D28(%rip),%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D172(%rip),%xmm0
  movsd  %xmm1,0x8(%rsp)
  mulsd  %xmm1,%xmm0
  divsd  D67(%rip),%xmm0
  mov    $0x0,%edi
  call   <pow@plt>
  mov    $0x1,%edi
  movsd  %xmm0,(%rsp)
  call   <pow@plt>
  movq   %xmm0,%r14
  mov    $0x1,%edi
  movq   %r13,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbp
  movsd  D233(%rip),%xmm0
  call   <cos@plt>
  movq   %rbp,%xmm7
  mulsd  D152(%rip),%xmm7
  movapd %xmm7,%xmm0
  mulsd  D172(%rip),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  %xmm1,%xmm0
  movq   %r14,%xmm7
  mulsd  D32(%rip),%xmm7
  addsd  %xmm7,%xmm0
  movsd  (%rsp),%xmm4
  movapd %xmm4,%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm1,%xmm0
  divsd  D200(%rip),%xmm0
  mov    $0x0,%edi
  call   <pow@plt>
  movq   %xmm0,%rbp
  movq   %r12,%xmm0
  call   <log@plt>
  movq   %rbx,%xmm3
  movq   %r15,%xmm7
  divsd  %xmm7,%xmm3
  movapd %xmm3,%xmm1
  subsd  D205(%rip),%xmm1
  mulsd  D51(%rip),%xmm0
  addsd  D29(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  (%rsp),%xmm0
  mulsd  D46(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movq   %rbp,%xmm0
  mulsd  D226(%rip),%xmm0
  addsd  D216(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  divsd  0x10(%rsp),%xmm1
  movapd %xmm1,%xmm4
  divsd  0x8(%rsp),%xmm4
  movsd  %xmm4,(%rsp)
  movsd  0x68(%rsp),%xmm1
  mulsd  D151(%rip),%xmm1
  mulsd  0x68(%rsp),%xmm1
  movq   %r13,%xmm0
  mulsd  D115(%rip),%xmm0
  divsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  movsd  0x68(%rsp),%xmm0
  mulsd  D236(%rip),%xmm0
  movsd  D24(%rip),%xmm1
  divsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%edi
  movq   %r12,%xmm0
  divsd  0x18(%rsp),%xmm0
  call   <pow@plt>
  movapd %xmm0,%xmm1
  movsd  D205(%rip),%xmm0
  movsd  0x8(%rsp),%xmm6
  addsd  %xmm6,%xmm0
  mulsd  %xmm1,%xmm0
  subsd  %xmm6,%xmm0
  mulsd  0x60(%rsp),%xmm0
  mulsd  (%rsp),%xmm0
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_tag: D134
type_infered: byte[8]
name: read_data
arguments: data_tag: D197
type_infered: f64
name: read_data
arguments: data_tag: D99
type_infered: f64
name: read_data
arguments: data_tag: D172
type_infered: f64
name: read_data
arguments: data_tag: D205
type_infered: f64
name: read_data
arguments: data_tag: D18
type_infered: f64
name: read_data
arguments: data_tag: D28
type_infered: byte[8]
name: read_data
arguments: data_tag: D67
type_infered: byte[8]
name: read_data
arguments: data_tag: D233
type_infered: byte[8]
name: read_data
arguments: data_tag: D152
type_infered: f64
name: read_data
arguments: data_tag: D32
type_infered: f64
name: read_data
arguments: data_tag: D200
type_infered: byte[8]
name: read_data
arguments: data_tag: D51
type_infered: byte[8]
name: read_data
arguments: data_tag: D29
type_infered: f64
name: read_data
arguments: data_tag: D46
type_infered: byte[8]
name: read_data
arguments: data_tag: D226
type_infered: f64
name: read_data
arguments: data_tag: D216
type_infered: f64
name: read_data
arguments: data_tag: D151
type_infered: f64
name: read_data
arguments: data_tag: D115
type_infered: f64
name: read_data
arguments: data_tag: D236
type_infered: f64
name: read_data
arguments: data_tag: D24
type_infered: byte[8]

tool: {"D134": [0x7b,0x85,0x05,0xf7,0x03,0x1e,0x08,0x3f]}

tool: D197: 12.6

tool: D99: 4.08

tool: D172: 3

tool: D205: 1

tool: D18: 2

tool: {"D28": [0x41,0x6c,0x0d,0xc9,0x3d,0x02,0xae,0x40]}

tool: {"D67": [0x30,0x11,0xca,0x56,0xae,0x81,0xc6,0x40]}

tool: {"D233": [0x97,0xd1,0x7e,0x5a,0xfb,0x21,0xe9,0x3f]}

tool: D152: 0.005

tool: D32: 11000000

tool: {"D200": [0x05,0xa2,0x27,0x65,0x52,0x43,0xeb,0x3e]}

tool: {"D51": [0xd9,0xce,0xf7,0x53,0xe3,0xa5,0x9b,0x3f]}

tool: D29: 1.019

tool: {"D46": [0x97,0xd1,0x7e,0x5a,0xfb,0x21,0x19,0x40]}

tool: D226: 0.606

tool: D216: 1.79

tool: D151: 0.5

tool: D115: 0.3

tool: D236: 0.4

tool: {"D24": [0x33,0x33,0x33,0x33,0x33,0x33,0xd3,0xbf]}

assistant: ```c
double sub_with_height(double z, double es, double Wind, double AirDens, double ZO, double EactAir, double F, double hsalt, double phi_r, double ushear, double Zrh) {
  double Rrz, ALPHAz, Mz;
  double Rmean, terminal_v, fluctuat_v;
  double Vtz, Re, Nu;
  double sigz, dMdt;
  double temp;
  double psi_t, phi_t;
  Rrz = 4.6e-5 * pow(z, -.258);
  ALPHAz = 4.08 + 12.6 * z;
  Mz = (4. / 3.) * 3.1415927 * 917. * Rrz * Rrz * Rrz * (1. + (3. / ALPHAz) + (2. / (ALPHAz * ALPHAz)));
  Rmean = pow((3. * Mz) / (4. * 3.1415927 * 917.), 1. / 3.);
  terminal_v = 1.1e7 * pow(Rmean, 1.8);
  fluctuat_v = 0.005 * pow(Wind, 1.36);
  Vtz = terminal_v + 3. * fluctuat_v * cos(3.1415927 / 4.);
  Re = 2. * Rmean * Vtz / 1.3e-5;
  Nu = 1.79 + 0.606 * pow(Re, 0.5);
  sigz = ((EactAir / es) - 1.) * (1.019 + .027 * log(z));
  dMdt = 2 * 3.1415927 * Rmean * sigz * Nu / F;
  psi_t = dMdt / Mz;
  temp = (0.5 * ushear * ushear) / (Wind * 0.3);
  phi_t = phi_r * ((temp + 1.) * pow((z / hsalt), (-1. * 0.3) / (0.40 * ushear)) - temp);
  return psi_t * phi_t;
}
```