user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  movl   $0x1,0x2c(%rsp)
  movl   $0x0,0x30(%rsp)
  movl   $0x0,0x34(%rsp)
  lea    0x2c(%rsp),%rsi
  lea    D28(%rip),%rdi
  call   <scanf@plt>
  lea    D27(%rip),%rbp
  lea    0x34(%rsp),%rbx
  lea    D19(%rip),%r13
  lea    D28(%rip),%r14
  cmpl   $0x0,0x2c(%rsp)
  jne    L49
L10:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  mov    $0x0,%eax
  add    $0x40,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L24:
  pxor   %xmm7,%xmm7
  movss  %xmm7,0x1c(%rsp)
  movss  %xmm7,0x18(%rsp)
  movss  %xmm7,0x14(%rsp)
  movss  %xmm7,0xc(%rsp)
  movss  %xmm7,0x10(%rsp)
  mov    $0x0,%r12d
L37:
  lea    0x30(%rsp),%rsi
  mov    %rbx,%rdx
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x30(%rsp),%edx
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  addss  0x10(%rsp),%xmm0
  movss  %xmm0,0x10(%rsp)
  mov    0x34(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  0xc(%rsp),%xmm0
  movss  %xmm0,0xc(%rsp)
  mov    %edx,%ecx
  imul   %eax,%ecx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  addss  0x14(%rsp),%xmm0
  movss  %xmm0,0x14(%rsp)
  imul   %edx,%edx
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  addss  0x18(%rsp),%xmm0
  movss  %xmm0,0x18(%rsp)
  imul   %eax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  0x1c(%rsp),%xmm0
  movss  %xmm0,0x1c(%rsp)
  add    $0x1,%r12d
  mov    0x2c(%rsp),%eax
  cmp    %r12d,%eax
  jg     L37
L13:
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  0x14(%rsp),%xmm7
  movaps %xmm7,%xmm2
  mulss  %xmm0,%xmm2
  movss  0x10(%rsp),%xmm3
  movaps %xmm3,%xmm1
  movss  0xc(%rsp),%xmm4
  mulss  %xmm4,%xmm1
  subss  %xmm1,%xmm2
  movaps %xmm2,%xmm5
  movss  0x18(%rsp),%xmm8
  mulss  %xmm8,%xmm0
  movaps %xmm3,%xmm1
  movaps %xmm3,%xmm2
  mulss  %xmm3,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm5,0x10(%rsp)
  movaps %xmm5,%xmm6
  divss  %xmm0,%xmm6
  movss  %xmm6,0x14(%rsp)
  movaps %xmm8,%xmm1
  mulss  %xmm4,%xmm1
  mulss  %xmm7,%xmm2
  subss  %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0x18(%rsp)
  cvttss2si %xmm0,%edi
  call   <sqrt@plt>
  mov    %eax,%r12d
  pxor   %xmm0,%xmm0
  cvtsi2ssl 0x2c(%rsp),%xmm0
  mulss  0x1c(%rsp),%xmm0
  movss  0xc(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  subss  %xmm4,%xmm0
  cvttss2si %xmm0,%edi
  call   <sqrt@plt>
  imul   %eax,%r12d
  pxor   %xmm0,%xmm0
  cvtsi2ss %r12d,%xmm0
  movss  0x10(%rsp),%xmm2
  divss  %xmm0,%xmm2
  movss  0x18(%rsp),%xmm1
  movss  0x14(%rsp),%xmm0
  mov    %r13,%rdi
  call   <printf@plt>
  lea    0x2c(%rsp),%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x0,0x2c(%rsp)
  je     L10
L49:
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jg     L24
  pxor   %xmm5,%xmm5
  movss  %xmm5,0x1c(%rsp)
  movss  %xmm5,0x18(%rsp)
  movss  %xmm5,0x14(%rsp)
  movss  %xmm5,0xc(%rsp)
  movss  %xmm5,0x10(%rsp)
  jmp    L13
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D28
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D27
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D19
type_guessed: string

tool: D28: %d

tool: D27: %d %d


tool: D19: a = %.2f, b = %.2f, R = %.2f


assistant: ```c
int main() {
  int i, n = 1, x = 0, y = 0;
  float Sx = 0, Sy = 0, Sxy = 0, Sxx = 0, Syy = 0, a = 0, b = 0, r = 0;
  scanf("%d", &n);
  while (n != 0) {
    for (i = 0; i < n; ++i) {
      scanf("%d %d\n", &x, &y);
      Sx = Sx + x;
      Sy = Sy + y;
      Sxy = Sxy + (x * y);
      Sxx = Sxx + (x * x);
      Syy = Syy + (y * y);
    }
    a = (n * Sxy - Sx * Sy) / (n * Sxx - Sx * Sx);
    b = (Sy * Sxx - Sx * Sxy) / (n * Sxx - (Sx * Sx));
    r = (n * Sxy - Sx * Sy) / (sqrt(n * Sxx - (Sx * Sx)) * sqrt(n * Syy - (Sy * Sy)));
    printf("a = %.2f, b = %.2f, R = %.2f\n", a, b, r);
    Sx = 0;
    Sy = 0;
    Sxy = 0;
    Sxx = 0;
    Syy = 0;
    scanf("%d", &n);
  }
  return 0;
}
```