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    $0x88,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  mov    %rsp,%rax
  cmp    %rax,%rsp
  je     L152
L67:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rax,%rsp
  jne    L67
L152:
  sub    $0x150,%rsp
  orq    $0x0,0x148(%rsp)
  lea    0x7(%rsp),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffffff8,%rax
  mov    %rax,-0xb0(%rbp)
  mov    %rsp,%rax
  shr    $0x3,%rdx
  cmp    %rax,%rsp
  je     L44
L75:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rax,%rsp
  jne    L75
L44:
  sub    $0x150,%rsp
  orq    $0x0,0x148(%rsp)
  movapd D315(%rip),%xmm1
  movapd D88(%rip),%xmm0
  lea    0x7(%rsp),%rcx
  movups %xmm1,0x0(,%rdx,8)
  mov    %rcx,%rax
  movups %xmm0,0x10(,%rdx,8)
  and    $0xfffffffffffffff8,%rcx
  shr    $0x3,%rax
  mov    %rcx,-0xa0(%rbp)
  movups %xmm1,0x0(,%rax,8)
  movapd D247(%rip),%xmm1
  movups %xmm0,0x10(,%rax,8)
  movapd D105(%rip),%xmm0
  movups %xmm1,0x20(,%rax,8)
  movups %xmm1,0x20(,%rdx,8)
  movapd D238(%rip),%xmm1
  movups %xmm0,0x30(,%rax,8)
  movups %xmm1,0x40(,%rax,8)
  movups %xmm0,0x30(,%rdx,8)
  movapd D97(%rip),%xmm0
  movups %xmm1,0x40(,%rdx,8)
  movapd D94(%rip),%xmm1
  movups %xmm0,0x50(,%rax,8)
  movups %xmm1,0x60(,%rax,8)
  movups %xmm0,0x50(,%rdx,8)
  movapd D314(%rip),%xmm0
  movups %xmm1,0x60(,%rdx,8)
  movapd D60(%rip),%xmm1
  movups %xmm0,0x70(,%rax,8)
  movups %xmm1,0x80(,%rax,8)
  movups %xmm0,0x70(,%rdx,8)
  movapd D249(%rip),%xmm0
  movups %xmm1,0x80(,%rdx,8)
  movapd D4(%rip),%xmm1
  movups %xmm0,0x90(,%rax,8)
  movups %xmm0,0x90(,%rdx,8)
  movups %xmm1,0xa0(,%rdx,8)
  movapd D110(%rip),%xmm0
  movups %xmm1,0xa0(,%rax,8)
  movapd D161(%rip),%xmm1
  movups %xmm0,0xb0(,%rax,8)
  movups %xmm0,0xb0(,%rdx,8)
  movapd D215(%rip),%xmm0
  movups %xmm1,0xc0(,%rax,8)
  movups %xmm0,0xd0(,%rax,8)
  movups %xmm0,0xd0(,%rdx,8)
  movapd D321(%rip),%xmm0
  movups %xmm1,0xc0(,%rdx,8)
  movapd D186(%rip),%xmm1
  movups %xmm0,0xf0(,%rax,8)
  movups %xmm0,0xf0(,%rdx,8)
  movapd D46(%rip),%xmm0
  movups %xmm1,0xe0(,%rax,8)
  movups %xmm0,0x110(,%rax,8)
  movups %xmm1,0xe0(,%rdx,8)
  movapd D343(%rip),%xmm1
  movups %xmm0,0x110(,%rdx,8)
  movapd D103(%rip),%xmm0
  movups %xmm1,0x100(,%rax,8)
  movups %xmm0,0x130(,%rax,8)
  movups %xmm1,0x100(,%rdx,8)
  movapd D297(%rip),%xmm1
  movups %xmm0,0x130(,%rdx,8)
  movsd  D95(%rip),%xmm0
  movups %xmm1,0x120(,%rax,8)
  movsd  %xmm0,0x140(,%rax,8)
  lea    -0x3000(%rsp),%rax
  movups %xmm1,0x120(,%rdx,8)
  movsd  %xmm0,0x140(,%rdx,8)
  cmp    %rax,%rsp
  je     L28
