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

```asm
<formt>:
  endbr64
  push   %r15
  mov    %rsi,%r11
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x68,%rsp
  mov    (%rdi),%r15d
  mov    %r9,0x10(%rsp)
  lea    0x1(%r15),%r9d
  mov    %rdx,0x30(%rsp)
  movslq %r9d,%rdx
  mov    %rsi,0x48(%rsp)
  mov    %rcx,%rsi
  lea    0x0(,%rdx,8),%r14
  mov    %rdi,0x50(%rsp)
  sub    %r14,%rsi
  sub    %r14,%rbx
  sub    %r14,%r11
  mov    %r8,0x58(%rsp)
  mov    %rsi,0x18(%rsp)
  mov    %rbx,%rsi
  mov    (%r8),%ebx
  mov    %r11,0x20(%rsp)
  mov    %ebx,0x28(%rsp)
  test   %ebx,%ebx
  jle    L83
  cmp    $0x1,%r15d
  jne    L7
  mov    %rcx,%rax
  movslq %ebx,%rcx
  mov    0x48(%rsp),%rdi
  mov    0x10(%rsp),%r11
  lea    0x10(,%rcx,8),%rcx
  mov    $0x10,%edx
  sub    %r14,%rcx
  sub    %r14,%rdx
  add    %rdi,%rcx
  mov    %rdx,%r8
  lea    (%rdi,%rdx,1),%rdx
  cmp    %rcx,%r11
  lea    0x8(%r11),%rcx
  setae  %dil
  cmp    %rcx,%rdx
  setae  %cl
  or     %dil,%cl
  je     L58
  mov    %rax,%rcx
  sub    %r14,%rcx
  add    $0x18,%rcx
  cmp    %rcx,%rdx
  lea    -0x1(%rbx),%ecx
  setne  %dil
  cmp    $0x1,%ecx
  seta   %cl
  test   %cl,%dil
  je     L58
  movsd  (%r11),%xmm1
  shr    %ebx
  add    %r8,%rax
  xor    %ecx,%ecx
  mov    %ebx,%edi
  unpcklpd %xmm1,%xmm1
  shl    $0x4,%rdi
L160:
  movupd (%rax,%rcx,1),%xmm0
  mulpd  %xmm1,%xmm0
  movups %xmm0,(%rdx,%rcx,1)
  add    $0x10,%rcx
  cmp    %rdi,%rcx
  jne    L160
  mov    0x28(%rsp),%ebx
  mov    %ebx,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%ebx
  je     L6
  mov    0x18(%rsp),%rbx
  cltq
  add    $0x2,%rax
  movsd  (%rbx,%rax,8),%xmm0
  mov    0x10(%rsp),%rbx
  mulsd  (%rbx),%xmm0
  mov    0x20(%rsp),%rbx
  movsd  %xmm0,(%rbx,%rax,8)
L6:
  cmpl   $0x1,0x28(%rsp)
  jle    L83
  mov    0x30(%rsp),%rax
  lea    (%r9,%r9,1),%ebp
  lea    -0x8(%r14),%r8
  pxor   %xmm3,%xmm3
  movslq %ebp,%rbp
  movl   $0x1,0x4(%rsp)
  mov    $0x2,%r11d
  add    $0x8,%rax
  shl    $0x3,%rbp
  mov    %rax,0x8(%rsp)
  mov    0x28(%rsp),%eax
  lea    -0x10(%rbp),%r9
  mov    %rbp,0x38(%rsp)
  add    $0x1,%eax
  mov    %eax,0x44(%rsp)
  nopw   0x0(%rax,%rax,1)
L169:
  mov    0x4(%rsp),%eax
  mov    0x38(%rsp),%r12
  mov    %r11d,%r10d
  mov    0x8(%rsp),%r13
  mov    %eax,%edi
  mov    %eax,%ebx
  or     $0x1,%eax
  and    $0xfffffffe,%edi
  mov    %eax,0x40(%rsp)
  shr    %ebx
  mov    %edi,0x2c(%rsp)
  nopl   (%rax)
L111:
  cmp    $0x2,%r11d
  je     L63
  mov    0x30(%rsp),%rcx
  mov    0x8(%rsp),%rdx
  mov    %r13,%rax
  xor    %edi,%edi
  movapd %xmm3,%xmm1
  nopl   (%rax)
L134:
  movsd  (%rax),%xmm0
  movsd  (%rdx),%xmm2
  add    $0x1,%edi
  movhpd (%rdx,%r8,1),%xmm2
  movhpd (%rax,%r8,1),%xmm0
  add    %r9,%rdx
  add    %r9,%rax
  mulpd  %xmm2,%xmm0
  movsd  (%rcx),%xmm2
  movhpd (%rcx,%r14,1),%xmm2
  add    %rbp,%rcx
  divpd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  unpckhpd %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  cmp    %ebx,%edi
  jne    L134
  mov    0x2c(%rsp),%edi
  cmp    %edi,0x4(%rsp)
  je     L156
  mov    0x40(%rsp),%edi
L33:
  mov    %r15d,%eax
  imul   %edi,%eax
  lea    (%r10,%rax,1),%ecx
  lea    (%r11,%rax,1),%edx
  add    %edi,%eax
  movslq %ecx,%rcx
  movslq %edx,%rdx
  cltq
  movsd  (%rsi,%rcx,8),%xmm0
  mulsd  (%rsi,%rdx,8),%xmm0
  divsd  (%rsi,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
L156:
  mov    0x10(%rsp),%rax
  add    $0x1,%r10d
  add    $0x8,%r13
  movsd  (%rax),%xmm0
  mov    0x18(%rsp),%rax
  mulsd  (%rax,%r12,1),%xmm0
  mov    0x20(%rsp),%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax,%r12,1)
  add    %r8,%r12
  cmp    %r10d,0x28(%rsp)
  jge    L111
  addl   $0x1,0x4(%rsp)
  add    $0x1,%r11d
  addq   $0x8,0x8(%rsp)
  add    %r14,0x38(%rsp)
  cmp    0x44(%rsp),%r11d
  jne    L169
L83:
  mov    0x58(%rsp),%rdx
  mov    0xa0(%rsp),%rcx
  mov    0x50(%rsp),%rsi
  mov    0x48(%rsp),%rdi
  call   <dpofa@plt>
  mov    0xa0(%rsp),%rax
  mov    (%rax),%edx
  test   %edx,%edx
  je     L25
  movl   $0xfffffffd,(%rax)
L25:
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L63:
  movapd %xmm3,%xmm1
  mov    $0x1,%edi
  jmp    L33
L7:
  mov    %r11,%r10
  mov    0x18(%rsp),%r8
  mov    0x10(%rsp),%r11
  lea    0x1(%rbx),%ecx
  lea    -0x8(%r14),%rdi
  mov    %r14,%rax
  mov    $0x1,%edx
L34:
  movsd  (%r11),%xmm0
  mulsd  (%r8,%rax,1),%xmm0
  add    $0x1,%edx
  movsd  %xmm0,(%r10,%rax,1)
  add    %rdi,%rax
  cmp    %ecx,%edx
  jne    L34
  jmp    L6
L58:
  mov    0x28(%rsp),%eax
  mov    0x18(%rsp),%rcx
  mov    0x20(%rsp),%rdi
  mov    0x10(%rsp),%r8
  lea    0x2(%rax),%edx
  mov    $0x2,%eax
L56:
  movsd  (%r8),%xmm0
  mulsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,(%rdi,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L56
  jmp    L6
```

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;
}
```