user: Demonstrate the C code that generates the assembly output below:

```asm
<rq_pricing_lookback_partial_time_fixed_strike>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %edi,%ebp
  movsd  %xmm2,0x10(%rsp)
  movsd  %xmm3,0x8(%rsp)
  movsd  %xmm4,0x60(%rsp)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm6,(%rsp)
  movsd  %xmm0,0x28(%rsp)
  movapd %xmm0,%xmm7
  movsd  %xmm1,0x58(%rsp)
  divsd  %xmm1,%xmm7
  movq   %xmm7,%rbx
  movapd %xmm7,%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  movsd  (%rsp),%xmm4
  movapd %xmm4,%xmm7
  mulsd  %xmm4,%xmm7
  movsd  %xmm7,0x30(%rsp)
  movapd %xmm7,%xmm0
  mulsd  D44(%rip),%xmm0
  movapd %xmm0,%xmm6
  addsd  0x18(%rsp),%xmm6
  movsd  %xmm6,0x40(%rsp)
  movapd %xmm6,%xmm5
  movsd  0x8(%rsp),%xmm3
  mulsd  %xmm3,%xmm5
  movapd %xmm5,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x20(%rsp)
  movapd %xmm3,%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x20(%rsp),%xmm1
  divsd  %xmm0,%xmm1
  movsd  %xmm1,0x20(%rsp)
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x20(%rsp),%xmm11
  subsd  %xmm0,%xmm11
  movsd  %xmm11,0x50(%rsp)
  movsd  0x8(%rsp),%xmm5
  subsd  0x10(%rsp),%xmm5
  movsd  0x40(%rsp),%xmm1
  mulsd  %xmm5,%xmm1
  movsd  %xmm1,0x38(%rsp)
  movsd  %xmm5,0x48(%rsp)
  movapd %xmm5,%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x38(%rsp),%xmm8
  divsd  %xmm0,%xmm8
  movsd  %xmm8,0x38(%rsp)
  movsd  0x48(%rsp),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x38(%rsp),%xmm9
  subsd  %xmm0,%xmm9
  movsd  %xmm9,0x68(%rsp)
  movq   %rbx,%xmm0
  call   <log@plt>
  movsd  0x40(%rsp),%xmm6
  movsd  0x10(%rsp),%xmm12
  mulsd  %xmm12,%xmm6
  movapd %xmm6,%xmm14
  addsd  %xmm0,%xmm14
  movsd  %xmm14,0x40(%rsp)
  movapd %xmm12,%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x40(%rsp),%xmm14
  divsd  %xmm0,%xmm14
  movsd  %xmm14,0x40(%rsp)
  movsd  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  0x40(%rsp),%xmm15
  subsd  %xmm0,%xmm15
  movsd  %xmm15,0x70(%rsp)
  test   %bp,%bp
  je     L6
  movsd  0x18(%rsp),%xmm6
  subsd  0x60(%rsp),%xmm6
  movapd %xmm6,%xmm10
  mulsd  0x8(%rsp),%xmm10
  movq   %xmm10,%r14
  movapd %xmm10,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm10
  mulsd  0x28(%rsp),%xmm10
  movsd  %xmm10,0x78(%rsp)
  movsd  0x20(%rsp),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm10
  mulsd  0x78(%rsp),%xmm10
  movsd  %xmm10,0x78(%rsp)
  movsd  0x60(%rsp),%xmm13
  xorpd  D5(%rip),%xmm13
  mulsd  0x8(%rsp),%xmm13
  movq   %xmm13,%r15
  movapd %xmm13,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm13
  mulsd  0x58(%rsp),%xmm13
  movsd  %xmm13,0x60(%rsp)
  movsd  0x50(%rsp),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x60(%rsp),%xmm0
  movsd  0x78(%rsp),%xmm10
  subsd  %xmm0,%xmm10
  movsd  %xmm10,0x80(%rsp)
  movq   %r15,%xmm0
  call   <exp@plt>
  movsd  0x18(%rsp),%xmm6
  movapd %xmm6,%xmm3
  addsd  %xmm6,%xmm3
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x28(%rsp),%xmm0
  movsd  0x30(%rsp),%xmm7
  mulsd  %xmm7,%xmm0
  movapd %xmm0,%xmm13
  divsd  %xmm3,%xmm13
  movsd  %xmm13,0x88(%rsp)
  movsd  %xmm3,0x60(%rsp)
  movapd %xmm3,%xmm10
  xorpd  D5(%rip),%xmm10
  movapd %xmm10,%xmm0
  divsd  %xmm7,%xmm0
  cvttsd2si %xmm0,%edi
  movq   %rbx,%xmm12
  xorpd  D5(%rip),%xmm12
  movapd %xmm12,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbp
  movsd  0x10(%rsp),%xmm13
  divsd  0x8(%rsp),%xmm13
  movsd  %xmm13,0x78(%rsp)
  movapd %xmm13,%xmm0
  call   <sqrt@plt>
  mov    %eax,%ebx
  movsd  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x60(%rsp),%xmm0
  divsd  (%rsp),%xmm0
  movapd %xmm0,%xmm12
  subsd  0x40(%rsp),%xmm12
  movsd  %xmm12,0x10(%rsp)
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  neg    %ebx
  mov    %ebx,%edi
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x60(%rsp),%xmm0
  divsd  (%rsp),%xmm0
  movsd  0x20(%rsp),%xmm5
  subsd  %xmm0,%xmm5
  movsd  0x10(%rsp),%xmm1
  movapd %xmm5,%xmm0
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  movapd %xmm0,%xmm12
  movq   %rbp,%xmm3
  mulsd  %xmm3,%xmm12
  movsd  %xmm12,(%rsp)
  movsd  0x8(%rsp),%xmm6
  mulsd  0x18(%rsp),%xmm6
  movapd %xmm6,%xmm0
  call   <exp@plt>
  mov    %eax,%ebx
  movsd  D109(%rip),%xmm3
  subsd  0x78(%rsp),%xmm3
  movq   %xmm3,%rbp
  movapd %xmm3,%xmm0
  call   <sqrt@plt>
  mov    %eax,%edi
  movsd  0x20(%rsp),%xmm1
  movsd  0x38(%rsp),%xmm0
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  (%rsp),%xmm0
  mulsd  0x88(%rsp),%xmm0
  movapd %xmm0,%xmm11
  addsd  0x80(%rsp),%xmm11
  movq   %xmm11,%rbx
  movq   %r14,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm4
  mulsd  0x28(%rsp),%xmm4
  movsd  %xmm4,(%rsp)
  movq   %rbp,%xmm0
  call   <sqrt@plt>
  neg    %eax
  mov    %eax,%edi
  movsd  0x38(%rsp),%xmm11
  xorpd  D5(%rip),%xmm11
  movapd %xmm11,%xmm0
  movsd  0x20(%rsp),%xmm1
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  mulsd  (%rsp),%xmm0
  movq   %rbx,%xmm4
  subsd  %xmm0,%xmm4
  movq   %xmm4,%rbx
  movq   %r15,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm4
  mulsd  0x58(%rsp),%xmm4
  movsd  %xmm4,(%rsp)
  movsd  0x78(%rsp),%xmm0
  call   <sqrt@plt>
  neg    %eax
  mov    %eax,%edi
  movsd  0x50(%rsp),%xmm6
  xorpd  D5(%rip),%xmm6
  movapd %xmm6,%xmm1
  movsd  0x70(%rsp),%xmm0
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  mulsd  (%rsp),%xmm0
  movq   %rbx,%xmm6
  subsd  %xmm0,%xmm6
  movsd  %xmm6,(%rsp)
  movsd  0x18(%rsp),%xmm5
  xorpd  D5(%rip),%xmm5
  movapd %xmm5,%xmm0
  mulsd  0x48(%rsp),%xmm0
  call   <exp@plt>
  movsd  0x30(%rsp),%xmm1
  divsd  0x60(%rsp),%xmm1
  movsd  D109(%rip),%xmm2
  subsd  %xmm1,%xmm2
  movapd %xmm2,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm7
  mulsd  0x28(%rsp),%xmm7
  movsd  %xmm7,0x8(%rsp)
  movq   %r14,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm2
  mulsd  0x8(%rsp),%xmm2
  movsd  %xmm2,0x8(%rsp)
  movsd  0x40(%rsp),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm3
  mulsd  0x8(%rsp),%xmm3
  movsd  %xmm3,0x8(%rsp)
  movsd  0x68(%rsp),%xmm0
  xorpd  D5(%rip),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x8(%rsp),%xmm0
  addsd  (%rsp),%xmm0
L5:
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L6:
  movsd  0x60(%rsp),%xmm0
  xorpd  D5(%rip),%xmm0
  movapd %xmm0,%xmm7
  mulsd  0x8(%rsp),%xmm7
  movq   %xmm7,%r14
  movapd %xmm7,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm7
  mulsd  0x58(%rsp),%xmm7
  movsd  %xmm7,0x78(%rsp)
  movsd  0x50(%rsp),%xmm2
  xorpd  D5(%rip),%xmm2
  movapd %xmm2,%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm7
  mulsd  0x78(%rsp),%xmm7
  movsd  %xmm7,0x78(%rsp)
  movsd  0x18(%rsp),%xmm0
  subsd  0x60(%rsp),%xmm0
  movapd %xmm0,%xmm3
  mulsd  0x8(%rsp),%xmm3
  movq   %xmm3,%r15
  movapd %xmm3,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm9
  mulsd  0x28(%rsp),%xmm9
  movsd  %xmm9,0x60(%rsp)
  movsd  0x20(%rsp),%xmm2
  xorpd  D5(%rip),%xmm2
  movq   %xmm2,%r12
  movapd %xmm2,%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x60(%rsp),%xmm0
  movsd  0x78(%rsp),%xmm5
  subsd  %xmm0,%xmm5
  movsd  %xmm5,0x80(%rsp)
  movq   %r14,%xmm0
  call   <exp@plt>
  movsd  0x18(%rsp),%xmm0
  movapd %xmm0,%xmm7
  addsd  %xmm0,%xmm7
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x28(%rsp),%xmm0
  movsd  0x30(%rsp),%xmm5
  mulsd  %xmm5,%xmm0
  movapd %xmm0,%xmm15
  divsd  %xmm7,%xmm15
  movsd  %xmm15,0x88(%rsp)
  movsd  %xmm7,0x60(%rsp)
  movapd %xmm7,%xmm2
  xorpd  D5(%rip),%xmm2
  movapd %xmm2,%xmm0
  divsd  %xmm5,%xmm0
  cvttsd2si %xmm0,%edi
  movq   %rbx,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbp
  movsd  0x10(%rsp),%xmm3
  divsd  0x8(%rsp),%xmm3
  movsd  %xmm3,0x78(%rsp)
  movapd %xmm3,%xmm0
  call   <sqrt@plt>
  mov    %eax,%ebx
  movsd  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x60(%rsp),%xmm0
  divsd  (%rsp),%xmm0
  movsd  0x40(%rsp),%xmm9
  subsd  %xmm0,%xmm9
  movsd  %xmm9,0x10(%rsp)
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  neg    %ebx
  mov    %ebx,%edi
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x60(%rsp),%xmm0
  divsd  (%rsp),%xmm0
  subsd  0x20(%rsp),%xmm0
  movsd  0x10(%rsp),%xmm1
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  movq   %rbp,%xmm14
  mulsd  %xmm0,%xmm14
  movq   %xmm14,%rbx
  movsd  0x8(%rsp),%xmm6
  mulsd  0x18(%rsp),%xmm6
  movapd %xmm6,%xmm0
  call   <exp@plt>
  mov    %eax,%ebp
  movsd  D109(%rip),%xmm11
  subsd  0x78(%rsp),%xmm11
  movq   %xmm11,%r13
  movapd %xmm11,%xmm0
  call   <sqrt@plt>
  mov    %eax,%edi
  movsd  0x38(%rsp),%xmm15
  xorpd  D5(%rip),%xmm15
  movapd %xmm15,%xmm0
  movq   %r12,%xmm1
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebp,%xmm0
  mulsd  %xmm0,%xmm1
  movq   %rbx,%xmm14
  subsd  %xmm1,%xmm14
  movapd %xmm14,%xmm0
  mulsd  0x88(%rsp),%xmm0
  movapd %xmm0,%xmm8
  addsd  0x80(%rsp),%xmm8
  movsd  %xmm8,(%rsp)
  movq   %r15,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm11
  mulsd  0x28(%rsp),%xmm11
  movsd  %xmm11,0x8(%rsp)
  movq   %r13,%xmm0
  call   <sqrt@plt>
  neg    %eax
  mov    %eax,%edi
  movq   %r12,%xmm1
  movsd  0x38(%rsp),%xmm0
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  mulsd  0x8(%rsp),%xmm0
  movapd %xmm0,%xmm15
  addsd  (%rsp),%xmm15
  movsd  %xmm15,(%rsp)
  movq   %r14,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm8
  mulsd  0x58(%rsp),%xmm8
  movsd  %xmm8,0x8(%rsp)
  movsd  0x78(%rsp),%xmm0
  call   <sqrt@plt>
  neg    %eax
  mov    %eax,%edi
  movsd  0x70(%rsp),%xmm4
  xorpd  D5(%rip),%xmm4
  movapd %xmm4,%xmm0
  movsd  0x50(%rsp),%xmm1
  call   <rq_pricing_cumul_bivar_norm_dist@plt>
  mulsd  0x8(%rsp),%xmm0
  movapd %xmm0,%xmm4
  addsd  (%rsp),%xmm4
  movq   %xmm4,%rbx
  movsd  0x18(%rsp),%xmm0
  xorpd  D5(%rip),%xmm0
  mulsd  0x48(%rsp),%xmm0
  call   <exp@plt>
  movsd  0x30(%rsp),%xmm0
  divsd  0x60(%rsp),%xmm0
  movsd  D109(%rip),%xmm1
  subsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm5
  mulsd  0x28(%rsp),%xmm5
  movsd  %xmm5,(%rsp)
  movq   %r15,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm7
  mulsd  (%rsp),%xmm7
  movsd  %xmm7,(%rsp)
  movsd  0x40(%rsp),%xmm0
  xorpd  D5(%rip),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  movsd  0x68(%rsp),%xmm0
  call   <rq_pricing_cumul_norm_dist@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  (%rsp),%xmm1
  movq   %rbx,%xmm0
  subsd  %xmm1,%xmm0
  jmp    L5
```

