user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    -0x3c(%rbp),%rsi
  lea    D20(%rip),%rdi
  call   <scanf@plt>
  mov    -0x3c(%rbp),%ecx
  movslq %ecx,%rax
  shl    $0x2,%rax
  lea    0xf(%rax),%rdx
  mov    %rdx,%rdi
  and    $0xfffffffffffffff0,%rdi
  and    $0xfffffffffffff000,%rdx
  mov    %rsp,%rsi
  sub    %rdx,%rsi
L132:
  cmp    %rsi,%rsp
  je     L63
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L132
L63:
  mov    %rdi,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L4
  orq    $0x0,-0x8(%rsp,%rdx,1)
L4:
  mov    %rsp,%r13
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rsi
  sub    %rax,%rsi
L147:
  cmp    %rsi,%rsp
  je     L8
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L147
L8:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L93
  orq    $0x0,-0x8(%rsp,%rax,1)
L93:
  mov    %rsp,%r14
  test   %ecx,%ecx
  jle    L101
  mov    %r13,%r12
  mov    $0x0,%ebx
  lea    D20(%rip),%r15
L76:
  mov    %r12,%rsi
  mov    %r15,%rdi
  call   <scanf@plt>
  add    $0x1,%ebx
  mov    -0x3c(%rbp),%eax
  add    $0x4,%r12
  cmp    %ebx,%eax
  jg     L76
  test   %eax,%eax
  jle    L101
  mov    %r14,%r12
  mov    $0x0,%ebx
  lea    D20(%rip),%r15
L43:
  mov    %r12,%rsi
  mov    %r15,%rdi
  call   <scanf@plt>
  add    $0x1,%ebx
  mov    -0x3c(%rbp),%eax
  add    $0x4,%r12
  cmp    %ebx,%eax
  jg     L43
  test   %eax,%eax
  jle    L0
  mov    $0x1,%r12d
  pxor   %xmm3,%xmm3
  movss  %xmm3,-0x44(%rbp)
L20:
  cmp    %r12d,-0x3c(%rbp)
  jle    L70
  mov    %r12,%rbx
L161:
  mov    -0x4(%r13,%r12,4),%edi
  sub    0x0(%r13,%rbx,4),%edi
  call   <abs@plt>
  movss  %xmm0,-0x48(%rbp)
  mov    -0x4(%r14,%r12,4),%edi
  sub    (%r14,%rbx,4),%edi
  call   <abs@plt>
  movss  -0x48(%rbp),%xmm1
  mulss  %xmm1,%xmm1
  mulss  %xmm0,%xmm0
  addss  %xmm1,%xmm0
  call   <sqrt@plt>
  addss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  mov    -0x3c(%rbp),%eax
  add    $0x1,%rbx
  cmp    %ebx,%eax
  jg     L161
  add    $0x1,%r12
  lea    -0x1(%r12),%edx
  cmp    %edx,%eax
  jg     L20
  jmp    L70
L0:
  pxor   %xmm4,%xmm4
  movss  %xmm4,-0x44(%rbp)
  jmp    L70
L101:
  pxor   %xmm5,%xmm5
  movss  %xmm5,-0x44(%rbp)
L70:
  movss  -0x44(%rbp),%xmm0
  lea    D32(%rip),%rdi
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L35
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L35:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D20
datatype: string
name: parse_data
arguments: data_label: D32
datatype: string

tool: D20: %d

tool: D32: %.4f

assistant: ```c
int main() {
  int n;
  scanf("%d", &n);
  int x[n], y[n];
  for (int i = 0; i < n; i++) {
    scanf("%d", &x[i]);
  }
  for (int i = 0; i < n; i++) {
    scanf("%d", &y[i]);
  }
  float distance = 0;
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      float sq_x = abs(x[i] - x[j]);
      float sq_y = abs(y[i] - y[j]);
      distance = distance + sqrt(sq_x * sq_x + sq_y * sq_y);
    }
  }
  printf("%.4f", distance);
}
```