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

```asm
<fatoracao_lu>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%r14
  mov    %esi,%r13d
  mov    %rdx,%rbp
  mov    %rcx,%rbx
  mov    %r8,%r12
  mov    $0x0,%edx
  mov    %rbp,%rdi
  call   <preenche_valor_quadrada@plt>
  mov    $0x0,%edx
  mov    %r13d,%esi
  mov    %rbx,%rdi
  call   <preenche_valor_quadrada@plt>
  mov    %r13d,%edx
  mov    %r12,%rsi
  mov    %r14,%rdi
  call   <matriz_pivo@plt>
  mov    %r13d,%edx
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <produto_quadradas@plt>
  mov    %rax,%r12
  mov    %r13d,%esi
  mov    %rbp,%rdi
  call   <preenche_identidade@plt>
  test   %r13d,%r13d
  jle    L107
  mov    %r13d,%r10d
  mov    $0xffffffff,%r9d
  mov    $0x1,%edi
  mov    $0x0,%esi
  movsd  D6(%rip),%xmm2
  jmp    L72
L91:
  mov    0x0(%rbp,%rcx,1),%r8
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L108:
  mov    (%rbx,%rax,1),%r15
  movsd  (%r15,%rdx,1),%xmm0
  mulsd  (%r8,%rax,1),%xmm0
  addsd  %xmm0,%xmm1
  add    $0x8,%rax
  cmp    %rax,%rcx
  jne    L108
L23:
  add    $0x8,%rcx
L90:
  mov    -0x8(%rbx,%rcx,1),%rax
  mov    -0x8(%r12,%rcx,1),%r8
  movsd  (%r8,%rdx,1),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax,%rdx,1)
  add    $0x1,%r11d
  cmp    %edi,%r11d
  je     L5
  test   %r11d,%r11d
  jg     L91
  pxor   %xmm1,%xmm1
  jmp    L23
L4:
  mov    0x0(%rbp,%r15,8),%r8
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L100:
  mov    (%rbx,%rax,8),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  mulsd  (%r8,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  mov    %rax,%rcx
  add    $0x1,%rax
  cmp    %rcx,%r11
  jne    L100
L69:
  mov    0x0(%rbp,%r15,8),%rax
  mov    (%r12,%r15,8),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  subsd  %xmm1,%xmm0
  mov    (%rbx,%rsi,8),%rcx
  divsd  (%rcx,%rdx,1),%xmm0
  movsd  %xmm0,(%rax,%rdx,1)
  add    $0x1,%r15
  cmp    %r15d,%r13d
  jle    L54
L76:
  pxor   %xmm1,%xmm1
  test   %r14d,%r14d
  jg     L4
  jmp    L69
L54:
  add    $0x1,%rsi
  add    $0x1,%rdi
  add    $0x1,%r9d
  cmp    %r10,%rsi
  je     L107
L72:
  lea    0x0(,%rsi,8),%rdx
  mov    0x0(%rbp,%rsi,8),%rax
  movsd  %xmm2,(%rax,%rsi,8)
  mov    %esi,%r14d
  mov    $0x8,%ecx
  mov    $0x0,%r11d
  pxor   %xmm1,%xmm1
  test   %esi,%esi
  jns    L90
L5:
  mov    %rsi,%r15
  mov    %r9d,%r11d
  cmp    %r14d,%r13d
  jg     L76
  jmp    L54
L107:
  mov    %r12,%rdi
  call   <free@plt>
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D6
type: f32[2]

tool: {"D6": [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;
}
```