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

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    $0x280,%r13d
  mov    $0x0,%eax
L76:
  add    $0x1,%eax
  sar    %r13d
  cmp    $0x7,%eax
  jne    L76
  lea    D244(%rip),%rdi
  call   <puts@plt>
  lea    D191(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%ebp
  jmp    L22
L89:
  add    $0x1,%ebp
  cmp    $0xa,%ebp
  je     L45
L22:
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebp,%xmm0
  addsd  D39(%rip),%xmm0
  mulsd  D202(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x0,%ebx
  lea    D181(%rip),%r12
L68:
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  addsd  D39(%rip),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D61(%rip),%xmm0
  call   <cos@plt>
  mulsd  D43(%rip),%xmm0
  mov    %r12,%rsi
  lea    D59(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    $0xa,%ebx
  je     L89
  cmp    $0x9,%ebp
  jne    L68
  cmp    $0x9,%ebx
  jne    L68
  lea    D239(%rip),%rsi
  movsd  D183(%rip),%xmm0
  lea    D59(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L45:
  lea    D14(%rip),%rdi
  call   <puts@plt>
  lea    D123(%rip),%rdi
  call   <puts@plt>
  lea    D191(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%ebp
  jmp    L93
L34:
  add    $0x1,%ebp
  cmp    $0xa,%ebp
  je     L110
L93:
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebp,%xmm0
  addsd  D39(%rip),%xmm0
  mulsd  D202(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x0,%ebx
  lea    D181(%rip),%r12
L67:
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  addsd  D39(%rip),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D61(%rip),%xmm0
  call   <cos@plt>
  mulsd  D238(%rip),%xmm0
  mov    %r12,%rsi
  lea    D59(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    $0xa,%ebx
  je     L34
  cmp    $0x9,%ebp
  jne    L67
  cmp    $0x9,%ebx
  jne    L67
  lea    D239(%rip),%rsi
  movsd  D188(%rip),%xmm0
  lea    D59(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L110:
  lea    D14(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%ebx
L61:
  mov    %r13d,%edi
  mov    %ebx,%ecx
  shl    %cl,%edi
  call   <set_up_one_table@plt>
  mov    %ebx,%eax
  add    $0x1,%ebx
  cmp    $0x6,%eax
  jle    L61
  mov    $0x0,%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D244
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D191
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D39
type_guessed: f64
name: extract_symbolic_data
arguments: data_tag: D202
type_guessed: f64
name: extract_symbolic_data
arguments: data_tag: D181
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D61
type_guessed: f64
name: extract_symbolic_data
arguments: data_tag: D43
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D59
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D239
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D183
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D14
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D123
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D238
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D188
type_guessed: byte[8]

tool: D244: static const float max_dct_core_a[] =

tool: D191: {

tool: D39: 0.5

tool: D202: 3.141592653589793

tool: D181: ,

tool: D61: 10

tool: {"D43": [0xd9,0xed,0xbf,0xc5,0x25,0x9f,0xac,0x3f]}

tool: D59:     %22.15ef%s


tool: 

tool: {"D183": [0xff,0xcf,0x3f,0x76,0x8f,0x88,0xac,0xbf]}

tool: D14: };


tool: D123: static const float dct_core_a[] =

tool: {"D238": [0x0f,0x49,0x48,0x62,0x13,0x3d,0xb4,0x3f]}

tool: {"D188": [0x7f,0x32,0x44,0xac,0x1a,0x2d,0xb4,0xbf]}

assistant: ```c
int main(int argc, char *argv[]) {
  int length_log;
  int i;
  int k;
  int dct_size;
  double scale;
  dct_size = 640;
  length_log = 0;
  while ((dct_size & 1) == 0) {
    length_log++;
    dct_size >>= 1;
  }
  scale = sqrt(2.0 / 640);
  printf("static const float max_dct_core_a[] =\n");
  printf("{\n");
  for (k = 0; k < 10; ++k) {
    for (i = 0; i < 10; ++i) {
      printf("    %22.15ef%s\n", cos(3.141592653589793238462 * (k + 0.5) * (i + 0.5) / 10.0) * scale, (k == 9 && i == 9) ? "" : ",");
    }
  }
  printf("};\n\n");
  scale = sqrt(2.0 / (640 >> 1));
  printf("static const float dct_core_a[] =\n");
  printf("{\n");
  for (k = 0; k < 10; ++k) {
    for (i = 0; i < 10; ++i) {
      printf("    %22.15ef%s\n", cos(3.141592653589793238462 * (k + 0.5) * (i + 0.5) / 10.0) * scale, (k == 9 && i == 9) ? "" : ",");
    }
  }
  printf("};\n\n");
  for (i = 0; i <= length_log; i++)
    set_up_one_table(dct_size << i);
  return 0;
}
```