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

```asm
<QuantileChi2>:
  endbr64
  movapd %xmm0,%xmm7
  movsd  D319(%rip),%xmm0
  comisd %xmm7,%xmm0
  ja     L3
  push   %r14
  push   %rbx
  sub    $0x58,%rsp
  movq   %xmm1,%rbx
  movsd  D560(%rip),%xmm0
  movsd  %xmm7,0x38(%rsp)
  comisd D468(%rip),%xmm7
  ja     L152
  movsd  D224(%rip),%xmm0
  pxor   %xmm1,%xmm1
  movq   %rbx,%xmm4
  comisd %xmm4,%xmm1
  jae    L152
  mulsd  D394(%rip),%xmm4
  movsd  %xmm4,0x10(%rsp)
  movapd %xmm4,%xmm0
  call   <LnGamma@plt>
  movsd  %xmm0,0x18(%rsp)
  movsd  0x10(%rsp),%xmm4
  subsd  D363(%rip),%xmm4
  movsd  %xmm4,0x20(%rsp)
  movsd  0x38(%rsp),%xmm0
  call   <log@plt>
  mulsd  D356(%rip),%xmm0
  movq   %rbx,%xmm4
  comisd %xmm0,%xmm4
  jb     L135
  comisd D76(%rip),%xmm4
  ja     L159
  movsd  D363(%rip),%xmm0
  subsd  0x38(%rsp),%xmm0
  call   <log@plt>
  movsd  0x20(%rsp),%xmm4
  mulsd  D215(%rip),%xmm4
  movsd  %xmm4,0x40(%rsp)
  movsd  D314(%rip),%xmm4
  movsd  %xmm4,0x8(%rsp)
  addsd  0x18(%rsp),%xmm0
  movsd  %xmm0,0x48(%rsp)
L153:
  movsd  D78(%rip),%xmm0
  movsd  0x8(%rsp),%xmm5
  addsd  %xmm5,%xmm0
  mulsd  %xmm5,%xmm0
  addsd  D363(%rip),%xmm0
  movsd  %xmm0,0x28(%rsp)
  movapd %xmm5,%xmm0
  addsd  D275(%rip),%xmm0
  mulsd  %xmm5,%xmm0
  addsd  D315(%rip),%xmm0
  movapd %xmm0,%xmm7
  mulsd  %xmm5,%xmm7
  movsd  %xmm7,0x30(%rsp)
  movsd  D394(%rip),%xmm6
  mulsd  %xmm5,%xmm6
  movapd %xmm6,%xmm0
  addsd  0x48(%rsp),%xmm0
  addsd  0x40(%rsp),%xmm0
  call   <exp@plt>
  movsd  0x30(%rsp),%xmm7
  mulsd  %xmm7,%xmm0
  movsd  0x28(%rsp),%xmm4
  divsd  %xmm4,%xmm0
  movsd  D363(%rip),%xmm2
  subsd  %xmm0,%xmm2
  movsd  0x8(%rsp),%xmm5
  movapd %xmm5,%xmm0
  addsd  %xmm5,%xmm0
  addsd  D78(%rip),%xmm0
  divsd  %xmm4,%xmm0
  subsd  D394(%rip),%xmm0
  movapd %xmm5,%xmm1
  mulsd  D655(%rip),%xmm1
  addsd  D619(%rip),%xmm1
  mulsd  %xmm5,%xmm1
  addsd  D315(%rip),%xmm1
  divsd  %xmm7,%xmm1
  subsd  %xmm1,%xmm0
  divsd  %xmm0,%xmm2
  movapd %xmm5,%xmm0
  subsd  %xmm2,%xmm5
  movsd  %xmm5,0x8(%rsp)
  divsd  %xmm5,%xmm0
  subsd  D363(%rip),%xmm0
  andpd  D124(%rip),%xmm0
  subsd  D232(%rip),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  jb     L153
  jmp    L141
L135:
  movsd  0x10(%rsp),%xmm0
  mulsd  D215(%rip),%xmm0
  addsd  0x18(%rsp),%xmm0
  call   <exp@plt>
  movapd %xmm0,%xmm1
  movsd  0x10(%rsp),%xmm4
  movapd %xmm4,%xmm0
  mulsd  0x38(%rsp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D363(%rip),%xmm1
  divsd  %xmm4,%xmm1
  call   <pow@plt>
  movsd  %xmm0,0x8(%rsp)
  movapd %xmm0,%xmm1
  subsd  D336(%rip),%xmm1
  pxor   %xmm2,%xmm2
  comisd %xmm1,%xmm2
  ja     L152
L141:
  lea    D223(%rip),%rbx
  jmp    L82
L159:
  movsd  0x38(%rsp),%xmm0
  call   <QuantileNormal@plt>
  movq   %xmm0,%r14
  movsd  D142(%rip),%xmm0
  movq   %rbx,%xmm4
  divsd  %xmm4,%xmm0
  movapd %xmm0,%xmm4
  movsd  %xmm0,0x8(%rsp)
  pxor   %xmm0,%xmm0
  ucomisd %xmm4,%xmm0
  ja     L86
  sqrtsd %xmm4,%xmm4
  movapd %xmm4,%xmm0
L32:
  movq   %r14,%xmm4
  mulsd  %xmm4,%xmm0
  addsd  D363(%rip),%xmm0
  subsd  0x8(%rsp),%xmm0
  movsd  D655(%rip),%xmm1
  call   <pow@plt>
  movapd %xmm0,%xmm5
  movq   %rbx,%xmm4
  mulsd  %xmm4,%xmm5
  movsd  %xmm5,0x8(%rsp)
  movq   %rbx,%xmm0
  mulsd  D474(%rip),%xmm0
  addsd  D596(%rip),%xmm0
  comisd %xmm0,%xmm5
  jbe    L141
  movsd  D363(%rip),%xmm0
  subsd  0x38(%rsp),%xmm0
  call   <log@plt>
  movq   %xmm0,%rbx
  movsd  0x8(%rsp),%xmm0
  mulsd  D394(%rip),%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  mulsd  0x20(%rsp),%xmm1
  movq   %rbx,%xmm0
  subsd  %xmm1,%xmm0
  addsd  0x18(%rsp),%xmm0
  mulsd  D386(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L141
L86:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L32
L123:
  movsd  0x38(%rsp),%xmm4
  subsd  0x30(%rsp),%xmm4
  movsd  %xmm4,0x30(%rsp)
  movsd  0x8(%rsp),%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  movsd  0x10(%rsp),%xmm7
  mulsd  D215(%rip),%xmm7
  movapd %xmm7,%xmm0
  addsd  0x18(%rsp),%xmm0
  addsd  0x28(%rsp),%xmm0
  mulsd  0x20(%rsp),%xmm1
  subsd  %xmm1,%xmm0
  call   <exp@plt>
  movsd  0x30(%rsp),%xmm4
  mulsd  %xmm0,%xmm4
  movapd %xmm4,%xmm5
  divsd  0x8(%rsp),%xmm5
  movapd %xmm4,%xmm0
  mulsd  D394(%rip),%xmm0
  movsd  0x20(%rsp),%xmm7
  movapd %xmm7,%xmm10
  mulsd  %xmm5,%xmm10
  movapd %xmm0,%xmm3
  subsd  %xmm10,%xmm3
  movapd %xmm3,%xmm1
  mulsd  D650(%rip),%xmm1
  addsd  D145(%rip),%xmm1
  mulsd  %xmm3,%xmm1
  movsd  D15(%rip),%xmm15
  addsd  %xmm15,%xmm1
  mulsd  %xmm3,%xmm1
  addsd  D340(%rip),%xmm1
  mulsd  %xmm3,%xmm1
  addsd  D141(%rip),%xmm1
  mulsd  %xmm3,%xmm1
  movsd  D11(%rip),%xmm2
  addsd  %xmm2,%xmm1
  movsd  D328(%rip),%xmm11
  divsd  %xmm11,%xmm1
  mulsd  %xmm1,%xmm0
  movsd  D363(%rip),%xmm9
  addsd  %xmm9,%xmm0
  movapd %xmm3,%xmm8
  mulsd  D493(%rip),%xmm8
  addsd  D498(%rip),%xmm8
  mulsd  %xmm3,%xmm8
  addsd  D255(%rip),%xmm8
  mulsd  %xmm3,%xmm8
  addsd  D219(%rip),%xmm8
  mulsd  %xmm3,%xmm8
  addsd  %xmm11,%xmm8
  movsd  D651(%rip),%xmm14
  movapd %xmm8,%xmm11
  divsd  %xmm14,%xmm11
  movapd %xmm3,%xmm6
  mulsd  D85(%rip),%xmm6
  addsd  D108(%rip),%xmm6
  mulsd  %xmm3,%xmm6
  addsd  D10(%rip),%xmm6
  mulsd  %xmm3,%xmm6
  addsd  %xmm2,%xmm6
  divsd  %xmm14,%xmm6
  movapd %xmm3,%xmm8
  mulsd  D705(%rip),%xmm8
  addsd  D303(%rip),%xmm8
  mulsd  %xmm3,%xmm8
  addsd  D384(%rip),%xmm8
  mulsd  %xmm7,%xmm8
  movapd %xmm3,%xmm12
  mulsd  D281(%rip),%xmm12
  addsd  D211(%rip),%xmm12
  mulsd  %xmm3,%xmm12
  addsd  D157(%rip),%xmm12
  addsd  %xmm12,%xmm8
  movsd  D260(%rip),%xmm12
  divsd  %xmm12,%xmm8
  movapd %xmm3,%xmm13
  mulsd  D296(%rip),%xmm13
  addsd  D510(%rip),%xmm13
  movapd %xmm7,%xmm2
  mulsd  %xmm7,%xmm13
  movapd %xmm13,%xmm7
  mulsd  D274(%rip),%xmm3
  addsd  %xmm15,%xmm3
  addsd  %xmm3,%xmm7
  divsd  %xmm14,%xmm7
  movapd %xmm2,%xmm3
  mulsd  D514(%rip),%xmm2
  addsd  D250(%rip),%xmm2
  mulsd  %xmm3,%xmm2
  addsd  D458(%rip),%xmm2
  divsd  %xmm12,%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm7
  mulsd  %xmm5,%xmm7
  movapd %xmm8,%xmm2
  subsd  %xmm7,%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  subsd  %xmm6,%xmm11
  mulsd  %xmm5,%xmm11
  subsd  %xmm11,%xmm1
  mulsd  %xmm10,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  %xmm4,%xmm0
  movsd  0x8(%rsp),%xmm4
  addsd  %xmm4,%xmm0
  divsd  %xmm0,%xmm4
  movapd %xmm4,%xmm1
  subsd  %xmm9,%xmm1
  andpd  D124(%rip),%xmm1
  comisd D336(%rip),%xmm1
  jbe    L152
  movsd  %xmm0,0x8(%rsp)
L82:
  movsd  D394(%rip),%xmm4
  mulsd  0x8(%rsp),%xmm4
  movsd  %xmm4,0x28(%rsp)
  movsd  0x18(%rsp),%xmm2
  movsd  0x10(%rsp),%xmm1
  movapd %xmm4,%xmm0
  call   <IncompleteGamma@plt>
  movsd  %xmm0,0x30(%rsp)
  pxor   %xmm4,%xmm4
  comisd %xmm0,%xmm4
  jbe    L123
  mov    %rbx,%rdi
  call   <error2@plt>
  jmp    L123
L3:
  pxor   %xmm0,%xmm0
  ret
L152:
  add    $0x58,%rsp
  pop    %rbx
  pop    %r14
  ret
```

