user: What would the C source look like for the assembly code provided here?

```asm
<fatoracao_lu>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  mov    %r8,%r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  mov    %rdx,%rbp
  xor    %edx,%edx
  push   %rbx
  mov    %rbp,%rdi
  mov    %rcx,%rbx
  sub    $0x8,%rsp
  call   <preenche_valor_quadrada@plt>
  xor    %edx,%edx
  mov    %r12d,%esi
  mov    %rbx,%rdi
  call   <preenche_valor_quadrada@plt>
  mov    %r13,%rsi
  mov    %r12d,%edx
  mov    %r14,%rdi
  call   <matriz_pivo@plt>
  mov    %r13,%rdi
  mov    %r14,%rsi
  mov    %r12d,%edx
  call   <produto_quadradas@plt>
  mov    %r12d,%esi
  mov    %rbp,%rdi
  mov    %rax,%r13
  call   <preenche_identidade@plt>
  test   %r12d,%r12d
  jle    L54
  movslq %r12d,%r10
  mov    $0xffffffff,%r9d
  pxor   %xmm2,%xmm2
  xor    %edi,%edi
  movsd  D5(%rip),%xmm3
  mov    $0x1,%r8d
  nopl   0x0(%rax,%rax,1)
L3:
  mov    0x0(%rbp,%rdi,8),%rax
  mov    $0x8,%esi
  xor    %r14d,%r14d
  movapd %xmm2,%xmm1
  lea    0x0(,%rdi,8),%rdx
  movsd  %xmm3,(%rax,%rdi,8)
  xchg   %ax,%ax
L16:
  mov    -0x8(%r13,%rsi,1),%rcx
  mov    -0x8(%rbx,%rsi,1),%rax
  add    $0x1,%r14d
  movsd  (%rcx,%rdx,1),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax,%rdx,1)
  cmp    %r8d,%r14d
  je     L40
  mov    0x0(%rbp,%rsi,1),%r11
  xor    %eax,%eax
  movapd %xmm2,%xmm1
  nopl   0x0(%rax)
L57:
  mov    (%rbx,%rax,1),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  mulsd  (%r11,%rax,1),%xmm0
  add    $0x8,%rax
  addsd  %xmm0,%xmm1
  cmp    %rax,%rsi
  jne    L57
  add    $0x8,%rsi
  jmp    L16
  nopw   0x0(%rax,%rax,1)
L40:
  mov    (%rbx,%rdi,8),%r14
  mov    %rdi,%r11
  mov    %r9d,%esi
  add    %rdx,%r14
  nopl   (%rax)
L38:
  test   %rdi,%rdi
  je     L88
  mov    0x0(%rbp,%r11,8),%rcx
  xor    %eax,%eax
  movapd %xmm2,%xmm1
  nopl   0x0(%rax)
L45:
  mov    (%rbx,%rax,8),%r15
  movsd  (%r15,%rdx,1),%xmm0
  mulsd  (%rcx,%rax,8),%xmm0
  mov    %rax,%r15
  add    $0x1,%rax
  addsd  %xmm0,%xmm1
  cmp    %r15,%rsi
  jne    L45
L23:
  mov    0x0(%r13,%r11,8),%rax
  add    $0x1,%r11
  movsd  (%rax,%rdx,1),%xmm0
  subsd  %xmm1,%xmm0
  divsd  (%r14),%xmm0
  movsd  %xmm0,(%rcx,%rdx,1)
  cmp    %r11d,%r12d
  jg     L38
  add    $0x1,%rdi
  add    $0x1,%r8
  add    $0x1,%r9d
  cmp    %rdi,%r10
  jne    L3
L54:
  add    $0x8,%rsp
  mov    %r13,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1090 <free@plt>
  nopl   0x0(%rax,%rax,1)
L88:
  mov    0x0(%rbp,%r11,8),%rcx
  movapd %xmm2,%xmm1
  jmp    L23
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D5
data_type: f32[2]

tool: {"D5": [0.0,1.875]}

assistant: ```c
void fatoracao_lu(double **A, int dim, double **L, double **U, double **P) {
  double **PA;
  preenche_valor_quadrada(L, dim, 0);
  preenche_valor_quadrada(U, dim, 0);
  matriz_pivo(A, P, dim);
  PA = produto_quadradas(P, A, dim);
  preenche_identidade(L, dim);
  int i, j, k;
  for (j = 0; j < dim; j++) {
    L[j][j] = 1;
    for (i = 0; i <= j; i++) {
      double soma = 0;
      for (k = 0; k < i; k++) {
        soma += U[k][j] * L[i][k];
      }
      U[i][j] = PA[i][j] - soma;
    }
    for (i = j; i < dim; i++) {
      double soma = 0;
      for (k = 0; k < j; k++) {
        soma += U[k][j] * L[i][k];
      }
      L[i][j] = (PA[i][j] - soma) / U[j][j];
    }
  }
  free(PA);
  PA = NULL;
}
```