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

```asm
<gauss_matrix>:
  endbr64
  push   %r15
  movslq %esi,%rax
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  lea    0x0(,%rax,8),%r12d
  push   %rbp
  mov    %r12d,%edi
  mov    %rax,%rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x48,%rsp
  mov    %rax,0x30(%rsp)
  call   <shMalloc@plt>
  mov    %r12d,%edi
  mov    %rax,0x20(%rsp)
  call   <shMalloc@plt>
  mov    %rax,0x28(%rsp)
  test   %ebp,%ebp
  jle    L324
  mov    0x20(%rsp),%rdx
  lea    -0x2(%rbp),%eax
  mov    %r15,%rdi
  xor    %esi,%esi
  movq   D8(%rip),%xmm4
  pxor   %xmm2,%xmm2
  lea    0x10(,%rax,8),%r8
  mov    %rdx,%rcx
  sub    %rdx,%rdi
L311:
  mov    (%rdi,%rcx,1),%rdx
  movsd  (%rdx),%xmm1
  andpd  %xmm4,%xmm1
  movsd  %xmm1,(%rcx)
  cmp    $0x1,%ebp
  je     L211
  lea    0x8(%rdx),%rax
  add    %r8,%rdx
  nopl   0x0(%rax)
L387:
  movsd  (%rax),%xmm0
  andpd  %xmm4,%xmm0
  comisd %xmm1,%xmm0
  jbe    L173
  movsd  %xmm0,(%rcx)
  movapd %xmm0,%xmm1
L173:
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L387
L211:
  ucomisd %xmm2,%xmm1
  jp     L18
  je     L49
L18:
  add    $0x1,%esi
  add    $0x8,%rcx
  cmp    %esi,%ebp
  jne    L311
L324:
  lea    -0x1(%rbp),%eax
  movq   D8(%rip),%xmm4
  movsd  D2(%rip),%xmm5
  mov    %eax,0x3c(%rsp)
  test   %eax,%eax
  jle    L143
  mov    %eax,0xc(%rsp)
  mov    $0x10,%r14d
  mov    $0x8,%r13d
  mov    %ebp,0x8(%rsp)
  movq   $0x1,0x18(%rsp)
  nopw   0x0(%rax,%rax,1)
L110:
  mov    0x20(%rsp),%rcx
  mov    %ebp,%r8d
  mov    %rbx,%rdx
  sub    0x8(%rsp),%r8d
  mov    %ebp,%esi
  mov    %r15,%rdi
  mov    %r8d,(%rsp)
  call   <gauss_pivot@plt>
  mov    (%rsp),%r8d
  cmp    $0x1,%eax
  je     L33
  mov    -0x10(%r15,%r14,1),%r11
  lea    -0x10(%r14),%r12
  movq   D8(%rip),%xmm4
  lea    (%r11,%r12,1),%rax
  movsd  (%rax),%xmm0
  mov    %rax,0x10(%rsp)
  mov    0x20(%rsp),%rax
  movapd %xmm0,%xmm2
  movsd  -0x8(%rax,%r13,1),%xmm1
  mov    D2(%rip),%rax
  divsd  %xmm1,%xmm2
  movq   %rax,%xmm5
  andpd  %xmm4,%xmm2
  comisd %xmm2,%xmm5
  ja     L269
  mov    0x18(%rsp),%rcx
  cmp    %ecx,%ebp
  jle    L264
  mov    0xc(%rsp),%esi
  lea    (%r11,%r13,1),%r9
  mov    %esi,%eax
  and    $0xfffffffe,%esi
  shr    %eax
  mov    %esi,%r8d
  mov    %esi,0x38(%rsp)
  mov    %rcx,%rsi
  lea    -0x1(%rax),%edi
  add    %ecx,%r8d
  lea    (%r11,%r14,1),%rax
  movslq %r8d,%r8
  mov    %rax,(%rsp)
  add    $0x1,%rdi
  shl    $0x3,%r8
  shl    $0x4,%rdi
  lea    (%r11,%r8,1),%r10
  cs nopw 0x0(%rax,%rax,1)
L392:
  mov    (%r15,%rsi,8),%rdx
  movsd  (%rdx,%r12,1),%xmm2
  lea    (%rdx,%r13,1),%rcx
  divsd  %xmm0,%xmm2
  cmp    (%rsp),%rcx
  je     L246
  cmpl   $0x2,0x8(%rsp)
  je     L246
  movapd %xmm2,%xmm3
  xor    %eax,%eax
  unpcklpd %xmm3,%xmm3
  nopl   (%rax)
L75:
  movupd (%r9,%rax,1),%xmm1
  movupd (%rcx,%rax,1),%xmm0
  mulpd  %xmm3,%xmm1
  subpd  %xmm1,%xmm0
  movups %xmm0,(%rcx,%rax,1)
  add    $0x10,%rax
  cmp    %rdi,%rax
  jne    L75
  mov    0xc(%rsp),%ecx
  cmp    %ecx,0x38(%rsp)
  je     L61
  movsd  (%r10),%xmm1
  add    %r8,%rdx
  movsd  (%rdx),%xmm0
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdx)
L61:
  mulsd  -0x10(%rbx,%r14,1),%xmm2
  movsd  (%rbx,%rsi,8),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rbx,%rsi,8)
  add    $0x1,%rsi
  cmp    %esi,%ebp
  jle    L264
  mov    0x10(%rsp),%rax
  movsd  (%rax),%xmm0
  jmp    L392
  nopl   (%rax)
L246:
  mov    0x18(%rsp),%rax
  nopl   (%rax)
L56:
  movsd  (%r11,%rax,8),%xmm1
  movsd  (%rdx,%rax,8),%xmm0
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%ebp
  jg     L56
  jmp    L61
  nopw   0x0(%rax,%rax,1)
L264:
  addq   $0x1,0x18(%rsp)
  add    $0x8,%r13
  add    $0x8,%r14
  subl   $0x1,0x8(%rsp)
  subl   $0x1,0xc(%rsp)
  jne    L110
L143:
  mov    0x30(%rsp),%rax
  mov    0x20(%rsp),%rdi
  shl    $0x3,%rax
  mov    -0x8(%r15,%rax,1),%rdx
  movsd  -0x8(%rdi,%rax,1),%xmm1
  movsd  -0x8(%rdx,%rax,1),%xmm2
  movapd %xmm2,%xmm0
  divsd  %xmm1,%xmm0
  andpd  %xmm4,%xmm0
  comisd %xmm0,%xmm5
  ja     L349
  movsd  -0x8(%rbx,%rax,1),%xmm0
  mov    0x28(%rsp),%rdi
  mov    %ebp,%edx
  divsd  %xmm2,%xmm0
  movsd  %xmm0,-0x8(%rdi,%rax,1)
  sub    $0x2,%edx
  js     L197
  movslq %edx,%rdx
  mov    0x3c(%rsp),%esi
  mov    %rdi,%r11
  pxor   %xmm2,%xmm2
  shl    $0x3,%rdx
  mov    $0x8,%r9d
  lea    (%rdi,%rdx,1),%r8
  mov    $0x1,%edi
  neg    %r8
L297:
  mov    (%r15,%rdx,1),%rcx
  mov    %esi,%eax
  cmp    %esi,%ebp
  jle    L191
  cmp    $0x1,%edi
  je     L188
  mov    %edi,%r10d
  lea    0x18(%r11,%rdx,1),%r12
  movapd %xmm2,%xmm1
  mov    %r9,%rax
  shr    %r10d
  sub    %r8,%rax
  sub    $0x1,%r10d
  shl    $0x4,%r10
  add    %r12,%r10
  lea    0x8(%r8,%rdx,1),%r12
  add    %rcx,%r12
  cs nopw 0x0(%rax,%rax,1)
L31:
  movupd -0x8(%rax,%r12,1),%xmm0
  movupd (%rax),%xmm6
  add    $0x10,%rax
  mulpd  %xmm6,%xmm0
  addsd  %xmm0,%xmm1
  unpckhpd %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  cmp    %rax,%r10
  jne    L31
  mov    %edi,%r10d
  and    $0xfffffffe,%r10d
  lea    (%rsi,%r10,1),%eax
  cmp    %r10d,%edi
  je     L386
L372:
  cltq
  movsd  (%r11,%rax,8),%xmm0
  mulsd  (%rcx,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
L386:
  movsd  (%rbx,%rdx,1),%xmm0
  add    $0x1,%edi
  add    $0x8,%r8
  subsd  %xmm1,%xmm0
  divsd  (%rcx,%rdx,1),%xmm0
  movsd  %xmm0,(%r11,%rdx,1)
  sub    $0x8,%rdx
  sub    $0x1,%esi
  jne    L297
L197:
  test   %ebp,%ebp
  jle    L306
  mov    0x28(%rsp),%rdi
  lea    0x8(%rdi),%rax
  cmp    %rax,%rbx
  je     L27
  cmpl   $0x2,0x3c(%rsp)
  jbe    L27
  mov    %ebp,%eax
  mov    %rbx,%rcx
  mov    %rdi,%rdx
  shr    %eax
  sub    %rdi,%rcx
  shl    $0x4,%rax
  add    %rdi,%rax
L132:
  movupd (%rdx),%xmm7
  movups %xmm7,(%rcx,%rdx,1)
  add    $0x10,%rdx
  cmp    %rdx,%rax
  jne    L132
  mov    %ebp,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%ebp
  je     L306
  mov    0x28(%rsp),%rdi
  movsd  (%rdi,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
L306:
  mov    0x28(%rsp),%rdi
  xor    %r12d,%r12d
  call   <shFree@plt>
  mov    0x20(%rsp),%rdi
  call   <shFree@plt>
  jmp    L299
L49:
  lea    D46(%rip),%rdi
  xor    %eax,%eax
  call   <shError@plt>
L88:
  mov    0x20(%rsp),%rdi
  mov    $0x1,%r12d
  call   <shFree@plt>
  mov    0x28(%rsp),%rdi
  call   <shFree@plt>
L299:
  add    $0x48,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L269:
  mov    %r8d,%esi
  lea    D70(%rip),%rdi
L15:
  mov    $0x2,%eax
  call   <shError@plt>
  jmp    L88
L33:
  mov    %eax,%r12d
  lea    D52(%rip),%rdi
  xor    %eax,%eax
  call   <shError@plt>
  mov    0x20(%rsp),%rdi
  call   <shFree@plt>
  mov    0x28(%rsp),%rdi
  call   <shFree@plt>
  jmp    L299
L191:
  movapd %xmm2,%xmm1
  jmp    L386
L188:
  movapd %xmm2,%xmm1
  jmp    L372
L349:
  movapd %xmm2,%xmm0
  mov    %ebp,%esi
  lea    D12(%rip),%rdi
  jmp    L15
L27:
  mov    0x28(%rsp),%rdi
  mov    %ebp,%ebp
  mov    %rdi,%rax
  lea    (%rdi,%rbp,8),%rdx
  sub    %rdi,%rbx
L370:
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rbx,%rax,1)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L370
  jmp    L306
```

