user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<ludcmp>:
  endbr64
  push   %r15
  xor    %eax,%eax
  mov    %rcx,%r15
  push   %r14
  push   %r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    $0x1,%edi
  sub    $0x28,%rsp
  mov    %rdx,0x8(%rsp)
  mov    %rcx,0x10(%rsp)
  call   <vector@plt>
  movss  D18(%rip),%xmm5
  mov    %rax,%r9
  movss  %xmm5,(%r15)
  test   %r12d,%r12d
  jle    L240
  lea    -0x1(%r12),%esi
  mov    $0x1,%ecx
  movss  D15(%rip),%xmm2
  pxor   %xmm4,%xmm4
  lea    0x8(,%rsi,4),%rdi
  nopl   0x0(%rax,%rax,1)
L210:
  mov    (%rbx,%rcx,8),%rdx
  movaps %xmm4,%xmm1
  lea    0x4(%rdx),%rax
  add    %rdi,%rdx
  xchg   %ax,%ax
L152:
  movss  (%rax),%xmm0
  add    $0x4,%rax
  andps  %xmm2,%xmm0
  maxss  %xmm1,%xmm0
  movaps %xmm0,%xmm1
  cmp    %rax,%rdx
  jne    L152
  ucomiss %xmm4,%xmm0
  jp     L255
  je     L175
L255:
  movaps %xmm5,%xmm0
  divss  %xmm1,%xmm0
  movss  %xmm0,(%r9,%rcx,4)
  add    $0x1,%rcx
  cmp    %ecx,%r12d
  jge    L210
  lea    0x2(%rsi),%rax
  movss  D27(%rip),%xmm6
  mov    $0xffffffff,%r11d
  mov    $0x1,%r10d
  mov    %rax,0x18(%rsp)
  mov    $0x1,%r8d
  movss  D4(%rip),%xmm7
  nopl   0x0(%rax,%rax,1)
L189:
  lea    0x0(,%r10,4),%rdx
  cmp    $0x1,%r8d
  je     L23
  mov    0x8(%rbx),%r15
  mov    %r11d,%r14d
  mov    $0x2,%esi
  add    $0x2,%r14
  lea    (%r15,%rdx,1),%r13
  movss  0x0(%r13),%xmm1
  movss  %xmm1,0x0(%r13)
  cmp    %rsi,%r14
  je     L65
  nopl   0x0(%rax,%rax,1)
L203:
  mov    (%rbx,%rsi,8),%rdi
  lea    (%rdi,%rdx,1),%r13
  movss  0x0(%r13),%xmm1
  cmp    $0x1,%esi
  jle    L35
  mov    %r15,%rcx
  mov    $0x1,%eax
  jmp    L174
  nopl   (%rax)
L102:
  mov    (%rbx,%rax,8),%rcx
L174:
  movss  (%rcx,%rdx,1),%xmm0
  mulss  (%rdi,%rax,4),%xmm0
  add    $0x1,%rax
  subss  %xmm0,%xmm1
  cmp    %rax,%rsi
  jne    L102
L35:
  add    $0x1,%rsi
  movss  %xmm1,0x0(%r13)
  cmp    %rsi,%r14
  jne    L203
L65:
  cmp    %r8d,%r12d
  jl     L34
L23:
  mov    %r11d,%edi
  mov    %r10,%r13
  movaps %xmm4,%xmm3
  add    $0x2,%rdi
  nopl   0x0(%rax)
L82:
  mov    (%rbx,%r13,8),%rsi
  mov    %r13d,%r15d
  lea    (%rsi,%rdx,1),%r14
  movss  (%r14),%xmm1
  cmp    $0x1,%r8d
  je     L16
  mov    $0x1,%eax
  nopl   0x0(%rax,%rax,1)
L93:
  mov    (%rbx,%rax,8),%rcx
  movss  (%rcx,%rdx,1),%xmm0
  mulss  (%rsi,%rax,4),%xmm0
  add    $0x1,%rax
  subss  %xmm0,%xmm1
  cmp    %rax,%rdi
  jne    L93
L16:
  movss  %xmm1,(%r14)
  andps  %xmm2,%xmm1
  mulss  (%r9,%r13,4),%xmm1
  comiss %xmm3,%xmm1
  jb     L64
  movaps %xmm1,%xmm3
  mov    %r15d,%ebp
