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

```asm
<gsw_pt0_from_t>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  movq   %xmm0,%rbx
  movapd %xmm0,%xmm3
  mulsd  D19(%rip),%xmm3
  movsd  D25(%rip),%xmm5
  divsd  %xmm5,%xmm3
  movapd %xmm3,%xmm0
  mulsd  D47(%rip),%xmm0
  subsd  D116(%rip),%xmm0
  movapd %xmm1,%xmm4
  mulsd  D27(%rip),%xmm4
  addsd  %xmm4,%xmm0
  movapd %xmm2,%xmm4
  mulsd  D9(%rip),%xmm4
  addsd  %xmm4,%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  D82(%rip),%xmm3
  movsd  D54(%rip),%xmm4
  subsd  %xmm3,%xmm4
  movapd %xmm2,%xmm6
  mulsd  D14(%rip),%xmm6
  subsd  %xmm6,%xmm4
  addsd  %xmm4,%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm0,%xmm6
  addsd  %xmm1,%xmm6
  movsd  %xmm6,(%rsp)
  movq   %rbx,%xmm4
  divsd  %xmm5,%xmm4
  movsd  D107(%rip),%xmm0
  movapd %xmm0,%xmm3
  subsd  %xmm4,%xmm3
  mulsd  D87(%rip),%xmm3
  subsd  %xmm3,%xmm0
  addsd  D21(%rip),%xmm6
  mulsd  %xmm6,%xmm0
  movsd  D78(%rip),%xmm3
  divsd  %xmm0,%xmm3
  movsd  %xmm3,0x8(%rsp)
  movq   %rbx,%xmm0
  call   <gsw_entropy_part@plt>
  movsd  %xmm0,0x18(%rsp)
  mov    $0x2,%ebp
L6:
  movsd  (%rsp),%xmm1
  movq   %rbx,%xmm0
  call   <gsw_entropy_part_zerop@plt>
  subsd  0x18(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  divsd  0x8(%rsp),%xmm0
  movsd  (%rsp),%xmm7
  movapd %xmm7,%xmm1
  subsd  %xmm0,%xmm1
  addsd  %xmm7,%xmm1
  mulsd  D83(%rip),%xmm1
  movq   %rbx,%xmm0
  call   <gsw_gibbs_pt0_pt0@plt>
  movapd %xmm0,%xmm6
  xorpd  D134(%rip),%xmm6
  movsd  %xmm6,0x8(%rsp)
  movsd  0x10(%rsp),%xmm1
  xorpd  D134(%rip),%xmm1
  divsd  %xmm0,%xmm1
  movsd  (%rsp),%xmm7
  subsd  %xmm1,%xmm7
  movsd  %xmm7,(%rsp)
  sub    $0x1,%ebp
  jne    L6
  movapd %xmm7,%xmm0
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D19
datatype: f64
name: unpack_data
arguments: data_tag: D25
datatype: f64
name: unpack_data
arguments: data_tag: D47
datatype: byte[8]
name: unpack_data
arguments: data_tag: D116
datatype: byte[8]
name: unpack_data
arguments: data_tag: D27
datatype: byte[8]
name: unpack_data
arguments: data_tag: D9
datatype: byte[8]
name: unpack_data
arguments: data_tag: D82
datatype: byte[8]
name: unpack_data
arguments: data_tag: D54
datatype: byte[8]
name: unpack_data
arguments: data_tag: D14
datatype: byte[8]
name: unpack_data
arguments: data_tag: D107
datatype: f64
name: unpack_data
arguments: data_tag: D87
datatype: f64
name: unpack_data
arguments: data_tag: D21
datatype: f64
name: unpack_data
arguments: data_tag: D78
datatype: f64
name: unpack_data
arguments: data_tag: D83
datatype: f64
name: unpack_data
arguments: data_tag: D134
datatype: byte[16]

tool: D19: 35

tool: D25: 35.16504

tool: {"D47": [0xf8,0x16,0x2f,0x75,0xb3,0x7c,0x5e,0x3e]}

tool: {"D116": [0xe0,0x35,0x10,0x26,0x46,0x94,0xe1,0x3e]}

tool: {"D27": [0x88,0xfb,0x99,0x2c,0x70,0x17,0x53,0x3e]}

tool: {"D9": [0x4e,0xf8,0x09,0xc4,0x00,0x86,0xe7,0x3d]}

tool: {"D82": [0x55,0x82,0xb8,0x95,0x3b,0xc3,0xb7,0x3e]}

tool: {"D54": [0xe7,0x41,0x75,0x08,0x88,0x26,0xe2,0x3e]}

tool: {"D14": [0x76,0x5c,0x53,0xa9,0x8b,0xb5,0x3f,0x3e]}

tool: D107: 1

tool: D87: 0.05

tool: D21: 273.15

tool: D78: 3991.86795711963

tool: D83: 0.5

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

assistant: ```c
double gsw_pt0_from_t(double sa, double t, double p) {
  int n0, n2, no_iter;
  double pt0, pt0_old, dentropy, dentropy_dt, sso, cp0;
  double s1, true_entropy_part, pt0m;
  n0 = 0;
  n2 = 2;
  cp0 = 3991.86795711963e0;
  sso = 35.16504e0;
  s1 = sa * 35e0 / sso;
  pt0 = t + p * (8.65483913395442e-6 - s1 * 1.41636299744881e-6 - p * 7.38286467135737e-9 + t * (-8.38241357039698e-6 + s1 * 2.83933368585534e-8 + t * 1.77803965218656e-8 + p * 1.71155619208233e-10));
  dentropy_dt = cp0 / ((273.15e0 + pt0) * (1e0 - 0.05e0 * (1e0 - sa / sso)));
  true_entropy_part = gsw_entropy_part(sa, t, p);
  for (no_iter = 1; no_iter <= 2; no_iter++) {
    pt0_old = pt0;
    dentropy = gsw_entropy_part_zerop(sa, pt0_old) - true_entropy_part;
    pt0 = pt0_old - dentropy / dentropy_dt;
    pt0m = 0.5e0 * (pt0 + pt0_old);
    dentropy_dt = -gsw_gibbs_pt0_pt0(sa, pt0m);
    pt0 = pt0_old - dentropy / dentropy_dt;
  }
  return (pt0);
}
```