user: Translate the below assembly code into C programming language:

```asm
<chebpc>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  lea    -0x1(%rdx),%r13d
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  movslq %r12d,%r15
  push   %rbx
  mov    %rsi,%rbx
  mov    %r13d,%esi
  sub    $0x38,%rsp
  mov    %rdi,0x8(%rsp)
  xor    %edi,%edi
  movaps %xmm4,0x20(%rsp)
  movaps %xmm3,0x10(%rsp)
  call   <vector@plt>
  test   %r12d,%r12d
  movaps 0x10(%rsp),%xmm3
  movaps 0x20(%rsp),%xmm4
  mov    %rax,%rbp
  jle    L172
  lea    0x0(,%r15,4),%r14
  lea    (%rbx,%r14,1),%rax
  cmp    %rax,%rbp
  jae    L53
  lea    0x0(%rbp,%r14,1),%rax
  cmp    %rax,%rbx
  jb     L10
L53:
  mov    %r14,%rdx
  xor    %esi,%esi
  mov    %rbp,%rdi
  movaps %xmm4,0x20(%rsp)
  movaps %xmm3,0x10(%rsp)
  call   <memset@plt>
  mov    %r14,%rdx
  xor    %esi,%esi
  mov    %rbx,%rdi
  call   <memset@plt>
  movaps 0x10(%rsp),%xmm3
  movaps 0x20(%rsp),%xmm4
L172:
  mov    0x8(%rsp),%rdi
  shl    $0x2,%r15
  lea    -0x4(%r15),%rax
  movss  -0x4(%rdi,%r15,1),%xmm0
  mov    %rax,0x10(%rsp)
  lea    -0x2(%r12),%eax
  mov    %eax,0x20(%rsp)
  movss  %xmm0,(%rbx)
  test   %eax,%eax
  jle    L205
  cltq
  lea    -0x8(%rbx),%r8
  lea    -0x4(%rbp),%rdx
  mov    $0x2,%r9d
  lea    -0x3(%r12),%r14d
  lea    (%rdi,%rax,4),%r11
  add    $0x3,%r14
  nopw   0x0(%rax,%rax,1)
L227:
  lea    0x10(%rdx),%rax
  lea    0x14(%r8),%rcx
  mov    %r9d,%r10d
  mov    %r9d,%edi
  cmp    %rax,%r8
  setae  %al
  cmp    %rcx,%rdx
  setae  %cl
  or     %cl,%al
  je     L24
  lea    -0x1(%r9),%eax
  cmp    $0x2,%eax
  jbe    L24
  mov    %r9d,%esi
  lea    0x4(%r8),%rcx
  xor    %eax,%eax
  shr    $0x2,%esi
  neg    %rsi
  shl    $0x4,%rsi
  nopw   0x0(%rax,%rax,1)
L219:
  movups (%r8,%rax,1),%xmm1
  movups (%rdx,%rax,1),%xmm2
  movups (%rcx,%rax,1),%xmm5
  shufps $0x1b,%xmm1,%xmm1
  movhlps %xmm1,%xmm3
  cvtps2pd %xmm1,%xmm0
  addpd  %xmm0,%xmm0
  cvtps2pd %xmm3,%xmm1
  addpd  %xmm1,%xmm1
  shufps $0x1b,%xmm2,%xmm2
  movhlps %xmm2,%xmm4
  cvtps2pd %xmm2,%xmm6
  cvtps2pd %xmm4,%xmm2
  subpd  %xmm6,%xmm0
  subpd  %xmm2,%xmm1
  cvtpd2ps %xmm0,%xmm0
  cvtpd2ps %xmm1,%xmm1
  movlhps %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,(%rcx,%rax,1)
  movups %xmm5,(%rdx,%rax,1)
  sub    $0x10,%rax
  cmp    %rax,%rsi
  jne    L219
  mov    %r10d,%eax
  and    $0xfffffffc,%eax
  sub    %eax,%edi
  cmp    %eax,%r10d
  je     L164
  movslq %edi,%r8
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  shl    $0x2,%r8
  cvtss2sd -0x4(%rbx,%r8,1),%xmm0
  addsd  %xmm0,%xmm0
  lea    0x0(%rbp,%r8,1),%rax
  lea    (%rbx,%r8,1),%rsi
  cvtss2sd (%rax),%xmm2
  mov    %edi,%r8d
  movss  (%rsi),%xmm1
  subsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rsi)
  movss  %xmm1,(%rax)
  sub    $0x1,%r8d
  je     L164
  movslq %r8d,%r8
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  shl    $0x2,%r8
  cvtss2sd -0x4(%rbx,%r8,1),%xmm0
  addsd  %xmm0,%xmm0
  lea    0x0(%rbp,%r8,1),%rax
  cvtss2sd (%rax),%xmm2
  lea    (%rbx,%r8,1),%rsi
  movss  (%rsi),%xmm1
  subsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rsi)
  movss  %xmm1,(%rax)
  sub    $0x2,%edi
  je     L164
  movslq %edi,%rdi
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  lea    0x0(,%rdi,4),%rax
  cvtss2sd -0x4(%rbx,%rax,1),%xmm0
  addsd  %xmm0,%xmm0
  lea    0x0(%rbp,%rax,1),%rsi
  cvtss2sd (%rsi),%xmm2
  lea    (%rbx,%rax,1),%rdi
  movss  (%rdi),%xmm1
  subsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rdi)
  movss  %xmm1,(%rsi)
L164:
  movss  (%r11),%xmm0
  movss  (%rbx),%xmm1
  add    $0x1,%r9
  mov    %rcx,%r8
  subss  0x0(%rbp),%xmm0
  sub    $0x4,%r11
  add    $0x4,%rdx
  movss  %xmm0,(%rbx)
  movss  %xmm1,0x0(%rbp)
  cmp    %r9,%r14
  jne    L227
L205:
  test   %r13d,%r13d
  jle    L16
  mov    0x10(%rsp),%rax
  lea    -0x8(%rbp,%r15,1),%rdx
  add    %rbx,%rax
  sub    %rdx,%rax
  add    $0x8,%rax
  cmp    $0x8,%rax
  jbe    L127
  cmp    $0x2,%r12d
  je     L127
  cmpl   $0x2,0x20(%rsp)
  jbe    L48
  mov    %r13d,%edx
  lea    -0x10(%r15),%rcx
  lea    -0x14(%rbx,%r15,1),%rdi
  xor    %eax,%eax
  shr    $0x2,%edx
  lea    0x0(%rbp,%rcx,1),%rsi
  add    %rbx,%rcx
  neg    %rdx
  shl    $0x4,%rdx
  nopl   (%rax)
L231:
  movups (%rdi,%rax,1),%xmm0
  movups (%rsi,%rax,1),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  subps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,(%rcx,%rax,1)
  sub    $0x10,%rax
  cmp    %rax,%rdx
  jne    L231
  mov    %r13d,%edx
  mov    %r13d,%eax
  and    $0xfffffffc,%edx
  and    $0x3,%eax
  test   $0x3,%r13b
  je     L16
  sub    %edx,%r12d
  lea    -0x1(%r12),%ecx
  cmp    $0x2,%r12d
  je     L102
L50:
  neg    %rdx
  lea    (%r15,%rdx,4),%rdx
  movq   -0xc(%rbx,%rdx,1),%xmm0
  movq   -0x8(%rbp,%rdx,1),%xmm1
  shufps $0xe1,%xmm0,%xmm0
  shufps $0xe1,%xmm1,%xmm1
  subps  %xmm1,%xmm0
  shufps $0xe1,%xmm0,%xmm0
  movlps %xmm0,-0x8(%rbx,%rdx,1)
  mov    %ecx,%edx
  and    $0xfffffffe,%edx
  sub    %edx,%eax
  cmp    %ecx,%edx
  je     L16
L102:
  cltq
  movss  -0x4(%rbx,%rax,4),%xmm0
  subss  0x0(%rbp,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,4)
L16:
  mov    0x8(%rsp),%rax
  pxor   %xmm1,%xmm1
  movss  0x0(%rbp),%xmm0
  xor    %esi,%esi
  xorps  D0(%rip),%xmm0
  mov    %r13d,%edx
  mov    %rbp,%rdi
  cvtss2sd (%rax),%xmm1
  mulsd  D11(%rip),%xmm1
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rbx)
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <free_vector@plt>
  nopl   (%rax)
L24:
  mov    %r9,%rax
  nopl   0x0(%rax,%rax,1)
L73:
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  movss  (%rbx,%rax,4),%xmm1
  cvtss2sd -0x4(%rbx,%rax,4),%xmm0
  addsd  %xmm0,%xmm0
  cvtss2sd 0x0(%rbp,%rax,4),%xmm2
  subsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  movss  %xmm1,0x0(%rbp,%rax,4)
  sub    $0x1,%rax
  test   %eax,%eax
  jg     L73
  lea    0x4(%r8),%rcx
  jmp    L164
L10:
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L98:
  movl   $0x0,0x0(%rbp,%rax,4)
  movl   $0x0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%r15
  jne    L98
  jmp    L172
L127:
  movslq %r13d,%rax
L180:
  movss  -0x4(%rbx,%rax,4),%xmm0
  subss  0x0(%rbp,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  sub    $0x1,%rax
  test   %eax,%eax
  jg     L180
  jmp    L16
L48:
  mov    %r13d,%ecx
  mov    %r13d,%eax
  xor    %edx,%edx
  jmp    L50
```

tool_calls: name: disassemble_data
arguments: data_tag: D0
type_infered: byte[16]
name: disassemble_data
arguments: data_tag: D11
type_infered: f64

tool: {"D0": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D11: 0.5

assistant: ```c
void chebpc(float c[], float d[], int n) {
  int k, j;
  float sv, *dd;
  dd = vector(0, n - 1);
  for (j = 0; j < n; j++)
    d[j] = dd[j] = 0.0;
  d[0] = c[n - 1];
  for (j = n - 2; j >= 1; j--) {
    for (k = n - j; k >= 1; k--) {
      sv = d[k];
      d[k] = 2.0 * d[k - 1] - dd[k];
      dd[k] = sv;
    }
    sv = d[0];
    d[0] = -dd[0] + c[j];
    dd[0] = sv;
  }
  for (j = n - 1; j >= 1; j--)
    d[j] = d[j - 1] - dd[j];
  d[0] = -dd[0] + 0.5 * c[0];
  free_vector(dd, 0, n - 1);
}
```