user: 下面的汇编指令对应的C源代码是什么：

```asm
<NUM_lu>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  mov    %edx,%edi
  push   %rbx
  mov    %edx,%ebx
  sub    $0x48,%rsp
  mov    %rsi,0x28(%rsp)
  mov    $0x4,%esi
  call   <calloc@plt>
  mov    $0x8,%esi
  mov    %ebx,%edi
  mov    %rax,%r12
  call   <calloc@plt>
  mov    %rax,0x30(%rsp)
  test   %ebx,%ebx
  jle    L287
  mov    0x28(%rsp),%rsi
  movslq %ebx,%rax
  mov    %r12,%rdx
  lea    (%r12,%rax,4),%rcx
  cmp    %rcx,%rsi
  lea    (%rsi,%rax,8),%rax
  setae  %cl
  cmp    %rax,%r12
  setae  %al
  or     %al,%cl
  lea    -0x1(%rbx),%eax
  mov    %eax,0x24(%rsp)
  je     L280
  cmp    $0x3,%eax
  jbe    L280
  mov    %ebx,%ecx
  mov    %r12,%rax
  pxor   %xmm1,%xmm1
  movdqa D44(%rip),%xmm0
  shr    $0x2,%ecx
  neg    %rax
  movdqa D23(%rip),%xmm3
  shl    $0x4,%rcx
  lea    (%rsi,%rax,2),%rdx
  mov    %r12,%rax
  add    %r12,%rcx
L227:
  movdqa %xmm0,%xmm2
  movups %xmm1,(%rdx,%rax,2)
  paddd  %xmm3,%xmm0
  movups %xmm1,0x10(%rdx,%rax,2)
  add    $0x10,%rax
  movups %xmm2,-0x10(%rax)
  cmp    %rcx,%rax
  jne    L227
  mov    %ebx,%eax
  and    $0xfffffffc,%eax
  test   $0x3,%bl
  je     L192
  mov    0x28(%rsp),%rdi
  mov    %eax,%edx
  lea    0x0(,%rdx,8),%rsi
  lea    0x0(,%rdx,4),%rcx
  movq   $0x0,(%rdi,%rdx,8)
  mov    %eax,(%r12,%rdx,4)
  lea    0x1(%rax),%edx
  cmp    %edx,%ebx
  jle    L192
  movq   $0x0,0x8(%rdi,%rsi,1)
  add    $0x2,%eax
  mov    %edx,0x4(%r12,%rcx,1)
  cmp    %ebx,%eax
  jge    L192
  movq   $0x0,0x10(%rdi,%rsi,1)
  mov    %eax,0x8(%r12,%rcx,1)
L192:
  lea    -0x2(%rbx),%eax
  mov    %r12,%r13
  mov    %r12,0x38(%rsp)
  mov    %r12,%r14
  mov    %rax,0x18(%rsp)
  lea    0x4(%r12),%rax
  neg    %r13
  xor    %r9d,%r9d
  movl   $0xffffffff,0x8(%rsp)
  add    %r13,%r13
  mov    $0x1,%r15d
  pxor   %xmm2,%xmm2
  mov    %rax,0x10(%rsp)
  movq   D8(%rip),%xmm3
  nopl   (%rax)
L324:
  mov    %r9d,%ecx
  mov    %r9d,%r10d
  cmp    %r9d,%ebx
  jle    L68
  mov    %ebx,%eax
  mov    0x10(%rsp),%rdi
  mov    %r14,%r8
  sub    %r15d,%eax
  add    %r9,%rax
  lea    (%rdi,%rax,4),%r11
  mov    0x8(%rsp),%eax
  lea    (%rdi,%rax,4),%rdi
  nopl   0x0(%rax,%rax,1)
L298:
  movapd %xmm2,%xmm1
  test   %r10d,%r10d
  je     L244
  mov    (%r8),%eax
  mov    %r12,%rdx
  movapd %xmm2,%xmm1
  imul   %ebx,%eax
  cltq
  lea    0x0(%r13,%rax,8),%rsi
  add    %rbp,%rsi
L40:
  mov    (%rdx),%eax
  imul   %ebx,%eax
  add    %ecx,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm0
  mulsd  (%rsi,%rdx,2),%xmm0
  add    $0x4,%rdx
  addsd  %xmm0,%xmm1
  cmp    %rdx,%rdi
  jne    L40
L244:
  mov    (%r8),%eax
  add    $0x4,%r8
  imul   %ebx,%eax
  add    %ecx,%eax
  cltq
  lea    0x0(%rbp,%rax,8),%rax
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    %r8,%r11
  jne    L298
  mov    %r14,%rsi
  mov    %ecx,%edi
  movapd %xmm2,%xmm1
  mov    %ecx,%edx
L187:
  mov    (%rsi),%eax
  imul   %ebx,%eax
  add    %ecx,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm0
  andpd  %xmm3,%xmm0
  comisd %xmm1,%xmm0
  maxsd  %xmm1,%xmm0
  cmova  %edx,%edi
  add    $0x1,%edx
  movapd %xmm0,%xmm1
  add    $0x4,%rsi
  cmp    %edx,%ebx
  jne    L187
  mov    (%r14),%eax
  cmp    %r10d,%edi
  je     L68
  movslq %edi,%rdi
  lea    (%r12,%rdi,4),%rdx
  mov    (%rdx),%esi
  mov    %esi,(%r14)
  mov    %eax,(%rdx)
L68:
  mov    (%r14),%eax
  imul   %ebx,%eax
  lea    (%rax,%rcx,1),%edx
  movslq %edx,%rdx
  lea    0x0(%rbp,%rdx,8),%r11
  movsd  (%r11),%xmm4
  ucomisd %xmm2,%xmm4
  jp     L132
  je     L296
L132:
  cmp    %r15d,%ebx
  jle    L116
  movslq %eax,%r10
  mov    0x8(%rsp),%edx
  mov    0x10(%rsp),%rdi
  mov    %r15,%r8
  shl    $0x3,%r10
  lea    0x0(%r13,%r10,1),%rsi
  lea    (%rdi,%rdx,4),%rdi
  add    %rbp,%r10
  add    %rbp,%rsi
  nopl   0x0(%rax)
L403:
  mov    %r8d,%ecx
  mov    %r12,%rdx
  movapd %xmm2,%xmm1
  test   %r9,%r9
  je     L158
  nop
L385:
  mov    (%rdx),%eax
  imul   %ebx,%eax
  add    %ecx,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm0
  mulsd  (%rsi,%rdx,2),%xmm0
  add    $0x4,%rdx
  addsd  %xmm0,%xmm1
  cmp    %rdx,%rdi
  jne    L385
L158:
  movsd  (%r10,%r8,8),%xmm0
  subsd  %xmm1,%xmm0
  divsd  %xmm4,%xmm0
  movsd  %xmm0,(%r10,%r8,8)
  add    $0x1,%r8
  cmp    %r8d,%ebx
  jle    L116
  movsd  (%r11),%xmm4
  jmp    L403
  nopl   (%rax)
L116:
  addl   $0x1,0x8(%rsp)
  lea    0x1(%r9),%rax
  add    $0x1,%r15
  add    $0x4,%r14
  cmp    0x18(%rsp),%r9
  je     L260
  mov    %rax,%r9
  jmp    L324
L260:
  movslq 0x24(%rsp),%rdi
  movslq (%r12,%rdi,4),%rsi
  mov    %esi,%edx
  imul   %ebx,%edx
  cmp    $0x1,%ebx
  jne    L164
  lea    (%r12,%rax,4),%r8
  movslq %edx,%rax
  movapd %xmm2,%xmm1
  lea    0x0(%r13,%rax,8),%rcx
  mov    0x38(%rsp),%rax
  add    %rbp,%rcx
L41:
  movslq (%rax),%r9
  movsd  0x0(%rbp,%r9,8),%xmm0
  mulsd  (%rcx,%rax,2),%xmm0
  add    $0x4,%rax
  addsd  %xmm0,%xmm1
  cmp    %rax,%r8
  jne    L41
  mov    0x24(%rsp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(%rbp,%rax,8),%rax
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    0x30(%rsp),%rax
  movsd  0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
L56:
  mov    0x24(%rsp),%edx
  test   %edx,%edx
  js     L393
  cmp    $0x1,%ebx
  jne    L75
  movsd  0x0(%rbp,%rsi,8),%xmm3
  ucomisd %xmm2,%xmm3
  jp     L336
  je     L261
L336:
  movslq (%r12),%rax
  mov    0x28(%rsp),%rcx
  movsd  (%rcx,%rax,8),%xmm1
  mov    0x30(%rsp),%rax
  mulsd  %xmm3,%xmm1
  movsd  (%rax),%xmm0
  addsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,(%rcx,%rsi,8)
L393:
  mov    0x30(%rsp),%rdi
  call   <free@plt>
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L296:
  lea    D48(%rip),%rdi
  call   <printf@plt>
  add    $0x48,%rsp
  mov    $0x2,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L261:
  lea    D45(%rip),%rdi
  call   <printf@plt>
  add    $0x48,%rsp
  mov    $0x2,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L280:
  mov    0x28(%rsp),%rsi
  mov    %ebx,%ecx
  xor    %eax,%eax
L65:
  movq   $0x0,(%rsi,%rax,8)
  add    $0x4,%rdx
  mov    %eax,-0x4(%rdx)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L65
L297:
  mov    0x24(%rsp),%ecx
  test   %ecx,%ecx
  jg     L192
  movslq 0x24(%rsp),%rdi
  mov    %ebx,%edx
  pxor   %xmm2,%xmm2
  movapd %xmm2,%xmm0
  movslq (%r12,%rdi,4),%rsi
  imul   %esi,%edx
L96:
  mov    0x24(%rsp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(%rbp,%rax,8),%rax
  movsd  (%rax),%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  test   %ebx,%ebx
  jle    L56
  mov    %ebx,%eax
  mov    0x30(%rsp),%r13
  imul   %ebx,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm0
  lea    0x0(,%rax,8),%r11
  movsd  %xmm0,0x0(%r13)
  cmp    $0x1,%ebx
  jle    L56
  sub    %r13,%r11
  lea    0x8(%r13),%r10
  lea    0x4(%r12),%r9
  mov    $0x1,%r8d
  add    %rbp,%r11
L115:
  mov    %r13,%rcx
  mov    %r12,%rdx
  movapd %xmm2,%xmm1
  nopl   0x0(%rax)
L86:
  mov    (%rdx),%eax
  add    $0x4,%rdx
  add    $0x8,%rcx
  imul   %ebx,%eax
  add    %r8d,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm0
  mulsd  -0x8(%rcx),%xmm0
  addsd  %xmm0,%xmm1
  cmp    %rdx,%r9
  jne    L86
  movsd  (%r11,%r10,1),%xmm0
  add    $0x1,%r8d
  add    $0x8,%r10
  add    $0x4,%r9
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%r10)
  cmp    %r8d,%ebx
  jne    L115
  mov    0x24(%rsp),%eax
  test   %eax,%eax
  js     L393
L75:
  mov    0x30(%rsp),%rax
  lea    (%r12,%rdi,4),%r11
  mov    %ebx,%r10d
  lea    -0x2(%rbx),%r14d
  mov    %r12,0x8(%rsp)
  mov    0x28(%rsp),%r8
  lea    0x8(%r12),%r15
  lea    (%rax,%rdi,8),%r13
L379:
  mov    %ebx,%eax
  mov    %edi,%edx
  mov    %edi,%r12d
  imul   %esi,%eax
  add    %edi,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm3
  ucomisd %xmm2,%xmm3
  jp     L175
  je     L261
L175:
  movapd %xmm2,%xmm1
  cmp    %edi,%ebx
  jle    L277
  movslq (%r11),%rax
  movsd  (%r8,%rax,8),%xmm1
  mulsd  %xmm3,%xmm1
  addsd  %xmm2,%xmm1
  cmp    %r10d,%ebx
  jle    L277
  mov    0x8(%rsp),%rcx
  movslq %r10d,%rax
  lea    (%rcx,%rax,4),%rcx
  mov    %r14d,%eax
  sub    %edx,%eax
  add    %rdi,%rax
  lea    (%r15,%rax,4),%r9
L43:
  movslq (%rcx),%rdx
  mov    %ebx,%eax
  add    $0x4,%rcx
  imul   %edx,%eax
  add    %r12d,%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm0
  mulsd  (%r8,%rdx,8),%xmm0
  addsd  %xmm0,%xmm1
  cmp    %rcx,%r9
  jne    L43
L277:
  sub    $0x1,%rdi
  sub    $0x1,%r10d
  sub    $0x4,%r11
  sub    $0x8,%r13
  movsd  0x8(%r13),%xmm0
  subsd  %xmm1,%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,(%r8,%rsi,8)
  test   %edi,%edi
  js     L393
  movslq (%r11),%rsi
  jmp    L379
L287:
  lea    -0x1(%rbx),%eax
  mov    %eax,0x24(%rsp)
  jmp    L297
L164:
  lea    (%r12,%rax,4),%rcx
  movslq %edx,%rax
  mov    0x38(%rsp),%r9
  movapd %xmm2,%xmm0
  lea    0x0(%r13,%rax,8),%r8
  add    %rbp,%r8
L433:
  mov    (%r9),%eax
  imul   %ebx,%eax
  add    0x24(%rsp),%eax
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm1
  mulsd  (%r8,%r9,2),%xmm1
  add    $0x4,%r9
  addsd  %xmm1,%xmm0
  cmp    %r9,%rcx
  jne    L433
  jmp    L96
```

