user: What would the C source look like for the assembly code provided here?

```asm
<gbs_put>:
  endbr64
  sub    $0x48,%rsp
  ucomisd %xmm0,%xmm0
  movsd  %xmm0,0x38(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm2,0x8(%rsp)
  movsd  %xmm3,0x18(%rsp)
  movsd  %xmm4,0x20(%rsp)
  movsd  %xmm5,0x28(%rsp)
  jp     L10
  comisd D107(%rip),%xmm0
  movapd %xmm0,%xmm7
  jae    L55
L10:
  xor    %edi,%edi
L173:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x10(%rsp),%xmm5
  ucomisd %xmm5,%xmm5
  jp     L90
  comisd D107(%rip),%xmm5
  jae    L189
L90:
  xor    %edi,%edi
L103:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x8(%rsp),%xmm4
  ucomisd %xmm4,%xmm4
  jp     L9
  comisd D108(%rip),%xmm4
  jae    L13
L9:
  xor    %edi,%edi
L3:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm3
  ucomisd %xmm3,%xmm3
  jp     L82
  pxor   %xmm6,%xmm6
  xor    %edi,%edi
  comisd %xmm6,%xmm3
  movsd  %xmm6,0x30(%rsp)
  jb     L127
  movsd  D114(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
L127:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x20(%rsp),%xmm2
  ucomisd %xmm2,%xmm2
  jp     L150
  comisd D125(%rip),%xmm2
  jae    L161
L150:
  xor    %edi,%edi
L64:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x28(%rsp),%xmm7
  ucomisd %xmm7,%xmm7
  jp     L113
  comisd D94(%rip),%xmm7
  jae    L43
L113:
  xor    %edi,%edi
L59:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x30(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm6
  ucomisd %xmm6,%xmm1
  ja     L20
  sqrtsd %xmm6,%xmm6
  movapd %xmm6,%xmm0
L19:
  movsd  0x28(%rsp),%xmm7
  movsd  0x38(%rsp),%xmm3
  divsd  0x10(%rsp),%xmm3
  mulsd  %xmm0,%xmm7
  movapd %xmm3,%xmm0
  movsd  %xmm7,0x30(%rsp)
  call   <log@plt>
  movsd  0x8(%rsp),%xmm4
  movsd  0x18(%rsp),%xmm5
  movapd %xmm0,%xmm1
  movsd  0x28(%rsp),%xmm0
  xorpd  D147(%rip),%xmm5
  mulsd  %xmm0,%xmm0
  mulsd  D7(%rip),%xmm0
  addsd  0x20(%rsp),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm1,%xmm0
  divsd  0x30(%rsp),%xmm0
  movsd  %xmm0,0x28(%rsp)
  movapd %xmm5,%xmm0
  mulsd  %xmm4,%xmm0
  call   <exp@plt>
  movsd  0x10(%rsp),%xmm2
  mov    $0x1,%eax
  mulsd  %xmm0,%xmm2
  movsd  0x28(%rsp),%xmm0
  subsd  0x30(%rsp),%xmm0
  xorpd  D147(%rip),%xmm0
  movsd  %xmm2,0x10(%rsp)
  call   <cnd@plt>
  pxor   %xmm0,%xmm0
  movsd  0x10(%rsp),%xmm1
  movsd  0x20(%rsp),%xmm6
  cvtsi2sd %eax,%xmm0
  subsd  0x18(%rsp),%xmm6
  mulsd  %xmm0,%xmm1
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm6,%xmm0
  movsd  %xmm1,0x10(%rsp)
  call   <exp@plt>
  movsd  0x38(%rsp),%xmm2
  mov    $0x1,%eax
  mulsd  %xmm0,%xmm2
  movsd  0x28(%rsp),%xmm0
  xorpd  D147(%rip),%xmm0
  movsd  %xmm2,0x8(%rsp)
  call   <cnd@plt>
  pxor   %xmm2,%xmm2
  movsd  0x10(%rsp),%xmm1
  cvtsi2sd %eax,%xmm2
  mulsd  0x8(%rsp),%xmm2
  add    $0x48,%rsp
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  ret
  nopw   0x0(%rax,%rax,1)
L82:
  pxor   %xmm5,%xmm5
  xor    %edi,%edi
  movsd  %xmm5,0x30(%rsp)
  jmp    L127
  nopl   0x0(%rax)
L13:
  movsd  D20(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm4,%xmm0
  setae  %dil
  jmp    L3
  nopw   0x0(%rax,%rax,1)
L189:
  movsd  D40(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm5,%xmm0
  setae  %dil
  jmp    L103
  nopw   0x0(%rax,%rax,1)
L55:
  movsd  D40(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L173
  nopw   0x0(%rax,%rax,1)
L43:
  movsd  D146(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L59
  nopw   0x0(%rax,%rax,1)
L161:
  movsd  D114(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm2,%xmm0
  setae  %dil
  jmp    L64
L20:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L19
```

tool_calls: name: parse_data
arguments: data_tag: D107
type_infered: f64[2]
name: parse_data
arguments: data_tag: D108
type_infered: byte[16]
name: parse_data
arguments: data_tag: D114
type_infered: f64
name: parse_data
arguments: data_tag: D125
type_infered: f32[4]
name: parse_data
arguments: data_tag: D94
type_infered: f64[2]
name: parse_data
arguments: data_tag: D147
type_infered: f32[4]
name: parse_data
arguments: data_tag: D7
type_infered: f32[2]
name: parse_data
arguments: data_tag: D20
type_infered: f64
name: parse_data
arguments: data_tag: D40
type_infered: f64
name: parse_data
arguments: data_tag: D146
type_infered: f64

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

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

tool: D114: 1000

tool: {"D125": [0.0,-4.4765625,-7.803815971229722e-23,0.2449643909931183]}

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

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

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

tool: D20: 20

tool: D40: 1000000000000

tool: D146: 100.99999

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