user: 请将以下的汇编代码转换成C语言代码:

```asm
<eight_f2>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %esi,-0x38(%rbp)
  mov    %edx,-0x3c(%rbp)
  mov    %ecx,-0x40(%rbp)
  mov    %r8d,-0x44(%rbp)
  mov    %r9d,-0x48(%rbp)
  mov    -0x38(%rbp),%edx
  mov    -0x34(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <probability@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x3c(%rbp),%edx
  mov    -0x38(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <probability@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x40(%rbp),%edx
  mov    -0x38(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <probability@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x44(%rbp),%edx
  mov    -0x38(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <probability@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x48(%rbp),%edx
  mov    -0x38(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <probability@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%eax
  mov    0x10(%rbp),%esi
  mov    %eax,%edi
  call   <probability@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x48(%rbp),%ecx
  mov    -0x44(%rbp),%edx
  mov    -0x40(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    0x10(%rbp),%r8d
  mov    %eax,%edi
  call   <eight_f3@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  movsd  %xmm1,-0x50(%rbp)
  mov    -0x48(%rbp),%ecx
  mov    -0x44(%rbp),%edx
  mov    -0x3c(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    0x10(%rbp),%r8d
  mov    %eax,%edi
  call   <eight_f3@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  mulsd  -0x20(%rbp),%xmm0
  addsd  -0x50(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x48(%rbp),%ecx
  mov    -0x40(%rbp),%edx
  mov    -0x3c(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    0x10(%rbp),%r8d
  mov    %eax,%edi
  call   <eight_f3@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm3
  mulsd  -0x18(%rbp),%xmm3
  movapd %xmm3,%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x50(%rbp),%xmm4
  movsd  %xmm4,-0x50(%rbp)
  mov    -0x44(%rbp),%ecx
  mov    -0x40(%rbp),%edx
  mov    -0x3c(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    0x10(%rbp),%r8d
  mov    %eax,%edi
  call   <eight_f3@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  addsd  -0x50(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x48(%rbp),%edi
  mov    -0x44(%rbp),%ecx
  mov    -0x40(%rbp),%edx
  mov    -0x3c(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <eight_f3@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm6
  mulsd  -0x8(%rbp),%xmm6
  movapd %xmm6,%xmm0
  addsd  -0x50(%rbp),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  leave
  ret
```

assistant: ```c
double eight_f2(int a, int b, int c, int d, int e, int f, int g) {
  double ab, bc, bd, be, bf, bg;
  ab = probability(a, b);
  bc = probability(b, c);
  bd = probability(b, d);
  be = probability(b, e);
  bf = probability(b, f);
  bg = probability(b, g);
  return ab * (eight_f3(a, d, e, f, g) * bc + eight_f3(a, c, e, f, g) * bd + eight_f3(a, c, d, f, g) * be + eight_f3(a, c, d, e, g) * bf + eight_f3(a, c, d, e, f) * bg);
}
```