user: Demonstrate the C code that generates the assembly output below:

```asm
<Gamma_Distribution_Tables>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x58,%rsp
  movsd  %xmm0,-0x28(%rbp)
  movsd  %xmm1,-0x30(%rbp)
  movsd  %xmm2,-0x38(%rbp)
  mov    %edi,-0x3c(%rbp)
  mov    %rsi,-0x48(%rbp)
  mov    %rdx,-0x50(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x1c(%rbp)
  jmp    L55
L14:
  pxor   %xmm0,%xmm0
  comisd -0x18(%rbp),%xmm0
  jb     L32
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L57
L32:
  mov    $0x0,%eax
  call   <Gamma_Function_Max_Arg@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm7
  comisd -0x28(%rbp),%xmm7
  jb     L58
  movsd  -0x28(%rbp),%xmm0
  movsd  D15(%rip),%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movsd  %xmm0,-0x58(%rbp)
  movsd  -0x18(%rbp),%xmm0
  movq   D28(%rip),%xmm1
  movapd %xmm0,%xmm5
  xorpd  %xmm1,%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  call   <exp@plt>
  movapd %xmm0,%xmm3
  mulsd  -0x58(%rbp),%xmm3
  movsd  %xmm3,-0x58(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Gamma_Function@plt>
  movapd %xmm0,%xmm1
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x58(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L12
L58:
  movsd  -0x28(%rbp),%xmm0
  movsd  D15(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  mov    -0x18(%rbp),%rax
  movq   %rax,%xmm0
  call   <log@plt>
  mulsd  -0x58(%rbp),%xmm0
  subsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <Ln_Gamma_Function@plt>
  movsd  -0x58(%rbp),%xmm4
  subsd  %xmm0,%xmm4
  movq   %xmm4,%rax
  mov    -0x1c(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x48(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  movq   %rax,%xmm0
  call   <exp@plt>
  movq   %xmm0,%rax
  mov    %rax,(%rbx)
L12:
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  movsd  -0x28(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <Entire_Incomplete_Gamma_Function@plt>
  movq   %xmm0,%rax
  mov    %rax,(%rbx)
L57:
  movsd  -0x18(%rbp),%xmm0
  addsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  addl   $0x1,-0x1c(%rbp)
L55:
  mov    -0x1c(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jle    L14
  nop
  nop
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D15
type_infered: f64
name: unpack_data
arguments: label: D28
type_infered: f32[2]

tool: D15: 1

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

assistant: ```c
void Gamma_Distribution_Tables(double a, double start, double delta, int nsteps, double *density, double *distribution_function) {
  double x = start;
  int i;
  for (i = 0; i <= nsteps; i++) {
    if (x <= 0.0) {
      density[i] = 0.0;
      distribution_function[i] = 0.0;
    } else {
      if (a <= Gamma_Function_Max_Arg())
        density[i] = pow(x, a - 1.0) * exp(-x) / Gamma_Function(a);
      else
        density[i] = exp((a - 1.0) * log(x) - x - Ln_Gamma_Function(a));
      distribution_function[i] = Entire_Incomplete_Gamma_Function(x, a);
    }
    x += delta;
  }
}
```