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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  call   <clrscr@plt>
  lea    D86(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D8(%rip),%rdi
  xor    %eax,%eax
  lea    0x24(%rsp),%rsi
  call   <scanf@plt>
  mov    0x24(%rsp),%r14d
  lea    D108(%rip),%rdi
  lea    -0x1(%r14),%r13d
  call   <puts@plt>
  test   %r13d,%r13d
  js     L94
  lea    0x38(%rsp),%rax
  xor    %ebp,%ebp
  lea    D67(%rip),%rbx
  mov    %rax,0x10(%rsp)
  lea    0x30(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x28(%rsp),%rax
  mov    %rax,0x18(%rsp)
  lea    0x40(%rsp),%rax
  mov    %rax,(%rsp)
L42:
  mov    0x10(%rsp),%rax
  mov    0x24(%rsp),%edx
  movl   $0x0,(%rax,%rbp,4)
  mov    0x8(%rsp),%rax
  movl   $0x0,(%rax,%rbp,4)
  mov    0x18(%rsp),%rax
  movl   $0x0,(%rax,%rbp,4)
  test   %edx,%edx
  js     L48
  mov    (%rsp),%rcx
  lea    0x0(%rbp,%rbp,2),%rax
  xor    %r15d,%r15d
  lea    (%rcx,%rax,4),%r12
  nopw   0x0(%rax,%rax,1)
L114:
  mov    %r12,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  add    $0x1,%r15d
  call   <scanf@plt>
  add    $0x4,%r12
  cmp    %r15d,0x24(%rsp)
  jge    L114
L48:
  mov    $0xa,%edi
  add    $0x1,%rbp
  call   <putchar@plt>
  cmp    %ebp,%r13d
  jge    L42
  mov    (%rsp),%r12
  xor    %ebp,%ebp
  lea    D70(%rip),%r15
L3:
  mov    0x24(%rsp),%eax
  xor    %ebx,%ebx
  test   %eax,%eax
  js     L71
L92:
  mov    %ebx,%edx
  pxor   %xmm0,%xmm0
  mov    %ebp,%esi
  mov    %r15,%rdi
  mov    $0x1,%eax
  cvtss2sd (%r12,%rbx,4),%xmm0
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x24(%rsp)
  jge    L92
L71:
  add    $0x1,%ebp
  add    $0xc,%r12
  cmp    %ebp,%r14d
  jne    L3
L67:
  movss  0x30(%rsp),%xmm0
  cmp    $0x1,%r13d
  jne    L86
  movss  0x34(%rsp),%xmm1
  movslq 0x24(%rsp),%rax
  pxor   %xmm4,%xmm4
  movss  %xmm1,0x3c(%rsp)
  movss  0x44(%rsp),%xmm1
  mulss  0x2c(%rsp),%xmm1
  movss  0x40(%rsp,%rax,4),%xmm2
  addss  %xmm4,%xmm1
  subss  %xmm1,%xmm2
  divss  0x40(%rsp),%xmm2
  movaps %xmm2,%xmm3
  movss  %xmm2,(%rsp)
  movss  %xmm2,0x30(%rsp)
  subss  %xmm3,%xmm0
  movss  0x4c(%rsp,%rax,4),%xmm1
  movss  %xmm2,0x28(%rsp)
  mulss  0x4c(%rsp),%xmm2
  addss  %xmm4,%xmm2
  subss  %xmm2,%xmm1
  divss  0x50(%rsp),%xmm1
  movss  %xmm1,0x34(%rsp)
  movss  %xmm1,0x2c(%rsp)
  call   <fabs@plt>
  comisd D63(%rip),%xmm0
  ja     L67
  movss  0x3c(%rsp),%xmm0
  subss  0x34(%rsp),%xmm0
  call   <fabs@plt>
  comisd D63(%rip),%xmm0
  ja     L67
  lea    D33(%rip),%rdi
  lea    D38(%rip),%rbp
  call   <puts@plt>
  xor    %esi,%esi
  mov    %rbp,%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd (%rsp),%xmm0
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  mov    $0x1,%esi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  cvtss2sd 0x34(%rsp),%xmm0
  call   <printf@plt>
L26:
  xor    %eax,%eax
  call   <getch@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L125
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L94:
  lea    D33(%rip),%rdi
  call   <puts@plt>
  jmp    L26
L86:
  movslq 0x24(%rsp),%rax
  movss  0x40(%rsp,%rax,4),%xmm1
  divss  0x40(%rsp),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm1,0x30(%rsp)
  movss  %xmm1,0x28(%rsp)
  movss  %xmm1,(%rsp)
  call   <fabs@plt>
  comisd D63(%rip),%xmm0
  ja     L67
  lea    D33(%rip),%rdi
  call   <puts@plt>
  movss  (%rsp),%xmm1
  pxor   %xmm0,%xmm0
  xor    %esi,%esi
  lea    D38(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm0
  call   <printf@plt>
  jmp    L26
L125:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D86
data_type: string
name: extract_symbolic_data
arguments: data_label: D8
data_type: string
name: extract_symbolic_data
arguments: data_label: D108
data_type: string
name: extract_symbolic_data
arguments: data_label: D67
data_type: string
name: extract_symbolic_data
arguments: data_label: D70
data_type: string
name: extract_symbolic_data
arguments: data_label: D63
data_type: f64
name: extract_symbolic_data
arguments: data_label: D33
data_type: string
name: extract_symbolic_data
arguments: data_label: D38
data_type: string

tool: D86: How many unkown X's values do you want to solve?

tool: D8: %d

tool: D108: 
Please input cofficients and constants.


tool: D67: %f

tool: D70: a[%d][%d]=%f


tool: D63: 1e-09

tool: D33: 
I'm so sorry to delay your time so long.Now the X's values under the list.


tool: D38: x%d=%f


assistant: ```c
main() {
  int n, m, i, j;
  float sum = 0, x[2], xx[2], a[2][3], xxx[2];
  clrscr();
  printf("How many unkown X's values do you want to solve?");
  scanf("%d", &m);
  n = m - 1;
  printf("\nPlease input cofficients and constants.\n\n");
  for (i = 0; i <= n; i++) {
    x[i] = xx[i] = xxx[i] = 0;
    for (j = 0; j <= m; j++)
      scanf("%f", &a[i][j]);
    printf("\n");
  }
  for (i = 0; i <= n; i++)
    for (j = 0; j <= m; j++)
      printf("a[%d][%d]=%f\n", i, j, a[i][j]);
restart:
  for (i = 0; i <= n; i++)
    xxx[i] = xx[i];
  for (i = 0; i <= n; i++) {
    sum = 0;
    for (j = 0; j <= n; j++) {
      if (i == j)
        continue;
      else
        sum += a[i][j] * x[j];
    }
    xx[i] = (a[i][m] - sum) / a[i][i];
    x[i] = xx[i];
  }
  for (i = 0; i <= n; i++) {
    if (fabs(xxx[i] - xx[i]) > 0.000000001)
      goto restart;
  }
  printf("\nI'm so sorry to delay your time so long.Now the X's values under the list.\n\n");
  for (i = 0; i <= n; i++)
    printf("x%d=%f\n", i, xx[i]);
  getch();
}
```