L64:
  add    $0x1,%r13
  cmp    %r13d,%r12d
  jge    L82
L34:
  mov    (%rbx,%r10,8),%rcx
  cmp    %r8d,%ebp
  jne    L183
L51:
  add    %rdx,%rcx
  mov    0x8(%rsp),%rax
  ucomiss (%rcx),%xmm4
  mov    %ebp,(%rax,%r10,4)
  jp     L104
  jne    L104
  movss  %xmm6,(%rcx)
L104:
  add    $0x1,%r8d
  cmp    %r10d,%r12d
  je     L129
  movaps %xmm5,%xmm1
  divss  (%rcx),%xmm1
  cmp    %r8d,%r12d
  jl     L240
  movslq %r8d,%rax
  nopl   0x0(%rax)
L226:
  mov    (%rbx,%rax,8),%rcx
  add    $0x1,%rax
  add    %rdx,%rcx
  movss  (%rcx),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rcx)
  cmp    %eax,%r12d
  jge    L226
L126:
  add    $0x1,%r10
  add    $0x1,%r11d
  jmp    L189
L129:
  cmp    %r8d,%r12d
  jge    L126
L240:
  mov    %r12d,%edx
  xor    %eax,%eax
  mov    $0x1,%esi
  mov    %r9,%rdi
  call   <free_vector@plt>
  add    $0x28,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L183:
  movslq %ebp,%rdi
  mov    0x18(%rsp),%r13
  mov    $0x1,%eax
  mov    (%rbx,%rdi,8),%rsi
  nopl   (%rax)
L148:
  movss  (%rsi,%rax,4),%xmm0
  movss  (%rcx,%rax,4),%xmm1
  movss  %xmm1,(%rsi,%rax,4)
  movss  %xmm0,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%r13
  jne    L148
  mov    0x10(%rsp),%rax
  movss  (%rax),%xmm0
  xorps  %xmm7,%xmm0
  movss  %xmm0,(%rax)
  movss  (%r9,%r10,4),%xmm0
  movss  %xmm0,(%r9,%rdi,4)
  jmp    L51
L175:
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D18
type_guessed: f32
name: unpack_data
arguments: data_tag: D15
type_guessed: dword
name: unpack_data
arguments: data_tag: D27
type_guessed: byte[4]
name: unpack_data
arguments: data_tag: D4
type_guessed: byte[4]

tool: D18: 1

tool: D15: 2147483647

tool: {"D27": [0x08,0xe5,0x3c,0x1e]}

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

assistant: ```c
int ludcmp(a, n, indx, d)
int n, *indx;
float **a, *d;
{
  int i, imax, j, k;
  float big, dum, sum, temp;
  float *vv, *vector();
  void nrerror(), free_vector();
  vv = vector(1, n);
  *d = (float)1.0;
  for (i = 1; i <= n; i++) {
    big = (float)0.0;
    for (j = 1; j <= n; j++)
      if ((temp = (float)fabs(a[i][j])) > big)
        big = temp;
    if (big == (float)0.0) {
      return (0);
    }
    vv[i] = (float)1.0 / big;
  }
  for (j = 1; j <= n; j++) {
    for (i = 1; i < j; i++) {
      sum = a[i][j];
      for (k = 1; k < i; k++)
        sum -= a[i][k] * a[k][j];
      a[i][j] = sum;
    }
    big = (float)0.0;
    for (i = j; i <= n; i++) {
      sum = a[i][j];
      for (k = 1; k < j; k++)
        sum -= a[i][k] * a[k][j];
      a[i][j] = sum;
      if ((dum = (float)(vv[i] * fabs(sum))) >= big) {
        big = dum;
        imax = i;
      }
    }
    if (j != imax) {
      for (k = 1; k <= n; k++) {
        dum = a[imax][k];
        a[imax][k] = a[j][k];
        a[j][k] = dum;
      }
      *d = -(*d);
      vv[imax] = vv[j];
    }
    indx[j] = imax;
    if (a[j][j] == (float)0.0)
      a[j][j] = (float)1.0e-20;
    ;
    if (j != n) {
      dum = (float)(1.0 / (a[j][j]));
      for (i = j + 1; i <= n; i++)
        a[i][j] *= dum;
    }
  }
  free_vector(vv, 1, n);
  return (1);
}
```