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

```asm
<ludcmp>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  mov    $0x1,%edi
  push   %r14
  push   %r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x48,%rsp
  mov    %rdx,0x28(%rsp)
  mov    %rcx,0x30(%rsp)
  call   <vector@plt>
  movl   $0x3f800000,(%rbx)
  mov    %rax,0x18(%rsp)
  test   %r12d,%r12d
  jle    L85
  lea    0x8(%r15),%rbp
  mov    %r15,0x8(%rsp)
  mov    $0x1,%ebx
  mov    %rbp,%r15
  mov    0x18(%rsp),%rbp
  nopl   0x0(%rax)
L216:
  mov    $0x4,%r14d
  pxor   %xmm1,%xmm1
  mov    $0x1,%r13d
L258:
  mov    (%r15),%rax
  movss  %xmm1,0x10(%rsp)
  add    $0x1,%r13d
  movss  (%rax,%r14,1),%xmm0
  add    $0x4,%r14
  call   <fabs@plt>
  movss  0x10(%rsp),%xmm1
  maxss  %xmm1,%xmm0
  movaps %xmm0,%xmm1
  cmp    %r13d,%r12d
  jge    L258
  pxor   %xmm4,%xmm4
  ucomiss %xmm4,%xmm0
  jp     L26
  je     L170
L26:
  movss  D7(%rip),%xmm0
  add    $0x8,%r15
  divss  %xmm1,%xmm0
  movss  %xmm0,0x0(%rbp,%rbx,4)
  add    $0x1,%rbx
  cmp    %ebx,%r12d
  jge    L216
  lea    0x1(%r12),%eax
  mov    0x8(%rsp),%r15
  mov    $0x1,%ebx
  movq   $0x1,0x20(%rsp)
  mov    %eax,0x3c(%rsp)
  nopl   0x0(%rax,%rax,1)
L217:
  mov    0x20(%rsp),%rax
  lea    0x0(,%rax,4),%r14
  cmp    $0x1,%ebx
  je     L247
  mov    0x8(%r15),%r11
  movslq %ebx,%r10
  mov    $0x2,%edi
  lea    (%r11,%r14,1),%r9
  movss  (%r9),%xmm1
  movss  %xmm1,(%r9)
  cmp    %rdi,%r10
  je     L150
  nopl   0x0(%rax)
L186:
  mov    (%r15,%rdi,8),%rcx
  lea    (%rcx,%r14,1),%r9
  movss  (%r9),%xmm1
  cmp    $0x1,%edi
  jle    L16
  mov    %r11,%rdx
  mov    $0x1,%eax
  jmp    L154
  nopl   0x0(%rax)
L90:
  mov    (%r15,%rax,8),%rdx
L154:
  movss  (%rdx,%r14,1),%xmm0
  mulss  (%rcx,%rax,4),%xmm0
  add    $0x1,%rax
  subss  %xmm0,%xmm1
  cmp    %rax,%rdi
  jne    L90
L16:
  add    $0x1,%rdi
  movss  %xmm1,(%r9)
  cmp    %rdi,%r10
  jne    L186
L150:
  cmp    %ebx,%r12d
  jl     L60
L247:
  mov    0x20(%rsp),%rbp
  movl   $0x0,0x8(%rsp)
  movslq %ebx,%r13
  mov    %ebx,0x14(%rsp)
  mov    %r13,%rbx
  mov    %r15,%r13
  mov    %r14,%r15
  mov    %rbp,%r14
  nopl   0x0(%rax,%rax,1)
L257:
  mov    0x0(%r13,%r14,8),%rcx
  cmpl   $0x1,0x14(%rsp)
  mov    %r14d,%ebp
  lea    (%rcx,%r15,1),%r9
  movss  (%r9),%xmm1
  je     L176
  mov    $0x1,%eax
  nopl   (%rax)
L146:
  mov    0x0(%r13,%rax,8),%rdx
  movss  (%rdx,%r15,1),%xmm0
  mulss  (%rcx,%rax,4),%xmm0
  add    $0x1,%rax
  subss  %xmm0,%xmm1
  cmp    %rax,%rbx
  jne    L146
L176:
  mov    0x18(%rsp),%rax
  movss  %xmm1,(%r9)
  movaps %xmm1,%xmm0
  movss  (%rax,%r14,4),%xmm2
  movss  %xmm2,0x10(%rsp)
  call   <fabs@plt>
  mulss  0x10(%rsp),%xmm0
  comiss 0x8(%rsp),%xmm0
  jb     L161
  mov    %ebp,0x38(%rsp)
  movss  %xmm0,0x8(%rsp)
L161:
  add    $0x1,%r14
  cmp    %r14d,%r12d
  jge    L257
  mov    0x14(%rsp),%ebx
  mov    %r15,%r14
  mov    %r13,%r15
L60:
  mov    0x20(%rsp),%rax
  mov    (%r15,%rax,8),%rsi
  mov    0x38(%rsp),%eax
  cmp    %eax,%ebx
  jne    L197
L6:
  add    %r14,%rsi
  pxor   %xmm5,%xmm5
  mov    0x28(%rsp),%rax
  mov    0x38(%rsp),%ecx
  ucomiss (%rsi),%xmm5
  mov    0x20(%rsp),%rdi
  mov    %ecx,(%rax,%rdi,4)
  jp     L62
  jne    L62
  movl   $0x1e3ce508,(%rsi)
L62:
  add    $0x1,%ebx
  cmp    0x20(%rsp),%r12d
  je     L206
  movss  D7(%rip),%xmm1
  divss  (%rsi),%xmm1
  cmp    %ebx,%r12d
  jl     L85
  movslq %ebx,%rax
  nopl   (%rax)
L98:
  mov    (%r15,%rax,8),%rdx
  add    $0x1,%rax
  add    %r14,%rdx
  movss  (%rdx),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rdx)
  cmp    %eax,%r12d
  jge    L98
L171:
  addq   $0x1,0x20(%rsp)
  jmp    L217
L206:
  cmp    %ebx,%r12d
  jge    L171
L85:
  mov    0x18(%rsp),%rdi
  add    $0x48,%rsp
  mov    %r12d,%edx
  mov    $0x1,%esi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1090 <free_vector@plt>
L197:
  movslq %eax,%r9
  mov    0x3c(%rsp),%r8d
  mov    $0x1,%eax
  mov    (%r15,%r9,8),%rdi
  nopl   (%rax)
L254:
  movss  (%rdi,%rax,4),%xmm0
  movss  (%rsi,%rax,4),%xmm1
  movss  %xmm1,(%rdi,%rax,4)
  movss  %xmm0,(%rsi,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%r8
  jne    L254
  mov    0x30(%rsp),%rax
  mov    0x20(%rsp),%rdi
  movss  (%rax),%xmm0
  xorps  D11(%rip),%xmm0
  movss  %xmm0,(%rax)
  mov    0x18(%rsp),%rax
  movss  (%rax,%rdi,4),%xmm0
  movss  %xmm0,(%rax,%r9,4)
  jmp    L6
L170:
  lea    D30(%rip),%rdi
  movss  %xmm0,0x10(%rsp)
  call   <nrerror@plt>
  movss  0x10(%rsp),%xmm1
  jmp    L26
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D7
type: f32
name: extract_symbolic_data
arguments: data_tag: D11
type: byte[16]
name: extract_symbolic_data
arguments: data_tag: D30
type: string

tool: D7: 1

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

tool: D30: Singular matrix in routine ludcmp

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