user: Translate the below assembly code into C programming language:

```asm
<blackscholes_put>:
  endbr64
  sub    $0x38,%rsp
  ucomisd %xmm0,%xmm0
  movsd  %xmm0,0x20(%rsp)
  movsd  %xmm1,0x8(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm3,0x28(%rsp)
  movsd  %xmm4,0x10(%rsp)
  jp     L94
  comisd D30(%rip),%xmm0
  movapd %xmm0,%xmm7
  jae    L126
L94:
  xor    %edi,%edi
L138:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x8(%rsp),%xmm3
  ucomisd %xmm3,%xmm3
  jp     L123
  comisd D30(%rip),%xmm3
  jae    L122
L123:
  xor    %edi,%edi
L128:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  (%rsp),%xmm2
  ucomisd %xmm2,%xmm2
  jp     L116
  comisd D42(%rip),%xmm2
  jae    L155
L116:
  xor    %edi,%edi
L56:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x28(%rsp),%xmm6
  ucomisd %xmm6,%xmm6
  jp     L13
  pxor   %xmm7,%xmm7
  xor    %edi,%edi
  comisd %xmm7,%xmm6
  movsd  %xmm7,0x18(%rsp)
  jb     L134
  movsd  D121(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm6,%xmm0
  setae  %dil
L134:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x10(%rsp),%xmm5
  ucomisd %xmm5,%xmm5
  jp     L14
  comisd D96(%rip),%xmm5
  jae    L16
L14:
  xor    %edi,%edi
L67:
  xor    %eax,%eax
  call   <assert@plt>
  movsd  0x18(%rsp),%xmm7
  movsd  (%rsp),%xmm4
  ucomisd %xmm4,%xmm7
  ja     L133
  sqrtsd %xmm4,%xmm4
  movapd %xmm4,%xmm0
L159:
  movsd  0x10(%rsp),%xmm6
  movsd  0x20(%rsp),%xmm7
  divsd  0x8(%rsp),%xmm7
  mulsd  %xmm0,%xmm6
  movapd %xmm7,%xmm0
  movsd  %xmm6,0x18(%rsp)
  call   <log@plt>
  movsd  0x28(%rsp),%xmm5
  movsd  (%rsp),%xmm4
  movapd %xmm0,%xmm1
  movsd  0x10(%rsp),%xmm0
  mulsd  %xmm0,%xmm0
  mulsd  D36(%rip),%xmm0
  addsd  %xmm5,%xmm0
  xorpd  D123(%rip),%xmm5
  mulsd  %xmm4,%xmm0
  addsd  %xmm1,%xmm0
  divsd  0x18(%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  movapd %xmm5,%xmm0
  mulsd  %xmm4,%xmm0
  call   <exp@plt>
  movsd  0x8(%rsp),%xmm3
  mov    $0x1,%eax
  mulsd  %xmm0,%xmm3
  movsd  (%rsp),%xmm0
  subsd  0x18(%rsp),%xmm0
  xorpd  D123(%rip),%xmm0
  movsd  %xmm3,0x8(%rsp)
  call   <cnd@plt>
  pxor   %xmm0,%xmm0
  movsd  0x8(%rsp),%xmm1
  cvtsi2sd %eax,%xmm0
  mov    $0x1,%eax
  mulsd  %xmm0,%xmm1
  movsd  (%rsp),%xmm0
  xorpd  D123(%rip),%xmm0
  movsd  %xmm1,0x8(%rsp)
  call   <cnd@plt>
  pxor   %xmm2,%xmm2
  movsd  0x8(%rsp),%xmm1
  cvtsi2sd %eax,%xmm2
  mulsd  0x20(%rsp),%xmm2
  add    $0x38,%rsp
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  ret
  nopl   (%rax)
L13:
  pxor   %xmm6,%xmm6
  xor    %edi,%edi
  movsd  %xmm6,0x18(%rsp)
  jmp    L134
  nopl   0x0(%rax)
L155:
  movsd  D118(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm2,%xmm0
  setae  %dil
  jmp    L56
  nopw   0x0(%rax,%rax,1)
L122:
  movsd  D37(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm3,%xmm0
  setae  %dil
  jmp    L128
  nopw   0x0(%rax,%rax,1)
L126:
  movsd  D37(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm7,%xmm0
  setae  %dil
  jmp    L138
  nopw   0x0(%rax,%rax,1)
L16:
  movsd  D129(%rip),%xmm0
  xor    %edi,%edi
  comisd %xmm5,%xmm0
  setae  %dil
  jmp    L67
L133:
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L159
```

tool_calls: name: parse_data
arguments: tag: D30
type_infered: f64[2]
name: parse_data
arguments: tag: D42
type_infered: byte[16]
name: parse_data
arguments: tag: D121
type_infered: f64
name: parse_data
arguments: tag: D96
type_infered: f64[2]
name: parse_data
arguments: tag: D36
type_infered: f32[2]
name: parse_data
arguments: tag: D123
type_infered: f32[4]
name: parse_data
arguments: tag: D118
type_infered: f64
name: parse_data
arguments: tag: D37
type_infered: f64
name: parse_data
arguments: tag: D129
type_infered: f64

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

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

tool: D121: 1000

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

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

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

tool: D118: 20

tool: D37: 1000000000000

tool: D129: 100.99999

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