user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<step1>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%r10
  mov    %rsi,%r11
  mov    %rdx,%rsi
  mov    %r8,%rdx
  mov    %r9,%rax
  mov    %rsi,%r8
  mov    %rcx,%rdi
  mov    0x60(%rsp),%rbx
  mov    0x58(%rsp),%r9
  mov    $0x0,%ebp
  movss  D7(%rip),%xmm0
  jmp    L10
L2:
  mov    (%rdx,%rcx,1),%esi
  mov    %esi,(%r8,%rcx,1)
  mov    (%rax,%rcx,1),%esi
  mov    %esi,(%rdi,%rcx,1)
  add    $0x4,%rcx
  cmp    $0x20,%rcx
  jne    L2
  add    $0x1,%rbp
  add    $0x20,%r8
  add    $0x20,%rdi
  add    $0x1c,%rbx
  add    $0x1c,%r9
  cmp    $0x40,%rbp
  je     L22
L10:
  lea    0x0(,%rbp,4),%rsi
  mov    $0x0,%ecx
L21:
  mov    (%r10,%rsi,1),%r12d
  mov    %r12d,(%rdx,%rcx,1)
  mov    (%r11,%rsi,1),%r12d
  mov    %r12d,(%rax,%rcx,1)
  add    $0x100,%rsi
  add    $0x4,%rcx
  cmp    $0x20,%rcx
  jne    L21
  mov    (%rdx),%esi
  mov    (%rax),%ecx
  mov    %esi,%r12d
  add    0x10(%rdx),%r12d
  mov    %r12d,(%rdx)
  mov    %ecx,%r12d
  add    0x10(%rax),%r12d
  mov    %r12d,(%rax)
  sub    0x10(%rdx),%esi
  mov    %esi,0x10(%rdx)
  sub    0x10(%rax),%ecx
  mov    %ecx,0x10(%rax)
  mov    0x4(%rdx),%esi
  mov    0x4(%rax),%ecx
  mov    %esi,%r12d
  add    0x14(%rdx),%r12d
  mov    %r12d,0x4(%rdx)
  mov    %ecx,%r12d
  add    0x14(%rax),%r12d
  mov    %r12d,0x4(%rax)
  sub    0x14(%rdx),%esi
  mov    %esi,0x14(%rdx)
  sub    0x14(%rax),%ecx
  mov    %ecx,0x14(%rax)
  mov    0x8(%rdx),%esi
  mov    0x8(%rax),%ecx
  mov    %esi,%r12d
  add    0x18(%rdx),%r12d
  mov    %r12d,0x8(%rdx)
  mov    %ecx,%r12d
  add    0x18(%rax),%r12d
  mov    %r12d,0x8(%rax)
  sub    0x18(%rdx),%esi
  mov    %esi,0x18(%rdx)
  sub    0x18(%rax),%ecx
  mov    %ecx,0x18(%rax)
  mov    0xc(%rdx),%esi
  mov    0xc(%rax),%ecx
  mov    %esi,%r12d
  add    0x1c(%rdx),%r12d
  mov    %r12d,0xc(%rdx)
  mov    %ecx,%r12d
  add    0x1c(%rax),%r12d
  mov    %r12d,0xc(%rax)
  sub    0x1c(%rdx),%esi
  mov    %esi,0x1c(%rdx)
  sub    0x1c(%rax),%ecx
  mov    %ecx,0x1c(%rax)
  mov    0x14(%rdx),%esi
  mov    %esi,%ecx
  add    0x14(%rax),%ecx
  pxor   %xmm1,%xmm1
  cvtsi2ss %ecx,%xmm1
  mulss  %xmm0,%xmm1
  cvttss2si %xmm1,%ecx
  mov    %ecx,0x14(%rdx)
  mov    0x14(%rax),%ecx
  sub    %esi,%ecx
  pxor   %xmm1,%xmm1
  cvtsi2ss %ecx,%xmm1
  mulss  %xmm0,%xmm1
  cvttss2si %xmm1,%ecx
  mov    %ecx,0x14(%rax)
  mov    0x18(%rdx),%ecx
  mov    0x18(%rax),%esi
  mov    %esi,0x18(%rdx)
  neg    %ecx
  mov    %ecx,0x18(%rax)
  mov    0x1c(%rdx),%ecx
  mov    0x1c(%rax),%esi
  sub    %ecx,%esi
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  cvttss2si %xmm1,%esi
  mov    %esi,0x1c(%rdx)
  neg    %ecx
  sub    0x1c(%rax),%ecx
  pxor   %xmm1,%xmm1
  cvtsi2ss %ecx,%xmm1
  mulss  %xmm0,%xmm1
  cvttss2si %xmm1,%ecx
  mov    %ecx,0x1c(%rax)
  mov    (%rdx),%esi
  mov    (%rax),%ecx
  mov    %esi,%r12d
  add    0x8(%rdx),%r12d
  mov    %r12d,(%rdx)
  mov    %ecx,%r12d
  add    0x8(%rax),%r12d
  mov    %r12d,(%rax)
  sub    0x8(%rdx),%esi
  mov    %esi,0x8(%rdx)
  sub    0x8(%rax),%ecx
  mov    %ecx,0x8(%rax)
  mov    0x4(%rdx),%esi
  mov    0x4(%rax),%ecx
  mov    %esi,%r12d
  add    0xc(%rdx),%r12d
  mov    %r12d,0x4(%rdx)
  mov    %ecx,%r12d
  add    0xc(%rax),%r12d
  mov    %r12d,0x4(%rax)
  sub    0xc(%rdx),%esi
  mov    %esi,0xc(%rdx)
  sub    0xc(%rax),%ecx
  mov    %ecx,0xc(%rax)
  mov    0xc(%rdx),%esi
  mov    %ecx,0xc(%rdx)
  neg    %esi
  mov    %esi,0xc(%rax)
  mov    (%rdx),%esi
  mov    (%rax),%ecx
  mov    %esi,%r12d
  add    0x4(%rdx),%r12d
  mov    %r12d,(%rdx)
  mov    %ecx,%r12d
  add    0x4(%rax),%r12d
  mov    %r12d,(%rax)
  sub    0x4(%rdx),%esi
  mov    %esi,0x4(%rdx)
  sub    0x4(%rax),%ecx
  mov    %ecx,0x4(%rax)
  mov    0x8(%rdx),%esi
  mov    0x8(%rax),%ecx
  mov    %esi,%r12d
  add    0xc(%rdx),%r12d
  mov    %r12d,0x8(%rdx)
  mov    %ecx,%r12d
  add    0xc(%rax),%r12d
  mov    %r12d,0x8(%rax)
  sub    0xc(%rdx),%esi
  mov    %esi,0xc(%rdx)
  sub    0xc(%rax),%ecx
  mov    %ecx,0xc(%rax)
  mov    0x10(%rdx),%esi
  mov    0x10(%rax),%ecx
  mov    %esi,%r12d
  add    0x18(%rdx),%r12d
  mov    %r12d,0x10(%rdx)
  mov    %ecx,%r12d
  add    0x18(%rax),%r12d
  mov    %r12d,0x10(%rax)
  sub    0x18(%rdx),%esi
  mov    %esi,0x18(%rdx)
  sub    0x18(%rax),%ecx
  mov    %ecx,0x18(%rax)
  mov    0x14(%rdx),%esi
  mov    0x14(%rax),%ecx
  mov    %esi,%r12d
  add    0x1c(%rdx),%r12d
  mov    %r12d,0x14(%rdx)
  mov    %ecx,%r12d
  add    0x1c(%rax),%r12d
  mov    %r12d,0x14(%rax)
  sub    0x1c(%rdx),%esi
  mov    %esi,0x1c(%rdx)
  sub    0x1c(%rax),%ecx
  mov    %ecx,0x1c(%rax)
  mov    0x1c(%rdx),%esi
  mov    %ecx,0x1c(%rdx)
  neg    %esi
  mov    %esi,0x1c(%rax)
  mov    0x10(%rdx),%esi
  mov    0x10(%rax),%ecx
  mov    %esi,%r12d
  add    0x14(%rdx),%r12d
  mov    %r12d,0x10(%rdx)
  mov    %ecx,%r12d
  add    0x14(%rax),%r12d
  mov    %r12d,0x10(%rax)
  sub    0x14(%rdx),%esi
  mov    %esi,0x14(%rdx)
  sub    0x14(%rax),%ecx
  mov    %ecx,0x14(%rax)
  mov    0x18(%rdx),%esi
  mov    0x18(%rax),%ecx
  mov    %esi,%r12d
  add    0x1c(%rdx),%r12d
  mov    %r12d,0x18(%rdx)
  mov    %ecx,%r12d
  add    0x1c(%rax),%r12d
  mov    %r12d,0x18(%rax)
  sub    0x1c(%rdx),%esi
  mov    %esi,0x1c(%rdx)
  sub    0x1c(%rax),%ecx
  mov    %ecx,0x1c(%rax)
  mov    $0x4,%ecx
