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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x20000(%rsp),%r11
L13:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L13
  sub    $0xe8,%rsp
  lea    D301(%rip),%r13
  mov    0x8(%rsi),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x200d8(%rsp)
  xor    %eax,%eax
  mov    %rsi,%rbx
  call   <atoi@plt>
  mov    0x10(%rbx),%rdi
  xor    %ebx,%ebx
  mov    %eax,%r14d
  mov    %eax,0x3c(%rsp)
  call   <atoi@plt>
  mov    %r14d,%esi
  lea    D146(%rip),%rdi
  mov    %eax,%edx
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <printf@plt>
  lea    D227(%rip),%rdi
  call   <puts@plt>
  lea    0x1(%r14),%eax
  lea    D158(%rip),%rdi
  mov    %eax,%esi
  mov    %eax,0x4c(%rsp)
  xor    %eax,%eax
  lea    D339(%rip),%r14
  call   <printf@plt>
  lea    D75(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  nopl   (%rax)
L51:
  lea    0x7ff1(%rbx),%esi
  mov    %r14,%rdx
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    $0xf,%ebx
  jne    L51
  lea    D213(%rip),%rdx
  mov    $0x8000,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D296(%rip),%rdi
  call   <puts@plt>
  mov    0x3c(%rsp),%eax
  test   %eax,%eax
  jle    L36
  mov    %r12d,%ecx
  mov    $0x1,%eax
  pxor   %xmm7,%xmm7
  movq   $0x1,0x28(%rsp)
  shl    %cl,%eax
  lea    0x50(%rsp),%r12
  cvtsi2ss %eax,%xmm7
  lea    0xd0(%rsp),%rax
  mov    %rax,0x30(%rsp)
  lea    0x90(%rsp),%rax
  mov    %rax,0x10(%rsp)
  lea    0x94(%rsp),%rax
  mov    %rax,0x40(%rsp)
  movss  %xmm7,0x48(%rsp)
  xchg   %ax,%ax
L66:
  mov    0x28(%rsp),%rbx
  pxor   %xmm0,%xmm0
  mov    $0x1,%ebp
  movss  D247(%rip),%xmm1
  cvtsi2ss %ebx,%xmm0
  divss  0x48(%rsp),%xmm0
  mulss  %xmm0,%xmm1
  movss  %xmm0,0x20(%rsp)
  mulss  %xmm0,%xmm1
  addss  D282(%rip),%xmm1
  cvttss2si %xmm1,%edi
  call   <sqrt@plt>
  movss  0x20(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  sub    $0x1,%eax
  cvtsi2ss %eax,%xmm1
  addss  %xmm0,%xmm0
  divss  %xmm0,%xmm1
  movaps %xmm1,%xmm0
  call   <log@plt>
  pxor   %xmm6,%xmm6
  pxor   %xmm5,%xmm5
  movapd %xmm0,%xmm1
  movsd  D73(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm6
  movsd  D4(%rip),%xmm0
  cvtss2sd %xmm6,%xmm5
  movss  %xmm6,0x24(%rsp)
  movsd  %xmm5,0x8(%rsp)
  divsd  %xmm5,%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  shl    $0x8,%eax
  cvtsi2sd %eax,%xmm0
  addsd  D7(%rip),%xmm0
  call   <floor@plt>
  mov    0x30(%rsp),%rsi
  movsd  D73(%rip),%xmm0
  divsd  0x8(%rsp),%xmm0
  cvttsd2si %xmm0,%r15d
  mov    %eax,(%rsi,%rbx,4)
  mov    %r15d,%edi
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  mov    %r12,0x18(%rsp)
  mov    %rbp,%r12
  mov    %eax,%r9d
  mov    $0x1,%eax
  sub    %r9d,%eax
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,0x38(%rsp)
  nopl   (%rax)
L73:
  mov    %r15d,%edi
  call   <exp@plt>
  pxor   %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ss %r12d,%xmm1
  mov    %eax,%ebp
  cvtss2sd %xmm1,%xmm0
  subsd  D226(%rip),%xmm0
  movss  %xmm1,0x20(%rsp)
  xorpd  D169(%rip),%xmm0
  divsd  0x8(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  movss  0x20(%rsp),%xmm1
  xorps  D110(%rip),%xmm1
  divss  0x24(%rsp),%xmm1
  cvttss2si %xmm1,%edi
  mov    %eax,%ebx
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  sub    %eax,%ebx
  mov    0x18(%rsp),%rax
  imul   %ebp,%ebx
  cvtsi2ss %ebx,%xmm0
  movss  %xmm0,(%rax,%r12,4)
  add    $0x1,%r12
  cmp    $0xf,%r12
  jne    L73
  movss  0x38(%rsp),%xmm0
  mov    %r15d,%edi
  mov    %rax,%r12
  xor    %r15d,%r15d
  xor    %ebp,%ebp
  movss  %xmm0,0x20(%rsp)
  call   <exp@plt>
  movsd  D185(%rip),%xmm1
  divsd  0x8(%rsp),%xmm1
  cvttsd2si %xmm1,%edi
  mov    %eax,%ebx
  call   <exp@plt>
  pxor   %xmm1,%xmm1
  movss  0x20(%rsp),%xmm0
  imul   %eax,%ebx
  mov    %r15d,%eax
  mov    %rbp,%r15
  mov    %eax,%ebp
  cvtsi2ss %ebx,%xmm1
  xor    %ebx,%ebx
  movss  %xmm1,0x8c(%rsp)
  pxor   %xmm1,%xmm1
  jmp    L96
  nop
L41:
  movss  (%r12,%r15,4),%xmm0
  movss  0x20(%rsp),%xmm1
L96:
  comiss %xmm1,%xmm0
  movaps %xmm0,%xmm2
  mulss  D31(%rip),%xmm0
  maxss  %xmm1,%xmm2
  cmova  %r15d,%ebp
  movss  %xmm2,0x20(%rsp)
  cvtss2sd %xmm0,%xmm0
  addsd  D7(%rip),%xmm0
  call   <floor@plt>
  mov    $0x1,%ecx
  mov    0x10(%rsp),%rdx
  test   %eax,%eax
  cmove  %ecx,%eax
  mov    %eax,(%rdx,%r15,4)
  add    $0x1,%r15
  add    %eax,%ebx
  cmp    $0x10,%r15
  jne    L41
  movslq %ebp,%rdx
  mov    $0x8000,%eax
  lea    D75(%rip),%rdi
  sub    %ebx,%eax
  add    %eax,0x90(%rsp,%rdx,4)
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x40(%rsp),%rbx
  mov    0x30(%rsp),%r15
  mov    0x90(%rsp),%ebp
  nopl   0x0(%rax,%rax,1)
L85:
  mov    %ebp,%esi
  mov    %r14,%rdx
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  add    -0x4(%rbx),%ebp
  cmp    %rbx,%r15
  jne    L85
  lea    D213(%rip),%rdx
  mov    %ebp,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x28(%rsp),%rbx
  mov    0x3c(%rsp),%r15d
  lea    D339(%rip),%rax
  lea    D213(%rip),%rsi
  lea    D92(%rip),%rdi
  cmp    %ebx,%r15d
  cmovg  %rax,%rsi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  mov    %rbx,0x28(%rsp)
  cmp    %ebx,%r15d
  jge    L66
  lea    D68(%rip),%r13
  mov    %r13,%rdi
  call   <puts@plt>
  lea    D104(%rip),%rdi
  call   <puts@plt>
  mov    0x4c(%rsp),%esi
  lea    D244(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L117:
  mov    0x3c(%rsp),%r15d
  xor    %ebx,%ebx
  mov    $0x1,%esi
  lea    D277(%rip),%r14
  lea    D339(%rip),%r12
  lea    D213(%rip),%rbp
  jmp    L64
  nopl   (%rax)
L91:
  mov    0xd0(%rsp,%rbx,4),%esi
L64:
  cmp    %ebx,%r15d
  mov    %rbp,%rdx
  mov    %r14,%rdi
  cmovg  %r12,%rdx
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,%r15d
  jge    L91
L39:
  mov    %r13,%rdi
  call   <puts@plt>
  mov    0x200d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0x200e8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L36:
  lea    D68(%rip),%r13
  mov    %r13,%rdi
  call   <puts@plt>
  lea    D104(%rip),%rdi
  call   <puts@plt>
  mov    0x4c(%rsp),%esi
  xor    %eax,%eax
  lea    D244(%rip),%rdi
  call   <printf@plt>
  cmpl   $0x0,0x3c(%rsp)
  jne    L39
  jmp    L117
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D301
type_guessed: string
name: read_data
arguments: tag: D146
type_guessed: string
name: read_data
arguments: tag: D227
type_guessed: string
name: read_data
arguments: tag: D158
type_guessed: string
name: read_data
arguments: tag: D339
type_guessed: string
name: read_data
arguments: tag: D75
type_guessed: string
name: read_data
arguments: tag: D213
type_guessed: string
name: read_data
arguments: tag: D296
type_guessed: string
name: read_data
arguments: tag: D247
type_guessed: byte[4]
name: read_data
arguments: tag: D282
type_guessed: f32
name: read_data
arguments: tag: D73
type_guessed: byte[8]
name: read_data
arguments: tag: D4
type_guessed: byte[8]
name: read_data
arguments: tag: D7
type_guessed: byte[8]
name: read_data
arguments: tag: D226
type_guessed: byte[8]
name: read_data
arguments: tag: D169
type_guessed: byte[16]
name: read_data
arguments: tag: D110
type_guessed: byte[16]
name: read_data
arguments: tag: D185
type_guessed: byte[8]
name: read_data
arguments: tag: D31
type_guessed: byte[4]
name: read_data
arguments: tag: D92
type_guessed: string
name: read_data
arguments: tag: D68
type_guessed: string
name: read_data
arguments: tag: D104
type_guessed: string
name: read_data
arguments: tag: D244
type_guessed: string
name: read_data
arguments: tag: D277
type_guessed: string

tool: D301: %5d%s

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



tool: D227: #include "pvq_code.h"


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


tool: D339: ,

tool: D75:   {

tool: 

tool: D296: },

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

tool: D282: 1

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

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

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

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

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

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

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

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

tool: D92: }%s


tool: D68: };

tool: D104: 


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


tool: D277:   %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;
}
```