user: Please show me the C implementation that matches the assembly code listed below:

```asm
<paw_test_triang_matrix_inverse>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  movl   $0x3,-0x1c(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <paw_alloc_2d_array@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <paw_alloc_2d_array@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <paw_alloc_2d_array@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  movsd  D68(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  D1(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  movsd  D8(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  D8(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  movsd  D66(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  movsd  D28(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x10(%rbp),%rcx
  mov    -0x18(%rbp),%rdx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%esi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  call   <paw_triang_matrix_inverse@plt>
  movl   $0x0,-0x28(%rbp)
  jmp    L69
L62:
  movl   $0x0,-0x24(%rbp)
  jmp    L33
L10:
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x20(%rbp)
  jmp    L24
L18:
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x20(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x20(%rbp)
L24:
  mov    -0x20(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L18
  addl   $0x1,-0x24(%rbp)
L33:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L10
  addl   $0x1,-0x28(%rbp)
L69:
  mov    -0x28(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L62
  movl   $0x0,-0x28(%rbp)
  jmp    L2
L23:
  movl   $0x0,-0x24(%rbp)
  jmp    L61
L75:
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  addl   $0x1,-0x24(%rbp)
L61:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L75
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x28(%rbp)
L2:
  mov    -0x28(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L23
  nop
  nop
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D68
data_type: f64
name: retrieve_data
arguments: label: D1
data_type: f64
name: retrieve_data
arguments: label: D8
data_type: f64
name: retrieve_data
arguments: label: D66
data_type: f64
name: retrieve_data
arguments: label: D28
data_type: f64
name: retrieve_data
arguments: label: D3
data_type: string
name: retrieve_data
arguments: label: D57
data_type: string

tool: D68: 1

tool: D1: 2

tool: D8: 3

tool: D66: 6.3

tool: D28: 4

tool: D3: u

tool: D57: %f	

assistant: ```c
void paw_test_triang_matrix_inverse() {
  int i, j, k;
  int n;
  double **a;
  double **b;
  double **c;
  n = 3;
  a = paw_alloc_2d_array(n, n);
  b = paw_alloc_2d_array(n, n);
  c = paw_alloc_2d_array(n, n);
  a[0][0] = 1.0;
  a[0][1] = 2.0;
  a[0][2] = 3.0;
  a[1][0] = 0.0;
  a[1][1] = 3.0;
  a[1][2] = 6.3;
  a[2][0] = 0.0;
  a[2][1] = 0.0;
  a[2][2] = 4.0;
  paw_triang_matrix_inverse("u", n, a, b);
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      c[i][j] = 0.0;
      for (k = 0; k < n; k++) {
        c[i][j] = c[i][j] + a[i][k] * b[k][j];
      }
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      printf("%f\t", c[i][j]);
    }
    printf("\n");
  }
}
```