tool_calls: name: retrieve_data
arguments: label: D319
type: byte[8]
name: retrieve_data
arguments: label: D560
type: f32[2]
name: retrieve_data
arguments: label: D468
type: byte[16]
name: retrieve_data
arguments: label: D224
type: f32[2]
name: retrieve_data
arguments: label: D394
type: f64
name: retrieve_data
arguments: label: D363
type: f32[2]
name: retrieve_data
arguments: label: D356
type: byte[8]
name: retrieve_data
arguments: label: D76
type: byte[16]
name: retrieve_data
arguments: label: D215
type: byte[8]
name: retrieve_data
arguments: label: D314
type: f64
name: retrieve_data
arguments: label: D78
type: f64
name: retrieve_data
arguments: label: D275
type: f64
name: retrieve_data
arguments: label: D315
type: f64
name: retrieve_data
arguments: label: D655
type: f64
name: retrieve_data
arguments: label: D619
type: f64
name: retrieve_data
arguments: label: D124
type: qword[2]
name: retrieve_data
arguments: label: D232
type: byte[8]
name: retrieve_data
arguments: label: D336
type: byte[16]
name: retrieve_data
arguments: label: D223
type: string
name: retrieve_data
arguments: label: D142
type: f64
name: retrieve_data
arguments: label: D474
type: f64
name: retrieve_data
arguments: label: D596
type: f32[2]
name: retrieve_data
arguments: label: D386
type: f32[2]
name: retrieve_data
arguments: label: D650
type: f32[2]
name: retrieve_data
arguments: label: D145
type: f32[2]
name: retrieve_data
arguments: label: D15
type: f32[2]
name: retrieve_data
arguments: label: D340
type: f32[2]
name: retrieve_data
arguments: label: D141
type: f32[2]
name: retrieve_data
arguments: label: D11
type: f32[2]
name: retrieve_data
arguments: label: D328
type: f32[2]
name: retrieve_data
arguments: label: D493
type: f32[2]
name: retrieve_data
arguments: label: D498
type: f32[2]
name: retrieve_data
arguments: label: D255
type: f32[2]
name: retrieve_data
arguments: label: D219
type: f32[2]
name: retrieve_data
arguments: label: D651
type: f32[2]
name: retrieve_data
arguments: label: D85
type: f32[2]
name: retrieve_data
arguments: label: D108
type: f32[2]
name: retrieve_data
arguments: label: D10
type: f32[2]
name: retrieve_data
arguments: label: D705
type: f32[2]
name: retrieve_data
arguments: label: D303
type: f32[2]
name: retrieve_data
arguments: label: D384
type: f32[2]
name: retrieve_data
arguments: label: D281
type: f32[2]
name: retrieve_data
arguments: label: D211
type: f32[2]
name: retrieve_data
arguments: label: D157
type: f32[2]
name: retrieve_data
arguments: label: D260
type: f32[2]
name: retrieve_data
arguments: label: D296
type: f32[2]
name: retrieve_data
arguments: label: D510
type: f32[2]
name: retrieve_data
arguments: label: D274
type: f32[2]
name: retrieve_data
arguments: label: D514
type: f32[2]
name: retrieve_data
arguments: label: D250
type: f32[2]
name: retrieve_data
arguments: label: D458
type: f32[2]

