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

```asm
<IncompleteGamma>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  movsd  %xmm0,-0xb8(%rbp)
  movsd  %xmm1,-0xc0(%rbp)
  movsd  %xmm2,-0xc8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  -0xc8(%rbp),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  D131(%rip),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  D76(%rip),%xmm0
  movsd  %xmm0,-0x60(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  pxor   %xmm0,%xmm0
  ucomisd -0xb8(%rbp),%xmm0
  jp     L101
  pxor   %xmm0,%xmm0
  ucomisd -0xb8(%rbp),%xmm0
  jne    L101
  pxor   %xmm0,%xmm0
  jmp    L250
L101:
  pxor   %xmm0,%xmm0
  comisd -0xb8(%rbp),%xmm0
  ja     L204
  pxor   %xmm0,%xmm0
  comisd -0x78(%rbp),%xmm0
  jb     L169
L204:
  movsd  D43(%rip),%xmm0
  jmp    L250
L169:
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <log@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  mulsd  -0x78(%rbp),%xmm0
  subsd  -0xb8(%rbp),%xmm0
  subsd  -0x70(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0xb8(%rbp),%xmm0
  movsd  D126(%rip),%xmm1
  comisd %xmm1,%xmm0
  jbe    L29
  movsd  -0xb8(%rbp),%xmm0
  comisd -0x78(%rbp),%xmm0
  jae    L99
L29:
  movsd  D126(%rip),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  movsd  D126(%rip),%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0x78(%rbp),%xmm0
  movsd  %xmm0,-0x98(%rbp)
L199:
  movsd  -0x98(%rbp),%xmm1
  movsd  D126(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0xb8(%rbp),%xmm0
  divsd  -0x98(%rbp),%xmm0
  movsd  -0x80(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  addsd  -0x80(%rbp),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  movsd  -0x80(%rbp),%xmm0
  comisd -0x68(%rbp),%xmm0
  jbe    L181
  jmp    L199
L181:
  movsd  -0x48(%rbp),%xmm0
  divsd  -0x78(%rbp),%xmm0
  movsd  -0xa0(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  jmp    L168
L99:
  nop
  movsd  D126(%rip),%xmm0
  subsd  -0x78(%rbp),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x90(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0xb8(%rbp),%xmm1
  movsd  D126(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  D126(%rip),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0xb8(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0xb8(%rbp),%xmm1
  movsd  D126(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0xb8(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  -0x28(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
L119:
  movsd  -0x90(%rbp),%xmm1
  movsd  D126(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x88(%rbp),%xmm1
  movsd  D118(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x80(%rbp),%xmm1
  movsd  D126(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0x90(%rbp),%xmm0
  mulsd  -0x80(%rbp),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movl   $0x0,-0xa4(%rbp)
  jmp    L201
L177:
  mov    -0xa4(%rbp),%eax
  add    $0x2,%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  mov    -0xa4(%rbp),%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm1
  mulsd  -0x58(%rbp),%xmm1
  mov    -0xa4(%rbp),%eax
  add    $0x4,%eax
  subsd  %xmm1,%xmm0
  cltq
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  addl   $0x1,-0xa4(%rbp)
L201:
  cmpl   $0x1,-0xa4(%rbp)
  jle    L177
  movsd  -0x18(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L150
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  je     L15
L150:
  movsd  -0x20(%rbp),%xmm0
  movsd  -0x18(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  subsd  -0x98(%rbp),%xmm0
  movq   D61(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x50(%rbp),%xmm0
  comisd -0x68(%rbp),%xmm0
  ja     L43
  movsd  -0x68(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  comisd -0x50(%rbp),%xmm0
  jae    L6
  jmp    L27
L43:
  nop
L27:
  movsd  -0x98(%rbp),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  jmp    L103
L15:
  nop
L103:
  movl   $0x0,-0xa4(%rbp)
  jmp    L176
L115:
  mov    -0xa4(%rbp),%eax
  add    $0x2,%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm0
  mov    -0xa4(%rbp),%eax
  cltq
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  addl   $0x1,-0xa4(%rbp)
L176:
  cmpl   $0x3,-0xa4(%rbp)
  jle    L115
  movsd  -0x20(%rbp),%xmm0
  movq   D61(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  -0x60(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L81
  jmp    L119
L81:
  movl   $0x0,-0xa4(%rbp)
  jmp    L46
L20:
  mov    -0xa4(%rbp),%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm0
  divsd  -0x60(%rbp),%xmm0
  mov    -0xa4(%rbp),%eax
  cltq
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  addl   $0x1,-0xa4(%rbp)
L46:
  cmpl   $0x3,-0xa4(%rbp)
  jle    L20
  jmp    L119
L6:
  nop
  movsd  -0x48(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xa0(%rbp),%xmm1
  movsd  D126(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
L168:
  movsd  -0xa0(%rbp),%xmm0
L250:
  movq   %xmm0,%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L28
  call   <__stack_chk_fail@plt>
L28:
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D131
type_guessed: byte[8]
name: parse_data
arguments: data_tag: D76
type_guessed: f64
name: parse_data
arguments: data_tag: D43
type_guessed: f32[2]
name: parse_data
arguments: data_tag: D126
type_guessed: f32[2]
name: parse_data
arguments: data_tag: D118
type_guessed: f32[2]
name: parse_data
arguments: data_tag: D61
type_guessed: qword

tool: {"D131": [0x3a,0x8c,0x30,0xe2,0x8e,0x79,0x45,0x3e]}

tool: D76: 1e+30

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

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

tool: {"D118": [0.0,2.0]}

tool: D61: 9223372036854775807

assistant: ```c
double IncompleteGamma(double x, double alpha, double ln_gamma_alpha) {
  int i;
  double p = alpha, g = ln_gamma_alpha;
  double accurate = 1e-8, overflow = 1e30;
  double factor, gin = 0, rn = 0, a = 0, b = 0, an = 0, dif = 0, term = 0, pn[6];
  if (x == 0)
    return (0);
  if (x < 0 || p <= 0)
    return (-1);
  factor = (double)exp(p * (double)log(x) - x - g);
  if (x > 1 && x >= p)
    goto l30;
  gin = 1;
  term = 1;
  rn = p;
l20:
  rn++;
  term *= x / rn;
  gin += term;
  if (term > accurate)
    goto l20;
  gin *= factor / p;
  goto l50;
l30:
  a = 1 - p;
  b = a + x + 1;
  term = 0;
  pn[0] = 1;
  pn[1] = x;
  pn[2] = x + 1;
  pn[3] = x * b;
  gin = pn[2] / pn[3];
l32:
  a++;
  b += 2;
  term++;
  an = a * term;
  for (i = 0; i < 2; i++)
    pn[i + 4] = b * pn[i + 2] - an * pn[i];
  if (pn[5] == 0)
    goto l35;
  rn = pn[4] / pn[5];
  dif = fabs(gin - rn);
  if (dif > accurate)
    goto l34;
  if (dif <= accurate * rn)
    goto l42;
l34:
  gin = rn;
l35:
  for (i = 0; i < 4; i++)
    pn[i] = pn[i + 2];
  if (fabs(pn[4]) < overflow)
    goto l32;
  for (i = 0; i < 4; i++)
    pn[i] /= overflow;
  goto l32;
l42:
  gin = 1 - factor * gin;
l50:
  return (gin);
}
```