tool_calls: name: retrieve_data
arguments: data_label: D44
data_type: f32[4]
name: retrieve_data
arguments: data_label: D23
data_type: byte[16]
name: retrieve_data
arguments: data_label: D8
data_type: qword
name: retrieve_data
arguments: data_label: D48
data_type: string
name: retrieve_data
arguments: data_label: D45
data_type: string

tool: {"D44": [0.0,1.401298464324817e-45,2.802596928649634e-45,4.203895392974451e-45]}

tool: {"D23": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: D8: 9223372036854775807

tool: D48: LU: matrix is singular, no unique solution.


tool: D45: LU: No unique solution exist.


assistant: ```c
int NUM_lu(double *matrix, double *solution, int neq) {
  int i, j, k;
  int idx;
  double big;
  double tmp = 0.0;
  int *P;
  double *y;
  P = (int *)calloc(neq, sizeof(int));
  y = (double *)calloc(neq, sizeof(double));
  for (i = 0; i < neq; i++) {
    solution[i] = 0;
    P[i] = i;
  }
  for (i = 0; i < neq - 1; i++) {
    for (j = i; j < neq; j++) {
      tmp = 0.0;
      for (k = 0; k < i; k++)
        tmp += matrix[i + neq * P[k]] * matrix[k + neq * P[j]];
      matrix[i + neq * P[j]] = matrix[i + neq * P[j]] - tmp;
    }
    big = 0.0;
    idx = i;
    for (j = i; j < neq; j++) {
      if (big < fabs(matrix[i + neq * P[j]])) {
        idx = j;
        big = fabs(matrix[i + neq * P[j]]);
      }
    }
    if (idx != i) {
      tmp = P[i];
      P[i] = P[idx];
      P[idx] = tmp;
    }
    if (matrix[i + neq * P[i]] == 0.0) {
      printf("LU: matrix is singular, no unique solution.\n");
      return 2;
    }
    for (j = i + 1; j < neq; j++) {
      tmp = 0.0;
      for (k = 0; k < i; k++)
        tmp += matrix[j + neq * P[k]] * matrix[k + neq * P[i]];
      matrix[j + neq * P[i]] = (matrix[j + neq * P[i]] - tmp) / matrix[i + neq * P[i]];
    }
  }
  i = neq - 1;
  tmp = 0.0;
  for (k = 0; k < neq - 1; k++)
    tmp += matrix[i + neq * P[k]] * matrix[k + neq * P[i]];
  matrix[i + neq * P[i]] = matrix[i + neq * P[i]] - tmp;
  for (i = 0; i < neq; i++) {
    tmp = 0.0;
    for (j = 0; j < i; j++)
      tmp += matrix[i + neq * P[j]] * y[j];
    y[i] = matrix[i + neq * neq] - tmp;
  }
  for (i = neq - 1; i >= 0; i--) {
    if (matrix[i + neq * P[i]] == 0.0) {
      printf("LU: No unique solution exist.\n");
      return 2;
    }
    tmp = 0.0;
    for (j = i; j < neq; j++)
      tmp += matrix[i + neq * P[j]] * solution[P[j]];
    solution[P[i]] = (y[i] - tmp) / matrix[i + neq * P[i]];
  }
  free(y);
  return 0;
}
```