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

```asm
<cdflib_beta_rcomp1>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,%r14
  mov    %rsi,%rbp
  mov    %rdx,%rbx
  mov    %rcx,%r13
  mov    %r8,%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  movsd  (%rdx),%xmm1
  movsd  (%rsi),%xmm0
  mov    $0x2,%eax
  call   <cdflib_fifdmin1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,0x20(%rsp)
  cmp    $0x7,%eax
  jg     L40
  mov    0x0(%r13),%r13
  movq   %r13,%xmm6
  comisd D35(%rip),%xmm6
  jbe    L57
  mov    (%r12),%r15
  movq   %r15,%xmm4
  comisd D35(%rip),%xmm4
  ja     L224
  movq   %r15,%xmm0
  xorpd  D31(%rip),%xmm0
  movsd  %xmm0,0x48(%rsp)
  lea    0x48(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_alnrel@plt>
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,0x8(%rsp)
  movsd  (%r12),%xmm0
  call   <log@plt>
  jmp    L238
L40:
  movsd  0x0(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  comisd %xmm0,%xmm1
  ja     L196
  movapd %xmm1,%xmm4
  divsd  %xmm0,%xmm4
  movsd  D97(%rip),%xmm3
  movapd %xmm4,%xmm2
  addsd  %xmm3,%xmm2
  divsd  %xmm2,%xmm4
  movsd  %xmm4,0x10(%rsp)
  divsd  %xmm2,%xmm3
  movsd  %xmm3,0x18(%rsp)
  addsd  %xmm1,%xmm0
  mulsd  0x0(%r13),%xmm0
  movapd %xmm1,%xmm5
  subsd  %xmm0,%xmm5
  movsd  %xmm5,0x8(%rsp)
  jmp    L52
L57:
  movq   %r13,%xmm0
  call   <log@plt>
  movsd  %xmm0,0x8(%rsp)
  movq   %r13,%xmm0
  xorpd  D31(%rip),%xmm0
  movsd  %xmm0,0x40(%rsp)
  lea    0x40(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_alnrel@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  jmp    L238
L224:
  movq   %r13,%xmm0
  call   <log@plt>
  movsd  %xmm0,0x8(%rsp)
  movq   %r15,%xmm0
  call   <log@plt>
L238:
  movsd  0x0(%rbp),%xmm3
  movsd  (%rbx),%xmm1
  movsd  0x8(%rsp),%xmm2
  mulsd  %xmm3,%xmm2
  mulsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm2
  movsd  %xmm2,0x38(%rsp)
  movsd  D97(%rip),%xmm0
  comisd 0x20(%rsp),%xmm0
  ja     L55
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_beta_log@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  0x38(%rsp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x38(%rsp)
  lea    0x38(%rsp),%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <cdflib_esum@plt>
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,0x8(%rsp)
L62:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L229
  movsd  0x8(%rsp),%xmm0
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L55:
  movapd %xmm3,%xmm0
  mov    $0x2,%eax
  call   <cdflib_fifdmax1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,0x28(%rsp)
  cmp    $0x7,%eax
  jg     L128
  cmp    $0x1,%eax
  jg     L211
  lea    0x38(%rsp),%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <cdflib_esum@plt>
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,0x8(%rsp)
  test   %eax,%eax
  je     L62
  movsd  0x0(%rbp),%xmm0
  addsd  (%rbx),%xmm0
  movsd  %xmm0,0x50(%rsp)
  comisd D97(%rip),%xmm0
  jbe    L242
  subsd  D97(%rip),%xmm0
  movsd  %xmm0,0x30(%rsp)
  lea    0x30(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  D97(%rip),%xmm0
  divsd  0x50(%rsp),%xmm0
L254:
  movsd  %xmm0,0x38(%rsp)
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  mov    %eax,%ebp
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  movsd  0x20(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebp,%xmm0
  movsd  D97(%rip),%xmm2
  addsd  %xmm2,%xmm0
  pxor   %xmm3,%xmm3
  cvtsi2sd %eax,%xmm3
  addsd  %xmm2,%xmm3
  mulsd  %xmm3,%xmm0
  divsd  0x38(%rsp),%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  0x28(%rsp),%xmm1
  addsd  %xmm2,%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L62
L128:
  lea    0x20(%rsp),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_ln1@plt>
  mov    %eax,%ebx
  lea    0x28(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_algdiv@plt>
  add    %eax,%ebx
  pxor   %xmm1,%xmm1
  cvtsi2sd %ebx,%xmm1
  movsd  %xmm1,0x30(%rsp)
  movsd  0x38(%rsp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x50(%rsp)
  lea    0x50(%rsp),%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <cdflib_esum@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x20(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L62
L211:
  lea    0x20(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_ln1@plt>
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movq   %xmm6,%rbx
  movsd  %xmm6,0x30(%rsp)
  movsd  0x28(%rsp),%xmm0
  movapd %xmm0,%xmm1
  subsd  D97(%rip),%xmm1
  cvttsd2si %xmm1,%edx
  test   %edx,%edx
  jle    L143
  movsd  0x20(%rsp),%xmm5
  add    $0x1,%edx
  mov    $0x1,%eax
  movsd  D97(%rip),%xmm1
  movapd %xmm1,%xmm4
L207:
  subsd  %xmm4,%xmm0
  movapd %xmm0,%xmm3
  addsd  %xmm5,%xmm3
  movapd %xmm0,%xmm2
  divsd  %xmm3,%xmm2
  mulsd  %xmm2,%xmm1
  add    $0x1,%eax
  cmp    %eax,%edx
  jne    L207
  movsd  %xmm0,0x28(%rsp)
  movapd %xmm1,%xmm0
  call   <log@plt>
  movq   %rbx,%xmm5
  addsd  %xmm0,%xmm5
  movsd  %xmm5,0x30(%rsp)
L143:
  movsd  0x38(%rsp),%xmm0
  subsd  0x30(%rsp),%xmm0
  movsd  %xmm0,0x38(%rsp)
  movsd  D97(%rip),%xmm1
  movsd  0x28(%rsp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x28(%rsp)
  addsd  0x20(%rsp),%xmm0
  movsd  %xmm0,0x50(%rsp)
  comisd %xmm1,%xmm0
  jbe    L113
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x30(%rsp)
  lea    0x30(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  D97(%rip),%xmm0
  divsd  0x50(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
L181:
  lea    0x38(%rsp),%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <cdflib_esum@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x20(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  lea    0x28(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  D97(%rip),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L62
L242:
  lea    0x50(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  D97(%rip),%xmm0
  jmp    L254
L113:
  lea    0x50(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gam1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  D97(%rip),%xmm0
  movsd  %xmm0,0x10(%rsp)
  jmp    L181
L196:
  movapd %xmm0,%xmm3
  divsd  %xmm1,%xmm3
  movsd  D97(%rip),%xmm4
  movapd %xmm3,%xmm2
  addsd  %xmm4,%xmm2
  divsd  %xmm2,%xmm4
  movsd  %xmm4,0x10(%rsp)
  divsd  %xmm2,%xmm3
  movsd  %xmm3,0x18(%rsp)
  movapd %xmm1,%xmm2
  addsd  %xmm0,%xmm2
  mulsd  (%r12),%xmm2
  subsd  %xmm0,%xmm2
  movsd  %xmm2,0x8(%rsp)
L52:
  movsd  0x8(%rsp),%xmm0
  divsd  %xmm1,%xmm0
  movapd %xmm0,%xmm7
  xorpd  D31(%rip),%xmm7
  movq   %xmm7,%r15
  movsd  %xmm7,0x48(%rsp)
  andpd  D217(%rip),%xmm0
  comisd D199(%rip),%xmm0
  jbe    L158
  movsd  0x0(%r13),%xmm0
  divsd  0x10(%rsp),%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  movq   %r15,%xmm0
  subsd  %xmm1,%xmm0
L140:
  movsd  %xmm0,0x30(%rsp)
  movsd  0x8(%rsp),%xmm5
  divsd  (%rbx),%xmm5
  movq   %xmm5,%r13
  movsd  %xmm5,0x48(%rsp)
  movapd %xmm5,%xmm0
  andpd  D217(%rip),%xmm0
  comisd D199(%rip),%xmm0
  jbe    L159
  movsd  (%r12),%xmm0
  divsd  0x18(%rsp),%xmm0
  call   <log@plt>
  movq   %r13,%xmm1
  subsd  %xmm0,%xmm1
L119:
  movsd  0x0(%rbp),%xmm0
  mulsd  0x30(%rsp),%xmm0
  mulsd  (%rbx),%xmm1
  addsd  %xmm1,%xmm0
  xorpd  D31(%rip),%xmm0
  movsd  %xmm0,0x50(%rsp)
  lea    0x50(%rsp),%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <cdflib_esum@plt>
  pxor   %xmm5,%xmm5
  cvtsi2sd %eax,%xmm5
  movq   %xmm5,%r12
  movsd  %xmm5,0x38(%rsp)
  movsd  0x10(%rsp),%xmm0
  mulsd  (%rbx),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L38
  sqrtsd %xmm0,%xmm0
L76:
  mulsd  D245(%rip),%xmm0
  movq   %r12,%xmm7
  mulsd  %xmm0,%xmm7
  movsd  %xmm7,0x8(%rsp)
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_bcorr@plt>
  neg    %eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  call   <exp@plt>
  mulsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L62
L158:
  lea    0x48(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_rlog1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  jmp    L140
L159:
  lea    0x48(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_rlog1@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  jmp    L119
L38:
  call   <sqrt@plt>
  jmp    L76
L229:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D35
data_type: f64[2]
name: disassemble_data
arguments: data_label: D31
data_type: f32[4]
name: disassemble_data
arguments: data_label: D97
data_type: f64[2]
name: disassemble_data
arguments: data_label: D217
data_type: qword[2]
name: disassemble_data
arguments: data_label: D199
data_type: f64[2]
name: disassemble_data
arguments: data_label: D245
data_type: byte[8]

tool: {"D35": [0.375,0.6]}

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

tool: {"D97": [1.0,0.375]}

tool: {"D217": [0x7fffffffffffffff,0x0000000000000000]}

tool: {"D199": [0.6,0.398942280401433]}

tool: {"D245": [0x56,0x36,0xd4,0x33,0x45,0x88,0xd9,0x3f]}

assistant: ```c
double cdflib_beta_rcomp1(const int *mu, const double *a, const double *b, const double *x, const double *y) {
  static const double Const = .398942280401433e0;
  double brcmp1, a0, apb, b0, c, e, h, lambda, lnx, lny, t, u, v, x0, y0, z;
  int i, n;
  double T1, T2, T3, T4;
  a0 = cdflib_fifdmin1(*a, *b);
  if (a0 >= 8.0e0) {
    goto S130;
  }
  if (*x > 0.375e0) {
    goto S10;
  }
  lnx = log(*x);
  T1 = -*x;
  lny = cdflib_alnrel(&T1);
  goto S30;
S10:
  if (*y > 0.375e0) {
    goto S20;
  }
  T2 = -*y;
  lnx = cdflib_alnrel(&T2);
  lny = log(*y);
  goto S30;
S20:
  lnx = log(*x);
  lny = log(*y);
S30:
  z = *a * lnx + *b * lny;
  if (a0 < 1.0e0) {
    goto S40;
  }
  z -= cdflib_beta_log(a, b);
  brcmp1 = cdflib_esum(mu, &z);
  return brcmp1;
S40:
  b0 = cdflib_fifdmax1(*a, *b);
  if (b0 >= 8.0e0) {
    goto S120;
  }
  if (b0 > 1.0e0) {
    goto S70;
  }
  brcmp1 = cdflib_esum(mu, &z);
  if (brcmp1 == 0.0e0) {
    return brcmp1;
  }
  apb = *a + *b;
  if (apb > 1.0e0) {
    goto S50;
  }
  z = 1.0e0 + cdflib_gam1(&apb);
  goto S60;
S50:
  u = *a + *b - 1.e0;
  z = (1.0e0 + cdflib_gam1(&u)) / apb;
S60:
  c = (1.0e0 + cdflib_gam1(a)) * (1.0e0 + cdflib_gam1(b)) / z;
  brcmp1 = brcmp1 * (a0 * c) / (1.0e0 + a0 / b0);
  return brcmp1;
S70:
  u = cdflib_gamma_ln1(&a0);
  n = (int)(b0 - 1.0e0);
  if (n < 1) {
    goto S90;
  }
  c = 1.0e0;
  for (i = 1; i <= n; i++) {
    b0 -= 1.0e0;
    c *= (b0 / (a0 + b0));
  }
  u = log(c) + u;
S90:
  z -= u;
  b0 -= 1.0e0;
  apb = a0 + b0;
  if (apb > 1.0e0) {
    goto S100;
  }
  t = 1.0e0 + cdflib_gam1(&apb);
  goto S110;
S100:
  u = a0 + b0 - 1.e0;
  t = (1.0e0 + cdflib_gam1(&u)) / apb;
S110:
  brcmp1 = a0 * cdflib_esum(mu, &z) * (1.0e0 + cdflib_gam1(&b0)) / t;
  return brcmp1;
S120:
  u = cdflib_gamma_ln1(&a0) + cdflib_algdiv(&a0, &b0);
  T3 = z - u;
  brcmp1 = a0 * cdflib_esum(mu, &T3);
  return brcmp1;
S130:
  if (*a > *b) {
    goto S140;
  }
  h = *a / *b;
  x0 = h / (1.0e0 + h);
  y0 = 1.0e0 / (1.0e0 + h);
  lambda = *a - (*a + *b) * *x;
  goto S150;
S140:
  h = *b / *a;
  x0 = 1.0e0 / (1.0e0 + h);
  y0 = h / (1.0e0 + h);
  lambda = (*a + *b) * *y - *b;
S150:
  e = -(lambda / *a);
  if (fabs(e) > 0.6e0) {
    goto S160;
  }
  u = cdflib_rlog1(&e);
  goto S170;
S160:
  u = e - log(*x / x0);
S170:
  e = lambda / *b;
  if (fabs(e) > 0.6e0) {
    goto S180;
  }
  v = cdflib_rlog1(&e);
  goto S190;
S180:
  v = e - log(*y / y0);
S190:
  T4 = -(*a * u + *b * v);
  z = cdflib_esum(mu, &T4);
  brcmp1 = Const * sqrt(*b * x0) * z * exp(-cdflib_bcorr(a, b));
  return brcmp1;
}
```