user: What is the c source code of the assembly code below?

```asm
<offset>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  movl   $0x0,-0x10(%rbp)
  jmp    L45
L86:
  mov    -0x10(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L43
L124:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L44
  ucomisd %xmm1,%xmm0
  jne    L44
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L44
  ucomisd %xmm1,%xmm0
  jne    L44
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm0
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L44
  ucomisd %xmm1,%xmm0
  jne    L44
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  jmp    L138
L13:
  movl   $0x0,-0x8(%rbp)
  jmp    L105
L85:
  mov    -0x4(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x8(%rbp)
L105:
  cmpl   $0x2,-0x8(%rbp)
  jle    L85
  addl   $0x1,-0x4(%rbp)
L138:
  mov    -0x20(%rbp),%rax
  mov    (%rax),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x4(%rbp)
  jl     L13
  mov    -0x20(%rbp),%rax
  mov    (%rax),%eax
  lea    -0x1(%rax),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,(%rax)
  subl   $0x1,-0xc(%rbp)
  jmp    L2
L44:
  mov    -0x20(%rbp),%rax
  mov    (%rax),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
L2:
  addl   $0x1,-0xc(%rbp)
L43:
  mov    -0x20(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0xc(%rbp)
  jl     L124
  addl   $0x1,-0x10(%rbp)
L45:
  mov    -0x20(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x10(%rbp)
  jl     L86
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void offset(double **arr, int *size) {
  int i, j, k, l;
  for (i = 0; i < *size; ++i) {
    for (j = i + 1; j < *size; ++j) {
      if (arr[i][0] == arr[j][0] && arr[i][1] == arr[j][1] && arr[i][2] == arr[j][2]) {
        for (l = j; l < *size - 1; ++l) {
          for (k = 0; k < 3; ++k) {
            arr[l][k] = arr[l + 1][k];
          }
        }
        *size = *size - 1;
        j--;
      } else {
        j = *size - 1;
      }
    }
  }
}
```