user: Demonstrate the C code that generates the assembly output below:

```asm
<find_inverse_matrix>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x108,%rsp
  mov    %rsi,%r14
  mov    %fs:0x28,%rax
  mov    %rax,0xf8(%rsp)
  xor    %eax,%eax
  lea    0x60(%rsp),%rax
  lea    0xa8(%rsp),%rdx
L38:
  movsd  (%rdi),%xmm0
  movsd  %xmm0,(%rax)
  movsd  0x8(%rdi),%xmm0
  movsd  %xmm0,0x8(%rax)
  movsd  0x10(%rdi),%xmm0
  movsd  %xmm0,0x10(%rax)
  add    $0x18,%rdi
  add    $0x18,%rax
  cmp    %rax,%rdx
  jne    L38
  movsd  0x60(%rsp),%xmm1
  movq   %xmm1,%r15
  mov    0x80(%rsp),%rbp
  movq   %rbp,%xmm5
  mulsd  %xmm1,%xmm5
  movsd  %xmm5,0x10(%rsp)
  movsd  0xa0(%rsp),%xmm6
  movsd  %xmm6,0x18(%rsp)
  movsd  0x68(%rsp),%xmm0
  movsd  %xmm0,0x20(%rsp)
  mov    0x88(%rsp),%r13
  movq   %r13,%xmm7
  mulsd  %xmm0,%xmm7
  movsd  %xmm7,0x28(%rsp)
  movsd  0x90(%rsp),%xmm2
  movsd  %xmm2,0x30(%rsp)
  mov    0x70(%rsp),%r12
  mov    0x78(%rsp),%rbx
  movq   %r12,%xmm4
  movq   %rbx,%xmm3
  mulsd  %xmm3,%xmm4
  movsd  %xmm4,0x38(%rsp)
  movsd  0x98(%rsp),%xmm3
  movsd  %xmm3,0x40(%rsp)
  movq   %rbp,%xmm8
  movq   %r12,%xmm11
  mulsd  %xmm11,%xmm8
  movsd  %xmm8,0x48(%rsp)
  movq   %rbx,%xmm9
  mulsd  %xmm0,%xmm9
  movsd  %xmm9,0x50(%rsp)
  movq   %r13,%xmm10
  mulsd  %xmm1,%xmm10
  movsd  %xmm10,0x58(%rsp)
  mulsd  %xmm6,%xmm5
  movapd %xmm5,%xmm0
  mulsd  %xmm2,%xmm7
  addsd  %xmm7,%xmm0
  mulsd  %xmm3,%xmm4
  addsd  %xmm4,%xmm0
  mulsd  %xmm8,%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm9,%xmm6
  subsd  %xmm6,%xmm0
  mulsd  %xmm10,%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,0x8(%rsp)
  andpd  D27(%rip),%xmm0
  movsd  D36(%rip),%xmm1
  comisd %xmm0,%xmm1
  ja     L26
L10:
  movq   %rbp,%xmm0
  movsd  0x18(%rsp),%xmm4
  mulsd  %xmm4,%xmm0
  movq   %r13,%xmm1
  movsd  0x40(%rsp),%xmm5
  mulsd  %xmm5,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0xb0(%rsp)
  movapd %xmm4,%xmm0
  movsd  0x20(%rsp),%xmm6
  mulsd  %xmm6,%xmm0
  movq   %r12,%xmm1
  mulsd  %xmm5,%xmm1
  subsd  %xmm1,%xmm0
  movq   D34(%rip),%xmm2
  xorpd  %xmm2,%xmm0
  movsd  %xmm0,0xb8(%rsp)
  movsd  0x28(%rsp),%xmm0
  subsd  0x48(%rsp),%xmm0
  movsd  %xmm0,0xc0(%rsp)
  movq   %rbx,%xmm1
  mulsd  %xmm4,%xmm1
  movq   %r13,%xmm0
  movsd  0x30(%rsp),%xmm7
  mulsd  %xmm7,%xmm0
  subsd  %xmm0,%xmm1
  xorpd  %xmm2,%xmm1
  movsd  %xmm1,0xc8(%rsp)
  movq   %r15,%xmm3
  mulsd  %xmm3,%xmm4
  movapd %xmm4,%xmm0
  movq   %r12,%xmm1
  mulsd  %xmm7,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0xd0(%rsp)
  movsd  0x58(%rsp),%xmm0
  subsd  0x38(%rsp),%xmm0
  xorpd  %xmm2,%xmm0
  movsd  %xmm0,0xd8(%rsp)
  movq   %rbx,%xmm0
  mulsd  %xmm5,%xmm0
  movq   %rbp,%xmm1
  mulsd  %xmm7,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0xe0(%rsp)
  mulsd  %xmm5,%xmm3
  movapd %xmm3,%xmm0
  mulsd  %xmm7,%xmm6
  subsd  %xmm6,%xmm0
  xorpd  %xmm2,%xmm0
  movsd  %xmm0,0xe8(%rsp)
  movsd  0x10(%rsp),%xmm0
  subsd  0x50(%rsp),%xmm0
  movsd  %xmm0,0xf0(%rsp)
  lea    0xb0(%rsp),%rax
  lea    0xf8(%rsp),%rdx
L13:
  movsd  (%rax),%xmm0
  movsd  0x8(%rsp),%xmm3
  divsd  %xmm3,%xmm0
  movsd  %xmm0,(%r14)
  movsd  0x8(%rax),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,0x8(%r14)
  movsd  0x10(%rax),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,0x10(%r14)
  add    $0x18,%rax
  add    $0x18,%r14
  cmp    %rdx,%rax
  jne    L13
  mov    0xf8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x108,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L26:
  lea    D35(%rip),%rdi
  call   <HECMW_vis_print_exit@plt>
  jmp    L10
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D27
type_guessed: qword[2]
name: extract_symbolic_data
arguments: data_tag: D36
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D34
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D35
type_guessed: string

tool: {"D27": [0x7fffffffffffffff,0x0000000000000000]}

tool: {"D36": [0x48,0xaf,0xbc,0x9a,0xf2,0xd7,0x7a,0x3e]}

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

tool: D35: ERROR: HEC-MW-VIS-E2001: There is something wrong with transform matrix, invers =0

assistant: ```c
void find_inverse_matrix(double coff_matrix[3][3], double inv_matrix[3][3]) {
  int i, j;
  double a[3][3], norm_a, aa[3][3];
  for (i = 0; i < 3; i++)
    for (j = 0; j < 3; j++)
      a[i][j] = coff_matrix[i][j];
  norm_a = a[0][0] * a[1][1] * a[2][2] + a[0][1] * a[1][2] * a[2][0] + a[0][2] * a[1][0] * a[2][1] - a[0][2] * a[1][1] * a[2][0] - a[0][1] * a[1][0] * a[2][2] - a[0][0] * a[1][2] * a[2][1];
  if (fabs(norm_a) < 1.0E-7)
    HECMW_vis_print_exit("ERROR: HEC-MW-VIS-E2001: There is something wrong with transform "
                         "matrix, invers =0");
  aa[0][0] = a[1][1] * a[2][2] - a[1][2] * a[2][1];
  aa[0][1] = -(a[0][1] * a[2][2] - a[2][1] * a[0][2]);
  aa[0][2] = a[0][1] * a[1][2] - a[1][1] * a[0][2];
  aa[1][0] = -(a[1][0] * a[2][2] - a[2][0] * a[1][2]);
  aa[1][1] = a[0][0] * a[2][2] - a[2][0] * a[0][2];
  aa[1][2] = -(a[0][0] * a[1][2] - a[1][0] * a[0][2]);
  aa[2][0] = a[1][0] * a[2][1] - a[2][0] * a[1][1];
  aa[2][1] = -(a[0][0] * a[2][1] - a[2][0] * a[0][1]);
  aa[2][2] = a[0][0] * a[1][1] - a[1][0] * a[0][1];
  for (i = 0; i < 3; i++)
    for (j = 0; j < 3; j++)
      inv_matrix[i][j] = aa[i][j] / norm_a;
  return;
}
```