L17:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rax,%rsp
  jne    L17
L28:
  sub    $0x490,%rsp
  orq    $0x0,0x488(%rsp)
  lea    -0x3000(%rsp),%rax
  mov    %rsp,-0x98(%rbp)
  cmp    %rax,%rsp
  je     L124
L82:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rax,%rsp
  jne    L82
L124:
  sub    $0x490,%rsp
  orq    $0x0,0x488(%rsp)
  movsd  D4(%rip),%xmm4
  movapd D18(%rip),%xmm0
  mov    -0x98(%rbp),%rax
  lea    0x3488(%rax),%rsi
  mov    %rsp,%rdx
  mov    %rdx,-0xa8(%rbp)
L147:
  xor    %ecx,%ecx
L33:
  movups %xmm0,(%rax,%rcx,1)
  movups %xmm0,(%rdx,%rcx,1)
  add    $0x10,%rcx
  cmp    $0x140,%rcx
  jne    L33
  movsd  %xmm4,0x140(%rax)
  add    $0x148,%rax
  add    $0x148,%rdx
  movsd  %xmm4,-0x8(%rdx)
  cmp    %rax,%rsi
  jne    L147
  movl   $0x1f4,-0x90(%rbp)
  lea    D38(%rip),%r14
L19:
  mov    -0xb0(%rbp),%rax
  movq   $0xfffffffffffffeb8,-0x60(%rbp)
  movq   $0x0,-0x58(%rbp)
  mov    %rax,-0x48(%rbp)
  movl   $0x1,-0x8c(%rbp)
  cs nopw 0x0(%rax,%rax,1)
L129:
  mov    -0x8c(%rbp),%eax
  mov    -0xa0(%rbp),%r13
  mov    $0x1,%r15d
  mov    -0x98(%rbp),%rbx
  mov    -0xa8(%rbp),%r12
  lea    -0x1(%rax),%ecx
  movabs $0x10000000001,%rax
  shr    %cl,%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x58(%rbp),%rax
  sub    %rax,%rbx
  sub    %rax,%r12
  mov    %r13,%rax
  mov    %rbx,%r13
  mov    %rax,%rbx
  jmp    L111
  nopw   0x0(%rax,%rax,1)
L45:
  mov    -0x48(%rbp),%rax
  movsd  (%rbx),%xmm1
  movapd %xmm4,%xmm3
  movapd %xmm4,%xmm2
  movsd  %xmm4,0x0(%r13)
  mov    %r14,%rdi
  movsd  (%rax),%xmm0
  movsd  %xmm4,(%r12)
  call   <printf@plt>
  mov    D4(%rip),%rax
  cmp    $0x29,%r15d
  movq   %rax,%xmm4
  je     L71
L47:
  add    $0x1,%r15d
  add    $0x8,%r13
  add    $0x8,%r12
  add    $0x8,%rbx
