user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x20000(%rsp),%r11
L82:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L82
  sub    $0xe8,%rsp
  lea    D134(%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,0x34(%rsp)
  call   <atoi@plt>
  mov    %r14d,%esi
  lea    D235(%rip),%rdi
  mov    %eax,%edx
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <printf@plt>
  lea    D126(%rip),%rdi
  call   <puts@plt>
  lea    0x1(%r14),%eax
  lea    D204(%rip),%rdi
  mov    %eax,%esi
  mov    %eax,0x4c(%rsp)
  xor    %eax,%eax
  lea    D169(%rip),%r14
  call   <printf@plt>
  lea    D159(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  nopl   (%rax)
L85:
  lea    0x7ff1(%rbx),%esi
  mov    %r13,%rdx
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    $0xf,%ebx
  jne    L85
  lea    D100(%rip),%rdx
  mov    $0x8000,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D226(%rip),%rdi
  call   <puts@plt>
  mov    0x34(%rsp),%eax
  movl   $0x1,0xd0(%rsp)
  test   %eax,%eax
  jle    L24
  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,0x38(%rsp)
  lea    0x90(%rsp),%rax
  mov    %rax,0x18(%rsp)
  lea    0x94(%rsp),%rax
  mov    %rax,0x40(%rsp)
  movss  %xmm7,0x48(%rsp)
  nopl   0x0(%rax)
L0:
  mov    0x28(%rsp),%rbx
  pxor   %xmm0,%xmm0
  mov    $0x1,%ebp
  movss  D30(%rip),%xmm1
  cvtsi2ss %ebx,%xmm0
  divss  0x48(%rsp),%xmm0
  mulss  %xmm0,%xmm1
  movss  %xmm0,0xc(%rsp)
  mulss  %xmm0,%xmm1
  addss  D200(%rip),%xmm1
  cvttss2si %xmm1,%edi
  call   <sqrt@plt>
  movss  0xc(%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  D130(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm6
  movsd  D275(%rip),%xmm0
  cvtss2sd %xmm6,%xmm5
  movss  %xmm6,0x30(%rsp)
  movsd  %xmm5,0x10(%rsp)
  divsd  %xmm5,%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  shl    $0x8,%eax
  cvtsi2sd %eax,%xmm0
  addsd  D319(%rip),%xmm0
  call   <floor@plt>
  mov    0x38(%rsp),%rcx
  movsd  D130(%rip),%xmm0
  divsd  0x10(%rsp),%xmm0
  cvttsd2si %xmm0,%r15d
  mov    %eax,(%rcx,%rbx,4)
  mov    %r15d,%edi
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  mov    %r12,0x20(%rsp)
  mov    %rbp,%r12
  mov    %eax,%r9d
  mov    $0x1,%eax
  sub    %r9d,%eax
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,0x50(%rsp)
  nopl   (%rax)
L159:
  mov    %r15d,%edi
  call   <exp@plt>
  pxor   %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ss %r12d,%xmm1
  mov    %eax,%ebp
  cvtss2sd %xmm1,%xmm0
  subsd  D92(%rip),%xmm0
  movss  %xmm1,0xc(%rsp)
  xorpd  D295(%rip),%xmm0
  divsd  0x10(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <exp@plt>
  movss  0xc(%rsp),%xmm1
  xorps  D244(%rip),%xmm1
  divss  0x30(%rsp),%xmm1
  cvttss2si %xmm1,%edi
  mov    %eax,%ebx
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  sub    %eax,%ebx
  mov    0x20(%rsp),%rax
  imul   %ebp,%ebx
  cvtsi2ss %ebx,%xmm0
  movss  %xmm0,(%rax,%r12,4)
  add    $0x1,%r12
  cmp    $0xf,%r12
  jne    L159
  mov    %r15d,%edi
  mov    %rax,%r12
  xor    %ebp,%ebp
  xor    %r15d,%r15d
  call   <exp@plt>
  movsd  D93(%rip),%xmm0
  divsd  0x10(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  mov    %eax,%ebx
  call   <exp@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  movl   $0x0,0x10(%rsp)
  imul   %eax,%ebx
  mov    %r12,%rax
  mov    %r15d,%r12d
  mov    %rbp,%r15
  mov    %rax,%rbp
  cvtsi2ss %ebx,%xmm0
  movss  %xmm0,0x8c(%rsp)
  nopl   (%rax)
L116:
  movss  0x0(%rbp,%r15,4),%xmm0
  mov    %r12d,%ebx
  comiss %xmm1,%xmm0
  movaps %xmm0,%xmm2
  mulss  D279(%rip),%xmm0
  maxss  %xmm1,%xmm2
  cmova  %r15d,%ebx
  movss  %xmm2,0xc(%rsp)
  mov    %ebx,%r12d
  cvtss2sd %xmm0,%xmm0
  addsd  D319(%rip),%xmm0
  call   <floor@plt>
  movss  0xc(%rsp),%xmm1
  test   %eax,%eax
  jne    L52
  mov    0x18(%rsp),%rax
  addl   $0x1,0x10(%rsp)
  movl   $0x1,(%rax,%r15,4)
  add    $0x1,%r15
  cmp    $0x10,%r15
  jne    L116
L128:
  movslq %ebx,%rbx
  mov    $0x8000,%eax
  lea    D159(%rip),%rdi
  mov    %rbp,%r12
  sub    0x10(%rsp),%eax
  add    %eax,0x90(%rsp,%rbx,4)
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x40(%rsp),%rbx
  mov    0x38(%rsp),%r15
  mov    0x90(%rsp),%ebp
  nopl   0x0(%rax)
L152:
  mov    %ebp,%esi
  mov    %r13,%rdx
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  add    -0x4(%rbx),%ebp
  cmp    %rbx,%r15
  jne    L152
  mov    %ebp,%esi
  lea    D100(%rip),%rdx
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x28(%rsp),%ecx
  mov    %r13,%rsi
  cmp    %ecx,0x34(%rsp)
  jg     L105
  lea    D100(%rip),%rsi
L105:
  lea    D63(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  addq   $0x1,0x28(%rsp)
  mov    0x28(%rsp),%rax
  cmp    %eax,0x34(%rsp)
  jge    L0
  lea    D115(%rip),%rbp
  mov    %rbp,%rdi
  call   <puts@plt>
  lea    D162(%rip),%rdi
  call   <puts@plt>
  mov    0x4c(%rsp),%esi
  lea    D1(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L63:
  mov    0x34(%rsp),%r14d
  mov    0x38(%rsp),%r15
  xor    %r12d,%r12d
  lea    D251(%rip),%rbx
  xchg   %ax,%ax
L7:
  mov    (%r15,%r12,4),%esi
  lea    D100(%rip),%rdx
  cmp    %r12d,%r14d
  jle    L40
  mov    %r13,%rdx
L40:
  mov    %rbx,%rdi
  xor    %eax,%eax
  add    $0x1,%r12
  call   <printf@plt>
  cmp    %r12d,%r14d
  jge    L7
L25:
  mov    %rbp,%rdi
  call   <puts@plt>
  mov    0x200d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L95
  add    $0x200e8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L52:
  mov    0x18(%rsp),%rdx
  add    %eax,0x10(%rsp)
  mov    %eax,(%rdx,%r15,4)
  add    $0x1,%r15
  cmp    $0x10,%r15
  jne    L116
  jmp    L128
L24:
  lea    D115(%rip),%rbp
  mov    %rbp,%rdi
  call   <puts@plt>
  lea    D162(%rip),%rdi
  call   <puts@plt>
  mov    0x4c(%rsp),%esi
  xor    %eax,%eax
  lea    D1(%rip),%rdi
  call   <printf@plt>
  cmpl   $0x0,0x34(%rsp)
  jne    L25
  lea    0xd0(%rsp),%rax
  mov    %rax,0x38(%rsp)
  jmp    L63
L95:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D134
type_guessed: string
name: unpack_data
arguments: label: D235
type_guessed: string
name: unpack_data
arguments: label: D126
type_guessed: string
name: unpack_data
arguments: label: D204
type_guessed: string
name: unpack_data
arguments: label: D169
type_guessed: string
name: unpack_data
arguments: label: D159
type_guessed: string
name: unpack_data
arguments: label: D100
type_guessed: string
name: unpack_data
arguments: label: D226
type_guessed: string
name: unpack_data
arguments: label: D30
type_guessed: byte[4]
name: unpack_data
arguments: label: D200
type_guessed: f32
name: unpack_data
arguments: label: D130
type_guessed: byte[8]
name: unpack_data
arguments: label: D275
type_guessed: byte[8]
name: unpack_data
arguments: label: D319
type_guessed: byte[8]
name: unpack_data
arguments: label: D92
type_guessed: byte[8]
name: unpack_data
arguments: label: D295
type_guessed: byte[16]
name: unpack_data
arguments: label: D244
type_guessed: byte[16]
name: unpack_data
arguments: label: D93
type_guessed: byte[8]
name: unpack_data
arguments: label: D279
type_guessed: byte[4]
name: unpack_data
arguments: label: D63
type_guessed: string
name: unpack_data
arguments: label: D115
type_guessed: string
name: unpack_data
arguments: label: D162
type_guessed: string
name: unpack_data
arguments: label: D1
type_guessed: string
name: unpack_data
arguments: label: D251
type_guessed: string

tool: D134: ,

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



tool: D126: #include "pvq_code.h"


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


tool: D169: %5d%s

tool: D159:   {

tool: 

tool: D226: },

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

tool: D200: 1

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

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

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

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

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

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

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

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

tool: D63: }%s


tool: D115: };

tool: D162: 


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


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