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

```asm
<main>:
  endbr64
  push   %r15
  lea    D20(%rip),%rdi
  mov    $0x1,%eax
  push   %r14
  mov    $0x8000,%r14d
  push   %r13
  lea    D24(%rip),%r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  mov    $0x5b,%ebp
  push   %rbx
  sub    $0x18,%rsp
  movsd  D79(%rip),%xmm1
  movapd %xmm1,%xmm0
  call   <printf@plt>
  lea    D11(%rip),%rdi
  call   <puts@plt>
  mov    D79(%rip),%rax
  pxor   %xmm0,%xmm0
  mov    %r13,%rdi
  mov    $0x8000,%edx
  mov    $0x8000,%esi
  movq   %rax,%xmm1
  mov    $0x2,%eax
  call   <printf@plt>
  pxor   %xmm2,%xmm2
  movd   %xmm2,%r15d
  jmp    L38
  nopl   (%rax)
L35:
  movsd  D59(%rip),%xmm0
  pxor   %xmm3,%xmm3
  movss  %xmm2,0xc(%rsp)
  cvtss2sd %xmm2,%xmm3
  movsd  %xmm3,(%rsp)
  mulsd  %xmm3,%xmm0
  divsd  D19(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  call   <cosf@plt>
  mov    %r13,%rdi
  movaps %xmm0,%xmm1
  movss  D69(%rip),%xmm0
  movsd  (%rsp),%xmm3
  mov    $0x2,%eax
  mulss  %xmm1,%xmm0
  cvtss2sd %xmm1,%xmm1
  addss  D87(%rip),%xmm0
  cvttss2si %xmm0,%ebx
  movapd %xmm3,%xmm0
  sar    %ebx
  mov    %ebx,%edx
  mov    %ebx,%esi
  call   <printf@plt>
  mov    %r14d,%edx
  movss  0xc(%rsp),%xmm2
  sub    %ebx,%edx
  mov    %edx,%eax
  neg    %eax
  cmovs  %edx,%eax
  cmp    $0xffffffff,%r14d
  je     L28
  cmp    %r12d,%eax
  jle    L28
  mov    %eax,%r12d
  movd   %xmm2,%r15d
L28:
  mov    %ebx,%r14d
L38:
  addss  D27(%rip),%xmm2
  sub    $0x1,%ebp
  jne    L35
  lea    D22(%rip),%rdi
  call   <puts@plt>
  movd   %r15d,%xmm4
  mov    %r12d,%edx
  mov    %r12d,%esi
  pxor   %xmm0,%xmm0
  lea    D57(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm4,%xmm0
  call   <printf@plt>
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D20
datatype: string
name: disassemble_data
arguments: tag: D24
datatype: string
name: disassemble_data
arguments: tag: D79
datatype: f32[2]
name: disassemble_data
arguments: tag: D11
datatype: string
name: disassemble_data
arguments: tag: D59
datatype: f64
name: disassemble_data
arguments: tag: D19
datatype: f32[2]
name: disassemble_data
arguments: tag: D69
datatype: byte[4]
name: disassemble_data
arguments: tag: D87
datatype: byte[4]
name: disassemble_data
arguments: tag: D27
datatype: byte[4]
name: disassemble_data
arguments: tag: D22
datatype: string
name: disassemble_data
arguments: tag: D57
datatype: string

tool: D20: // cos table in 1.15 fixed point format in units of %f degrees


tool: D24:   %8d, // 0x%04x, cos(%2.f)=%f


tool: {"D79": [0.0,1.875]}

tool: D11: static const int NvSFx_cos_fx_table[] = {

tool: D59: 3.141592653589793

tool: {"D19": [0.0,3.6015625]}

tool: {"D69": [0x00,0x00,0x80,0x47]}

tool: {"D87": [0x00,0x00,0xc0,0x3f]}

tool: {"D27": [0x00,0x00,0x80,0x3f]}

tool: D22: };

tool: D57: // biggest delta is %d [0x%x] at degree %f


assistant: ```c
int main() {
  float deg, cos_deg;
  float biggestDeltaDegree = 0;
  int fxCos;
  int lastCos = -1;
  int biggestDelta = 0;
  printf("// cos table in 1.15 fixed point format in units of %f degrees\n", (1.0f));
  printf("static const int NvSFx_cos_fx_table[] = {\n");
  for (deg = 0.0f; deg <= 90.0f + (0.0001f); deg += (1.0f)) {
    cos_deg = cosf((float)(deg * 3.14159265358979323846 / 180.0f));
    fxCos = (int)(cos_deg * 65536.0f + 1.5f) >> 1;
    printf("  %8d, // 0x%04x, cos(%2.f)=%f\n", fxCos, fxCos, deg, cos_deg);
    if ((biggestDelta < abs(lastCos - fxCos)) && (lastCos != -1)) {
      biggestDelta = abs(lastCos - fxCos);
      biggestDeltaDegree = deg;
    }
    lastCos = fxCos;
  }
  printf("};\n");
  printf("// biggest delta is %d [0x%x] at degree %f\n", biggestDelta, biggestDelta, biggestDeltaDegree);
  return 0;
}
```