user: What is the c source code of the assembly code below:

```asm
<step2>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  mov    %r8,-0x48(%rbp)
  mov    %r9,-0x50(%rbp)
  movl   $0x40,-0xc(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L18
L39:
  nop
  movl   $0x0,-0x10(%rbp)
  jmp    L15
L4:
  mov    -0x14(%rbp),%eax
  lea    0x0(,%rax,8),%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x48(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x10(%rbp)
L15:
  cmpl   $0x7,-0x10(%rbp)
  jle    L4
  mov    -0x14(%rbp),%eax
  sar    $0x3,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x14(%rbp),%eax
  and    $0x7,%eax
  mov    %eax,-0x4(%rbp)
  mov    0x18(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  lea    0x0(,%rdx,8),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  shl    $0x3,%edx
  lea    0x42(%rdx),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  shl    $0x3,%edx
  lea    0x84(%rdx),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0xc,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  shl    $0x3,%edx
  lea    0xc6(%rdx),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  add    $0x21,%edx
  lea    0x0(,%rdx,8),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0x14,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  shl    $0x3,%edx
  lea    0x14a(%rdx),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  shl    $0x3,%edx
  lea    0x18c(%rdx),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    0x18(%rbp),%rax
  add    $0x1c,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  shl    $0x3,%edx
  lea    0x1ce(%rdx),%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x14(%rbp)
L18:
  cmpl   $0x3f,-0x14(%rbp)
  jle    L39
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void step2(int work_x[], int work_y[], int DATA_x[], int DATA_y[], int data_x[], int data_y[], int smem[], int reversed[], float sin_64[448], float cos_64[448], float sin_512[448], float cos_512[448]) {
  int tid, hi, lo, i, j, stride;
  stride = 64;
outer:
  for (tid = 0; tid < 64; tid++) {
  load:
    for (i = 0; i < 8; i++) {
      data_x[i] = DATA_x[tid * 8 + i];
    }
    hi = tid >> 3;
    lo = tid & 7;
    {
      smem[0 * 66 + hi * 8 + lo] = data_x[reversed[0]];
      smem[1 * 66 + hi * 8 + lo] = data_x[reversed[1]];
      smem[2 * 66 + hi * 8 + lo] = data_x[reversed[2]];
      smem[3 * 66 + hi * 8 + lo] = data_x[reversed[3]];
      smem[4 * 66 + hi * 8 + lo] = data_x[reversed[4]];
      smem[5 * 66 + hi * 8 + lo] = data_x[reversed[5]];
      smem[6 * 66 + hi * 8 + lo] = data_x[reversed[6]];
      smem[7 * 66 + hi * 8 + lo] = data_x[reversed[7]];
    };
  }
}
```