user: 这段汇编代码用C语言表示是什么样的？

```asm
<cdflib_beta_log>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  movsd  (%rsi),%xmm1
  movsd  (%rdi),%xmm0
  mov    $0x2,%eax
  call   <cdflib_fifdmin1@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,0x20(%rsp)
  movsd  0x0(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  mov    $0x2,%eax
  call   <cdflib_fifdmax1@plt>
  pxor   %xmm7,%xmm7
  cvtsi2sd %eax,%xmm7
  movsd  %xmm7,0x28(%rsp)
  movsd  0x20(%rsp),%xmm0
  comisd D167(%rip),%xmm0
  jae    L31
  mov    %eax,%ebp
  movq   %xmm7,%rbx
  comisd D68(%rip),%xmm0
  jae    L154
  cmp    $0x7,%eax
  jg     L26
  movapd %xmm7,%xmm6
  addsd  %xmm0,%xmm6
  movsd  %xmm6,0x30(%rsp)
  lea    0x20(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebp
  lea    0x28(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebx
  lea    0x30(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  sub    %eax,%ebx
  add    %ebp,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
L42:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L134
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L31:
  lea    0x28(%rsp),%rsi
  lea    0x20(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_bcorr@plt>
  pxor   %xmm7,%xmm7
  cvtsi2sd %eax,%xmm7
  movsd  %xmm7,0x10(%rsp)
  mov    0x20(%rsp),%rbx
  movq   %rbx,%xmm0
  divsd  0x28(%rsp),%xmm0
  movsd  %xmm0,0x30(%rsp)
  movapd %xmm0,%xmm1
  addsd  D68(%rip),%xmm1
  divsd  %xmm1,%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm0
  subsd  D34(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  lea    0x30(%rsp),%rdi
  mov    $0x0,%eax
  call   <cdflib_alnrel@plt>
  movsd  0x28(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movapd %xmm1,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  %xmm3,0x18(%rsp)
  movsd  0x8(%rsp),%xmm1
  xorpd  D67(%rip),%xmm1
  comisd %xmm1,%xmm3
  jae    L168
  call   <log@plt>
  movapd %xmm0,%xmm1
  mulsd  D34(%rip),%xmm1
  movsd  D114(%rip),%xmm0
  subsd  %xmm1,%xmm0
  addsd  0x10(%rsp),%xmm0
  subsd  0x18(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  jmp    L42
L154:
  comisd D110(%rip),%xmm0
  ja     L120
  cmp    $0x2,%eax
  jle    L44
  mov    D148(%rip),%r12
  cmp    $0x7,%eax
  jg     L81
L165:
  movq   %rbx,%xmm0
  subsd  D68(%rip),%xmm0
  cvttsd2si %xmm0,%edx
  test   %edx,%edx
  jle    L69
  movsd  0x20(%rsp),%xmm4
  add    $0x1,%edx
  mov    $0x1,%eax
  movsd  D68(%rip),%xmm0
  movapd %xmm0,%xmm3
L259:
  movq   %rbx,%xmm6
  subsd  %xmm3,%xmm6
  movq   %xmm6,%rbx
  movapd %xmm6,%xmm2
  addsd  %xmm4,%xmm2
  movapd %xmm6,%xmm1
  divsd  %xmm2,%xmm1
  mulsd  %xmm1,%xmm0
  add    $0x1,%eax
  cmp    %edx,%eax
  jne    L259
  movsd  %xmm6,0x28(%rsp)
L46:
  call   <log@plt>
  movq   %r12,%xmm6
  addsd  %xmm0,%xmm6
  movsd  %xmm6,0x8(%rsp)
  lea    0x20(%rsp),%r12
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebp
  lea    0x28(%rsp),%r13
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebx
  mov    %r13,%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <cdflib_gsumln@plt>
  sub    %eax,%ebx
  add    %ebp,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  addsd  0x8(%rsp),%xmm0
  jmp    L42
L26:
  lea    0x20(%rsp),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebx
  lea    0x28(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_algdiv@plt>
  add    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  jmp    L42
L120:
  cmp    $0x3e8,%eax
  jg     L137
  movapd %xmm0,%xmm1
  subsd  D68(%rip),%xmm1
  cvttsd2si %xmm1,%edx
  test   %edx,%edx
  jle    L182
  add    $0x1,%edx
  mov    $0x1,%eax
  movsd  D68(%rip),%xmm2
  movapd %xmm2,%xmm3
L32:
  subsd  %xmm3,%xmm0
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm7
  divsd  %xmm7,%xmm1
  movapd %xmm1,%xmm5
  addsd  %xmm3,%xmm5
  movapd %xmm1,%xmm4
  divsd  %xmm5,%xmm4
  mulsd  %xmm4,%xmm2
  add    $0x1,%eax
  cmp    %edx,%eax
  jne    L32
  movsd  %xmm0,0x20(%rsp)
  movsd  %xmm1,0x30(%rsp)
L226:
  movapd %xmm2,%xmm0
  call   <log@plt>
  movq   %xmm0,%r12
  cmp    $0x7,%ebp
  jle    L165
  lea    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movq   %r12,%xmm5
  addsd  %xmm0,%xmm5
  movsd  %xmm5,0x8(%rsp)
  lea    0x28(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <cdflib_algdiv@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  0x8(%rsp),%xmm0
  jmp    L42
L44:
  lea    0x20(%rsp),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebx
  lea    0x28(%rsp),%r12
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  add    %eax,%ebx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gsumln@plt>
  sub    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  jmp    L42
L81:
  lea    0x20(%rsp),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebx
  lea    0x28(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_algdiv@plt>
  add    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  jmp    L42
L137:
  movapd %xmm0,%xmm1
  subsd  D68(%rip),%xmm1
  cvttsd2si %xmm1,%ebp
  movsd  D68(%rip),%xmm2
  test   %ebp,%ebp
  jle    L82
  lea    0x1(%rbp),%edx
  mov    $0x1,%eax
  movsd  D68(%rip),%xmm2
  movapd %xmm2,%xmm3
L91:
  subsd  %xmm3,%xmm0
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm5
  divsd  %xmm5,%xmm1
  addsd  %xmm3,%xmm1
  movapd %xmm0,%xmm4
  divsd  %xmm1,%xmm4
  mulsd  %xmm4,%xmm2
  add    $0x1,%eax
  cmp    %eax,%edx
  jne    L91
  movsd  %xmm0,0x20(%rsp)
L82:
  movapd %xmm2,%xmm0
  call   <log@plt>
  movq   %xmm0,%r12
  movq   %rbx,%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebp,%xmm0
  mulsd  %xmm1,%xmm0
  movq   %r12,%xmm7
  subsd  %xmm0,%xmm7
  movsd  %xmm7,0x8(%rsp)
  lea    0x20(%rsp),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_gamma_log@plt>
  mov    %eax,%ebx
  lea    0x28(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <cdflib_algdiv@plt>
  add    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  addsd  0x8(%rsp),%xmm0
  jmp    L42
L182:
  movsd  D68(%rip),%xmm2
  jmp    L226
L69:
  movsd  D68(%rip),%xmm0
  jmp    L46
L168:
  call   <log@plt>
  movapd %xmm0,%xmm1
  mulsd  D34(%rip),%xmm1
  movsd  D114(%rip),%xmm0
  subsd  %xmm1,%xmm0
  addsd  0x10(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  subsd  0x18(%rsp),%xmm0
  jmp    L42
L134:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D167
datatype: f64[2]
name: parse_data
arguments: data_label: D68
datatype: f64[2]
name: parse_data
arguments: data_label: D34
datatype: f64
name: parse_data
arguments: data_label: D67
datatype: f32[4]
name: parse_data
arguments: data_label: D114
datatype: byte[8]
name: parse_data
arguments: data_label: D110
datatype: f64[2]
name: parse_data
arguments: data_label: D148
datatype: f32[2]

tool: {"D167": [8.0,0.5]}

tool: {"D68": [1.0,8.0]}

tool: D34: 0.5

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

tool: {"D114": [0xb7,0xbe,0x64,0xc8,0xf1,0x67,0xed,0x3f]}

tool: {"D110": [2.0,0.918938533204673]}

tool: {"D148": [0.0,0.0]}

assistant: ```c
double cdflib_beta_log(const double *a0, const double *b0) {
  static const double e = .918938533204673e0;
  double value, a, b, c, h, u, v, w, z;
  int i, n;
  double T1;
  a = cdflib_fifdmin1(*a0, *b0);
  b = cdflib_fifdmax1(*a0, *b0);
  if (a >= 8.0e0) {
    goto S100;
  }
  if (a >= 1.0e0) {
    goto S20;
  }
  if (b >= 8.0e0) {
    goto S10;
  }
  T1 = a + b;
  value = cdflib_gamma_log(&a) + (cdflib_gamma_log(&b) - cdflib_gamma_log(&T1));
  return value;
S10:
  value = cdflib_gamma_log(&a) + cdflib_algdiv(&a, &b);
  return value;
S20:
  if (a > 2.0e0) {
    goto S40;
  }
  if (b > 2.0e0) {
    goto S30;
  }
  value = cdflib_gamma_log(&a) + cdflib_gamma_log(&b) - cdflib_gsumln(&a, &b);
  return value;
S30:
  w = 0.0e0;
  if (b < 8.0e0) {
    goto S60;
  }
  value = cdflib_gamma_log(&a) + cdflib_algdiv(&a, &b);
  return value;
S40:
  if (b > 1000.0e0) {
    goto S80;
  }
  n = (int)(a - 1.0e0);
  w = 1.0e0;
  for (i = 1; i <= n; i++) {
    a -= 1.0e0;
    h = a / b;
    w *= (h / (1.0e0 + h));
  }
  w = log(w);
  if (b < 8.0e0) {
    goto S60;
  }
  value = w + cdflib_gamma_log(&a) + cdflib_algdiv(&a, &b);
  return value;
S60:
  n = (int)(b - 1.0e0);
  z = 1.0e0;
  for (i = 1; i <= n; i++) {
    b -= 1.0e0;
    z *= (b / (a + b));
  }
  value = w + log(z) + (cdflib_gamma_log(&a) + (cdflib_gamma_log(&b) - cdflib_gsumln(&a, &b)));
  return value;
S80:
  n = (int)(a - 1.0e0);
  w = 1.0e0;
  for (i = 1; i <= n; i++) {
    a -= 1.0e0;
    w *= (a / (1.0e0 + a / b));
  }
  value = log(w) - (double)n * log(b) + (cdflib_gamma_log(&a) + cdflib_algdiv(&a, &b));
  return value;
S100:
  w = cdflib_bcorr(&a, &b);
  h = a / b;
  c = h / (1.0e0 + h);
  u = -((a - 0.5e0) * log(c));
  v = b * cdflib_alnrel(&h);
  if (u <= v) {
    goto S110;
  }
  value = -(0.5e0 * log(b)) + e + w - v - u;
  return value;
S110:
  value = -(0.5e0 * log(b)) + e + w - u - v;
  return value;
}
```