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     L122
  comisd D26(%rip),%xmm0
  movapd %xmm0,%xmm7
  jae    L149
L122:
  xor    %edi,%edi
L173:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x10(%rsp),%xmm3
  ucomisd %xmm3,%xmm3
  jp     L113
  comisd D26(%rip),%xmm3
  jae    L189
L113:
  xor    %edi,%edi
L85:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  (%rsp),%xmm5
  ucomisd %xmm5,%xmm5
  jp     L4
  comisd D27(%rip),%xmm5
  jae    L104
L4:
  xor    %edi,%edi
L1:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm6
  ucomisd %xmm6,%xmm6
  jp     L130
  pxor   %xmm4,%xmm4
  xor    %edi,%edi
  comisd %xmm4,%xmm6
  movsd  %xmm4,0x20(%rsp)
  jb     L118
  movsd  D82(%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     L183
  comisd D133(%rip),%xmm7
  jae    L88
L183:
  xor    %edi,%edi
L129:
  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    L92
  movsd  D118(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
L92:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x20(%rsp),%xmm7
  movsd  (%rsp),%xmm6
  ucomisd %xmm6,%xmm7
  ja     L123
  sqrtsd %xmm6,%xmm6
  movapd %xmm6,%xmm2
L172:
  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   D43(%rip),%xmm3
  mulsd  %xmm1,%xmm1
  mulsd  D35(%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     L169
  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)
L130:
  pxor   %xmm6,%xmm6
  xor    %edi,%edi
  movsd  %xmm6,0x20(%rsp)
  jmp    L118
  nopl   0x0(%rax)
L169:
  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   D43(%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   D43(%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)
L104:
  movsd  D98(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm5,%xmm0
  setae  %dil
  jmp    L1
  nop
L189:
  movsd  D40(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
  jmp    L85
  nopw   0x0(%rax,%rax,1)
L149:
  movsd  D40(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L173
  nopw   0x0(%rax,%rax,1)
L88:
  movsd  D103(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L129
L123:
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm2
  jmp    L172
```

tool_calls: name: disassemble_data
arguments: data_label: D26
type_guessed: f64[2]
name: disassemble_data
arguments: data_label: D27
type_guessed: byte[16]
name: disassemble_data
arguments: data_label: D82
type_guessed: f64
name: disassemble_data
arguments: data_label: D133
type_guessed: f64[2]
name: disassemble_data
arguments: data_label: D118
type_guessed: f64
name: disassemble_data
arguments: data_label: D43
type_guessed: f32[2]
name: disassemble_data
arguments: data_label: D35
type_guessed: f32[2]
name: disassemble_data
arguments: data_label: D98
type_guessed: f64
name: disassemble_data
arguments: data_label: D40
type_guessed: f64
name: disassemble_data
arguments: data_label: D103
type_guessed: f64

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

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

tool: D82: 1000

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

tool: D118: 100

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

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

tool: D98: 20

tool: D40: 1000000000000

tool: D103: 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);
}
```