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

```asm
<ludcmp>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %esi,%ebp
  mov    %rdx,0x10(%rsp)
  mov    %rcx,%r15
  mov    %rcx,0x18(%rsp)
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <vector@plt>
  mov    %rax,%r13
  movl   $0x3f800000,(%r15)
  test   %ebp,%ebp
  jle    L164
  lea    -0x1(%rbp),%edi
  mov    $0x1,%ecx
  lea    0x8(,%rdi,4),%rsi
  movss  D7(%rip),%xmm2
  pxor   %xmm4,%xmm4
  movaps %xmm4,%xmm3
  movss  D30(%rip),%xmm5
  jmp    L205
L168:
  ucomiss %xmm4,%xmm0
  jp     L35
  ucomiss %xmm3,%xmm0
  je     L252
L35:
  movaps %xmm5,%xmm0
  divss  %xmm1,%xmm0
  movss  %xmm0,0x0(%r13,%rcx,4)
  add    $0x1,%rcx
  cmp    %ecx,%ebp
  jl     L183
L205:
  mov    (%rbx,%rcx,8),%rdx
  lea    0x4(%rdx),%rax
  add    %rsi,%rdx
  pxor   %xmm1,%xmm1
L188:
  movss  (%rax),%xmm0
  andps  %xmm2,%xmm0
  maxss  %xmm1,%xmm0
  movaps %xmm0,%xmm1
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L188
  jmp    L168
L183:
  lea    0x8(,%rdi,4),%r15
  mov    $0x1,%r10d
  movl   $0xffffffff,0x8(%rsp)
  mov    $0x4,%edx
  movl   $0x2,0xc(%rsp)
  pxor   %xmm6,%xmm6
  movss  D7(%rip),%xmm3
  movss  D58(%rip),%xmm9
  movaps %xmm6,%xmm5
  movaps %xmm6,%xmm4
  movss  D28(%rip),%xmm8
  movss  D30(%rip),%xmm7
  jmp    L169
L58:
  mov    (%rbx,%rsi,8),%rcx
  lea    (%rcx,%rdx,1),%r8
  movss  (%r8),%xmm1
  cmp    $0x1,%esi
  jle    L189
  mov    $0x1,%eax
L138:
  mov    (%rbx,%rax,8),%rdi
  movss  (%rdi,%rdx,1),%xmm0
  mulss  (%rcx,%rax,4),%xmm0
  subss  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %rax,%rsi
  jne    L138
L189:
  add    $0x1,%rsi
L128:
  movss  %xmm1,(%r8)
  cmp    %r9,%rsi
  jne    L58
L68:
  cmp    %r14d,%ebp
  jl     L94
  mov    %r10,%r8
  movaps %xmm6,%xmm2
  mov    0x8(%rsp),%edi
  add    $0x2,%rdi
  jmp    L172
L275:
  add    $0x1,%r8
  cmp    %r8d,%ebp
  jl     L94
L172:
  mov    %r8d,%r11d
  mov    (%rbx,%r8,8),%rsi
  lea    (%rsi,%rdx,1),%r9
  movss  (%r9),%xmm1
  cmp    $0x1,%r14d
  jle    L265
  mov    $0x1,%eax
L240:
  mov    (%rbx,%rax,8),%rcx
  movss  (%rcx,%rdx,1),%xmm0
  mulss  (%rsi,%rax,4),%xmm0
  subss  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %rax,%rdi
  jne    L240
L265:
  movss  %xmm1,(%r9)
  andps  %xmm3,%xmm1
  mulss  0x0(%r13,%r8,4),%xmm1
  comiss %xmm2,%xmm1
  jb     L275
  movaps %xmm1,%xmm2
  mov    %r11d,%r12d
  jmp    L275
L94:
  cmp    %r14d,%r12d
  jne    L209
L108:
  mov    0x10(%rsp),%rax
  mov    %r12d,(%rax,%rdx,1)
  mov    %rdx,%rax
  add    (%rbx,%r10,8),%rax
  ucomiss (%rax),%xmm5
  jp     L122
  ucomiss (%rax),%xmm4
  jne    L122
  movss  %xmm8,(%rax)
L122:
  cmp    %r14d,%ebp
  je     L107
  mov    (%rbx,%r10,8),%rax
  movaps %xmm7,%xmm1
  divss  (%rax,%rdx,1),%xmm1
  mov    0xc(%rsp),%eax
  cmp    %eax,%ebp
  jl     L164
  cltq
L211:
  mov    %rdx,%rcx
  add    (%rbx,%rax,8),%rcx
  movaps %xmm1,%xmm0
  mulss  (%rcx),%xmm0
  movss  %xmm0,(%rcx)
  add    $0x1,%rax
  cmp    %eax,%ebp
  jge    L211
L191:
  addl   $0x1,0xc(%rsp)
  add    $0x4,%rdx
  addl   $0x1,0x8(%rsp)
  add    $0x1,%r10
L169:
  mov    %r10d,%r14d
  cmp    $0x1,%r10d
  jle    L68
  mov    %rdx,%r8
  add    0x8(%rbx),%r8
  movss  (%r8),%xmm1
  mov    0x8(%rsp),%r9d
  add    $0x2,%r9
  mov    $0x2,%esi
  jmp    L128
L209:
  movslq %r12d,%r8
  lea    (%rbx,%r8,8),%rdi
  mov    $0x4,%eax
L132:
  mov    %rax,%rcx
  add    (%rdi),%rcx
  movss  (%rcx),%xmm0
  mov    (%rbx,%r10,8),%rsi
  movss  (%rsi,%rax,1),%xmm1
  movss  %xmm1,(%rcx)
  mov    (%rbx,%r10,8),%rcx
  movss  %xmm0,(%rcx,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%r15
  jne    L132
  mov    0x18(%rsp),%rax
  movss  (%rax),%xmm0
  xorps  %xmm9,%xmm0
  movss  %xmm0,(%rax)
  movss  0x0(%r13,%rdx,1),%xmm0
  movss  %xmm0,0x0(%r13,%r8,4)
  jmp    L108
L107:
  cmp    0xc(%rsp),%ebp
  jge    L191
L164:
  mov    %ebp,%edx
  mov    $0x1,%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <free_vector@plt>
  mov    $0x1,%eax
L202:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L252:
  mov    $0x0,%eax
  jmp    L202
```

tool_calls: name: parse_data
arguments: data_label: D7
datatype: dword
name: parse_data
arguments: data_label: D30
datatype: f32
name: parse_data
arguments: data_label: D58
datatype: byte[4]
name: parse_data
arguments: data_label: D28
datatype: byte[4]

tool: D7: 2147483647

tool: D30: 1

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

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

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