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

```asm
<invmat>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0xa8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  cmp    %edi,%esi
  je     L227
L226:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L73
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L227:
  lea    (%rsi,%rsi,1),%eax
  movslq %esi,%rbx
  mov    %esi,%r8d
  mov    %rsp,%rcx
  mov    %eax,-0x4c(%rbp)
  cltq
  mov    %rbx,-0x78(%rbp)
  shl    $0x3,%rbx
  lea    0x0(,%rax,8),%r13
  imul   %rbx,%rax
  mov    %rsp,-0xb8(%rbp)
  mov    %rbx,-0x58(%rbp)
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rsi
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L201
L94:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L94
L201:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L354
  orq    $0x0,-0x8(%rsp,%rax,1)
L354:
  mov    %rsp,%rbx
  test   %r8d,%r8d
  jle    L186
  mov    -0x58(%rbp),%rax
  mov    -0x4c(%rbp),%esi
  mov    %r13,%r12
  mov    %r8d,-0x48(%rbp)
  shr    $0x3,%r12
  mov    %rdx,-0xc0(%rbp)
  lea    (%rbx,%rax,1),%r14
  mov    -0x78(%rbp),%rax
  mov    %esi,%edi
  mov    %r13,-0x88(%rbp)
  sub    %r8d,%edi
  mov    %r14,-0xc8(%rbp)
  mov    %esi,%r13d
  shl    $0x3,%rax
  lea    -0x1(%rdi),%r11d
  mov    %edi,-0x8c(%rbp)
  mov    %rax,-0x80(%rbp)
  mov    %edi,%eax
  and    $0xfffffffc,%edi
  shr    $0x2,%eax
  mov    %edi,-0x94(%rbp)
  sub    $0x1,%eax
  cmp    $0x3,%r11d
  mov    %r11d,-0x90(%rbp)
  mov    %rax,-0xa0(%rbp)
  lea    (%r8,%rdi,1),%eax
  cmovbe %r8d,%eax
  xor    %r15d,%r15d
  mov    %eax,%edi
  mov    %eax,-0xa4(%rbp)
  sub    %r8d,%edi
  mov    %edi,-0x98(%rbp)
  lea    0x1(%rax),%edi
  mov    %edi,-0x68(%rbp)
  sub    %r8d,%edi
  mov    %edi,-0xa8(%rbp)
  lea    0x2(%rax),%edi
  add    $0x3,%eax
  mov    %edi,-0x70(%rbp)
  sub    %r8d,%edi
  mov    %eax,-0x50(%rbp)
  sub    %r8d,%eax
  mov    %edi,-0xac(%rbp)
  mov    %eax,-0xb0(%rbp)
  mov    %rbx,%rax
  mov    %r14,%rbx
  mov    %rdx,%r14
  mov    %rax,%rcx
  nopl   0x0(%rax)
L298:
  mov    -0x80(%rbp),%rdx
  mov    %rbx,%rdi
  mov    %r14,%rsi
  sub    -0x58(%rbp),%rdi
  mov    %rcx,-0x60(%rbp)
  call   <memcpy@plt>
  cmp    %r13d,-0x48(%rbp)
  mov    -0x60(%rbp),%rcx
  movdqa D35(%rip),%xmm8
  movapd D36(%rip),%xmm4
  jge    L296
  cmpl   $0x3,-0x90(%rbp)
  jbe    L212
  mov    -0xa0(%rbp),%rax
  movd   -0x48(%rbp),%xmm6
  movd   %r15d,%xmm7
  movdqa D43(%rip),%xmm2
  pshufd $0x0,%xmm7,%xmm7
  lea    0x1(%rax),%rdx
  pshufd $0x0,%xmm6,%xmm5
  pxor   %xmm6,%xmm6
  mov    %rbx,%rax
  shl    $0x5,%rdx
  paddd  %xmm5,%xmm2
  add    %rbx,%rdx
  nopl   0x0(%rax)
L65:
  movdqa %xmm2,%xmm0
  movdqa %xmm6,%xmm3
  add    $0x20,%rax
  psubd  %xmm5,%xmm0
  paddd  %xmm8,%xmm2
  pcmpeqd %xmm7,%xmm0
  pcmpgtd %xmm0,%xmm3
  movdqa %xmm0,%xmm1
  punpckldq %xmm3,%xmm1
  punpckhdq %xmm3,%xmm0
  andpd  %xmm4,%xmm1
  andpd  %xmm4,%xmm0
  movups %xmm1,-0x20(%rax)
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L65
  mov    -0x94(%rbp),%esi
  cmp    %esi,-0x8c(%rbp)
  je     L296
L212:
  pxor   %xmm0,%xmm0
  cmp    %r15d,-0x98(%rbp)
  je     L108
L173:
  movslq %r15d,%rdx
  movslq -0xa4(%rbp),%rax
  mov    %rdx,%rdi
  imul   %r12,%rdi
  add    %rdi,%rax
  movsd  %xmm0,(%rcx,%rax,8)
  cmp    -0x68(%rbp),%r13d
  jle    L296
  pxor   %xmm0,%xmm0
  cmp    %r15d,-0xa8(%rbp)
  je     L319
L26:
  mov    %rdx,%rdi
  movslq -0x68(%rbp),%rax
  imul   %r12,%rdi
  add    %rdi,%rax
  movsd  %xmm0,(%rcx,%rax,8)
  cmp    %r13d,-0x70(%rbp)
  jge    L296
  pxor   %xmm0,%xmm0
  cmp    %r15d,-0xac(%rbp)
  je     L123
L288:
  mov    %rdx,%rdi
  movslq -0x70(%rbp),%rax
  imul   %r12,%rdi
  add    %rdi,%rax
  movsd  %xmm0,(%rcx,%rax,8)
  cmp    %r13d,-0x50(%rbp)
  jge    L296
  mov    D36(%rip),%rax
  movq   %rax,%xmm0
  cmp    -0xb0(%rbp),%r15d
  je     L339
  pxor   %xmm0,%xmm0
L339:
  imul   %r12,%rdx
  movslq -0x50(%rbp),%rax
  add    %rdx,%rax
  movsd  %xmm0,(%rcx,%rax,8)
L296:
  lea    0x1(%r15),%eax
  add    -0x58(%rbp),%r14
  add    -0x88(%rbp),%rbx
  cmp    %eax,-0x48(%rbp)
  je     L96
  mov    %eax,%r15d
  jmp    L298
L108:
  movsd  D36(%rip),%xmm0
  jmp    L173
L319:
  movsd  D36(%rip),%xmm0
  jmp    L26
L123:
  movsd  D36(%rip),%xmm0
  jmp    L288
L191:
  mov    -0xc0(%rbp),%rcx
  mov    -0x80(%rbp),%r12
  xor    %ebx,%ebx
  mov    -0xc8(%rbp),%r14
  nopl   0x0(%rax,%rax,1)
L154:
  mov    %r14,%rsi
  mov    %rcx,%rdi
  mov    %r12,%rdx
  add    %r13,%r14
  call   <memcpy@plt>
  mov    %rax,%rcx
  mov    %ebx,%eax
  add    -0x58(%rbp),%rcx
  add    $0x1,%ebx
  cmp    %eax,%r15d
  jne    L154
L186:
  mov    -0xb8(%rbp),%rsp
  jmp    L226
L96:
  mov    -0x4c(%rbp),%edi
  mov    -0x88(%rbp),%r13
  mov    %rcx,%rbx
  mov    %rcx,%r8
  movq   $0x8,-0x48(%rbp)
  xor    %r10d,%r10d
  mov    %edi,%eax
  movq   $0x0,-0x60(%rbp)
  shr    %eax
  mov    %rcx,-0x88(%rbp)
  lea    -0x1(%rax),%esi
  lea    -0x1(%rdi),%eax
  lea    0x8(,%rax,8),%rax
  lea    0x1(%r12),%rdi
  add    $0x1,%rsi
  mov    %rdi,-0x68(%rbp)
  shl    $0x4,%rsi
  mov    %rax,-0x70(%rbp)
  nop
L85:
  mov    -0x68(%rbp),%r14
  movslq %r10d,%r11
  mov    -0x60(%rbp),%rdi
  mov    %rbx,%rax
  xor    %ecx,%ecx
  imul   %r11,%r14
  nopl   0x0(%rax)
L36:
  cmp    %r10d,%ecx
  je     L222
  movslq %ecx,%rdx
  imul   %r12,%rdx
  add    %r11,%rdx
  movsd  (%rbx,%rdx,8),%xmm2
  mov    -0x4c(%rbp),%edx
  divsd  (%rbx,%r14,8),%xmm2
  test   %edx,%edx
  jle    L222
  mov    %rax,%rdx
  sub    %rbx,%rdx
  cmp    -0x48(%rbp),%rdx
  je     L106
  unpcklpd %xmm2,%xmm2
  xor    %edx,%edx
  nop
L368:
  movupd (%r8,%rdx,1),%xmm1
  movupd (%rax,%rdx,1),%xmm0
  mulpd  %xmm2,%xmm1
  subpd  %xmm1,%xmm0
  movups %xmm0,(%rax,%rdx,1)
  add    $0x10,%rdx
  cmp    %rsi,%rdx
  jne    L368
L222:
  lea    0x1(%rcx),%edx
  add    %r13,%rax
  sub    %r12,%rdi
  cmp    %ecx,%r15d
  je     L193
  mov    %edx,%ecx
  jmp    L36
  nopw   0x0(%rax,%rax,1)
L193:
  add    %r12,-0x60(%rbp)
  add    $0x1,%r10
  add    %r13,%r8
  add    %r13,-0x48(%rbp)
  cmp    %r10,-0x78(%rbp)
  jne    L85
  mov    -0x4c(%rbp),%eax
  mov    -0x88(%rbp),%r9
  test   %eax,%eax
  jle    L191
  xor    %edx,%edx
  lea    0x1(%r12),%rcx
  nopw   0x0(%rax,%rax,1)
L54:
  movslq %edx,%rax
  imul   %rcx,%rax
  movsd  (%rbx,%rax,8),%xmm1
  xor    %eax,%eax
  unpcklpd %xmm1,%xmm1
  nopw   0x0(%rax,%rax,1)
L133:
  movupd (%r9,%rax,1),%xmm0
  divpd  %xmm1,%xmm0
  movups %xmm0,(%r9,%rax,1)
  add    $0x10,%rax
  cmp    %rsi,%rax
  jne    L133
  lea    0x1(%rdx),%eax
  add    %r13,%r9
  cmp    %edx,%r15d
  je     L191
  mov    %eax,%edx
  jmp    L54
  nopl   0x0(%rax,%rax,1)
L106:
  mov    -0x70(%rbp),%rdx
  lea    (%rdx,%rax,1),%r9
  mov    %rax,%rdx
  nopl   0x0(%rax,%rax,1)
L49:
  movsd  (%rdx,%rdi,8),%xmm1
  movsd  (%rdx),%xmm0
  add    $0x8,%rdx
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rdx)
  cmp    %r9,%rdx
  jne    L49
  jmp    L222
L73:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D35
datatype: byte[16]
name: retrieve_data
arguments: tag: D36
datatype: f64[2]
name: retrieve_data
arguments: tag: D43
datatype: f32[4]

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

tool: {"D36": [1.0,1.0]}

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

assistant: ```c
void invmat(int m, int n, double mat[m][n]) {
  if (m == n) {
    double ratio, a, matrix[n][2 * n];
    int i, j, k;
    for (i = 0; i < n; i++) {
      for (j = 0; j < n; j++)
        matrix[i][j] = mat[i][j];
      for (j = n; j < 2 * n; j++) {
        if (i == (j - n))
          matrix[i][j] = 1.0;
        else
          matrix[i][j] = 0.0;
      }
    }
    for (i = 0; i < n; i++) {
      for (j = 0; j < n; j++) {
        if (i != j) {
          ratio = matrix[j][i] / matrix[i][i];
          for (k = 0; k < 2 * n; k++) {
            matrix[j][k] -= ratio * matrix[i][k];
          }
        }
      }
    }
    for (i = 0; i < n; i++) {
      a = matrix[i][i];
      for (j = 0; j < 2 * n; j++) {
        matrix[i][j] /= a;
      }
    }
    for (i = 0; i < n; i++) {
      for (j = 0; j < n; j++)
        mat[i][j] = matrix[i][n + j];
    }
  }
}
```