user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D14(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  lea    -0x44(%rbp),%rsi
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <scanf@plt>
  movslq -0x44(%rbp),%rax
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L4
L39:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L39
L4:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L67
L2:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rbx
  and    $0xfffffffffffffff0,%rdx
  sub    %rax,%rcx
L136:
  cmp    %rcx,%rsp
  je     L92
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L136
L67:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L2
L92:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L1
L43:
  xor    %eax,%eax
  lea    -0x3c(%rbp),%rdx
  lea    -0x40(%rbp),%rsi
  mov    %rsp,%r12
  lea    D59(%rip),%rdi
  call   <scanf@plt>
  cmpl   $0x0,-0x44(%rbp)
  jle    L78
  mov    %rbx,%r15
  mov    %r12,%r14
  xor    %r13d,%r13d
  nopw   0x0(%rax,%rax,1)
L45:
  mov    %r14,%rdx
  mov    %r15,%rsi
  lea    D59(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    -0x44(%rbp),%eax
  add    $0x1,%r13d
  add    $0x4,%r15
  add    $0x4,%r14
  cmp    %r13d,%eax
  jg     L45
  movss  -0x3c(%rbp),%xmm1
  movss  -0x40(%rbp),%xmm0
  test   %eax,%eax
  jle    L125
  movss  D9(%rip),%xmm2
  xor    %r14d,%r14d
  lea    D46(%rip),%r13
  nopl   0x0(%rax)
L5:
  movss  (%rbx,%r14,4),%xmm4
  movss  (%r12,%r14,4),%xmm3
  mov    %r13,%rdi
  movss  %xmm2,-0x5c(%rbp)
  add    $0x1,%r14
  subss  %xmm0,%xmm4
  subss  %xmm1,%xmm3
  movaps %xmm4,%xmm0
  movaps %xmm3,%xmm1
  divss  %xmm2,%xmm0
  divss  %xmm2,%xmm1
  addss  %xmm4,%xmm0
  movss  %xmm0,-0x54(%rbp)
  addss  %xmm3,%xmm1
  movss  %xmm1,-0x58(%rbp)
  call   <printf@plt>
  movss  -0x54(%rbp),%xmm0
  movss  -0x58(%rbp),%xmm1
  addss  -0x40(%rbp),%xmm0
  addss  -0x3c(%rbp),%xmm1
  movss  -0x5c(%rbp),%xmm2
  movss  %xmm0,-0x40(%rbp)
  addss  %xmm2,%xmm2
  movss  %xmm1,-0x3c(%rbp)
  cmp    %r14d,-0x44(%rbp)
  jg     L5
L125:
  lea    D57(%rip),%rdi
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L76
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L78:
  movss  -0x3c(%rbp),%xmm1
  movss  -0x40(%rbp),%xmm0
  jmp    L125
L1:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L43
L76:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D14
type_guessed: string
name: read_data
arguments: data_label: D59
type_guessed: string
name: read_data
arguments: data_label: D9
type_guessed: byte[4]
name: read_data
arguments: data_label: D46
type_guessed: string
name: read_data
arguments: data_label: D57
type_guessed: string

tool: D14: %d

tool: D59: %f %f

tool: {"D9": [0x00,0x00,0x80,0x3f]}

tool: D46: %.2f %.2f


tool: D57: %.2f %.2f

assistant: ```c
int main() {
  int N, i;
  scanf("%d", &N);
  float pacx, pacy, nacx[N], nacy[N], dx, dy, MuscleMass = 1.0f;
  scanf("%f %f", &pacx, &pacy);
  for (i = 0; i < N; i++) {
    scanf("%f %f", &nacx[i], &nacy[i]);
  }
  for (i = 0; i < N; i++) {
    dx = nacx[i] - pacx;
    dy = nacy[i] - pacy;
    dx += dx / MuscleMass;
    dy += dy / MuscleMass;
    printf("%.2f %.2f\n", dx, dy);
    pacx += dx;
    pacy += dy;
    MuscleMass *= 2;
  }
  printf("%.2f %.2f", pacx, pacy);
  return 0;
}
```