user: 请将以下的汇编代码转换成C语言代码:

```asm
<gbs_put>:
  endbr64
  sub    $0x48,%rsp
  ucomisd %xmm0,%xmm0
  movsd  %xmm0,0x38(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm2,0x8(%rsp)
  movsd  %xmm3,0x18(%rsp)
  movsd  %xmm4,0x20(%rsp)
  movsd  %xmm5,0x28(%rsp)
  jp     L199
  comisd D126(%rip),%xmm0
  movapd %xmm0,%xmm7
  jae    L0
L199:
  xor    %edi,%edi
L92:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x10(%rsp),%xmm5
  ucomisd %xmm5,%xmm5
  jp     L15
  comisd D126(%rip),%xmm5
  jae    L118
L15:
  xor    %edi,%edi
L175:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x8(%rsp),%xmm4
  ucomisd %xmm4,%xmm4
  jp     L102
  comisd D71(%rip),%xmm4
  jae    L76
L102:
  xor    %edi,%edi
L127:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm3
  ucomisd %xmm3,%xmm3
  jp     L182
  pxor   %xmm6,%xmm6
  xor    %edi,%edi
  comisd %xmm6,%xmm3
  movsd  %xmm6,0x30(%rsp)
  jb     L155
  movsd  D118(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
L155:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x20(%rsp),%xmm2
  ucomisd %xmm2,%xmm2
  jp     L150
  comisd D105(%rip),%xmm2
  jae    L112
L150:
  xor    %edi,%edi
L142:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x28(%rsp),%xmm7
  ucomisd %xmm7,%xmm7
  jp     L65
  comisd D128(%rip),%xmm7
  jae    L176
L65:
  xor    %edi,%edi
L120:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x30(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm6
  ucomisd %xmm6,%xmm1
  ja     L107
  sqrtsd %xmm6,%xmm6
  movapd %xmm6,%xmm0
L74:
  movsd  0x28(%rsp),%xmm7
  movsd  0x38(%rsp),%xmm3
  divsd  0x10(%rsp),%xmm3
  mulsd  %xmm0,%xmm7
  movapd %xmm3,%xmm0
  movsd  %xmm7,0x30(%rsp)
  call   <log@plt>
  movsd  0x8(%rsp),%xmm4
  movsd  0x18(%rsp),%xmm5
  movapd %xmm0,%xmm1
  movsd  0x28(%rsp),%xmm0
  xorpd  D94(%rip),%xmm5
  mulsd  %xmm0,%xmm0
  mulsd  D21(%rip),%xmm0
  addsd  0x20(%rsp),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm1,%xmm0
  divsd  0x30(%rsp),%xmm0
  movsd  %xmm0,0x28(%rsp)
  movapd %xmm5,%xmm0
  mulsd  %xmm4,%xmm0
  call   <exp@plt>
  movsd  0x10(%rsp),%xmm2
  mov    $0x1,%eax
  mulsd  %xmm0,%xmm2
  movsd  0x28(%rsp),%xmm0
  subsd  0x30(%rsp),%xmm0
  xorpd  D94(%rip),%xmm0
  movsd  %xmm2,0x10(%rsp)
  call   <cnd@plt>
  pxor   %xmm0,%xmm0
  movsd  0x10(%rsp),%xmm1
  movsd  0x20(%rsp),%xmm6
  cvtsi2sd %eax,%xmm0
  subsd  0x18(%rsp),%xmm6
  mulsd  %xmm0,%xmm1
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm6,%xmm0
  movsd  %xmm1,0x10(%rsp)
  call   <exp@plt>
  movsd  0x38(%rsp),%xmm2
  mov    $0x1,%eax
  mulsd  %xmm0,%xmm2
  movsd  0x28(%rsp),%xmm0
  xorpd  D94(%rip),%xmm0
  movsd  %xmm2,0x8(%rsp)
  call   <cnd@plt>
  pxor   %xmm2,%xmm2
  movsd  0x10(%rsp),%xmm1
  cvtsi2sd %eax,%xmm2
  mulsd  0x8(%rsp),%xmm2
  add    $0x48,%rsp
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  ret
  nopw   0x0(%rax,%rax,1)
L182:
  pxor   %xmm5,%xmm5
  xor    %edi,%edi
  movsd  %xmm5,0x30(%rsp)
  jmp    L155
  nopl   0x0(%rax)
L76:
  movsd  D25(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm4,%xmm0
  setae  %dil
  jmp    L127
  nopw   0x0(%rax,%rax,1)
L118:
  movsd  D44(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm5,%xmm0
  setae  %dil
  jmp    L175
  nopw   0x0(%rax,%rax,1)
L0:
  movsd  D44(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L92
  nopw   0x0(%rax,%rax,1)
L176:
  movsd  D108(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L120
  nopw   0x0(%rax,%rax,1)
L112:
  movsd  D118(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm2,%xmm0
  setae  %dil
  jmp    L142
L107:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L74
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D126
type: f64[2]
name: extract_symbolic_data
arguments: data_label: D71
type: byte[16]
name: extract_symbolic_data
arguments: data_label: D118
type: f64
name: extract_symbolic_data
arguments: data_label: D105
type: f32[4]
name: extract_symbolic_data
arguments: data_label: D128
type: f64[2]
name: extract_symbolic_data
arguments: data_label: D94
type: f32[4]
name: extract_symbolic_data
arguments: data_label: D21
type: f32[2]
name: extract_symbolic_data
arguments: data_label: D25
type: f64
name: extract_symbolic_data
arguments: data_label: D44
type: f64
name: extract_symbolic_data
arguments: data_label: D108
type: f64

tool: {"D126": [1e-6,1000000000000.0]}

tool: {"D71": [0xce,0xd2,0x29,0x9c,0x17,0x96,0x25,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x40]}

tool: D118: 1000

tool: {"D105": [0.0,-4.4765625,-7.803815971229722e-23,0.2449643909931183]}

tool: {"D128": [1e-7,100.99999]}

tool: {"D94": [0.0,-0.0,0.0,0.0]}

tool: {"D21": [0.0,1.75]}

tool: D25: 20

tool: D44: 1000000000000

tool: D108: 100.99999

assistant: ```c
extern double gbs_put(double S, double X, double T, double r, double b, double v) {
  double vst, d1;
  assert(((S) == (S)) && (S) >= 0.000001 && (S) <= 1000000000000.0);
  assert(((X) == (X)) && (X) >= 0.000001 && (X) <= 1000000000000.0);
  assert(((T) == (T)) && (T) >= (1.0 / (253.0 * 24.0)) && (T) <= (20.0));
  assert(((r) == (r)) && (r) >= 0.0 && (r) <= 1000.0);
  assert(((b) == (b)) && (b) >= -1000.0 && (b) <= 1000.0);
  assert(((v) == (v)) && (v) >= 0.0000001 && v <= 100.99999);
  vst = v * sqrt(T);
  d1 = (log(S / X) + (b + ((v) * (v)) / 2) * T) / vst;
  return X * exp(-r * T) * cnd(-(d1 - vst)) - S * exp((b - r) * T) * cnd(-d1);
}
```