user: Please show me the C implementation that matches the assembly code listed below:

```asm
<rq_pricing_chooser_simple>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0x58,%rsp
  movsd  %xmm0,0x18(%rsp)
  divsd  %xmm1,%xmm0
  movsd  %xmm1,0x20(%rsp)
  movsd  %xmm2,0x8(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm4,0x28(%rsp)
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm6,(%rsp)
  call   <log@plt>
  movsd  (%rsp),%xmm7
  movsd  D8(%rip),%xmm6
  movsd  0x10(%rsp),%xmm5
  movsd  0x30(%rsp),%xmm3
  movapd %xmm0,%xmm4
  movapd %xmm7,%xmm2
  mulsd  %xmm7,%xmm2
  pxor   %xmm7,%xmm7
  ucomisd %xmm3,%xmm7
  movapd %xmm2,%xmm1
  mulsd  %xmm6,%xmm1
  addsd  %xmm5,%xmm1
  mulsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm1
  ja     L69
  movapd %xmm3,%xmm0
  sqrtsd %xmm0,%xmm0
L59:
  mulsd  (%rsp),%xmm0
  movsd  0x8(%rsp),%xmm7
  mulsd  %xmm7,%xmm2
  divsd  %xmm0,%xmm1
  movapd %xmm5,%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  %xmm6,%xmm2
  addsd  %xmm4,%xmm0
  pxor   %xmm4,%xmm4
  ucomisd %xmm7,%xmm4
  addsd  %xmm0,%xmm2
  movq   %xmm1,%rbx
  ja     L27
  sqrtsd %xmm7,%xmm7
  movapd %xmm7,%xmm0
L5:
  mulsd  (%rsp),%xmm0
  subsd  0x28(%rsp),%xmm5
  movsd  %xmm3,0x38(%rsp)
  mulsd  %xmm3,%xmm5
  divsd  %xmm0,%xmm2
  movapd %xmm5,%xmm0
  movsd  %xmm5,0x40(%rsp)
  movsd  %xmm2,0x10(%rsp)
  call   <exp@plt>
  mulsd  0x18(%rsp),%xmm0
  movsd  %xmm0,0x30(%rsp)
  movq   %rbx,%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  movsd  0x38(%rsp),%xmm3
  movsd  0x28(%rsp),%xmm1
  xorpd  D31(%rip),%xmm1
  movsd  0x30(%rsp),%xmm7
  mulsd  %xmm3,%xmm1
  mulsd  %xmm0,%xmm7
  movapd %xmm1,%xmm0
  movsd  %xmm1,0x30(%rsp)
  movq   %xmm7,%r14
  call   <exp@plt>
  movsd  0x38(%rsp),%xmm3
  pxor   %xmm4,%xmm4
  movsd  0x30(%rsp),%xmm1
  mulsd  0x20(%rsp),%xmm0
  movsd  0x40(%rsp),%xmm5
  ucomisd %xmm3,%xmm4
  movsd  %xmm0,0x28(%rsp)
  ja     L78
  sqrtsd %xmm3,%xmm3
L61:
  mulsd  (%rsp),%xmm3
  movq   %rbx,%xmm0
  movsd  %xmm1,0x38(%rsp)
  movsd  %xmm5,0x30(%rsp)
  subsd  %xmm3,%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  mulsd  0x28(%rsp),%xmm0
  movq   %r14,%xmm2
  movsd  0x30(%rsp),%xmm5
  subsd  %xmm0,%xmm2
  movapd %xmm5,%xmm0
  movsd  %xmm2,0x28(%rsp)
  call   <exp@plt>
  mulsd  0x18(%rsp),%xmm0
  movsd  0x10(%rsp),%xmm6
  xorpd  D31(%rip),%xmm6
  movsd  %xmm0,0x18(%rsp)
  movapd %xmm6,%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  mulsd  0x18(%rsp),%xmm0
  movsd  0x28(%rsp),%xmm2
  movsd  0x38(%rsp),%xmm1
  subsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,0x18(%rsp)
  call   <exp@plt>
  movsd  0x8(%rsp),%xmm6
  mulsd  0x20(%rsp),%xmm0
  pxor   %xmm4,%xmm4
  ucomisd %xmm6,%xmm4
  movsd  %xmm0,0x20(%rsp)
  ja     L46
  sqrtsd %xmm6,%xmm6
  movapd %xmm6,%xmm0
L25:
  mulsd  (%rsp),%xmm0
  subsd  0x10(%rsp),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  mulsd  0x20(%rsp),%xmm0
  addsd  0x18(%rsp),%xmm0
  add    $0x58,%rsp
  pop    %rbx
  pop    %r14
  ret
L69:
  movsd  %xmm0,0x38(%rsp)
  movapd %xmm3,%xmm0
  movsd  %xmm5,0x48(%rsp)
  movsd  %xmm2,0x40(%rsp)
  movsd  %xmm1,0x30(%rsp)
  movsd  %xmm3,0x10(%rsp)
  call   <sqrt@plt>
  mov    D8(%rip),%rax
  movsd  0x48(%rsp),%xmm5
  movsd  0x40(%rsp),%xmm2
  movsd  0x38(%rsp),%xmm4
  movsd  0x30(%rsp),%xmm1
  movsd  0x10(%rsp),%xmm3
  movq   %rax,%xmm6
  jmp    L59
L46:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L25
L78:
  movapd %xmm3,%xmm0
  movsd  %xmm1,0x38(%rsp)
  movsd  %xmm5,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x38(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm5
  movapd %xmm0,%xmm3
  jmp    L61
L27:
  movsd  0x8(%rsp),%xmm0
  movsd  %xmm5,0x38(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm2,0x10(%rsp)
  call   <sqrt@plt>
  movsd  0x38(%rsp),%xmm5
  movsd  0x30(%rsp),%xmm3
  movsd  0x10(%rsp),%xmm2
  jmp    L5
```

tool_calls: name: parse_data
arguments: label: D8
data_type: byte[8]
name: parse_data
arguments: label: D31
data_type: byte[16]

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

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

assistant: ```c
double rq_pricing_chooser_simple(double S, double X, double t1, double t2, double r, double b, double v) {
  double log_S_over_X = log(S / X);
  double v_sqr = v * v;
  double d = (log_S_over_X + (b + v_sqr / 2.0) * t2) / (v * sqrt(t2));
  double y = (log_S_over_X + b * t2 + v_sqr * t1 / 2.0) / (v * sqrt(t1));
  return S * exp((b - r) * t2) * rq_pricing_cumul_norm_dist(d) - X * exp(-r * t2) * rq_pricing_cumul_norm_dist(d - v * sqrt(t2)) - S * exp((b - r) * t2) * rq_pricing_cumul_norm_dist(-y) + X * exp(-r * t2) * rq_pricing_cumul_norm_dist(-y + v * sqrt(t1));
}
```