user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r13
  lea    D74(%rip),%rdi
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    D7(%rip),%rdi
  call   <puts@plt>
  lea    D10(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D66(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rdx
  lea    0x8(%rsp),%rsi
  xor    %eax,%eax
  lea    D24(%rip),%rdi
  call   <scanf@plt>
  lea    D17(%rip),%rdi
  call   <puts@plt>
  movslq 0x8(%rsp),%rdx
  test   %edx,%edx
  js     L37
  lea    0x10(%rsp),%rbx
  xor    %ebp,%ebp
  lea    D27(%rip),%r13
  mov    %rbx,%r12
  nopw   0x0(%rax,%rax,1)
L53:
  mov    %r12,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebp
  call   <scanf@plt>
  movslq 0x8(%rsp),%rdx
  add    $0x4,%r12
  cmp    %ebp,%edx
  jge    L53
  test   %edx,%edx
  jle    L37
  lea    -0x1(%rdx),%ecx
  movss  0xc(%rsp),%xmm2
  mov    %rbx,%rax
  pxor   %xmm1,%xmm1
  lea    0x14(%rsp,%rcx,4),%rcx
  xchg   %ax,%ax
L11:
  pxor   %xmm0,%xmm0
  add    $0x4,%rax
  cvtsi2ssl -0x4(%rax),%xmm0
  addss  %xmm0,%xmm1
  mulss  %xmm2,%xmm1
  cmp    %rax,%rcx
  jne    L11
L8:
  pxor   %xmm0,%xmm0
  lea    D3(%rip),%rdi
  mov    $0x1,%eax
  cvtsi2ssl 0x10(%rsp,%rdx,4),%xmm0
  addss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L51
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L37:
  pxor   %xmm1,%xmm1
  jmp    L8
L51:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D74
type_guessed: string
name: unpack_data
arguments: data_label: D7
type_guessed: string
name: unpack_data
arguments: data_label: D10
type_guessed: string
name: unpack_data
arguments: data_label: D66
type_guessed: string
name: unpack_data
arguments: data_label: D24
type_guessed: string
name: unpack_data
arguments: data_label: D17
type_guessed: string
name: unpack_data
arguments: data_label: D27
type_guessed: string
name: unpack_data
arguments: data_label: D3
type_guessed: string

tool: D74: 
*********************************************************************

tool: D7: 
*	PROGRAM TO EVALUATE A POLYNOMIAL USING HORNERS METHOD	    *

tool: D10: *********************************************************************

tool: D66: 
Enter the degree of the polynomial and value of x

tool: D24: %d%f

tool: D17: 
Enter the coefficients 

tool: D27: %d

tool: D3: 
Value of polynomial after evaluation=%f


assistant: ```c
int main(void) {
  int iDeg, i, iaCoeff[10];
  float fX, fSum = 0;
  printf("\n*********************************************************************");
  printf("\n*\tPROGRAM TO EVALUATE A POLYNOMIAL USING HORNERS METHOD\t    *\n");
  printf("*********************************************************************");
  printf("\nEnter the degree of the polynomial and value of x\n");
  scanf("%d%f", &iDeg, &fX);
  printf("\nEnter the coefficients \n");
  for (i = 0; i <= iDeg; i++) {
    scanf("%d", &iaCoeff[i]);
  }
  for (i = 0; i < iDeg; ++i) {
    fSum = (fSum + iaCoeff[i]) * fX;
  }
  fSum = fSum + iaCoeff[iDeg];
  printf("\nValue of polynomial after evaluation=%f\n", fSum);
  return 0;
}
```