user: Translate the below assembly code into C programming language:

```asm
<kramer3>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    -0x18(%rbp),%rax
  mov    $0x3,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <determinant@plt>
  movapd %xmm0,%xmm1
  movsd  D2(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm2
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm2
  mulsd  %xmm3,%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  movsd  0x8(%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm1
  mulsd  %xmm3,%xmm1
  mov    -0x18(%rbp),%rax
  movsd  0x10(%rax),%xmm4
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm1
  mulsd  %xmm1,%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  movsd  0x8(%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm3,%xmm0
  mov    -0x18(%rbp),%rax
  movsd  0x10(%rax),%xmm4
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x8(%rbp),%xmm0
  mov    -0x28(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm2
  mulsd  %xmm3,%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm1
  mulsd  %xmm3,%xmm1
  mov    -0x18(%rbp),%rax
  movsd  0x10(%rax),%xmm4
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm1
  mulsd  %xmm1,%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm3,%xmm0
  mov    -0x18(%rbp),%rax
  movsd  0x10(%rax),%xmm4
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movq   D16(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm2
  mulsd  %xmm3,%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm1
  mulsd  %xmm3,%xmm1
  mov    -0x18(%rbp),%rax
  movsd  0x8(%rax),%xmm4
  mov    -0x18(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm1
  mulsd  %xmm1,%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm2
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm3
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm0
  mulsd  %xmm3,%xmm0
  mov    -0x18(%rbp),%rax
  movsd  0x8(%rax),%xmm4
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  nop
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D2
type: f64
name: unpack_data
arguments: label: D16
type: byte[8]

tool: D2: 1

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

assistant: ```c
void kramer3(double A[3][3], double b[3], double x[3]) {
  double det;
  double determinant();
  det = 1.0 / determinant(A, 3);
  x[0] = (b[0] * (A[1][1] * A[2][2] - A[1][2] * A[2][1]) - b[1] * (A[0][1] * A[2][2] - A[0][2] * A[2][1]) + b[2] * (A[0][1] * A[1][2] - A[0][2] * A[1][1])) * det;
  x[1] = -(b[0] * (A[1][0] * A[2][2] - A[1][2] * A[2][0]) - b[1] * (A[0][0] * A[2][2] - A[0][2] * A[2][0]) + b[2] * (A[0][0] * A[1][2] - A[0][2] * A[1][0])) * det;
  x[2] = (b[0] * (A[1][0] * A[2][1] - A[1][1] * A[2][0]) - b[1] * (A[0][0] * A[2][1] - A[0][1] * A[2][0]) + b[2] * (A[0][0] * A[1][1] - A[0][1] * A[1][0])) * det;
}
```