user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<syscon_load_dobldobl_polynomial>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rsi
  mov    %edi,0x4(%rsp)
  call   <syscon_dobldobl_size_limit@plt>
  mov    (%rsp),%edi
  mov    $0x4,%esi
  call   <calloc@plt>
  xor    %ecx,%ecx
  mov    $0x6a,%edi
  xor    %r8d,%r8d
  lea    0x4(%rsp),%rsi
  mov    %rax,%rdx
  mov    %rax,%rbp
  call   <_ada_use_c2phc4c@plt>
  mov    0x4(%rsp),%ecx
  mov    %eax,%r12d
  movslq %ecx,%rdi
  test   %ecx,%ecx
  jle    L52
  lea    0x0(%rbp,%rdi,4),%rdx
  lea    (%rbx,%rdi,1),%rsi
  mov    %rbp,%rax
  cmp    %rdx,%rbx
  setae  %dl
  cmp    %rsi,%rbp
  setae  %sil
  or     %sil,%dl
  je     L184
  lea    -0x1(%rcx),%edx
  cmp    $0xe,%edx
  jbe    L184
  mov    %ecx,%esi
  movdqa D7(%rip),%xmm3
  mov    %rbx,%rdx
  shr    $0x4,%esi
  shl    $0x6,%rsi
  add    %rbp,%rsi
  nopl   0x0(%rax)
L8:
  movdqu (%rax),%xmm0
  movdqu 0x10(%rax),%xmm5
  add    $0x40,%rax
  add    $0x10,%rdx
  movdqu -0x10(%rax),%xmm7
  movdqa %xmm0,%xmm1
  punpcklwd %xmm5,%xmm0
  punpckhwd %xmm5,%xmm1
  movdqa %xmm0,%xmm2
  punpckhwd %xmm1,%xmm2
  punpcklwd %xmm1,%xmm0
  movdqu -0x20(%rax),%xmm1
  punpcklwd %xmm2,%xmm0
  movdqa %xmm1,%xmm2
  punpcklwd %xmm7,%xmm1
  pand   %xmm3,%xmm0
  punpckhwd %xmm7,%xmm2
  movdqa %xmm1,%xmm4
  punpckhwd %xmm2,%xmm4
  punpcklwd %xmm2,%xmm1
  punpcklwd %xmm4,%xmm1
  pand   %xmm3,%xmm1
  packuswb %xmm1,%xmm0
  movups %xmm0,-0x10(%rdx)
  cmp    %rsi,%rax
  jne    L8
  mov    %ecx,%eax
  and    $0xfffffff0,%eax
  test   $0xf,%cl
  je     L52
  mov    %eax,%esi
  mov    0x0(%rbp,%rsi,4),%r8d
  lea    0x0(,%rsi,4),%rdx
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x1(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x4(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x2(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x8(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x3(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0xc(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x4(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x10(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x5(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x14(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x6(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x18(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x7(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x1c(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x8(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x20(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0x9(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x24(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0xa(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x28(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0xb(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x2c(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0xc(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x30(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  mov    %r8b,(%rbx,%rsi,1)
  lea    0xd(%rax),%esi
  cmp    %esi,%ecx
  jle    L52
  mov    0x34(%rbp,%rdx,1),%r8d
  movslq %esi,%rsi
  add    $0xe,%eax
  mov    %r8b,(%rbx,%rsi,1)
  cmp    %eax,%ecx
  jle    L52
  mov    0x38(%rbp,%rdx,1),%edx
  cltq
  mov    %dl,(%rbx,%rax,1)
  nopl   0x0(%rax)
L52:
  movb   $0x0,(%rbx,%rdi,1)
  mov    %rbp,%rdi
  call   <free@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L30
  add    $0x10,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L184:
  mov    %ecx,%ecx
  mov    %rbx,%rdx
  lea    0x0(%rbp,%rcx,4),%rsi
  nopw   0x0(%rax,%rax,1)
L84:
  mov    (%rax),%ecx
  add    $0x4,%rax
  add    $0x1,%rdx
  mov    %cl,-0x1(%rdx)
  cmp    %rsi,%rax
  jne    L84
  jmp    L52
L30:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D7
datatype: byte[16]

tool: {"D7": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

assistant: ```c
int syscon_load_dobldobl_polynomial(int k, int *nc, char *p) {
  int fail, i, szl;
  int *buffer;
  int size = k;
  double *c;
  fail = syscon_dobldobl_size_limit(k, &szl);
  buffer = (int *)calloc(szl, sizeof(int));
  fail = _ada_use_c2phc4c(106, &size, buffer, c, 0);
  for (i = 0; i < size; i++)
    p[i] = (char)buffer[i];
  p[size] = '\0';
  free(buffer);
  return fail;
}
```