user: What would the C source look like for the assembly code provided here:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x20000(%rsp),%r11
L29:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L29
  sub    $0xc8,%rsp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x200b8(%rsp)
  xor    %eax,%eax
  mov    0x8(%rsi),%rdi
  call   <atoi@plt>
  mov    %eax,%r15d
  mov    %eax,0x24(%rsp)
  mov    0x10(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%r13d
  mov    %eax,%edx
  mov    %r15d,%esi
  lea    D238(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D187(%rip),%rdi
  call   <puts@plt>
  lea    0x1(%r15),%eax
  mov    %eax,0x2c(%rsp)
  mov    %eax,%esi
  lea    D159(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D309(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%ebx
  lea    D321(%rip),%r12
  lea    D282(%rip),%rbp
L97:
  lea    0x7ff1(%rbx),%esi
  mov    %r12,%rdx
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    $0xf,%ebx
  jne    L97
  lea    D206(%rip),%rdx
  mov    $0x8000,%esi
  lea    D282(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D341(%rip),%rdi
  call   <puts@plt>
  movl   $0x1,0xb0(%rsp)
  cmpl   $0x0,0x24(%rsp)
  jle    L38
  mov    $0x1,%eax
  mov    %r13d,%ecx
  shl    %cl,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  %xmm1,0x28(%rsp)
  movq   $0x1,0x18(%rsp)
  mov    $0x1,%r12d
  lea    D321(%rip),%r13
  jmp    L110
L60:
  mov    %edx,(%rcx)
  add    %edx,%r15d
  add    $0x1,%rbx
  add    $0x4,%rbp
  cmp    $0x10,%rbx
  je     L148
L105:
  movss  0x30(%rsp,%rbx,4),%xmm0
  movss  0xc(%rsp),%xmm3
  comiss %xmm3,%xmm0
  cmova  %ebx,%r14d
  movaps %xmm0,%xmm4
  maxss  %xmm3,%xmm4
  movss  %xmm4,0xc(%rsp)
  mulss  D201(%rip),%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  D279(%rip),%xmm0
  call   <floor@plt>
  mov    %rbp,%rcx
  mov    %eax,0x0(%rbp)
  mov    %r12d,%edx
  test   %eax,%eax
  je     L60
  mov    %eax,%edx
  jmp    L60
L148:
  movslq %r14d,%r14
  mov    $0x8000,%eax
  sub    %r15d,%eax
  add    %eax,0x70(%rsp,%r14,4)
  lea    D309(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x70(%rsp),%ebp
  lea    0x74(%rsp),%rbx
  mov    0x10(%rsp),%r14
  add    $0x40,%r14
L114:
  mov    %r13,%rdx
  mov    %ebp,%esi
  lea    D282(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    (%rbx),%ebp
  add    $0x4,%rbx
  cmp    %rbx,%r14
  jne    L114
  lea    D206(%rip),%rdx
  mov    %ebp,%esi
  lea    D282(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x24(%rsp),%r15d
  mov    0x18(%rsp),%rbx
  cmp    %ebx,%r15d
  lea    D206(%rip),%rsi
  cmovg  %r13,%rsi
  lea    D315(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  mov    %rbx,0x18(%rsp)
  cmp    %ebx,%r15d
  jl     L74
L110:
  mov    0x18(%rsp),%rbx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ebx,%xmm0
  divss  0x28(%rsp),%xmm0
  movaps %xmm0,%xmm1
  mulss  D252(%rip),%xmm0
  movss  %xmm1,0xc(%rsp)
  mulss  %xmm1,%xmm0
  addss  D102(%rip),%xmm0
  cvttss2si %xmm0,%edi
  call   <sqrt@plt>
  sub    $0x1,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  0xc(%rsp),%xmm1
  addss  %xmm1,%xmm1
  divss  %xmm1,%xmm0
  call   <log@plt>
  movapd %xmm0,%xmm1
  movsd  D128(%rip),%xmm0
  divsd  %xmm1,%xmm0
  pxor   %xmm7,%xmm7
  cvtsd2ss %xmm0,%xmm7
  movss  %xmm7,0x20(%rsp)
  cvtss2sd %xmm7,%xmm7
  movsd  D56(%rip),%xmm0
  movsd  %xmm7,0x10(%rsp)
  divsd  %xmm7,%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  shl    $0x8,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  D279(%rip),%xmm0
  call   <floor@plt>
  mov    %eax,0xb0(%rsp,%rbx,4)
  movsd  D128(%rip),%xmm0
  divsd  0x10(%rsp),%xmm0
  cvttsd2si %xmm0,%r15d
  mov    %r15d,%edi
  call   <exp@plt>
  mov    %eax,%edx
  mov    %r12d,%eax
  sub    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,0x30(%rsp)
  mov    $0x1,%ebp
L4:
  mov    %r15d,%edi
  call   <exp@plt>
  mov    %eax,%r14d
  pxor   %xmm2,%xmm2
  cvtsi2ss %ebp,%xmm2
  movss  %xmm2,0xc(%rsp)
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  subsd  D0(%rip),%xmm0
  xorpd  D123(%rip),%xmm0
  divsd  0x10(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  mov    %eax,%ebx
  movss  0xc(%rsp),%xmm0
  xorps  D4(%rip),%xmm0
  divss  0x20(%rsp),%xmm0
  cvttss2si %xmm0,%edi
  call   <exp@plt>
  sub    %eax,%ebx
  imul   %r14d,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ebx,%xmm0
  movss  %xmm0,0x30(%rsp,%rbp,4)
  add    $0x1,%rbp
  cmp    $0xf,%rbp
  jne    L4
  mov    %r15d,%edi
  call   <exp@plt>
  mov    %eax,%ebx
  movsd  D342(%rip),%xmm0
  divsd  0x10(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  imul   %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ebx,%xmm0
  movss  %xmm0,0x6c(%rsp)
  lea    0x70(%rsp),%rax
  mov    %rax,0x10(%rsp)
  mov    %rax,%rbp
  mov    $0x0,%ebx
  mov    $0x0,%r14d
  pxor   %xmm7,%xmm7
  movss  %xmm7,0xc(%rsp)
  mov    $0x0,%r15d
  jmp    L105
L38:
  lea    D60(%rip),%rdi
  call   <puts@plt>
  lea    D266(%rip),%rdi
  call   <puts@plt>
  mov    0x2c(%rsp),%esi
  lea    D210(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x24(%rsp)
  jne    L22
  jmp    L104
L74:
  lea    D60(%rip),%rdi
  call   <puts@plt>
  lea    D266(%rip),%rdi
  call   <puts@plt>
  mov    0x2c(%rsp),%esi
  lea    D210(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L104:
  mov    $0x0,%ebx
  lea    D321(%rip),%r13
  lea    D206(%rip),%r12
  lea    D68(%rip),%rbp
L127:
  mov    0x24(%rsp),%r15d
  cmp    %ebx,%r15d
  mov    %r12,%rdx
  cmovg  %r13,%rdx
  mov    0xb0(%rsp,%rbx,4),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,%r15d
  jge    L127
L22:
  lea    D60(%rip),%rdi
  call   <puts@plt>
  mov    0x200b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L48
  mov    $0x0,%eax
  add    $0x200c8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L48:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D238
type_guessed: string
name: parse_data
arguments: tag: D187
type_guessed: string
name: parse_data
arguments: tag: D159
type_guessed: string
name: parse_data
arguments: tag: D309
type_guessed: string
name: parse_data
arguments: tag: D321
type_guessed: string
name: parse_data
arguments: tag: D282
type_guessed: string
name: parse_data
arguments: tag: D206
type_guessed: string
name: parse_data
arguments: tag: D341
type_guessed: string
name: parse_data
arguments: tag: D201
type_guessed: byte[4]
name: parse_data
arguments: tag: D279
type_guessed: byte[8]
name: parse_data
arguments: tag: D315
type_guessed: string
name: parse_data
arguments: tag: D252
type_guessed: byte[4]
name: parse_data
arguments: tag: D102
type_guessed: f32
name: parse_data
arguments: tag: D128
type_guessed: byte[8]
name: parse_data
arguments: tag: D56
type_guessed: byte[8]
name: parse_data
arguments: tag: D0
type_guessed: byte[8]
name: parse_data
arguments: tag: D123
type_guessed: byte[16]
name: parse_data
arguments: tag: D4
type_guessed: byte[16]
name: parse_data
arguments: tag: D342
type_guessed: byte[8]
name: parse_data
arguments: tag: D60
type_guessed: string
name: parse_data
arguments: tag: D266
type_guessed: string
name: parse_data
arguments: tag: D210
type_guessed: string
name: parse_data
arguments: tag: D68
type_guessed: string

tool: D238: /* This file is auto-generated using "gen_cdf %d %d" */



tool: D187: #include "pvq_code.h"


tool: D159: const ogg_uint16_t cdf_table[%d][16] = {


tool: D309:   {

tool: D321: ,

tool: D282: %5d%s

tool: 

tool: D341: },

tool: {"D201": [0x00,0x00,0x00,0x47]}

tool: {"D279": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D315: }%s


tool: {"D252": [0x00,0x00,0x80,0x40]}

tool: D102: 1

tool: {"D128": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xbf]}

tool: {"D56": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0xbf]}

tool: {"D0": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D123": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D4": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D342": [0x00,0x00,0x00,0x00,0x00,0x00,0x2c,0xc0]}

tool: D60: };

tool: D266: 


tool: D210: const unsigned char decayE[%d] = {


tool: D68:   %d%s


assistant: ```c
int main(int argc, char **argv) {
  int i;
  int N;
  int shift;
  int j;
  float p[16];
  int pi[16];
  int sum;
  int aN[32768];
  N = atoi(argv[1]);
  shift = atoi(argv[2]);
  printf("/* This file is auto-generated using \"gen_cdf %d %d\" */\n\n", N, shift);
  printf("#include \"pvq_code.h\"\n\n");
  printf("const ogg_uint16_t cdf_table[%d][16] = {\n", N + 1);
  printf("  {");
  for (j = 0; j < 16; j++) {
    printf("%5d%s", 32768U - 15 + j, j + 1 < 16 ? "," : "");
  }
  printf("},\n");
  aN[0] = 1;
  for (i = 1; i <= N; i++) {
    float Ex;
    float gamma;
    float a;
    int cdf;
    float maxp;
    int maxj;
    Ex = (float)i / (1 << shift);
    gamma = (sqrt(1 + 4 * Ex * Ex) - 1) / (2 * Ex);
    a = -.5 / log(gamma);
    aN[i] = floor(.5 + 256 * exp(-1. / a));
    p[0] = 1 - exp(-.5 / a);
    for (j = 1; j < 15; j++)
      p[j] = exp(-.5 / a) * (exp(-((float)j - 1.) / a) - exp(-(float)j / a));
    p[15] = exp(-.5 / a) * exp(-14. / a);
    sum = 0;
    maxp = 0;
    maxj = 0;
    for (j = 0; j < 16; j++) {
      if (p[j] > maxp) {
        maxp = p[j];
        maxj = j;
      }
      pi[j] = floor(.5 + 32768 * p[j]);
      if (pi[j] == 0)
        pi[j] = 1;
      sum += pi[j];
    }
    pi[maxj] += 32768 - sum;
    cdf = 0;
    printf("  {");
    for (j = 0; j < 16; j++) {
      cdf += pi[j];
      printf("%5d%s", cdf, j + 1 < 16 ? "," : "");
    }
    printf("}%s\n", i + 1 <= N ? "," : "");
  }
  printf("};\n");
  printf("\n\n");
  printf("const unsigned char decayE[%d] = {\n", N + 1);
  for (i = 0; i <= N; i++)
    printf("  %d%s\n", aN[i], i + 1 <= N ? "," : "");
  printf("};\n");
  return 0;
}
```