tool_calls: name: parse_data
arguments: data_tag: D44
data_type: f32[2]
name: parse_data
arguments: data_tag: D5
data_type: f32[4]
name: parse_data
arguments: data_tag: D109
data_type: f32[2]

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

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

tool: {"D109": [0.0,1.875]}

assistant: ```c
double rq_pricing_lookback_partial_time_fixed_strike(short call, double S, double X, double t1, double T2, double r, double b, double v) {
  double d1;
  double d2;
  double e1;
  double e2;
  double f1;
  double f2;
  double ret = 0.0;
  d1 = (log(S / X) + (b + (v * v) / 2) * T2) / (v * sqrt(T2));
  d2 = d1 - v * sqrt(T2);
  e1 = ((b + (v * v) / 2) * (T2 - t1)) / (v * sqrt(T2 - t1));
  e2 = e1 - v * sqrt(T2 - t1);
  f1 = (log(S / X) + (b + (v * v) / 2) * t1) / (v * sqrt(t1));
  f2 = f1 - v * sqrt(t1);
  if (call)
    ret = S * exp((b - r) * T2) * rq_pricing_cumul_norm_dist(d1) - exp(-r * T2) * X * rq_pricing_cumul_norm_dist(d2) + S * exp(-r * T2) * (v * v) / (2 * b) * (pow(-(S / X), (-2 * b / (v * v))) * rq_pricing_cumul_bivar_norm_dist(d1 - 2 * b * sqrt(T2) / v, -f1 + 2 * b * sqrt(t1) / v, -sqrt(t1 / T2)) + exp(b * T2) * rq_pricing_cumul_bivar_norm_dist(e1, d1, sqrt(1 - t1 / T2))) - S * exp((b - r) * T2) * rq_pricing_cumul_bivar_norm_dist(-e1, d1, -sqrt(1 - t1 / T2)) - X * exp(-r * T2) * rq_pricing_cumul_bivar_norm_dist(f2, -d2, -sqrt(t1 / T2)) + exp(-b * (T2 - t1)) * (1 - (v * v) / (2 * b)) * S * exp((b - r) * T2) * rq_pricing_cumul_norm_dist(f1) * rq_pricing_cumul_norm_dist(-e2);
  else
    ret = X * exp(-r * T2) * rq_pricing_cumul_norm_dist(-d2) - S * exp((b - r) * T2) * rq_pricing_cumul_norm_dist(-d1) + S * exp(-r * T2) * (v * v) / (2 * b) * (pow((S / X), (-2 * b / (v * v))) * rq_pricing_cumul_bivar_norm_dist(-d1 + 2 * b * sqrt(T2) / v, f1 - 2 * b * sqrt(t1) / v, -sqrt(t1 / T2)) - exp(b * T2) * rq_pricing_cumul_bivar_norm_dist(-e1, -d1, sqrt(1 - t1 / T2))) + S * exp((b - r) * T2) * rq_pricing_cumul_bivar_norm_dist(e1, -d1, -sqrt(1 - t1 / T2)) + X * exp(-r * T2) * rq_pricing_cumul_bivar_norm_dist(-f2, d2, -sqrt(t1 / T2)) - exp(-b * (T2 - t1)) * (1 - (v * v) / (2 * b)) * S * exp((b - r) * T2) * rq_pricing_cumul_norm_dist(-f1) * rq_pricing_cumul_norm_dist(e2);
  return ret;
}
```