tool_calls: name: parse_data
arguments: tag: D8
datatype: qword
name: parse_data
arguments: tag: D2
datatype: byte[8]
name: parse_data
arguments: tag: D46
datatype: string
name: parse_data
arguments: tag: D70
datatype: string
name: parse_data
arguments: tag: D52
datatype: string
name: parse_data
arguments: tag: D12
datatype: string

tool: D8: 9223372036854775807

tool: {"D2": [0x11,0xea,0x2d,0x81,0x99,0x97,0x71,0x3d]}

tool: D46: gauss_matrix: biggest val in row %d is zero

tool: D70: gauss_matrix: Y: row %d has tiny value %f / %f

tool: D52: gauss_matrix: singular matrix

tool: D12: gauss_matrix: Z: row %d has tiny value %f / %f

assistant: ```c
int gauss_matrix(double **matrix, int num, double *vector) {
  int i, j, k;
  double *biggest_val;
  double *solution_vector;
  double factor;
  double sum;
  biggest_val = (double *)shMalloc(num * sizeof(double));
  solution_vector = (double *)shMalloc(num * sizeof(double));
  for (i = 0; i < num; i++) {
    biggest_val[i] = fabs(matrix[i][0]);
    for (j = 1; j < num; j++) {
      if (fabs(matrix[i][j]) > biggest_val[i]) {
        biggest_val[i] = fabs(matrix[i][j]);
      }
    }
    if (biggest_val[i] == 0.0) {
      shError("gauss_matrix: biggest val in row %d is zero", i);
      shFree(biggest_val);
      shFree(solution_vector);
      return (1);
    }
  }
  for (i = 0; i < num - 1; i++) {
    if (gauss_pivot(matrix, num, vector, biggest_val, i) == 1) {
      shError("gauss_matrix: singular matrix");
      shFree(biggest_val);
      shFree(solution_vector);
      return (1);
    }
    if (fabs(matrix[i][i] / biggest_val[i]) < 1.0e-12) {
      shError("gauss_matrix: Y: row %d has tiny value %f / %f", i, matrix[i][i], biggest_val[i]);
      shFree(biggest_val);
      shFree(solution_vector);
      return (1);
    }
    for (j = i + 1; j < num; j++) {
      factor = matrix[j][i] / matrix[i][i];
      for (k = i + 1; k < num; k++) {
        matrix[j][k] -= factor * matrix[i][k];
      }
      vector[j] -= factor * vector[i];
    }
  }
  if (fabs(matrix[num - 1][num - 1] / biggest_val[num - 1]) < 1.0e-12) {
    shError("gauss_matrix: Z: row %d has tiny value %f / %f", num, matrix[num - 1][num - 1], biggest_val[num - 1]);
    shFree(biggest_val);
    shFree(solution_vector);
    return (1);
  }
  solution_vector[num - 1] = vector[num - 1] / matrix[num - 1][num - 1];
  for (i = num - 2; i >= 0; i--) {
    sum = 0.0;
    for (j = i + 1; j < num; j++) {
      sum += matrix[i][j] * solution_vector[j];
    }
    solution_vector[i] = (vector[i] - sum) / matrix[i][i];
  }
  for (i = 0; i < num; i++) {
    vector[i] = solution_vector[i];
  }
  shFree(solution_vector);
  shFree(biggest_val);
  return (0);
}
```