L111:
  movabs $0x10000000001,%rax
  lea    -0x1(%r15),%ecx
  shr    %cl,%rax
  or     -0x50(%rbp),%rax
  test   $0x1,%al
  jne    L45
  movsd  0x0(%r13),%xmm1
  movsd  -0x8(%r13),%xmm2
  mov    $0x2,%edi
  movsd  D86(%rip),%xmm5
  mov    -0x58(%rbp),%rax
  movapd %xmm1,%xmm0
  mov    -0x60(%rbp),%rsi
  movapd %xmm1,%xmm6
  mov    D333(%rip),%rdx
  mulsd  %xmm1,%xmm5
  subsd  %xmm2,%xmm0
  add    %r13,%rax
  movsd  %xmm2,-0x80(%rbp)
  movsd  (%rax,%rsi,1),%xmm3
  movsd  %xmm1,-0x70(%rbp)
  movsd  %xmm3,-0x78(%rbp)
  mulsd  %xmm5,%xmm0
  subsd  %xmm0,%xmm6
  movapd %xmm1,%xmm0
  subsd  %xmm3,%xmm0
  mulsd  %xmm5,%xmm0
  subsd  %xmm0,%xmm6
  movq   %rdx,%xmm0
  movsd  %xmm6,-0x68(%rbp)
  call   <pow@plt>
  movsd  -0x70(%rbp),%xmm1
  movsd  -0x80(%rbp),%xmm2
  mov    $0x2,%edi
  movapd %xmm0,%xmm5
  movsd  0x8(%r13),%xmm0
  mov    D333(%rip),%rdx
  addsd  %xmm1,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm1,-0x70(%rbp)
  addsd  %xmm2,%xmm0
  movsd  D128(%rip),%xmm2
  divsd  %xmm5,%xmm2
  mulsd  %xmm2,%xmm0
  addsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movq   %rdx,%xmm0
  call   <pow@plt>
  movsd  -0x70(%rbp),%xmm1
  movsd  D128(%rip),%xmm7
  mov    $0x2,%edi
  movsd  0x148(%r13),%xmm2
  movsd  -0x78(%rbp),%xmm3
  divsd  %xmm0,%xmm7
  movsd  D86(%rip),%xmm6
  mov    -0x58(%rbp),%rax
  subsd  %xmm1,%xmm2
  movsd  (%r12),%xmm1
  mov    -0x60(%rbp),%rsi
  add    %r12,%rax
  mulsd  %xmm1,%xmm6
  movapd %xmm1,%xmm0
  movsd  (%rax,%rsi,1),%xmm5
  mov    D333(%rip),%rax
  addsd  %xmm3,%xmm2
  movsd  -0x8(%r12),%xmm3
  movsd  %xmm1,-0x70(%rbp)
  movsd  %xmm5,-0x78(%rbp)
  subsd  %xmm3,%xmm0
  movsd  %xmm3,-0x80(%rbp)
  mulsd  %xmm6,%xmm0
  mulsd  %xmm7,%xmm2
  movapd %xmm1,%xmm7
  subsd  %xmm0,%xmm7
  movapd %xmm1,%xmm0
  addsd  -0x68(%rbp),%xmm2
  subsd  %xmm5,%xmm0
  movsd  %xmm2,0x0(%r13)
  mulsd  %xmm6,%xmm0
  movsd  %xmm2,-0x88(%rbp)
  subsd  %xmm0,%xmm7
  movq   %rax,%xmm0
  movsd  %xmm7,-0x68(%rbp)
  call   <pow@plt>
  movsd  -0x70(%rbp),%xmm1
  movsd  -0x80(%rbp),%xmm3
  mov    $0x2,%edi
  movapd %xmm0,%xmm6
  movsd  0x8(%r12),%xmm0
  mov    D333(%rip),%rax
  addsd  %xmm1,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm1,-0x70(%rbp)
  addsd  %xmm3,%xmm0
  movsd  D128(%rip),%xmm3
  divsd  %xmm6,%xmm3
  mulsd  %xmm3,%xmm0
  addsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movq   %rax,%xmm0
  call   <pow@plt>
  movsd  D128(%rip),%xmm7
  mov    -0x48(%rbp),%rax
  mov    %r14,%rdi
  movsd  -0x70(%rbp),%xmm1
  movsd  -0x78(%rbp),%xmm5
  divsd  %xmm0,%xmm7
  movsd  -0x88(%rbp),%xmm2
  movsd  (%rax),%xmm0
  movsd  0x148(%r12),%xmm3
  subsd  %xmm1,%xmm3
  movsd  (%rbx),%xmm1
  addsd  %xmm5,%xmm3
  mulsd  %xmm7,%xmm3
  addsd  -0x68(%rbp),%xmm3
  movsd  %xmm3,(%r12)
  call   <printf@plt>
  mov    D4(%rip),%rax
  movq   %rax,%xmm4
  jmp    L47
  nopl   0x0(%rax)
