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

```asm
<cyclic>:
  endbr64
  push   %r15
  mov    %rsi,%r11
  mov    %rdx,%r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  mov    %r9,%r12
  push   %rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x38,%rsp
  movss  %xmm0,0x8(%rsp)
  movss  %xmm1,0x20(%rsp)
  cmp    $0x2,%r9
  jbe    L53
L61:
  mov    %r12,%rsi
  mov    $0x1,%edi
  mov    %rcx,0x18(%rsp)
  mov    %r11,0x10(%rsp)
  call   <vector@plt>
  mov    %r12,%rsi
  mov    $0x1,%edi
  mov    %rax,%rbp
  call   <vector@plt>
  mov    %r12,%rsi
  mov    $0x1,%edi
  mov    %rax,%r13
  call   <vector@plt>
  mov    0x10(%rsp),%r11
  cmp    $0x2,%r12
  movss  D19(%rip),%xmm3
  mov    0x18(%rsp),%rcx
  mov    %rax,%r10
  movss  0x4(%r11),%xmm2
  movaps %xmm2,%xmm0
  movaps %xmm2,%xmm4
  addss  %xmm2,%xmm0
  xorps  %xmm3,%xmm4
  movss  %xmm0,0x4(%rbp)
  movss  0x8(%rsp),%xmm0
  mulss  0x20(%rsp),%xmm0
  movss  (%r11,%r12,4),%xmm1
  xorps  %xmm3,%xmm0
  divss  %xmm2,%xmm0
  subss  %xmm0,%xmm1
  movss  %xmm1,0x0(%rbp,%r12,4)
  jbe    L6
  mov    $0x2,%edx
  xchg   %ax,%ax
L55:
  movss  (%r11,%rdx,4),%xmm0
  mov    %rdx,%rax
  movss  %xmm0,0x0(%rbp,%rdx,4)
  add    $0x1,%rdx
  cmp    %rdx,%r12
  jne    L55
  mov    %r12,%r9
  mov    %rbx,%r8
  mov    %r15,%rdx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  mov    %r10,0x18(%rsp)
  movss  %xmm2,0x10(%rsp)
  mov    %rax,0x28(%rsp)
  movss  %xmm4,0x24(%rsp)
  call   <tridag@plt>
  mov    0x28(%rsp),%rax
  lea    0x8(%r13),%rdi
  xor    %esi,%esi
  movss  0x24(%rsp),%xmm4
  movss  0x8(%rsp),%xmm7
  lea    -0x4(,%rax,4),%rdx
  movss  %xmm4,0x4(%r13)
  movss  %xmm7,0x0(%r13,%r12,4)
  call   <memset@plt>
  movss  0x10(%rsp),%xmm2
  mov    0x18(%rsp),%r10
L3:
  mov    %r10,%r8
  mov    %r12,%r9
  mov    %r13,%rcx
  mov    %r15,%rdx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  mov    %r10,0x8(%rsp)
  movss  %xmm2,0x10(%rsp)
  call   <tridag@plt>
  movss  0x20(%rsp),%xmm5
  mov    0x8(%rsp),%r10
  movss  D19(%rip),%xmm3
  movss  (%rbx,%r12,4),%xmm1
  movss  0x10(%rsp),%xmm2
  mulss  %xmm5,%xmm1
  mulss  (%r10,%r12,4),%xmm5
  xorps  %xmm3,%xmm1
  divss  %xmm2,%xmm1
  movaps %xmm5,%xmm0
  xorps  %xmm3,%xmm0
  divss  %xmm2,%xmm0
  pxor   %xmm2,%xmm2
  addss  0x4(%rbx),%xmm1
  cvtss2sd 0x4(%r10),%xmm2
  addsd  D29(%rip),%xmm2
  cvtss2sd %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm2,%xmm0
  divsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  test   %r12,%r12
  je     L17
  mov    $0x1,%eax
  nop
L62:
  movss  (%r10,%rax,4),%xmm2
  movss  (%rbx,%rax,4),%xmm0
  mov    %rax,%rdx
  mulss  %xmm1,%xmm2
  subss  %xmm2,%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %rdx,%r12
  jne    L62
L17:
  mov    %r12,%rdx
  mov    %r10,%rdi
  mov    $0x1,%esi
  call   <free_vector@plt>
  mov    %r12,%rdx
  mov    %r13,%rdi
  mov    $0x1,%esi
  call   <free_vector@plt>
  add    $0x38,%rsp
  mov    %r12,%rdx
  mov    %rbp,%rdi
  pop    %rbx
  mov    $0x1,%esi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10a0 <free_vector@plt>
  nopw   0x0(%rax,%rax,1)
L53:
  lea    D23(%rip),%rdi
  mov    %rcx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <nrerror@plt>
  mov    0x18(%rsp),%rcx
  mov    0x10(%rsp),%r11
  jmp    L61
  nopl   (%rax)
L6:
  mov    %r12,%r9
  mov    %rbx,%r8
  mov    %r15,%rdx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  movss  %xmm4,0x24(%rsp)
  movss  %xmm2,0x10(%rsp)
  mov    %rax,0x18(%rsp)
  call   <tridag@plt>
  movss  0x24(%rsp),%xmm4
  movss  0x8(%rsp),%xmm7
  movss  0x10(%rsp),%xmm2
  mov    0x18(%rsp),%r10
  movss  %xmm4,0x4(%r13)
  movss  %xmm7,0x0(%r13,%r12,4)
  jmp    L3
```

tool_calls: name: retrieve_data
arguments: label: D19
data_type: byte[4]
name: retrieve_data
arguments: label: D29
data_type: f64
name: retrieve_data
arguments: label: D23
data_type: string

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

tool: D29: 1

tool: D23: n too small in cyclic

assistant: ```c
void cyclic(float a[], float b[], float c[], float alpha, float beta, float r[], float x[], unsigned long n) {
  void tridag(float a[], float b[], float c[], float r[], float u[], unsigned long n);
  unsigned long i;
  float fact, gamma, *bb, *u, *z;
  if (n <= 2)
    nrerror("n too small in cyclic");
  bb = vector(1, n);
  u = vector(1, n);
  z = vector(1, n);
  gamma = -b[1];
  bb[1] = b[1] - gamma;
  bb[n] = b[n] - alpha * beta / gamma;
  for (i = 2; i < n; i++)
    bb[i] = b[i];
  tridag(a, bb, c, r, x, n);
  u[1] = gamma;
  u[n] = alpha;
  for (i = 2; i < n; i++)
    u[i] = 0.0;
  tridag(a, bb, c, u, z, n);
  fact = (x[1] + beta * x[n] / gamma) / (1.0 + z[1] + beta * z[n] / gamma);
  for (i = 1; i <= n; i++)
    x[i] -= fact * z[i];
  free_vector(z, 1, n);
  free_vector(u, 1, n);
  free_vector(bb, 1, n);
}
```