user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %r15
  xor    %eax,%eax
  push   %r14
  push   %r13
  mov    $0x280,%r13d
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  nopw   0x0(%rax,%rax,1)
L105:
  add    $0x1,%eax
  sar    %r13d
  cmp    $0x7,%eax
  jne    L105
  lea    D246(%rip),%rdi
  lea    D108(%rip),%r12
  xor    %r14d,%r14d
  call   <puts@plt>
  mov    %r12,%rdi
  lea    D4(%rip),%rbx
  lea    D268(%rip),%rbp
  call   <puts@plt>
  pxor   %xmm1,%xmm1
  mov    D124(%rip),%rax
  cvtsi2sd %r14d,%xmm1
  movq   %rax,%xmm0
  nopl   0x0(%rax)
L111:
  addsd  D233(%rip),%xmm1
  mulsd  D1(%rip),%xmm1
  xor    %r15d,%r15d
  movsd  %xmm1,0x8(%rsp)
  nopl   0x0(%rax)
L106:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x1,%r15d
  mulsd  D132(%rip),%xmm0
  call   <printf@plt>
  cmp    $0xa,%r15d
  je     L47
  pxor   %xmm0,%xmm0
  cvtsi2sd %r15d,%xmm0
  addsd  D233(%rip),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D33(%rip),%xmm0
  call   <cos@plt>
  cmp    $0x9,%r14d
  jne    L106
  cmp    $0x9,%r15d
  jne    L106
  mulsd  D132(%rip),%xmm0
  lea    D36(%rip),%rsi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L80:
  lea    D269(%rip),%r14
  mov    %r14,%rdi
  call   <puts@plt>
  lea    D204(%rip),%rdi
  call   <puts@plt>
  mov    %r12,%rdi
  xor    %r12d,%r12d
  call   <puts@plt>
  pxor   %xmm1,%xmm1
  mov    D124(%rip),%rax
  cvtsi2sd %r12d,%xmm1
  movq   %rax,%xmm0
  nopl   (%rax)
L84:
  addsd  D233(%rip),%xmm1
  mulsd  D1(%rip),%xmm1
  xor    %r15d,%r15d
  movsd  %xmm1,0x8(%rsp)
  nopl   0x0(%rax)
L54:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x1,%r15d
  mulsd  D101(%rip),%xmm0
  call   <printf@plt>
  cmp    $0xa,%r15d
  je     L43
  pxor   %xmm0,%xmm0
  cvtsi2sd %r15d,%xmm0
  addsd  D233(%rip),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D33(%rip),%xmm0
  call   <cos@plt>
  cmp    $0x9,%r12d
  jne    L54
  cmp    $0x9,%r15d
  jne    L54
  mulsd  D101(%rip),%xmm0
  lea    D36(%rip),%rsi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L64:
  mov    %r14,%rdi
  xor    %ebx,%ebx
  call   <puts@plt>
  nopl   0x0(%rax)
L94:
  mov    %ebx,%ecx
  mov    %r13d,%edi
  shl    %cl,%edi
  call   <set_up_one_table@plt>
  mov    %ebx,%eax
  add    $0x1,%ebx
  cmp    $0x7,%eax
  jne    L94
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L43:
  add    $0x1,%r12d
  cmp    $0xa,%r12d
  je     L64
  pxor   %xmm1,%xmm1
  movsd  D233(%rip),%xmm0
  cvtsi2sd %r12d,%xmm1
  addsd  %xmm1,%xmm0
  mulsd  D1(%rip),%xmm0
  movsd  %xmm1,0x8(%rsp)
  mulsd  D233(%rip),%xmm0
  divsd  D33(%rip),%xmm0
  call   <cos@plt>
  movsd  0x8(%rsp),%xmm1
  jmp    L84
L47:
  add    $0x1,%r14d
  cmp    $0xa,%r14d
  je     L80
  pxor   %xmm1,%xmm1
  movsd  D233(%rip),%xmm0
  cvtsi2sd %r14d,%xmm1
  addsd  %xmm1,%xmm0
  mulsd  D1(%rip),%xmm0
  movsd  %xmm1,0x8(%rsp)
  mulsd  D233(%rip),%xmm0
  divsd  D33(%rip),%xmm0
  call   <cos@plt>
  movsd  0x8(%rsp),%xmm1
  jmp    L111
```

tool_calls: name: unpack_data
arguments: data_tag: D246
type_infered: string
name: unpack_data
arguments: data_tag: D108
type_infered: string
name: unpack_data
arguments: data_tag: D4
type_infered: string
name: unpack_data
arguments: data_tag: D268
type_infered: string
name: unpack_data
arguments: data_tag: D124
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D233
type_infered: f64
name: unpack_data
arguments: data_tag: D1
type_infered: f64
name: unpack_data
arguments: data_tag: D132
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D33
type_infered: f64
name: unpack_data
arguments: data_tag: D36
type_infered: string
name: unpack_data
arguments: data_tag: D269
type_infered: string
name: unpack_data
arguments: data_tag: D204
type_infered: string
name: unpack_data
arguments: data_tag: D101
type_infered: byte[8]

tool: D246: static const float max_dct_core_a[] =

tool: D108: {

tool: D4: ,

tool: D268:     %22.15ef%s


tool: {"D124": [0xaf,0x60,0x26,0x2e,0xbf,0xe6,0xef,0x3f]}

tool: D233: 0.5

tool: D1: 3.141592653589793

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

tool: D33: 10

tool: 

tool: D269: };


tool: D204: static const float dct_core_a[] =

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

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;
}
```