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

```asm
<prints>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdi,%r12
  mov    %rsi,%rbp
  mov    %rdx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    %rdx,%rax
  shl    $0x4,%rax
  fldz
  fldt   -0x10(%rsi,%rax,1)
  fucomi %st(1),%st
  fstp   %st(1)
  jp     L12
  jne    L12
  fstp   %st(0)
L163:
  sub    $0x2,%rbx
  je     L88
  lea    D59(%rip),%r13
  lea    D40(%rip),%r14
  jmp    L10
L12:
  lea    -0x1(%rbx),%rdx
  mov    %rsp,%r13
  lea    -0x10(%rsp),%rsp
  fstpt  (%rsp)
  lea    D61(%rip),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  mov    %r13,%rsp
  jmp    L163
L167:
  fchs
  lea    D85(%rip),%rdx
L151:
  mov    %rsp,%r15
  lea    -0x10(%rsp),%rsp
  fstpt  (%rsp)
  mov    %r13,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  mov    %r15,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  mov    %r15,%rsp
  cmp    $0x1,%rbx
  je     L6
  mov    %rsp,%rdi
  mov    %rbx,%rdx
  mov    %r14,%rsi
  mov    $0x0,%eax
  call   <sprintf@plt>
L24:
  mov    %rsp,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L63
L174:
  fstp   %st(0)
L63:
  sub    $0x1,%rbx
  je     L88
L10:
  mov    %rbx,%rax
  shl    $0x4,%rax
  fldz
  fldt   0x0(%rbp,%rax,1)
  fucomi %st(1),%st
  fstp   %st(1)
  jp     L187
  je     L174
L187:
  fldz
  fcomip %st(1),%st
  ja     L167
  fldz
  fcomip %st(1),%st
  lea    D85(%rip),%rdx
  lea    D32(%rip),%rax
  cmovbe %rax,%rdx
  jmp    L151
L6:
  movw   $0x782a,(%rsp)
  movb   $0x0,0x2(%rsp)
  jmp    L24
L88:
  fldz
  fldt   0x0(%rbp)
  fucomi %st(1),%st
  fstp   %st(1)
  jp     L113
  je     L105
L113:
  fldz
  fcomip %st(1),%st
  ja     L135
  fldz
  fcomip %st(1),%st
  lea    D85(%rip),%rdx
  lea    D32(%rip),%rax
  cmovbe %rax,%rdx
L46:
  mov    %rsp,%rdi
  lea    -0x10(%rsp),%rsp
  fstpt  (%rsp)
  lea    D4(%rip),%rsi
  mov    $0x0,%eax
  call   <sprintf@plt>
  add    $0x10,%rsp
L7:
  mov    %rsp,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L153
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L135:
  fchs
  lea    D85(%rip),%rdx
  jmp    L46
L105:
  fstp   %st(0)
  movw   $0xa,(%rsp)
  jmp    L7
L153:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D59
type_guessed: string
name: retrieve_data
arguments: data_tag: D40
type_guessed: string
name: retrieve_data
arguments: data_tag: D61
type_guessed: string
name: retrieve_data
arguments: data_tag: D85
type_guessed: string
name: retrieve_data
arguments: data_tag: D32
type_guessed: string
name: retrieve_data
arguments: data_tag: D4
type_guessed: string

tool: D59: %s%.4Lf

tool: D40: *x**%lu

tool: D61: %.4Lf*x**%lu

tool: D85:  - 

tool: D32:  + 

tool: D4: %s%.4Lf


assistant: ```c
void prints(char function[], long double *degrees, unsigned long size) {
  unsigned long i;
  char trash[100];
  if (degrees[size - 1] != 0) {
    sprintf(trash, "%.4Lf*x**%lu", degrees[size - 1], size - 1);
    strcat(function, trash);
  }
  for (i = size - 2; i > 0; i--) {
    if (degrees[i] != 0) {
      sprintf(trash, "%s%.4Lf", ((degrees[i] < 0) ? " - " : " + "), ((degrees[i] < 0) ? -degrees[i] : degrees[i]));
      strcat(function, trash);
      if (i != 1)
        sprintf(trash, "*x**%lu", i);
      else
        sprintf(trash, "*x");
      strcat(function, trash);
    }
  }
  if (degrees[i] != 0)
    sprintf(trash, "%s%.4Lf\n", ((degrees[i] < 0) ? " - " : " + "), ((degrees[i] < 0) ? -degrees[i] : degrees[i]));
  else
    sprintf(trash, "\n");
  strcat(function, trash);
}
```