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

```asm
<AssetOrNothing_call>:
  endbr64
  push   %rbx
  sub    $0x30,%rsp
  movsd  %xmm0,0x18(%rsp)
  movsd  %xmm1,0x20(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm3,0x28(%rsp)
  movsd  %xmm4,0x8(%rsp)
  movsd  %xmm5,0x10(%rsp)
  ucomisd %xmm0,%xmm0
  mov    $0x0,%edi
  jp     L16
  movapd %xmm0,%xmm2
  mov    $0x0,%edi
  comisd D0(%rip),%xmm0
  jb     L16
  movsd  D12(%rip),%xmm0
  comisd %xmm2,%xmm0
  setae  %dil
  movzbl %dil,%edi
L16:
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x20(%rsp),%xmm3
  ucomisd %xmm3,%xmm3
  mov    $0x0,%edi
  jp     L114
  mov    $0x0,%edi
  comisd D0(%rip),%xmm3
  jb     L114
  movsd  D12(%rip),%xmm0
  comisd %xmm3,%xmm0
  setae  %dil
  movzbl %dil,%edi
L114:
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  (%rsp),%xmm7
  ucomisd %xmm7,%xmm7
  mov    $0x0,%edi
  jp     L98
  mov    $0x0,%edi
  comisd D4(%rip),%xmm7
  jb     L98
  movsd  D71(%rip),%xmm0
  comisd %xmm7,%xmm0
  setae  %dil
  movzbl %dil,%edi
L98:
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x28(%rsp),%xmm5
  ucomisd %xmm5,%xmm5
  mov    $0x0,%edi
  jp     L76
  mov    $0x0,%edi
  comisd D94(%rip),%xmm5
  jb     L76
  movsd  D106(%rip),%xmm0
  comisd %xmm5,%xmm0
  setae  %dil
  movzbl %dil,%edi
L76:
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x8(%rsp),%xmm4
  ucomisd %xmm4,%xmm4
  mov    $0x0,%edi
  jp     L35
  mov    $0x0,%edi
  comisd D122(%rip),%xmm4
  jb     L35
  movsd  D106(%rip),%xmm0
  comisd %xmm4,%xmm0
  setae  %dil
  movzbl %dil,%edi
L35:
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x10(%rsp),%xmm1
  ucomisd %xmm1,%xmm1
  mov    $0x0,%edi
  jp     L61
  mov    $0x0,%edi
  comisd D54(%rip),%xmm1
  jb     L61
  movsd  D1(%rip),%xmm0
  comisd %xmm1,%xmm0
  setae  %dil
  movzbl %dil,%edi
L61:
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm0
  divsd  0x20(%rsp),%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  movsd  0x10(%rsp),%xmm7
  movapd %xmm7,%xmm0
  mulsd  %xmm7,%xmm0
  mulsd  D78(%rip),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  (%rsp),%xmm6
  mulsd  %xmm6,%xmm0
  addsd  %xmm1,%xmm0
  movq   %xmm0,%rbx
  pxor   %xmm0,%xmm0
  ucomisd %xmm6,%xmm0
  ja     L100
  sqrtsd %xmm6,%xmm6
  movsd  %xmm6,0x20(%rsp)
L103:
  movsd  0x8(%rsp),%xmm0
  subsd  0x28(%rsp),%xmm0
  mulsd  (%rsp),%xmm0
  call   <exp@plt>
  mulsd  0x18(%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  movsd  0x10(%rsp),%xmm1
  mulsd  0x20(%rsp),%xmm1
  movq   %rbx,%xmm4
  divsd  %xmm1,%xmm4
  movapd %xmm4,%xmm0
  mov    $0x1,%eax
  call   <cnd@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  add    $0x30,%rsp
  pop    %rbx
  ret
L100:
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  movsd  %xmm0,0x20(%rsp)
  jmp    L103
```

tool_calls: name: read_data
arguments: data_tag: D0
type_guessed: f64[2]
name: read_data
arguments: data_tag: D12
type_guessed: f64
name: read_data
arguments: data_tag: D4
type_guessed: byte[16]
name: read_data
arguments: data_tag: D71
type_guessed: f64
name: read_data
arguments: data_tag: D94
type_guessed: f64[2]
name: read_data
arguments: data_tag: D106
type_guessed: f64
name: read_data
arguments: data_tag: D122
type_guessed: byte[16]
name: read_data
arguments: data_tag: D54
type_guessed: f64[2]
name: read_data
arguments: data_tag: D1
type_guessed: f64
name: read_data
arguments: data_tag: D78
type_guessed: byte[8]

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

tool: D12: 1000000000000

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

tool: D71: 20

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

tool: D106: 1000

tool: {"D122": [0x00,0x00,0x00,0x00,0x00,0x40,0x8f,0xc0,0x48,0xaf,0xbc,0x9a,0xf2,0xd7,0x7a,0x3e]}

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

tool: D1: 100.99999

tool: {"D78": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

assistant: ```c
extern double AssetOrNothing_call(double S, double X, double T, double r, double b, double v) {
  double d;
  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);
  d = (log(S / X) + (b + ((v) * (v)) / 2) * T) / (v * sqrt(T));
  return S * exp((b - r) * T) * cnd(d);
}
```