user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<blackscholes>:
  endbr64
  push   %rbx
  mov    %edi,%ebx
  sub    $0x30,%rsp
  ucomisd %xmm0,%xmm0
  movsd  %xmm0,0x28(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm3,0x18(%rsp)
  movsd  %xmm4,0x8(%rsp)
  jp     L49
  comisd D94(%rip),%xmm0
  movapd %xmm0,%xmm7
  jae    L21
L49:
  xor    %edi,%edi
L108:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x10(%rsp),%xmm3
  ucomisd %xmm3,%xmm3
  jp     L7
  comisd D94(%rip),%xmm3
  jae    L78
L7:
  xor    %edi,%edi
L117:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  (%rsp),%xmm5
  ucomisd %xmm5,%xmm5
  jp     L12
  comisd D93(%rip),%xmm5
  jae    L122
L12:
  xor    %edi,%edi
L184:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm6
  ucomisd %xmm6,%xmm6
  jp     L70
  pxor   %xmm4,%xmm4
  xor    %edi,%edi
  comisd %xmm4,%xmm6
  movsd  %xmm4,0x20(%rsp)
  jb     L118
  movsd  D114(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm6,%xmm0
  setae  %dil
L118:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x8(%rsp),%xmm7
  ucomisd %xmm7,%xmm7
  jp     L112
  comisd D71(%rip),%xmm7
  jae    L188
L112:
  xor    %edi,%edi
L149:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm5
  xor    %edi,%edi
  comisd 0x20(%rsp),%xmm5
  setae  %dil
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x8(%rsp),%xmm3
  xor    %edi,%edi
  comisd 0x20(%rsp),%xmm3
  jbe    L5
  movsd  D44(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
L5:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x20(%rsp),%xmm7
  movsd  (%rsp),%xmm6
  ucomisd %xmm6,%xmm7
  ja     L130
  sqrtsd %xmm6,%xmm6
  movapd %xmm6,%xmm2
L24:
  mulsd  0x8(%rsp),%xmm2
  movsd  0x28(%rsp),%xmm0
  divsd  0x10(%rsp),%xmm0
  movsd  %xmm2,0x20(%rsp)
  call   <log@plt>
  movsd  0x8(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm5
  movsd  0x20(%rsp),%xmm2
  movq   D58(%rip),%xmm3
  mulsd  %xmm1,%xmm1
  mulsd  D67(%rip),%xmm1
  addsd  %xmm5,%xmm1
  mulsd  (%rsp),%xmm1
  xorpd  %xmm3,%xmm5
  addsd  %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  test   %ebx,%ebx
  je     L140
  movapd %xmm1,%xmm0
  mov    $0x1,%eax
  movsd  %xmm5,0x20(%rsp)
  movsd  %xmm4,0x18(%rsp)
  call   <cnd@plt>
  pxor   %xmm0,%xmm0
  movsd  0x28(%rsp),%xmm1
  movsd  0x20(%rsp),%xmm2
  cvtsi2sd %eax,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  (%rsp),%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm1,0x8(%rsp)
  call   <exp@plt>
  mulsd  0x10(%rsp),%xmm0
  movsd  0x18(%rsp),%xmm4
  mov    $0x1,%eax
  movsd  %xmm0,(%rsp)
  movapd %xmm4,%xmm0
  call   <cnd@plt>
  pxor   %xmm2,%xmm2
  movsd  0x8(%rsp),%xmm1
  cvtsi2sd %eax,%xmm2
  mulsd  (%rsp),%xmm2
  add    $0x30,%rsp
  pop    %rbx
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  ret
  nopl   0x0(%rax)
L70:
  pxor   %xmm6,%xmm6
  xor    %edi,%edi
  movsd  %xmm6,0x20(%rsp)
  jmp    L118
  nopl   0x0(%rax)
L140:
  movsd  (%rsp),%xmm0
  movsd  %xmm1,0x8(%rsp)
  movsd  %xmm4,0x18(%rsp)
  mulsd  %xmm5,%xmm0
  call   <exp@plt>
  mulsd  0x10(%rsp),%xmm0
  movsd  0x18(%rsp),%xmm4
  mov    $0x1,%eax
  movq   D58(%rip),%xmm3
  xorpd  %xmm3,%xmm4
  movsd  %xmm0,(%rsp)
  movapd %xmm4,%xmm0
  call   <cnd@plt>
  pxor   %xmm0,%xmm0
  movsd  (%rsp),%xmm2
  movsd  0x8(%rsp),%xmm1
  cvtsi2sd %eax,%xmm0
  movq   D58(%rip),%xmm3
  mov    $0x1,%eax
  xorpd  %xmm3,%xmm1
  mulsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,(%rsp)
  call   <cnd@plt>
  pxor   %xmm1,%xmm1
  movsd  (%rsp),%xmm2
  cvtsi2sd %eax,%xmm1
  mulsd  0x28(%rsp),%xmm1
  add    $0x30,%rsp
  pop    %rbx
  subsd  %xmm1,%xmm2
  movapd %xmm2,%xmm0
  ret
  nopl   0x0(%rax)
L122:
  movsd  D134(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm5,%xmm0
  setae  %dil
  jmp    L184
  nop
L78:
  movsd  D102(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
  jmp    L117
  nopw   0x0(%rax,%rax,1)
L21:
  movsd  D102(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L108
  nopw   0x0(%rax,%rax,1)
L188:
  movsd  D45(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L149
L130:
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm2
  jmp    L24
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D94
data_type: f64[2]
name: extract_symbolic_data
arguments: data_tag: D93
data_type: byte[16]
name: extract_symbolic_data
arguments: data_tag: D114
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D71
data_type: f64[2]
name: extract_symbolic_data
arguments: data_tag: D44
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D58
data_type: f32[2]
name: extract_symbolic_data
arguments: data_tag: D67
data_type: f32[2]
name: extract_symbolic_data
arguments: data_tag: D134
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D102
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D45
data_type: f64

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

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

tool: D114: 1000

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

tool: D44: 100

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

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

tool: D134: 20

tool: D102: 1000000000000

tool: D45: 100.99999

assistant: ```c
double blackscholes(int fCall, double S, double X, double T, double r, double v) {
  double vst, d1, d2;
  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(((v) == (v)) && (v) >= 0.0000001 && v <= 100.99999);
  assert(r >= 0.0);
  assert(v > 0.0 && v <= 100.0);
  vst = v * sqrt(T);
  d1 = (log(S / X) + (r + ((v) * (v)) / 2.0) * T) / (vst);
  d2 = d1 - vst;
  if (fCall)
    return S * cnd(d1) - X * exp(-r * T) * cnd(d2);
  else
    return X * exp(-r * T) * cnd(-d2) - S * cnd(-d1);
}
```