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

```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
  lea    D41(%rip),%rdi
  call   <puts@plt>
  lea    -0x3c(%rbp),%rsi
  lea    D33(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x3c(%rbp),%ecx
  lea    0x1(%rcx),%eax
  cltq
  lea    0x0(,%rax,4),%rsi
  mov    %rsi,-0x48(%rbp)
  lea    -0x4(%rsi),%rdx
  imul   %rdx,%rax
  add    $0xf,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdi
  sub    %rax,%rdi
L259:
  cmp    %rdi,%rsp
  je     L172
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L259
L172:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L278
  orq    $0x0,-0x8(%rsp,%rax,1)
L278:
  mov    %rsp,%r15
  lea    0xf(%rdx),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rsi
  sub    %rax,%rsi
L62:
  cmp    %rsi,%rsp
  je     L110
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L62
L110:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L150
  orq    $0x0,-0x8(%rsp,%rax,1)
L150:
  mov    %rsp,-0x80(%rbp)
  test   %ecx,%ecx
  jle    L31
  mov    -0x48(%rbp),%r13
  shr    $0x2,%r13
  mov    $0x0,%ebx
  mov    $0x0,%eax
  mov    %r13,-0x50(%rbp)
  mov    %eax,%r13d
  mov    %r14d,-0x58(%rbp)
  mov    %rbx,%r14
L125:
  add    $0x1,%r13d
  mov    %r13d,%esi
  lea    D2(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0x3c(%rbp)
  js     L47
  lea    (%r15,%r14,4),%r12
  mov    $0x0,%ebx
L18:
  mov    %r12,%rsi
  lea    D79(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x4,%r12
  cmp    %ebx,-0x3c(%rbp)
  jge    L18
L47:
  mov    -0x3c(%rbp),%eax
  add    -0x50(%rbp),%r14
  cmp    %eax,%r13d
  jl     L125
  mov    -0x50(%rbp),%r13
  mov    -0x58(%rbp),%r14d
  test   %eax,%eax
  jle    L31
  movq   $0x0,-0x68(%rbp)
  movq   $0x0,-0x60(%rbp)
  movl   $0x0,-0x58(%rbp)
  lea    0x1(%r13),%rax
  mov    %rax,-0x78(%rbp)
  mov    %r14d,%r12d
L82:
  mov    -0x58(%rbp),%edi
  mov    %edi,%eax
  mov    %edi,-0x6c(%rbp)
  add    $0x1,%edi
  mov    %edi,-0x58(%rbp)
  mov    -0x3c(%rbp),%esi
  cmp    %esi,%edi
  jge    L276
  mov    %edi,%ebx
  cltq
  mov    %rax,-0x50(%rbp)
  mov    -0x78(%rbp),%r14
  imul   %rax,%r14
L104:
  movslq %ebx,%rax
  imul   %r13,%rax
  add    -0x50(%rbp),%rax
  movss  (%r15,%rax,4),%xmm0
  subss  (%r15,%r14,4),%xmm0
  call   <fabs@plt>
  test   %rax,%rax
  cmovg  %ebx,%r12d
  add    $0x1,%ebx
  mov    -0x3c(%rbp),%esi
  cmp    %ebx,%esi
  jg     L104
L276:
  test   %esi,%esi
  js     L21
  mov    -0x68(%rbp),%rbx
  lea    (%r15,%rbx,4),%rax
  mov    %esi,%edx
  add    %rbx,%rdx
  lea    0x4(%r15,%rdx,4),%rcx
  movslq %r12d,%rdx
  sub    -0x60(%rbp),%rdx
  imul   %r13,%rdx
L190:
  movss  (%rax),%xmm0
  movss  (%rax,%rdx,4),%xmm1
  movss  %xmm1,(%rax)
  movss  %xmm0,(%rax,%rdx,4)
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L190
L21:
  mov    -0x58(%rbp),%edi
  cmp    %esi,%edi
  jge    L227
  mov    %r13,%rcx
  neg    %rcx
  mov    %esi,%r8d
  movslq %edi,%rax
  imul   %r13,%rax
  add    %r8,%rax
  lea    0x4(%r15,%rax,4),%rdx
  movslq -0x6c(%rbp),%r10
  mov    -0x78(%rbp),%r9
  imul   %r10,%r9
  not    %r8
  shl    $0x2,%r8
L152:
  movslq %edi,%rax
  imul   %r13,%rax
  add    %r10,%rax
  movss  (%r15,%rax,4),%xmm2
  divss  (%r15,%r9,4),%xmm2
  test   %esi,%esi
  js     L228
  lea    (%r8,%rdx,1),%rax
L80:
  movaps %xmm2,%xmm1
  mulss  (%rax,%rcx,4),%xmm1
  movss  (%rax),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L80
L228:
  add    $0x1,%edi
  sub    %r13,%rcx
  add    -0x48(%rbp),%rdx
  cmp    %esi,%edi
  jne    L152
L227:
  addq   $0x1,-0x60(%rbp)
  add    %r13,-0x68(%rbp)
  mov    -0x58(%rbp),%eax
  cmp    %eax,-0x3c(%rbp)
  jg     L82
L31:
  lea    D62(%rip),%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%ecx
  test   %ecx,%ecx
  jle    L313
  mov    -0x48(%rbp),%rax
  shr    $0x2,%rax
  mov    %rax,-0x58(%rbp)
  mov    $0x0,%r14d
  lea    D58(%rip),%r13
  mov    %r15,-0x50(%rbp)
  jmp    L195
L54:
  pxor   %xmm0,%xmm0
  cvtss2sd (%r12),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  add    $0x4,%r12
  cmp    %ebx,-0x3c(%rbp)
  jg     L54
L211:
  movslq %ebx,%rax
  movslq %r14d,%rdx
  imul   -0x58(%rbp),%rdx
  add    %rdx,%rax
  mov    -0x50(%rbp),%rbx
  pxor   %xmm0,%xmm0
  cvtss2sd (%rbx,%rax,4),%xmm0
  lea    D78(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r14d
  mov    -0x3c(%rbp),%ecx
  add    -0x48(%rbp),%r15
  cmp    %r14d,%ecx
  jle    L107
L195:
  mov    %r15,%r12
  mov    $0x0,%ebx
  cmpl   $0x0,-0x3c(%rbp)
  jg     L54
  jmp    L211
L107:
  mov    -0x50(%rbp),%r15
L313:
  mov    %ecx,%edi
  sub    $0x1,%edi
  js     L130
  movslq %edi,%rdi
  mov    -0x48(%rbp),%rax
  mov    %rax,%r8
  shr    $0x2,%r8
  mov    %rax,%r9
  neg    %r9
  imul   %rdi,%rax
  mov    %rax,%rdx
  add    %r15,%rdx
  mov    %ecx,%esi
  lea    -0x1(%rcx),%r11d
  lea    0x1(%r8),%r10
  mov    -0x80(%rbp),%rbx
L177:
  mov    %edi,%r13d
  mov    %edi,%r12d
  mov    %esi,%eax
  cmp    %ecx,%esi
  jge    L264
  movslq %esi,%rax
  pxor   %xmm1,%xmm1
L260:
  movss  (%rdx,%rax,4),%xmm0
  mulss  (%rbx,%rax,4),%xmm0
  addss  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %eax,%ecx
  jg     L260
  lea    (%r11,%rsi,1),%eax
  sub    %r13d,%eax
L282:
  cltq
  movslq %r12d,%r12
  mov    %r12,%r13
  imul   %r8,%r13
  add    %r13,%rax
  movss  (%r15,%rax,4),%xmm0
  subss  %xmm1,%xmm0
  imul   %r10,%r12
  divss  (%r15,%r12,4),%xmm0
  movss  %xmm0,(%rbx,%rdi,4)
  sub    $0x1,%rdi
  add    %r9,%rdx
  sub    $0x1,%esi
  jne    L177
L130:
  lea    D35(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L329
  mov    $0x0,%ebx
  lea    D87(%rip),%r12
  mov    -0x80(%rbp),%r13
L108:
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%r13,%rbx,4),%xmm0
  mov    %ebx,%esi
  mov    %r12,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,-0x3c(%rbp)
  jg     L108
L329:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L201
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L264:
  pxor   %xmm1,%xmm1
  jmp    L282
L201:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D41
data_type: string
name: parse_data
arguments: label: D33
data_type: string
name: parse_data
arguments: label: D2
data_type: string
name: parse_data
arguments: label: D79
data_type: string
name: parse_data
arguments: label: D62
data_type: string
name: parse_data
arguments: label: D58
data_type: string
name: parse_data
arguments: label: D78
data_type: string
name: parse_data
arguments: label: D35
data_type: string
name: parse_data
arguments: label: D87
data_type: string

tool: D41: Enter no of equations: 

tool: D33: %d

tool: D2: Enter row %d :


tool: D79: %f

tool: D62: Triangular Matrix: 

tool: D58: %f 	

tool: D78: | %f

tool: D35: Results: 

tool: D87: x[%d] = %f


assistant: ```c
int main() {
  int n, i, j, k, p;
  float t, sum;
  printf("Enter no of equations: \n");
  scanf("%d", &n);
  float A[n][n + 1];
  float X[n];
  for (i = 0; i < n; i++) {
    printf("Enter row %d :\n", i + 1);
    for (j = 0; j < n + 1; j++)
      scanf("%f", &A[i][j]);
  }
  for (i = 0; i < n; i++) {
    for (j = i + 1; j < n; j++) {
      if (fabs(A[j][i] - A[i][i]) > 0)
        p = j;
    }
    for (j = 0; j < n + 1; j++) {
      t = A[i][j];
      A[i][j] = A[p][j];
      A[p][j] = t;
    }
    for (j = i + 1; j < n; j++) {
      float x = A[j][i] / A[i][i];
      for (k = 0; k < n + 1; k++) {
        A[j][k] = A[j][k] - A[i][k] * x;
      }
    }
  }
  printf("Triangular Matrix: \n");
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++)
      printf("%f \t", A[i][j]);
    printf("| %f", A[i][j]);
    printf("\n");
  }
  for (i = n - 1; i >= 0; i--) {
    sum = 0;
    for (j = i + 1; j < n; j++) {
      sum += A[i][j] * X[j];
    }
    X[i] = (A[i][j] - sum) / A[i][i];
  }
  printf("Results: \n");
  for (i = 0; i < n; i++)
    printf("x[%d] = %f\n", i, X[i]);
  return 0;
}
```