user: 请将以下的汇编代码转换成C语言代码：

```asm
<form_LP1>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,-0x4(%rsp)
  mov    %rcx,%r10
  mov    %r8,%r11
  mov    0x68(%rsp),%r15
  movslq 0x38(%rsp),%r12
  lea    0x0(,%r12,4),%r14
  mov    0x50(%rsp),%rax
  mov    (%rax,%r12,4),%eax
  mov    %eax,-0x10(%rsp)
  mov    0x48(%rsp),%rax
  mov    -0x4(%rax,%r14,1),%eax
  mov    %eax,-0x8(%rsp)
  mov    0x40(%rsp),%rax
  mov    (%rax,%r12,4),%eax
  mov    0x78(%rsp),%rdx
  movl   $0x0,(%rdx,%r12,4)
  mov    (%rcx),%esi
  cmp    %esi,%eax
  jle    L103
  movslq %eax,%rdx
  lea    (%r8,%rdx,8),%r8
  lea    0x0(,%r12,8),%rbp
  mov    %rbp,%rdi
  add    0x70(%rsp),%rdi
  add    %r15,%rbp
  movslq %esi,%rdx
  shl    $0x2,%rdx
  mov    $0xffffffff,%ecx
  jmp    L127
L86:
  mov    (%rdi),%rbx
  movl   $0xffffffff,(%rbx,%rdx,1)
L66:
  add    $0x1,%esi
  add    $0x4,%rdx
  cmp    %esi,%eax
  je     L122
L127:
  mov    (%r8),%rbx
  cmpl   $0x0,(%rbx,%rdx,1)
  je     L86
  add    $0x1,%ecx
  movslq %ecx,%r13
  mov    0x0(%rbp),%rbx
  mov    %esi,(%rbx,%r13,4)
  mov    (%rdi),%rbx
  mov    %ecx,(%rbx,%rdx,1)
  jmp    L66
L103:
  mov    $0xffffffff,%ecx
L122:
  lea    0x0(,%r12,8),%rdi
  mov    %rdi,%r8
  add    0x70(%rsp),%r8
  movslq %eax,%r13
  lea    0x0(,%r13,4),%rdx
  mov    (%r8),%rsi
  movl   $0xffffffff,(%rsi,%r13,4)
  add    $0x1,%eax
  cmp    0x4(%r10),%eax
  jge    L179
  lea    (%r11,%r13,8),%r11
  add    $0x4,%rdx
  mov    %ecx,%esi
  jmp    L158
L118:
  mov    (%r8),%rbx
  movl   $0xffffffff,(%rbx,%rdx,1)
L111:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %eax,0x4(%r10)
  jle    L43
L158:
  mov    (%r11),%rbx
  cmpl   $0x0,(%rbx,%rdx,1)
  je     L118
  add    $0x1,%esi
  movslq %esi,%rbp
  mov    (%r15,%rdi,1),%rbx
  mov    %eax,(%rbx,%rbp,4)
  mov    (%r8),%rbx
  mov    %esi,(%rbx,%rdx,1)
  jmp    L111
L179:
  mov    %ecx,%esi
L43:
  cmpl   $0x0,-0x10(%rsp)
  jne    L150
  add    $0x1,%ecx
  mov    %esi,%r8d
  sub    %ecx,%r8d
  mov    0x58(%rsp),%rax
  mov    (%rax,%r12,4),%edx
  sub    $0x1,%edx
  mov    $0x1,%eax
  cmp    %edx,%r8d
  jl     L84
L150:
  add    0x80(%rsp),%r14
  mov    %r14,-0x10(%rsp)
  mov    %esi,(%r14)
  test   %esi,%esi
  js     L98
  lea    -0x8(%r9,%rdi,1),%r11
  lea    0x0(,%r13,8),%r10
  movslq -0x4(%rsp),%r14
  shl    $0x3,%r14
  mov    -0x8(%rsp),%eax
  lea    -0x1(%rax),%eax
  lea    0x8(,%rax,8),%rbp
  mov    $0x0,%r12d
L64:
  mov    (%r15,%rdi,1),%rax
  mov    (%rax,%r12,4),%r13d
  cmpl   $0x0,-0x8(%rsp)
  jle    L7
  movslq %r13d,%r8
  shl    $0x3,%r8
  lea    0x0(,%r12,8),%rbx
  mov    $0x0,%eax
L62:
  mov    (%r11),%rcx
  mov    (%r9,%rdi,1),%rdx
  mov    (%rdx,%rbx,1),%rdx
  mov    (%rcx,%r8,1),%rsi
  mov    (%rcx,%r10,1),%rcx
  movsd  (%rsi,%rax,1),%xmm0
  subsd  (%rcx,%rax,1),%xmm0
  movsd  %xmm0,(%rdx,%rax,1)
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L62
L7:
  mov    (%r11),%rdx
  mov    (%r9,%rdi,1),%rax
  mov    (%rax,%r12,8),%rax
  movslq %r13d,%r13
  mov    (%rdx,%r13,8),%rcx
  mov    (%rdx,%r10,1),%rdx
  movsd  (%rcx,%r14,1),%xmm0
  subsd  (%rdx,%r14,1),%xmm0
  movsd  %xmm0,(%rax,%r14,1)
  mov    -0x10(%rsp),%rax
  mov    (%rax),%eax
  add    $0x1,%r12
  cmp    %r12d,%eax
  jge    L64
  test   %eax,%eax
  js     L98
  mov    $0x0,%eax
  mov    -0x10(%rsp),%rcx
  mov    0x60(%rsp),%rsi
L100:
  mov    (%rsi,%rdi,1),%rdx
  movl   $0x1,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,(%rcx)
  jge    L100
L98:
  mov    $0x0,%eax
L84:
  mov    0x88(%rsp),%rdx
  mov    %eax,(%rdx)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void form_LP1(int nVar, int nSpt, int *SptType, int *SptIdx, int **RelTab, double ***A, int Lvl, int *Cell, int *Lvl2LPdim, int *FixLstPt, int *MinNumPt, int **PtIn, int **ToOrig, int **Pre2Cur, int *FrstPt, int *LstPt, int *info) {
  int i, j, j1, FixPt, nPtIn, Strt1Pt;
  const int Lvl1 = Lvl - 1;
  const int ynFixLstPt = FixLstPt[Lvl];
  const int PreLPdim = Lvl2LPdim[Lvl - 1];
  FixPt = Cell[Lvl];
  nPtIn = -1;
  FrstPt[Lvl] = 0;
  for (i = SptIdx[0]; i < FixPt; i++)
    if (RelTab[FixPt][i]) {
      ToOrig[Lvl][++nPtIn] = i;
      Pre2Cur[Lvl][i] = nPtIn;
    } else
      Pre2Cur[Lvl][i] = -1;
  Pre2Cur[Lvl][FixPt] = -1;
  Strt1Pt = nPtIn + 1;
  for (i = FixPt + 1; i < SptIdx[1]; i++)
    if (RelTab[FixPt][i]) {
      ToOrig[Lvl][++nPtIn] = i;
      Pre2Cur[Lvl][i] = nPtIn;
    } else
      Pre2Cur[Lvl][i] = -1;
  if (!ynFixLstPt && nPtIn - Strt1Pt < MinNumPt[Lvl] - 1) {
    *info = 1;
    return;
  }
  LstPt[Lvl] = nPtIn;
  for (i = 0; i <= LstPt[Lvl]; i++) {
    j = ToOrig[Lvl][i];
    for (j1 = 0; j1 < PreLPdim; j1++)
      A[Lvl][i][j1] = A[Lvl1][j][j1] - A[Lvl1][FixPt][j1];
    A[Lvl][i][nVar] = A[Lvl1][j][nVar] - A[Lvl1][FixPt][nVar];
  }
  for (i = 0; i <= LstPt[Lvl]; i++)
    PtIn[Lvl][i] = 1;
  *info = 0;
}
```