L71:
  addl   $0x1,-0x8c(%rbp)
  mov    -0x8c(%rbp),%eax
  addq   $0x8,-0x48(%rbp)
  subq   $0x148,-0x58(%rbp)
  addq   $0x148,-0x60(%rbp)
  cmp    $0x2a,%eax
  jne    L129
  subl   $0x1,-0x90(%rbp)
  jne    L19
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L169
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L169:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D315
type: byte[16]
name: disassemble_data
arguments: data_label: D88
type: byte[16]
name: disassemble_data
arguments: data_label: D247
type: byte[16]
name: disassemble_data
arguments: data_label: D105
type: byte[16]
name: disassemble_data
arguments: data_label: D238
type: byte[16]
name: disassemble_data
arguments: data_label: D97
type: f64[2]
name: disassemble_data
arguments: data_label: D94
type: byte[16]
name: disassemble_data
arguments: data_label: D314
type: byte[16]
name: disassemble_data
arguments: data_label: D60
type: byte[16]
name: disassemble_data
arguments: data_label: D249
type: byte[16]
name: disassemble_data
arguments: data_label: D4
type: f64[2]
name: disassemble_data
arguments: data_label: D110
type: byte[16]
name: disassemble_data
arguments: data_label: D161
type: byte[16]
name: disassemble_data
arguments: data_label: D215
type: byte[16]
name: disassemble_data
arguments: data_label: D321
type: byte[16]
name: disassemble_data
arguments: data_label: D186
type: byte[16]
name: disassemble_data
arguments: data_label: D46
type: byte[16]
name: disassemble_data
arguments: data_label: D343
type: byte[16]
name: disassemble_data
arguments: data_label: D103
type: byte[16]
name: disassemble_data
arguments: data_label: D297
type: byte[16]
name: disassemble_data
arguments: data_label: D95
type: f64
name: disassemble_data
arguments: data_label: D18
type: f64[2]
name: disassemble_data
arguments: data_label: D38
type: string
name: disassemble_data
arguments: data_label: D86
type: byte[8]
name: disassemble_data
arguments: data_label: D333
type: byte[8]
name: disassemble_data
arguments: data_label: D128
type: byte[8]

tool: {"D315": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9a,0x99,0x99,0x99,0x99,0x99,0xa9,0x3f]}

tool: {"D88": [0x9a,0x99,0x99,0x99,0x99,0x99,0xb9,0x3f,0x34,0x33,0x33,0x33,0x33,0x33,0xc3,0x3f]}

tool: {"D247": [0x9a,0x99,0x99,0x99,0x99,0x99,0xc9,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x3f]}

tool: {"D105": [0x34,0x33,0x33,0x33,0x33,0x33,0xd3,0x3f,0x67,0x66,0x66,0x66,0x66,0x66,0xd6,0x3f]}

tool: {"D238": [0x9a,0x99,0x99,0x99,0x99,0x99,0xd9,0x3f,0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xdc,0x3f]}

tool: {"D97": [0.5,0.55]}

tool: {"D94": [0x34,0x33,0x33,0x33,0x33,0x33,0xe3,0x3f,0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xe4,0x3f]}

tool: {"D314": [0x67,0x66,0x66,0x66,0x66,0x66,0xe6,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0xe8,0x3f]}

tool: {"D60": [0x9a,0x99,0x99,0x99,0x99,0x99,0xe9,0x3f,0x34,0x33,0x33,0x33,0x33,0x33,0xeb,0x3f]}

tool: {"D249": [0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xec,0x3f,0x67,0x66,0x66,0x66,0x66,0x66,0xee,0x3f]}

tool: {"D4": [1.0,1.05]}

tool: {"D110": [0x9a,0x99,0x99,0x99,0x99,0x99,0xf1,0x3f,0x67,0x66,0x66,0x66,0x66,0x66,0xf2,0x3f]}

