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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  movss  D55(%rip),%xmm0
  movss  %xmm0,-0x80(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x78(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x74(%rbp)
  lea    -0x7c(%rbp),%rax
  mov    %rax,%rsi
  lea    D69(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    -0x74(%rbp),%rdx
  lea    -0x78(%rbp),%rax
  mov    %rax,%rsi
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x7c(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x60(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L3:
  cmp    %rdx,%rsp
  je     L65
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L3
L65:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L13
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L13:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x58(%rbp)
  movl   $0x0,-0x68(%rbp)
  jmp    L17
L69:
  lea    -0x6c(%rbp),%rdx
  lea    -0x70(%rbp),%rax
  mov    %rax,%rsi
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movss  -0x70(%rbp),%xmm1
  movss  D39(%rip),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x6c(%rbp),%xmm0
  addss  %xmm1,%xmm0
  mov    -0x58(%rbp),%rax
  mov    -0x68(%rbp),%edx
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  addl   $0x1,-0x68(%rbp)
L17:
  mov    -0x7c(%rbp),%eax
  cmp    %eax,-0x68(%rbp)
  jl     L69
  movl   $0x0,-0x64(%rbp)
  jmp    L52
L51:
  mov    -0x58(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  movss  (%rax,%rdx,4),%xmm0
  cvttss2si %xmm0,%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0x70(%rbp)
  mov    -0x58(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  movss  (%rax,%rdx,4),%xmm0
  cvttss2si %xmm0,%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  movss  %xmm0,-0x6c(%rbp)
  lea    -0x48(%rbp),%r9
  lea    -0x50(%rbp),%r8
  lea    -0x6c(%rbp),%rcx
  lea    -0x70(%rbp),%rdx
  lea    -0x74(%rbp),%rsi
  lea    -0x78(%rbp),%rax
  sub    $0x8,%rsp
  lea    -0x80(%rbp),%rdi
  push   %rdi
  mov    %rax,%rdi
  call   <calc_travel_path@plt>
  add    $0x10,%rsp
  movss  -0x50(%rbp),%xmm1
  movss  -0x48(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  -0x4c(%rbp),%xmm1
  movss  -0x44(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x3c(%rbp)
  movss  -0x40(%rbp),%xmm1
  movss  -0x78(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x78(%rbp)
  movss  -0x3c(%rbp),%xmm1
  movss  -0x74(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x74(%rbp)
  movss  -0x3c(%rbp),%xmm0
  mov    -0x40(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  movss  -0x80(%rbp),%xmm0
  addss  %xmm0,%xmm0
  movss  %xmm0,-0x80(%rbp)
  addl   $0x1,-0x64(%rbp)
L52:
  mov    -0x7c(%rbp),%eax
  cmp    %eax,-0x64(%rbp)
  jl     L51
  movss  -0x74(%rbp),%xmm0
  mov    -0x78(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L45
  call   <__stack_chk_fail@plt>
L45:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: read_data
arguments: data_label: D55
type_infered: f32
name: read_data
arguments: data_label: D69
type_infered: string
name: read_data
arguments: data_label: D49
type_infered: string
name: read_data
arguments: data_label: D39
type_infered: byte[4]
name: read_data
arguments: data_label: D5
type_infered: string
name: read_data
arguments: data_label: D16
type_infered: string

tool: D55: 1

tool: D69: %d

tool: D49: %f %f

tool: {"D39": [0x00,0x00,0x20,0x41]}

tool: D5: %.2f %.2f


tool: D16: %.2f %.2f

assistant: ```c
int main() {
  float pacMuscleWeight = 1;
  int numNacepin;
  float pX = 0;
  float pY = 0;
  scanf("%d", &numNacepin);
  scanf("%f %f", &pX, &pY);
  float nacepinCans[numNacepin];
  int i;
  float nacX, nacY;
  for (i = 0; i < numNacepin; i++) {
    scanf("%f %f", &nacX, &nacY);
    nacepinCans[i] = nacX * 10 + nacY;
  }
  float travelVector[2];
  float slideVector[2];
  float translocVector[2];
  int curNacepin = 0;
  while (curNacepin < numNacepin) {
    nacX = (int)nacepinCans[curNacepin] / 10;
    nacY = (int)nacepinCans[curNacepin] % 10;
    calc_travel_path(&pX, &pY, &nacX, &nacY, &travelVector, &slideVector, &pacMuscleWeight);
    translocVector[0] = (travelVector[0] + slideVector[0]);
    translocVector[1] = (travelVector[1] + slideVector[1]);
    pX += translocVector[0];
    pY += translocVector[1];
    printf("%.2f %.2f\n", translocVector[0], translocVector[1]);
    pacMuscleWeight *= 2;
    curNacepin++;
  }
  printf("%.2f %.2f", pX, pY);
  return 0;
}
```