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

```asm
<formt>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x30(%rsp)
  mov    %rsi,0x38(%rsp)
  mov    %rdx,%rax
  mov    %r8,0x18(%rsp)
  mov    %r9,%r12
  mov    (%rdi),%ebx
  mov    %ebx,0x24(%rsp)
  lea    0x1(%rbx),%r9d
  movslq %r9d,%r9
  shl    $0x3,%r9
  sub    %r9,%rcx
  mov    %rcx,%rbp
  sub    %r9,%rsi
  mov    %rsi,%r14
  mov    (%r8),%esi
  test   %esi,%esi
  jle    L49
  lea    -0x8(%r9),%rdi
  add    $0x1,%esi
  mov    %r9,%rdx
  mov    $0x1,%ecx
L119:
  movsd  (%r12),%xmm0
  mulsd  0x0(%rbp,%rdx,1),%xmm0
  movsd  %xmm0,(%r14,%rdx,1)
  add    $0x1,%ecx
  add    %rdi,%rdx
  cmp    %esi,%ecx
  jne    L119
L49:
  mov    0x18(%rsp),%rbx
  mov    (%rbx),%edx
  cmp    $0x1,%edx
  jle    L59
  mov    0x24(%rsp),%ebx
  add    %ebx,%ebx
  mov    %ebx,0x20(%rsp)
  lea    0x8(%rax),%r13
  lea    0x1(%rdx),%ebx
  mov    %rbx,0x28(%rsp)
  lea    -0x8(%r9),%r8
  lea    -0x8(%rax),%r15
  movq   $0x2,0x10(%rsp)
  jmp    L81
L1:
  mov    %rax,%rdi
L4:
  mov    0xc(%rsp),%eax
  lea    (%rax,%rdi,1),%esi
  cmp    %r11d,%esi
  cmovg  %r11d,%esi
  cmp    $0x1,%esi
  jle    L60
  mov    %r15,%rcx
  mov    %r13,%rax
  pxor   %xmm1,%xmm1
  mov    $0x1,%edx
L90:
  movsd  (%rax),%xmm0
  mulsd  (%rax,%rdi,8),%xmm0
  divsd  0x8(%rcx),%xmm0
  addsd  %xmm0,%xmm1
  add    $0x1,%edx
  add    %r8,%rax
  add    %r9,%rcx
  cmp    %edx,%esi
  jne    L90
L77:
  movsd  (%r12),%xmm0
  mulsd  0x0(%rbp,%r10,1),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%r14,%r10,1)
  lea    0x1(%rdi),%rax
  add    %r8,%r10
  cmp    %rbx,%rdi
  jne    L1
L83:
  mov    0x24(%rsp),%ebx
  add    %ebx,0x20(%rsp)
  addq   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%rax
  add    $0x8,%r13
  cmp    0x28(%rsp),%rax
  je     L59
L81:
  mov    0x10(%rsp),%rax
  mov    %eax,0xc(%rsp)
  mov    %eax,%r11d
  mov    0x18(%rsp),%rbx
  mov    (%rbx),%ebx
  cmp    %eax,%ebx
  jl     L83
  movslq 0x20(%rsp),%r10
  add    %rax,%r10
  shl    $0x3,%r10
  sub    %eax,%ebx
  mov    $0x0,%edi
  jmp    L4
L60:
  pxor   %xmm1,%xmm1
  jmp    L77
L59:
  mov    0x80(%rsp),%rcx
  mov    0x18(%rsp),%rdx
  mov    0x30(%rsp),%rsi
  mov    0x38(%rsp),%rdi
  call   <dpofa@plt>
  mov    0x80(%rsp),%rax
  cmpl   $0x0,(%rax)
  je     L64
  movl   $0xfffffffd,(%rax)
L64:
  mov    $0x0,%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int formt(int *m, double *wt, double *sy, double *ss, int *col, double *theta, int *info) {
  int wt_dim1, wt_offset, sy_dim1, sy_offset, ss_dim1, ss_offset, i__1, i__2, i__3;
  int i__, j, k, k1;
  double ddum;
  ss_dim1 = *m;
  ss_offset = 1 + ss_dim1;
  ss -= ss_offset;
  sy_dim1 = *m;
  sy_offset = 1 + sy_dim1;
  sy -= sy_offset;
  wt_dim1 = *m;
  wt_offset = 1 + wt_dim1;
  wt -= wt_offset;
  i__1 = *col;
  for (j = 1; j <= i__1; ++j) {
    wt[j * wt_dim1 + 1] = *theta * ss[j * ss_dim1 + 1];
  }
  i__1 = *col;
  for (i__ = 2; i__ <= i__1; ++i__) {
    i__2 = *col;
    for (j = i__; j <= i__2; ++j) {
      k1 = ((i__) <= (j) ? (i__) : (j)) - 1;
      ddum = 0.;
      i__3 = k1;
      for (k = 1; k <= i__3; ++k) {
        ddum += sy[i__ + k * sy_dim1] * sy[j + k * sy_dim1] / sy[k + k * sy_dim1];
      }
      wt[i__ + j * wt_dim1] = ddum + *theta * ss[i__ + j * ss_dim1];
    }
  }
  dpofa(&wt[wt_offset], m, col, info);
  if (*info != 0) {
    *info = -3;
  }
  return 0;
}
```