tool: {"D161": [0x34,0x33,0x33,0x33,0x33,0x33,0xf3,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0xf4,0x3f]}

tool: {"D215": [0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xf4,0x3f,0x9a,0x99,0x99,0x99,0x99,0x99,0xf5,0x3f]}

tool: {"D321": [0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x3f,0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xf8,0x3f]}

tool: {"D186": [0x67,0x66,0x66,0x66,0x66,0x66,0xf6,0x3f,0x34,0x33,0x33,0x33,0x33,0x33,0xf7,0x3f]}

tool: {"D46": [0x34,0x33,0x33,0x33,0x33,0x33,0xfb,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0xfc,0x3f]}

tool: {"D343": [0x9a,0x99,0x99,0x99,0x99,0x99,0xf9,0x3f,0x67,0x66,0x66,0x66,0x66,0x66,0xfa,0x3f]}

tool: {"D103": [0x67,0x66,0x66,0x66,0x66,0x66,0xfe,0x3f,0x34,0x33,0x33,0x33,0x33,0x33,0xff,0x3f]}

tool: {"D297": [0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xfc,0x3f,0x9a,0x99,0x99,0x99,0x99,0x99,0xfd,0x3f]}

tool: D95: 2

tool: {"D18": [1.0,1.0]}

tool: D38: %g,%g,%g,%g

tool: {"D86": [0x3b,0xdf,0x4f,0x8d,0x97,0x6e,0x72,0x3f]}

tool: {"D333": [0x9a,0x99,0x99,0x99,0x99,0x99,0xa9,0x3f]}

tool: {"D128": [0x3f,0xab,0xcc,0x94,0xd6,0xdf,0xc2,0x3e]}

assistant: ```c
int main() {
  int nx = 41;
  int nt = 120;
  int c = 1;
  int pasos = 500;
  double dx = 2. / (nx - 1.);
  double sigma = .0009;
  double nu = 0.01;
  double dt = sigma * dx * dx / nu;
  double x[nx];
  double y[nx];
  int i;
  int j;
  for (i = 0; i < nx; i += 1) {
    x[i] = i * dx;
    y[i] = i * dx;
  }
  double u[nx][nx];
  double v[nx][nx];
  for (i = 0; i < nx; i += 1) {
    for (j = 0; j < nx; j += 1) {
      if (((i >= 0.5) && (i <= dx)) && ((j >= 0.5) && (j <= dx))) {
        u[i][j] = 2;
        v[i][j] = 2;
      } else {
        u[i][j] = 1;
        v[i][j] = 1;
      }
    }
  }
  int paso;
  for (paso = 0; paso < pasos; paso += 1) {
    for (i = 0; i < nx; i += 1) {
      for (j = 0; j < nx; j += 1) {
        if (i == 0 || i == nx - 1 || j == 0 || j == nx - 1) {
          u[i][j] = 1;
          v[i][j] = 1;
        } else {
          u[i][j] = u[i][j] - dt / dx * u[i][j] * (u[i][j] - u[i][j - 1]) - dt / dx * u[i][j] * (u[i][j] - u[i - 1][j]) + nu * dt / pow(dx, 2.) * (u[i][j + 1] - 2 * u[i][j] + u[i][j - 1]) + nu * dt / pow(dx, 2.) * (u[i + 1][j] - 2 * u[i][j] + u[i - 1][j]);
          v[i][j] = v[i][j] - dt / dx * v[i][j] * (v[i][j] - v[i][j - 1]) - dt / dx * v[i][j] * (v[i][j] - v[i - 1][j]) + nu * dt / pow(dx, 2.) * (v[i][j + 1] - 2 * v[i][j] + v[i][j - 1]) + nu * dt / pow(dx, 2.) * (v[i + 1][j] - 2 * v[i][j] + v[i - 1][j]);
        }
        printf("%g,%g,%g,%g", x[i], y[j], u[i][j], v[i][j]);
      }
    }
  }
  return 0;
}
```