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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    D75(%rip),%rdi
  call   <puts@plt>
  lea    -0x3c(%rbp),%rsi
  lea    D120(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x3c(%rbp),%edi
  movslq %edi,%rax
  lea    0x0(,%rax,4),%rsi
  mov    %rsi,-0x60(%rbp)
  mov    %rax,%rdx
  imul   %rax,%rdx
  lea    0xf(,%rdx,4),%rcx
  mov    %rcx,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rsi
  sub    %rcx,%rsi
L451:
  cmp    %rsi,%rsp
  je     L164
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L451
L164:
  mov    %rdx,%rcx
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  je     L35
  orq    $0x0,-0x8(%rsp,%rcx,1)
L35:
  mov    %rsp,%r14
  mov    -0x60(%rbp),%rsi
  lea    0xf(%rsi),%rcx
  mov    %rcx,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rsi
  sub    %rcx,%rsi
L555:
  cmp    %rsi,%rsp
  je     L532
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L555
L532:
  mov    %rdx,%rcx
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  je     L355
  orq    $0x0,-0x8(%rsp,%rcx,1)
L355:
  mov    %rsp,-0x78(%rbp)
  shl    $0x3,%rax
  lea    0xf(%rax),%rcx
  mov    %rcx,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rsi
  sub    %rcx,%rsi
L383:
  cmp    %rsi,%rsp
  je     L464
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L383
L464:
  mov    %rdx,%rcx
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  je     L120
  orq    $0x0,-0x8(%rsp,%rcx,1)
L120:
  lea    0x7(%rsp),%rdx
  mov    %rdx,%rsi
  shr    $0x3,%rsi
  mov    %rsi,-0x80(%rbp)
  and    $0xfffffffffffffff8,%rdx
  mov    %rdx,-0x58(%rbp)
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L82:
  cmp    %rcx,%rsp
  je     L635
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L82
L635:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L435
  orq    $0x0,-0x8(%rsp,%rax,1)
L435:
  lea    0x7(%rsp),%rbx
  mov    %rbx,%rax
  shr    $0x3,%rax
  mov    %rax,-0x88(%rbp)
  and    $0xfffffffffffffff8,%rbx
  mov    $0x4,%esi
  call   <calloc@plt>
  mov    %rax,-0x68(%rbp)
  mov    $0x4,%esi
  mov    -0x3c(%rbp),%edi
  call   <calloc@plt>
  mov    %rax,-0x70(%rbp)
  mov    -0x3c(%rbp),%edi
  test   %edi,%edi
  jle    L290
  mov    $0x0,%r12d
  mov    -0x58(%rbp),%r13
L348:
  mov    $0x4,%esi
  call   <calloc@plt>
  mov    %rax,0x0(%r13,%r12,8)
  mov    $0x4,%esi
  mov    -0x3c(%rbp),%edi
  call   <calloc@plt>
  mov    %rax,(%rbx,%r12,8)
  mov    -0x3c(%rbp),%edi
  add    $0x1,%r12
  cmp    %r12d,%edi
  jg     L348
L290:
  lea    D123(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L295
  mov    -0x60(%rbp),%rax
  shr    $0x2,%rax
  mov    %rax,-0x50(%rbp)
  mov    $0x0,%eax
  mov    $0x0,%r13d
  lea    D20(%rip),%r15
  mov    %r14,-0x48(%rbp)
  mov    %rax,%r14
  mov    %rbx,-0x90(%rbp)
  jmp    L32
L53:
  mov    %r12,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x4,%r12
  cmp    %ebx,-0x3c(%rbp)
  jg     L53
L138:
  add    $0x1,%r13d
  add    -0x50(%rbp),%r14
  cmp    %r13d,-0x3c(%rbp)
  jle    L420
L32:
  mov    -0x48(%rbp),%rax
  lea    (%rax,%r14,4),%r12
  mov    $0x0,%ebx
  cmpl   $0x0,-0x3c(%rbp)
  jg     L53
  jmp    L138
L420:
  mov    -0x48(%rbp),%r14
  mov    -0x90(%rbp),%rbx
L295:
  lea    D71(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L571
  mov    -0x78(%rbp),%r13
  mov    $0x0,%r12d
  lea    D20(%rip),%r15
L423:
  mov    %r13,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%r12d
  mov    -0x3c(%rbp),%eax
  add    $0x4,%r13
  cmp    %r12d,%eax
  jg     L423
  test   %eax,%eax
  jle    L571
  mov    -0x60(%rbp),%rcx
  shr    $0x2,%rcx
  mov    $0x0,%eax
  movss  D31(%rip),%xmm1
  mov    -0x58(%rbp),%rsi
L308:
  mov    (%rbx,%rax,8),%rdx
  movss  %xmm1,(%rdx,%rax,4)
  movslq %eax,%rdx
  imul   %rcx,%rdx
  movss  (%r14,%rdx,4),%xmm0
  mov    (%rsi,%rax,8),%rdx
  movss  %xmm0,(%rdx)
  add    $0x1,%rax
  cmp    %eax,-0x3c(%rbp)
  jg     L308
L571:
  cmpl   $0x1,-0x3c(%rbp)
  jle    L453
  mov    -0x80(%rbp),%rax
  mov    0x0(,%rax,8),%rsi
  mov    -0x88(%rbp),%rax
  mov    0x0(,%rax,8),%rcx
  mov    $0x1,%eax
L70:
  movss  (%r14,%rax,4),%xmm0
  divss  (%rsi),%xmm0
  movss  %xmm0,(%rcx,%rax,4)
  mov    -0x3c(%rbp),%edx
  add    $0x1,%rax
  cmp    %eax,%edx
  jg     L70
  cmp    $0x1,%edx
  jle    L453
  mov    -0x60(%rbp),%r12
  add    %r12,%r14
  mov    -0x58(%rbp),%rax
  lea    0x8(%rax),%r8
  mov    %r14,%r11
  mov    $0x1,%esi
  mov    $0x2,%r10d
  jmp    L94
L486:
  mov    (%r8),%r13
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L182:
  mov    (%rbx,%rax,8),%rdx
  movss  (%rdx,%rdi,1),%xmm0
  mulss  0x0(%r13,%rax,4),%xmm0
  addss  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L182
L357:
  mov    (%r8),%rax
  movss  (%r11,%rdi,1),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax,%rdi,1)
  add    $0x1,%rcx
  add    $0x4,%rdi
  cmp    %r10,%rcx
  je     L259
L95:
  pxor   %xmm1,%xmm1
  test   %ecx,%ecx
  jg     L486
  jmp    L357
L293:
  mov    (%r8),%rcx
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L440:
  mov    (%rbx,%rax,8),%r15
  movss  (%r15,%rdx,1),%xmm0
  mulss  (%rcx,%rax,4),%xmm0
  addss  %xmm0,%xmm1
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L440
L600:
  mov    (%rbx,%rsi,8),%rax
  movss  (%r14,%rdx,1),%xmm0
  subss  %xmm1,%xmm0
  mov    (%r8),%rcx
  divss  (%rcx,%r13,1),%xmm0
  movss  %xmm0,(%rax,%rdx,1)
  add    $0x1,%edi
  mov    -0x3c(%rbp),%eax
  add    $0x4,%rdx
  cmp    %edi,%eax
  jle    L152
L476:
  pxor   %xmm1,%xmm1
  test   %r9d,%r9d
  jg     L293
  jmp    L600
L152:
  add    $0x1,%r10
  add    $0x1,%rsi
  add    %r12,%r14
  add    $0x8,%r8
  add    %r12,%r11
  cmp    %esi,%eax
  jle    L453
L94:
  mov    %esi,%r9d
  mov    $0x4,%edi
  mov    $0x1,%ecx
  test   %esi,%esi
  jg     L95
L259:
  mov    %r10d,%edi
  cmp    %r10d,-0x3c(%rbp)
  jle    L453
  lea    0x0(,%rsi,4),%r13
  lea    0x0(,%r10,4),%rdx
  jmp    L476
L453:
  lea    D23(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L597
  mov    -0x58(%rbp),%r13
  mov    $0x0,%r15d
  lea    D34(%rip),%r14
  jmp    L642
L279:
  mov    0x0(%r13),%rax
  pxor   %xmm0,%xmm0
  cvtss2sd (%rax,%r12,4),%xmm0
  mov    %r14,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%r12
  cmp    %r12d,-0x3c(%rbp)
  jg     L279
L294:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r15d
  add    $0x8,%r13
  cmp    %r15d,-0x3c(%rbp)
  jle    L597
L642:
  mov    $0x0,%r12d
  cmpl   $0x0,-0x3c(%rbp)
  jg     L279
  jmp    L294
L597:
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D118(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L312
  mov    %rbx,%r13
  mov    $0x0,%r15d
  lea    D34(%rip),%r14
  jmp    L520
L621:
  mov    0x0(%r13),%rax
  pxor   %xmm0,%xmm0
  cvtss2sd (%rax,%r12,4),%xmm0
  mov    %r14,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%r12
  cmp    %r12d,-0x3c(%rbp)
  jg     L621
L135:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r15d
  mov    -0x3c(%rbp),%esi
  add    $0x8,%r13
  cmp    %r15d,%esi
  jle    L424
L520:
  mov    $0x0,%r12d
  cmpl   $0x0,-0x3c(%rbp)
  jg     L621
  jmp    L135
L424:
  test   %esi,%esi
  jle    L74
  mov    -0x68(%rbp),%rsi
  lea    0x4(%rsi),%rdx
  mov    %rsi,%rax
  neg    %rax
  mov    -0x58(%rbp),%rdi
  lea    (%rdi,%rax,2),%r8
  mov    $0x0,%edi
  pxor   %xmm1,%xmm1
  mov    %rsi,%rax
  neg    %rsi
  mov    %rsi,%r10
  mov    -0x78(%rbp),%r11
  sub    %rax,%r11
  mov    $0xfffffffffffffffc,%r9
  sub    %rax,%r9
  mov    %rax,%r12
  jmp    L361
L590:
  mov    %r12,%rax
  pxor   %xmm1,%xmm1
  mov    %r10,%rcx
  add    (%r8,%rdx,2),%rcx
L11:
  movss  (%rcx,%rax,1),%xmm0
  mulss  (%rax),%xmm0
  addss  %xmm0,%xmm1
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L11
L44:
  add    $0x4,%rdx
L361:
  movss  -0x4(%r11,%rdx,1),%xmm0
  subss  %xmm1,%xmm0
  mov    %rdx,%rax
  add    -0x8(%r8,%rdx,2),%rax
  divss  (%rax,%r9,1),%xmm0
  movss  %xmm0,-0x4(%rdx)
  add    $0x1,%edi
  mov    -0x3c(%rbp),%esi
  cmp    %edi,%esi
  jle    L74
  test   %edi,%edi
  jg     L590
  pxor   %xmm1,%xmm1
  jmp    L44
L74:
  sub    $0x1,%esi
  js     L312
  movslq %esi,%rdi
  shl    $0x2,%rdi
  mov    -0x68(%rbp),%r9
  mov    -0x70(%rbp),%r8
L620:
  mov    -0x3c(%rbp),%edx
  lea    -0x1(%rdx),%eax
  cmp    %esi,%eax
  jle    L289
  cltq
  lea    0x0(,%rax,4),%rcx
  lea    (%r8,%rcx,1),%rax
  lea    -0x4(%r8,%rcx,1),%rcx
  sub    $0x2,%edx
  sub    %esi,%edx
  shl    $0x2,%rdx
  sub    %rdx,%rcx
  pxor   %xmm1,%xmm1
  mov    (%rbx,%rdi,2),%rdx
  sub    %r8,%rdx
L540:
  movss  (%rdx,%rax,1),%xmm0
  mulss  (%rax),%xmm0
  addss  %xmm0,%xmm1
  sub    $0x4,%rax
  cmp    %rcx,%rax
  jne    L540
L376:
  movss  (%r9,%rdi,1),%xmm0
  subss  %xmm1,%xmm0
  mov    (%rbx,%rdi,2),%rax
  divss  (%rax,%rdi,1),%xmm0
  movss  %xmm0,(%r8,%rdi,1)
  sub    $0x1,%esi
  sub    $0x4,%rdi
  cmp    $0xffffffff,%esi
  jne    L620
L312:
  lea    D22(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L352
  mov    -0x70(%rbp),%rbx
  mov    $0x0,%r12d
  lea    D103(%rip),%r13
L240:
  pxor   %xmm0,%xmm0
  cvtss2sd (%rbx),%xmm0
  mov    %r12d,%esi
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%r12d
  add    $0x4,%rbx
  cmp    %r12d,-0x3c(%rbp)
  jg     L240
L352:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L354
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L289:
  pxor   %xmm1,%xmm1
  jmp    L376
L354:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D75
type_infered: string
name: parse_data
arguments: data_tag: D120
type_infered: string
name: parse_data
arguments: data_tag: D123
type_infered: string
name: parse_data
arguments: data_tag: D20
type_infered: string
name: parse_data
arguments: data_tag: D71
type_infered: string
name: parse_data
arguments: data_tag: D31
type_infered: byte[4]
name: parse_data
arguments: data_tag: D23
type_infered: string
name: parse_data
arguments: data_tag: D34
type_infered: string
name: parse_data
arguments: data_tag: D118
type_infered: string
name: parse_data
arguments: data_tag: D22
type_infered: string
name: parse_data
arguments: data_tag: D103
type_infered: string

tool: D75: Enter the order of the matrix

tool: D120: %d

tool: D123: Enter all coefficients of matrix :

tool: D20: %f

tool: D71: Enter elements of B matrix :

tool: {"D31": [0x00,0x00,0x80,0x3f]}

tool: D23: L matrix is 

tool: D34: 	%.6f	

tool: D118: U matrix is 

tool: D22: Set of solution is:

tool: D103: x[%d] = %.6f


assistant: ```c
int main(void) {
  int n, i, k, j, p;
  printf("Enter the order of the matrix\n");
  scanf("%d", &n);
  float a[n][n], b[n], sum;
  float *l[n], *u[n], *z, *x;
  z = (float *)calloc(n, sizeof(float));
  x = (float *)calloc(n, sizeof(float));
  for (i = 0; i < n; i++) {
    l[i] = (float *)calloc(n, sizeof(float));
    u[i] = (float *)calloc(n, sizeof(float));
  }
  printf("Enter all coefficients of matrix :\n");
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++)
      scanf("%f", &a[i][j]);
  }
  printf("Enter elements of B matrix :\n");
  for (i = 0; i < n; i++)
    scanf("%f", &b[i]);
  for (i = 0; i < n; i++) {
    u[i][i] = 1;
    l[i][0] = a[i][0];
  }
  for (j = 1; j < n; j++) {
    u[0][j] = a[0][j] / l[0][0];
  }
  for (i = 1; i < n; i++) {
    for (j = 1; j <= i; j++) {
      sum = 0;
      for (k = 0; k <= j - 1; k++) {
        sum += l[i][k] * u[k][j];
      }
      l[i][j] = a[i][j] - sum;
    }
    for (j = i + 1; j < n; j++) {
      sum = 0;
      for (k = 0; k <= i - 1; k++) {
        sum += l[i][k] * u[k][j];
      }
      u[i][j] = (a[i][j] - sum) / l[i][i];
    }
  }
  printf("L matrix is \n");
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++)
      printf("\t%.6f\t", l[i][j]);
    printf("\n");
  }
  printf("\n");
  printf("U matrix is \n");
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++)
      printf("\t%.6f\t", u[i][j]);
    printf("\n");
  }
  for (i = 0; i < n; i++) {
    sum = 0;
    for (p = 0; p < i; p++)
      sum += l[i][p] * z[p];
    z[i] = (b[i] - sum) / l[i][i];
  }
  for (i = n - 1; i >= 0; i--) {
    sum = 0;
    for (p = n - 1; p > i; p--)
      sum += u[i][p] * x[p];
    x[i] = (z[i] - sum) / u[i][i];
  }
  printf("Set of solution is:\n");
  for (i = 0; i < n; i++)
    printf("x[%d] = %.6f\n", i, x[i]);
  printf("\n");
  return 0;
}
```