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

```asm
<main>:
  endbr64
  push   %rbp
  lea    D62(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x98,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x3c(%rbp),%rsi
  lea    D0(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    -0x3c(%rbp),%esi
  mov    %rsp,%rdi
  lea    0x1(%rsi),%r8d
  movslq %r8d,%rax
  lea    0x0(,%rax,4),%rcx
  lea    -0x4(%rcx),%rdx
  mov    %rcx,-0x58(%rbp)
  imul   %rdx,%rax
  add    $0xf,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rdi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rdi,%rsp
  je     L199
L394:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L394
L199:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  jne    L217
L64:
  lea    0xf(%rdx),%rax
  mov    %rsp,%rcx
  mov    %rsp,%r12
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  and    $0xfffffffffffffff0,%rdx
  sub    %rax,%rcx
L338:
  cmp    %rcx,%rsp
  je     L65
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L338
L217:
  orq    $0x0,-0x8(%rsp,%rax,1)
  jmp    L64
L65:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  jne    L71
L175:
  mov    %r8d,%edx
  lea    D44(%rip),%rdi
  xor    %eax,%eax
  mov    %rsp,-0xb8(%rbp)
  call   <printf@plt>
  movslq -0x3c(%rbp),%rax
  test   %eax,%eax
  jle    L132
  mov    -0x58(%rbp),%r15
  xor    %eax,%eax
  mov    %r12,%r13
  xor    %r14d,%r14d
  mov    %eax,%r12d
  shr    $0x2,%r15
  mov    %r15,-0x48(%rbp)
  nopl   0x0(%rax)
L121:
  lea    0x0(%r13,%r14,4),%r15
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L277:
  mov    %r15,%rsi
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  mov    -0x3c(%rbp),%eax
  add    $0x4,%r15
  cmp    %ebx,%eax
  jge    L277
  add    $0x1,%r12d
  cmp    %r12d,%eax
  jle    L539
  add    -0x48(%rbp),%r14
  jmp    L121
L539:
  mov    -0x48(%rbp),%r15
  mov    %r13,%r12
  mov    %eax,%r13d
  lea    0x1(%r15),%rax
  mov    %rax,-0xa0(%rbp)
  test   %r13d,%r13d
  jle    L386
  lea    0x4(%r12),%rax
  mov    %r13d,%esi
  movq   $0x0,-0x68(%rbp)
  lea    D70(%rip),%r14
  movq   $0x0,-0xa8(%rbp)
  movq   $0x0,-0x90(%rbp)
  mov    %rax,-0xc0(%rbp)
L198:
  mov    -0x90(%rbp),%rcx
  xor    %r8d,%r8d
  movslq %ecx,%rdx
  imul   -0xa0(%rbp),%rdx
  lea    0x1(%rcx),%edi
  mov    %ecx,%eax
  mov    %ecx,-0x98(%rbp)
  movss  (%r12,%rdx,4),%xmm0
  movslq %ecx,%rdx
  cmp    %edi,%esi
  jle    L461
  nopl   (%rax)
L337:
  movslq %edi,%rcx
  imul   %r15,%rcx
  add    %rdx,%rcx
  movss  (%r12,%rcx,4),%xmm1
  comiss %xmm0,%xmm1
  maxss  %xmm0,%xmm1
  cmova  %edi,%r8d
  add    $0x1,%edi
  movaps %xmm1,%xmm0
  cmp    %edi,%esi
  jne    L337
  test   %r8d,%r8d
  jne    L191
L461:
  mov    -0x68(%rbp),%rdx
  mov    %esi,%edi
  mov    -0x98(%rbp),%r13d
  mov    %r12,-0xb0(%rbp)
  sub    %eax,%edi
  mov    -0x90(%rbp),%r11
  lea    0x0(,%rdx,4),%r10
  lea    0x1(%rdi),%r8d
  mov    %r10,%rdx
  mov    %r8d,%r9d
  mov    $0x1,%r8d
  mov    %r11d,-0x50(%rbp)
  neg    %rdx
  lea    (%r12,%r11,4),%rcx
  sub    %r12,%rdx
  cmp    %r13d,%esi
  cmovl  %r8d,%r9d
  cmp    %r11d,%esi
  setl   %r8b
  cmp    $0x2,%edi
  setbe  %dil
  mov    %r9d,-0x60(%rbp)
  sub    $0x4,%rdx
  add    %r12,%r10
  or     %edi,%r8d
  mov    %r9d,%edi
  and    $0xfffffffc,%r9d
  mov    %rdx,-0x80(%rbp)
  add    %r9d,%eax
  shr    $0x2,%edi
  mov    %r8b,-0x81(%rbp)
  mov    %eax,-0x94(%rbp)
  movslq %r13d,%rax
  sub    $0x1,%edi
  mov    -0xa0(%rbp),%r13
  mov    %rax,-0x70(%rbp)
  add    $0x1,%rdi
  imul   %rax,%r13
  shl    $0x4,%rdi
  mov    %r9d,-0x88(%rbp)
  mov    -0xa8(%rbp),%r9
  imul   %r15,%rax
  mov    %rdi,%r8
  xor    %edi,%edi
  mov    %r8,%rbx
  mov    %r13,-0x78(%rbp)
  mov    %rax,-0x48(%rbp)
  nopl   0x0(%rax)
L111:
  cmp    -0x50(%rbp),%edi
  je     L364
  movslq %edi,%rdx
  mov    %rdx,%rax
  imul   %r15,%rax
  add    -0x70(%rbp),%rax
  movss  (%r12,%rax,4),%xmm2
  mov    -0x78(%rbp),%rax
  divss  (%r12,%rax,4),%xmm2
  mov    -0x80(%rbp),%rax
  add    %rcx,%rax
  cmp    $0x8,%rax
  jbe    L127
  cmp    -0x50(%rbp),%esi
  jle    L127
  cmpb   $0x0,-0x81(%rbp)
  jne    L367
  movaps %xmm2,%xmm3
  xor    %eax,%eax
  shufps $0x0,%xmm3,%xmm3
  nop
L163:
  movups (%r10,%rax,1),%xmm1
  movups (%rcx,%rax,1),%xmm0
  mulps  %xmm3,%xmm1
  subps  %xmm1,%xmm0
  movups %xmm0,(%rcx,%rax,1)
  add    $0x10,%rax
  cmp    %rbx,%rax
  jne    L163
  mov    -0x88(%rbp),%eax
  cmp    %eax,-0x60(%rbp)
  je     L364
  mov    %eax,%r8d
  mov    -0x94(%rbp),%eax
L171:
  mov    -0x60(%rbp),%r13d
  sub    %r8d,%r13d
  mov    %r13d,-0x5c(%rbp)
  cmp    $0x1,%r13d
  je     L73
  lea    (%r11,%r8,1),%r13
  add    -0x68(%rbp),%r8
  movaps %xmm2,%xmm3
  movq   (%r12,%r8,4),%xmm1
  shufps $0xe0,%xmm3,%xmm3
  lea    (%r12,%r13,4),%r13
  movq   0x0(%r13),%xmm0
  mulps  %xmm3,%xmm1
  subps  %xmm1,%xmm0
  movlps %xmm0,0x0(%r13)
  mov    -0x5c(%rbp),%r13d
  mov    %r13d,%r8d
  and    $0xfffffffe,%r8d
  add    %r8d,%eax
  cmp    %r8d,%r13d
  je     L364
L73:
  imul   %r15,%rdx
  cltq
  add    %rax,%rdx
  add    -0x48(%rbp),%rax
  mulss  (%r12,%rax,4),%xmm2
  movss  (%r12,%rdx,4),%xmm0
  subss  %xmm2,%xmm0
  movss  %xmm0,(%r12,%rdx,4)
L364:
  add    $0x1,%edi
  add    -0x58(%rbp),%rcx
  sub    %r15,%r9
  add    %r15,%r11
  cmp    %esi,%edi
  jl     L111
  lea    D22(%rip),%rdi
  mov    -0xb0(%rbp),%rbx
  call   <puts@plt>
  mov    -0x3c(%rbp),%esi
  test   %esi,%esi
  jle    L452
  mov    %r12,-0x50(%rbp)
  xor    %r13d,%r13d
  mov    %r15,-0x48(%rbp)
  mov    -0x58(%rbp),%r15
  nopl   0x0(%rax,%rax,1)
L502:
  xor    %r12d,%r12d
  nopl   0x0(%rax,%rax,1)
L373:
  pxor   %xmm0,%xmm0
  mov    %r14,%rdi
  mov    $0x1,%eax
  cvtss2sd (%rbx,%r12,4),%xmm0
  call   <printf@plt>
  add    $0x1,%r12
  cmp    %r12d,-0x3c(%rbp)
  jge    L373
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    %r15,%rbx
  call   <putchar@plt>
  mov    -0x3c(%rbp),%esi
  cmp    %r13d,%esi
  jg     L502
  addq   $0x1,-0x90(%rbp)
  mov    -0x90(%rbp),%rax
  mov    -0x48(%rbp),%r15
  mov    -0xa0(%rbp),%rbx
  add    %r15,-0xa8(%rbp)
  mov    -0x50(%rbp),%r12
  add    %rbx,-0x68(%rbp)
  cmp    %eax,%esi
  jg     L198
L452:
  mov    %esi,%r13d
L386:
  lea    -0x1(%r13),%eax
  mov    -0xa0(%rbp),%rcx
  movslq %r13d,%rsi
  mov    %eax,-0x48(%rbp)
  cltq
  mov    %rax,%rdx
  imul   %rax,%rcx
  mov    %rsi,-0x50(%rbp)
  imul   %r15,%rdx
  add    %rsi,%rdx
  mov    -0xb8(%rbp),%rsi
  movss  (%r12,%rdx,4),%xmm0
  divss  (%r12,%rcx,4),%xmm0
  movss  %xmm0,(%rsi,%rax,4)
  sub    $0x2,%r13d
  js     L507
  cmp    $0x2,%r13d
  jbe    L527
  mov    -0x58(%rbp),%rsi
  movslq %r13d,%rax
  mov    %r15,%rdx
  mov    -0x50(%rbp),%rbx
  mov    $0xfffffffffffffffc,%rdi
  imul   %rax,%rdx
  mov    %r15,%rcx
  mov    %r15,%r11
  sub    %rsi,%rdi
  add    $0x4,%rsi
  neg    %rcx
  not    %r11
  imul   %rsi,%rax
  mov    -0xb8(%rbp),%rsi
  mov    %rcx,%r10
  shl    $0x4,%r11
  add    %rbx,%rdx
  lea    0x0(,%rcx,4),%r9
  shl    $0x4,%r10
  lea    -0x14(%rsi,%rbx,4),%r8
  mov    -0x48(%rbp),%ebx
  lea    (%r12,%rdx,4),%rdx
  lea    -0x10(%r8),%rsi
  add    %r12,%rax
  lea    (%rdx,%rcx,8),%rcx
  shr    $0x2,%ebx
  mov    %rsi,%r14
  sub    $0x1,%ebx
  shl    $0x4,%rbx
  sub    %rbx,%r14
  lea    (%rdi,%rdi,2),%rbx
  jmp    L458
L240:
  sub    $0x10,%rsi
L458:
  movss  (%rcx,%r9,1),%xmm0
  movss  (%rcx),%xmm1
  add    %r10,%rcx
  movss  (%rdx,%r9,1),%xmm2
  movss  (%rax,%rdi,1),%xmm3
  unpcklps %xmm0,%xmm1
  movss  (%rdx),%xmm0
  add    %r10,%rdx
  unpcklps %xmm2,%xmm0
  movss  (%rax,%rdi,2),%xmm2
  movlhps %xmm1,%xmm0
  movss  (%rax,%rbx,1),%xmm1
  unpcklps %xmm1,%xmm2
  movss  (%rax),%xmm1
  add    %r11,%rax
  unpcklps %xmm3,%xmm1
  movlhps %xmm2,%xmm1
  divps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,(%r8)
  mov    %rsi,%r8
  cmp    %r14,%rsi
  jne    L240
  mov    -0x48(%rbp),%esi
  mov    %esi,%eax
  and    $0xfffffffc,%eax
  sub    %eax,%r13d
  cmp    %esi,%eax
  je     L507
L527:
  movslq %r13d,%rax
  mov    -0xb8(%rbp),%rsi
  mov    -0xa0(%rbp),%rbx
  mov    %rax,%rcx
  imul   %r15,%rcx
  lea    (%rsi,%rax,4),%rdx
  mov    -0x50(%rbp),%rsi
  imul   %rbx,%rax
  add    %rsi,%rcx
  movss  (%r12,%rcx,4),%xmm0
  divss  (%r12,%rax,4),%xmm0
  lea    -0x1(%r13),%eax
  movss  %xmm0,(%rdx)
  test   %r13d,%r13d
  je     L507
  cltq
  mov    %rax,%rcx
  imul   %rbx,%rax
  imul   %r15,%rcx
  add    %rsi,%rcx
  movss  (%r12,%rcx,4),%xmm0
  divss  (%r12,%rax,4),%xmm0
  lea    -0x2(%r13),%eax
  sub    $0x1,%r13d
  movss  %xmm0,-0x4(%rdx)
  je     L507
  cltq
  mov    %r15,%rcx
  imul   %rax,%rcx
  imul   %rbx,%rax
  add    %rcx,%rsi
  movss  (%r12,%rsi,4),%xmm0
  divss  (%r12,%rax,4),%xmm0
  movss  %xmm0,-0x8(%rdx)
L507:
  lea    D11(%rip),%rdi
  xor    %ebx,%ebx
  lea    D26(%rip),%r12
  call   <puts@plt>
  mov    -0x3c(%rbp),%eax
  mov    -0xb8(%rbp),%r13
  test   %eax,%eax
  jle    L179
  nopl   0x0(%rax)
L266:
  mov    %ebx,%esi
  pxor   %xmm0,%xmm0
  mov    %r12,%rdi
  mov    $0x1,%eax
  cvtss2sd 0x0(%r13,%rbx,4),%xmm0
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,-0x3c(%rbp)
  jg     L266
L179:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L321
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nop
L127:
  mov    -0x98(%rbp),%edx
  mov    %rcx,%rax
  nopl   0x0(%rax)
L387:
  movss  (%rax,%r9,4),%xmm1
  movss  (%rax),%xmm0
  add    $0x1,%edx
  add    $0x4,%rax
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rax)
  cmp    %edx,%esi
  jge    L387
  jmp    L364
L367:
  mov    -0x98(%rbp),%eax
  xor    %r8d,%r8d
  jmp    L171
L191:
  movslq %r8d,%r11
  mov    %r15,%rbx
  mov    -0xa8(%rbp),%rcx
  imul   %r11,%rbx
  lea    0x10(,%rcx,4),%r9
  lea    0x0(,%rcx,4),%r8
  lea    0x0(,%rbx,4),%rdi
  lea    0x10(%rdi),%rcx
  cmp    %r8,%rcx
  jle    L273
  cmp    %r9,%rdi
  jl     L35
L273:
  lea    0x1(%rsi),%r10d
  cmp    $0x2,%esi
  je     L481
  mov    %r10d,%r9d
  add    %r12,%rdi
  add    %r12,%r8
  xor    %ecx,%ecx
  shr    $0x2,%r9d
  shl    $0x4,%r9
L372:
  movups (%rdi,%rcx,1),%xmm0
  movups (%r8,%rcx,1),%xmm4
  movups %xmm4,(%rdi,%rcx,1)
  movups %xmm0,(%r8,%rcx,1)
  add    $0x10,%rcx
  cmp    %r9,%rcx
  jne    L372
  mov    %r10d,%edi
  and    $0xfffffffc,%edi
  mov    %edi,%ecx
  cmp    %edi,%r10d
  je     L461
  sub    %edi,%r10d
  cmp    %edi,%esi
  je     L177
L397:
  lea    (%rbx,%rdi,1),%r8
  add    -0xa8(%rbp),%rdi
  lea    (%r12,%rdi,4),%rdi
  lea    (%r12,%r8,4),%r8
  mov    (%rdi),%rbx
  mov    (%r8),%r9
  mov    %rbx,(%r8)
  mov    %r9,(%rdi)
  mov    %r10d,%edi
  and    $0xfffffffe,%edi
  add    %edi,%ecx
  cmp    %edi,%r10d
  je     L461
L177:
  mov    %r11,%rdi
  imul   %r15,%rdx
  movslq %ecx,%rcx
  imul   %r15,%rdi
  add    %rcx,%rdx
  add    %rcx,%rdi
  movss  (%r12,%rdx,4),%xmm1
  movss  (%r12,%rdi,4),%xmm0
  movss  %xmm1,(%r12,%rdi,4)
  movss  %xmm0,(%r12,%rdx,4)
  jmp    L461
L35:
  movslq %esi,%rcx
  mov    -0x58(%rbp),%rdx
  add    %rbx,%rcx
  mov    -0xc0(%rbp),%rbx
  imul   %r11,%rdx
  lea    (%rbx,%rcx,4),%rdi
  mov    -0x90(%rbp),%rcx
  sub    %r11,%rcx
  add    %r12,%rdx
  imul   %r15,%rcx
L108:
  movss  (%rdx),%xmm0
  movss  (%rdx,%rcx,4),%xmm1
  movss  %xmm1,(%rdx)
  movss  %xmm0,(%rdx,%rcx,4)
  add    $0x4,%rdx
  cmp    %rdx,%rdi
  jne    L108
  jmp    L461
L481:
  xor    %edi,%edi
  xor    %ecx,%ecx
  jmp    L397
L132:
  lea    -0x1(%rax),%ecx
  mov    -0x58(%rbp),%rdx
  movslq %ecx,%rcx
  shr    $0x2,%rdx
  mov    %rcx,%rsi
  imul   %rdx,%rsi
  add    $0x1,%rdx
  imul   %rcx,%rdx
  add    %rsi,%rax
  movss  (%r12,%rax,4),%xmm0
  mov    -0xb8(%rbp),%rax
  divss  (%r12,%rdx,4),%xmm0
  movss  %xmm0,(%rax,%rcx,4)
  jmp    L507
L71:
  orq    $0x0,-0x8(%rsp,%rax,1)
  jmp    L175
L321:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D62
datatype: string
name: retrieve_data
arguments: label: D0
datatype: string
name: retrieve_data
arguments: label: D44
datatype: string
name: retrieve_data
arguments: label: D12
datatype: string
name: retrieve_data
arguments: label: D70
datatype: string
name: retrieve_data
arguments: label: D22
datatype: string
name: retrieve_data
arguments: label: D11
datatype: string
name: retrieve_data
arguments: label: D26
datatype: string

tool: D62: Enter the number of equations:	

tool: D0: %d

tool: D44: Enter the %d x %d matrix:


tool: D12: %f

tool: D70: %.4f	

tool: D22: 
Modified Matrix

tool: D11: 
Solution of the Given System:

tool: D26: x_%d = %.6f


assistant: ```c
int main(void) {
  int n, i, j, k, l, flag;
  printf("Enter the number of equations:\t");
  scanf("%d", &n);
  float a[n][n + 1], factor, x[n], max, var;
  printf("Enter the %d x %d matrix:\n", n, n + 1);
  for (i = 0; i < n; i++) {
    for (j = 0; j < n + 1; j++)
      scanf("%f", &a[i][j]);
  }
  for (k = 0; k < n; k++) {
    max = a[k][k];
    flag = 0;
    for (l = k + 1; l < n; l++) {
      if (a[l][k] > max) {
        max = a[l][k];
        flag = l;
      }
    }
    if (flag) {
      for (j = 0; j < n + 1; j++) {
        var = a[flag][j];
        a[flag][j] = a[k][j];
        a[k][j] = var;
      }
    }
    for (i = 0; i < n; i++) {
      if (i == k)
        continue;
      factor = a[i][k] / a[k][k];
      for (j = k; j <= n; j++) {
        a[i][j] = (a[i][j] - (factor * a[k][j]));
      }
    }
    printf("\nModified Matrix\n");
    for (i = 0; i < n; i++) {
      for (j = 0; j < n + 1; j++) {
        printf("%.4f\t", a[i][j]);
      }
      printf("\n");
    }
  }
  x[n - 1] = a[n - 1][n] / a[n - 1][n - 1];
  for (i = n - 2; i >= 0; i--) {
    x[i] = a[i][n] / a[i][i];
  }
  printf("\nSolution of the Given System:\n");
  for (i = 0; i < n; i++) {
    printf("x_%d = %.6f\n", i, x[i]);
  }
  return 0;
}
```