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

```asm
<main>:
  endbr64
  push   %rbp
  lea    D2(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  lea    D31(%rip),%r15
  push   %r14
  lea    -0x5c(%rbp),%rsi
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movl   $0x3f800000,-0x60(%rbp)
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  call   <scanf@plt>
  lea    -0x58(%rbp),%rax
  lea    -0x54(%rbp),%rdx
  mov    %r15,%rdi
  mov    %rax,%rsi
  mov    %rax,-0x70(%rbp)
  xor    %eax,%eax
  mov    %rdx,-0x68(%rbp)
  call   <scanf@plt>
  movslq -0x5c(%rbp),%rax
  mov    %rsp,%rsi
  mov    %rax,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rdx
  cmp    %rsi,%rsp
  je     L62
L81:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L81
L62:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L88
L12:
  mov    %rsp,%r13
  test   %ecx,%ecx
  jle    L55
  xor    %r14d,%r14d
  lea    -0x4c(%rbp),%r12
  lea    -0x50(%rbp),%rbx
  nopl   0x0(%rax)
L4:
  mov    %r12,%rdx
  mov    %rbx,%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  movss  D14(%rip),%xmm0
  mov    -0x5c(%rbp),%eax
  mulss  -0x50(%rbp),%xmm0
  addss  -0x4c(%rbp),%xmm0
  movss  %xmm0,0x0(%r13,%r14,4)
  add    $0x1,%r14
  cmp    %r14d,%eax
  jg     L4
  test   %eax,%eax
  jle    L55
  lea    -0x60(%rbp),%rax
  xor    %r15d,%r15d
  lea    -0x40(%rbp),%r9
  mov    %r13,-0x80(%rbp)
  mov    %rax,-0x78(%rbp)
  lea    -0x48(%rbp),%r8
  mov    %r15,%r13
  mov    %r9,%r15
  mov    %r8,%r14
  nopl   (%rax)
L7:
  mov    -0x80(%rbp),%rax
  pxor   %xmm0,%xmm0
  sub    $0x8,%rsp
  mov    -0x68(%rbp),%rsi
  mov    -0x70(%rbp),%rdi
  mov    %r15,%r9
  mov    %r14,%r8
  cvttss2si (%rax,%r13,4),%edx
  push   -0x78(%rbp)
  add    $0x1,%r13
  movslq %edx,%rax
  mov    %edx,%ecx
  imul   $0x66666667,%rax,%rax
  sar    $0x1f,%ecx
  sar    $0x22,%rax
  sub    %ecx,%eax
  mov    %r12,%rcx
  cvtsi2ss %eax,%xmm0
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%edx
  movss  %xmm0,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  mov    %rbx,%rdx
  movss  %xmm0,-0x4c(%rbp)
  call   <calc_travel_path@plt>
  movss  -0x48(%rbp),%xmm0
  addss  -0x40(%rbp),%xmm0
  lea    D44(%rip),%rdi
  movss  -0x58(%rbp),%xmm2
  movss  -0x44(%rbp),%xmm1
  addss  -0x3c(%rbp),%xmm1
  addss  %xmm0,%xmm2
  movss  %xmm2,-0x58(%rbp)
  movss  -0x54(%rbp),%xmm2
  addss  %xmm1,%xmm2
  movss  %xmm2,-0x54(%rbp)
  call   <printf@plt>
  movss  -0x60(%rbp),%xmm0
  pop    %rax
  pop    %rdx
  addss  %xmm0,%xmm0
  movss  %xmm0,-0x60(%rbp)
  cmp    %r13d,-0x5c(%rbp)
  jg     L7
L55:
  movss  -0x54(%rbp),%xmm1
  movss  -0x58(%rbp),%xmm0
  lea    D40(%rip),%rdi
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L24
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L88:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L12
L24:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D2
type_infered: string
name: disassemble_data
arguments: data_tag: D31
type_infered: string
name: disassemble_data
arguments: data_tag: D14
type_infered: byte[4]
name: disassemble_data
arguments: data_tag: D44
type_infered: string
name: disassemble_data
arguments: data_tag: D40
type_infered: string

tool: D2: %d

tool: D31: %f %f

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

tool: D44: %.2f %.2f


tool: D40: %.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;
}
```