tool: {"D319": [0x8d,0xed,0xb5,0xa0,0xf7,0xc6,0xb0,0x3e]}

tool: {"D560": [0.0,6.11029052734375]}

tool: {"D468": [0xe9,0x0b,0x21,0xe7,0xfd,0xff,0xef,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: {"D224": [0.0,-1.875]}

tool: D394: 0.5

tool: {"D363": [0.0,1.875]}

tool: {"D356": [0xd7,0xa3,0x70,0x3d,0x0a,0xd7,0xf3,0xbf]}

tool: {"D76": [0x7b,0x14,0xae,0x47,0xe1,0x7a,0xd4,0x3f,0xcc,0xfc,0xf1,0xfe,0x42,0x2e,0xe6,0x3f]}

tool: {"D215": [0xcc,0xfc,0xf1,0xfe,0x42,0x2e,0xe6,0x3f]}

tool: D314: 0.4

tool: D78: 4.67

tool: D275: 6.66

tool: D315: 6.73

tool: D655: 3

tool: D619: 13.32

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

tool: {"D232": [0x7b,0x14,0xae,0x47,0xe1,0x7a,0x84,0x3f]}

tool: {"D336": [0x8d,0xed,0xb5,0xa0,0xf7,0xc6,0xa0,0x3e,0xb3,0xd1,0x39,0x3f,0xc5,0x71,0xcc,0x3f]}

tool: D223: 
IncompleteGamma

tool: D142: 0.222222

tool: D474: 2.2

tool: {"D596": [0.0,2.375]}

tool: {"D386": [0.0,-2.0]}

tool: {"D650": [0.0,3.21875]}

tool: {"D145": [0.0,3.2734375]}

tool: {"D15": [0.0,3.328125]}

tool: {"D340": [0.0,3.41015625]}

tool: {"D141": [0.0,3.5234375]}

tool: {"D11": [0.0,3.66015625]}

tool: {"D328": [0.0,3.91015625]}

tool: {"D493": [0.0,4.6240234375]}

tool: {"D498": [0.0,4.55712890625]}

tool: {"D255": [0.0,4.443359375]}

tool: {"D219": [0.0,4.2177734375]}

tool: {"D651": [0.0,5.115234375]}

tool: {"D85": [0.0,4.41015625]}

tool: {"D108": [0.0,4.1904296875]}

tool: {"D10": [0.0,3.951171875]}

tool: {"D705": [0.0,4.849609375]}

tool: {"D303": [0.0,4.3681640625]}

tool: {"D384": [0.0,3.787109375]}

tool: {"D281": [0.0,4.5771484375]}

tool: {"D211": [0.0,4.15625]}

tool: {"D157": [0.0,3.7421875]}

tool: {"D260": [0.0,5.615234375]}

tool: {"D296": [0.0,4.091796875]}

tool: {"D510": [0.0,3.591796875]}

tool: {"D274": [0.0,3.7578125]}

tool: {"D514": [0.0,3.49609375]}

tool: {"D250": [0.0,3.837890625]}

tool: {"D458": [0.0,3.46875]}

assistant: ```c
double QuantileChi2(double prob, double v) {
  double e = .5e-6, aa = .6931471805, p = prob, g, small = 1e-6;
  double xx, c, ch, a = 0, q = 0, p1 = 0, p2 = 0, t = 0, x = 0, b = 0, s1, s2, s3, s4, s5, s6;
  if (p < small)
    return (0);
  if (p > 1 - small)
    return (9999);
  if (v <= 0)
    return (-1);
  g = LnGamma(v / 2);
  xx = v / 2;
  c = xx - 1;
  if (v >= -1.24 * log(p))
    goto l1;
  ch = pow((p * xx * exp(g + xx * aa)), 1 / xx);
  if (ch - e < 0)
    return (ch);
  goto l4;
l1:
  if (v > .32)
    goto l3;
  ch = 0.4;
  a = log(1 - p);
l2:
  q = ch;
  p1 = 1 + ch * (4.67 + ch);
  p2 = ch * (6.73 + ch * (6.66 + ch));
  t = -0.5 + (4.67 + 2 * ch) / p1 - (6.73 + ch * (13.32 + 3 * ch)) / p2;
  ch -= (1 - exp(a + g + .5 * ch + c * aa) * p2 / p1) / t;
  if (fabs(q / ch - 1) - .01 <= 0)
    goto l4;
  else
    goto l2;
l3:
  x = QuantileNormal(p);
  p1 = 0.222222 / v;
  ch = v * pow((x * sqrt(p1) + 1 - p1), 3.0);
  if (ch > 2.2 * v + 6)
    ch = -2 * (log(1 - p) - c * log(.5 * ch) + g);
l4:
  q = ch;
  p1 = .5 * ch;
  if ((t = IncompleteGamma(p1, xx, g)) < 0)
    error2("\nIncompleteGamma");
  p2 = p - t;
  t = p2 * exp(xx * aa + g + p1 - c * log(ch));
  b = t / ch;
  a = 0.5 * t - b * c;
  s1 = (210 + a * (140 + a * (105 + a * (84 + a * (70 + 60 * a))))) / 420;
  s2 = (420 + a * (735 + a * (966 + a * (1141 + 1278 * a)))) / 2520;
  s3 = (210 + a * (462 + a * (707 + 932 * a))) / 2520;
  s4 = (252 + a * (672 + 1182 * a) + c * (294 + a * (889 + 1740 * a))) / 5040;
  s5 = (84 + 264 * a + c * (175 + 606 * a)) / 2520;
  s6 = (120 + c * (346 + 127 * c)) / 5040;
  ch += t * (1 + 0.5 * t * s1 - b * c * (s1 - b * (s2 - b * (s3 - b * (s4 - b * (s5 - b * s6))))));
  if (fabs(q / ch - 1) > e)
    goto l4;
  return (ch);
}
```