L9:
  cvttss2si -0x4(%rbx,%rcx,1),%esi
  cvttss2si -0x4(%r9,%rcx,1),%r12d
  mov    (%rdx,%rcx,1),%r14d
  mov    %esi,%r13d
  imul   %r14d,%r13d
  mov    %r12d,%r15d
  imul   (%rax,%rcx,1),%r15d
  sub    %r15d,%r13d
  mov    %r13d,(%rdx,%rcx,1)
  imul   (%rax,%rcx,1),%esi
  imul   %r14d,%r12d
  add    %r12d,%esi
  mov    %esi,(%rax,%rcx,1)
  add    $0x4,%rcx
  cmp    $0x20,%rcx
  jne    L9
  mov    $0x0,%ecx
  jmp    L2
L22:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D7
type_infered: byte[4]

tool: {"D7": [0xf3,0x04,0x35,0x3f]}

assistant: ```c
void step1(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] = work_x[i * stride + tid];
      data_y[i] = work_y[i * stride + tid];
    }
    {
      int exp_1_8_x, exp_1_4_x, exp_3_8_x;
      int exp_1_8_y, exp_1_4_y, exp_3_8_y;
      int tmp_1, tmp_2;
      exp_1_8_x = 1;
      exp_1_8_y = -1;
      exp_1_4_x = 0;
      exp_1_4_y = -1;
      exp_3_8_x = -1;
      exp_3_8_y = -1;
      {
        int c0_x = *&data_x[0];
        int c0_y = *&data_y[0];
        *&data_x[0] = (c0_x + *&data_x[4]);
        *&data_y[0] = (c0_y + *&data_y[4]);
        *&data_x[4] = (c0_x - *&data_x[4]);
        *&data_y[4] = (c0_y - *&data_y[4]);
      };
      {
        int c0_x = *&data_x[1];
        int c0_y = *&data_y[1];
        *&data_x[1] = (c0_x + *&data_x[5]);
        *&data_y[1] = (c0_y + *&data_y[5]);
        *&data_x[5] = (c0_x - *&data_x[5]);
        *&data_y[5] = (c0_y - *&data_y[5]);
      };
      {
        int c0_x = *&data_x[2];
        int c0_y = *&data_y[2];
        *&data_x[2] = (c0_x + *&data_x[6]);
        *&data_y[2] = (c0_y + *&data_y[6]);
        *&data_x[6] = (c0_x - *&data_x[6]);
        *&data_y[6] = (c0_y - *&data_y[6]);
      };
      {
        int c0_x = *&data_x[3];
        int c0_y = *&data_y[3];
        *&data_x[3] = (c0_x + *&data_x[7]);
        *&data_y[3] = (c0_y + *&data_y[7]);
        *&data_x[7] = (c0_x - *&data_x[7]);
        *&data_y[7] = (c0_y - *&data_y[7]);
      };
      tmp_1 = data_x[5];
      data_x[5] = (0.70710678118654752440f * (data_x[5] * exp_1_8_x - data_y[5] * exp_1_8_y));
      data_y[5] = (0.70710678118654752440f * (tmp_1 * exp_1_8_y + data_y[5] * exp_1_8_x));
      tmp_1 = data_x[6];
      data_x[6] = (data_x[6] * exp_1_4_x - data_y[6] * exp_1_4_y);
      data_y[6] = (tmp_1 * exp_1_4_y + data_y[6] * exp_1_4_x);
      tmp_1 = data_x[7];
      data_x[7] = (0.70710678118654752440f * (data_x[7] * exp_3_8_x - data_y[7] * exp_3_8_y));
      data_y[7] = (0.70710678118654752440f * (tmp_1 * exp_3_8_y + data_y[7] * exp_3_8_x));
      {
        int exp_1_44_x;
        int exp_1_44_y;
        int tmp;
        exp_1_44_x = 0.0;
        exp_1_44_y = -1.0;
        {
          int c0_x = *&data_x[0];
          int c0_y = *&data_y[0];
          *&data_x[0] = (c0_x + *&data_x[2]);
          *&data_y[0] = (c0_y + *&data_y[2]);
          *&data_x[2] = (c0_x - *&data_x[2]);
          *&data_y[2] = (c0_y - *&data_y[2]);
        };
        {
          int c0_x = *&data_x[1];
          int c0_y = *&data_y[1];
          *&data_x[1] = (c0_x + *&data_x[3]);
          *&data_y[1] = (c0_y + *&data_y[3]);
          *&data_x[3] = (c0_x - *&data_x[3]);
          *&data_y[3] = (c0_y - *&data_y[3]);
        };
        tmp = *&data_x[3];
        *&data_x[3] = *&data_x[3] * exp_1_44_x - *&data_y[3] * exp_1_44_y;
        *&data_y[3] = tmp * exp_1_44_y - *&data_y[3] * exp_1_44_x;
        {
          int c0_x = *&data_x[0];
          int c0_y = *&data_y[0];
          *&data_x[0] = (c0_x + *&data_x[1]);
          *&data_y[0] = (c0_y + *&data_y[1]);
          *&data_x[1] = (c0_x - *&data_x[1]);
          *&data_y[1] = (c0_y - *&data_y[1]);
        };
        {
          int c0_x = *&data_x[2];
          int c0_y = *&data_y[2];
          *&data_x[2] = (c0_x + *&data_x[3]);
          *&data_y[2] = (c0_y + *&data_y[3]);
          *&data_x[3] = (c0_x - *&data_x[3]);
          *&data_y[3] = (c0_y - *&data_y[3]);
        };
      };
      {
        int exp_1_44_x;
        int exp_1_44_y;
        int tmp;
        exp_1_44_x = 0.0;
        exp_1_44_y = -1.0;
        {
          int c0_x = *&data_x[4];
          int c0_y = *&data_y[4];
          *&data_x[4] = (c0_x + *&data_x[6]);
          *&data_y[4] = (c0_y + *&data_y[6]);
          *&data_x[6] = (c0_x - *&data_x[6]);
          *&data_y[6] = (c0_y - *&data_y[6]);
        };
        {
          int c0_x = *&data_x[5];
          int c0_y = *&data_y[5];
          *&data_x[5] = (c0_x + *&data_x[7]);
          *&data_y[5] = (c0_y + *&data_y[7]);
          *&data_x[7] = (c0_x - *&data_x[7]);
          *&data_y[7] = (c0_y - *&data_y[7]);
        };
        tmp = *&data_x[7];
        *&data_x[7] = *&data_x[7] * exp_1_44_x - *&data_y[7] * exp_1_44_y;
        *&data_y[7] = tmp * exp_1_44_y - *&data_y[7] * exp_1_44_x;
        {
          int c0_x = *&data_x[4];
          int c0_y = *&data_y[4];
          *&data_x[4] = (c0_x + *&data_x[5]);
          *&data_y[4] = (c0_y + *&data_y[5]);
          *&data_x[5] = (c0_x - *&data_x[5]);
          *&data_y[5] = (c0_y - *&data_y[5]);
        };
        {
          int c0_x = *&data_x[6];
          int c0_y = *&data_y[6];
          *&data_x[6] = (c0_x + *&data_x[7]);
          *&data_y[6] = (c0_y + *&data_y[7]);
          *&data_x[7] = (c0_x - *&data_x[7]);
          *&data_y[7] = (c0_y - *&data_y[7]);
        };
      };
    };
  twiddles:
    for (j = 1; j < 8; j++) {
      int A_x, A_y, tmp;
      A_x = cos_512[tid * 7 + j - 1];
      A_y = sin_512[tid * 7 + j - 1];
      tmp = data_x[j];
      data_x[j] = (data_x[j] * A_x - data_y[j] * A_y);
      data_y[j] = (tmp * A_y + data_y[j] * A_x);
    }
  store:
    for (i = 0; i < 8; i++) {
      DATA_x[tid * 8 + i] = data_x[i];
      DATA_y[tid * 8 + i] = data_y[i];
    }
  }
}
```