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

```asm
<trasp64_128_88ccw>:
  endbr64
  push   %rbx
  mov    %rdi,%rdx
  lea    0x200(%rdi),%r9
  mov    %rdi,%rax
  movabs $0xffffffff00000000,%r8
L113:
  mov    (%rax),%rcx
  mov    0x200(%rax),%rsi
  mov    %ecx,%edi
  mov    %rsi,%r10
  shl    $0x20,%r10
  or     %r10,%rdi
  mov    %rdi,(%rax)
  shr    $0x20,%rcx
  and    %r8,%rsi
  or     %rsi,%rcx
  mov    %rcx,0x200(%rax)
  mov    0x8(%rax),%rcx
  mov    0x208(%rax),%rsi
  mov    %ecx,%edi
  mov    %rsi,%r10
  shl    $0x20,%r10
  or     %r10,%rdi
  mov    %rdi,0x8(%rax)
  shr    $0x20,%rcx
  and    %r8,%rsi
  or     %rsi,%rcx
  mov    %rcx,0x208(%rax)
  add    $0x10,%rax
  cmp    %r9,%rax
  jne    L113
  lea    0x100(%rdx),%r9
  mov    $0x10,%r10d
  movabs $0xffff0000ffff0000,%r8
  movabs $0xffff0000ffff,%rdi
L108:
  lea    -0x100(%r9),%rax
L9:
  mov    (%rax),%rcx
  mov    0x100(%rax),%r11
  mov    %r11,%rsi
  shl    $0x10,%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,(%rax)
  shr    $0x10,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x100(%rax)
  mov    0x8(%rax),%rcx
  mov    0x108(%rax),%r11
  mov    %r11,%rsi
  shl    $0x10,%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,0x8(%rax)
  shr    $0x10,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x108(%rax)
  add    $0x10,%rax
  cmp    %r9,%rax
  jne    L9
  add    $0x20,%r10d
  add    $0x200,%r9
  cmp    $0x50,%r10d
  jne    L108
  lea    0x80(%rdx),%r9
  mov    $0x8,%r10d
  movabs $0xff00ff00ff00ff00,%r8
  movabs $0xff00ff00ff00ff,%rdi
L48:
  lea    -0x80(%r9),%rax
L117:
  mov    (%rax),%rcx
  mov    0x80(%rax),%r11
  mov    %r11,%rsi
  shl    $0x8,%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,(%rax)
  shr    $0x8,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x80(%rax)
  mov    0x8(%rax),%rcx
  mov    0x88(%rax),%r11
  mov    %r11,%rsi
  shl    $0x8,%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,0x8(%rax)
  shr    $0x8,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x88(%rax)
  add    $0x10,%rax
  cmp    %r9,%rax
  jne    L117
  add    $0x10,%r10d
  add    $0x100,%r9
  cmp    $0x48,%r10d
  jne    L48
  lea    0x40(%rdx),%r9
  mov    $0x4,%r10d
  movabs $0xf0f0f0f0f0f0f0f0,%r8
  movabs $0xf0f0f0f0f0f0f0f,%rdi
  jmp    L22
L109:
  add    $0x8,%r10d
  sub    $0xffffffffffffff80,%r9
  cmp    $0x44,%r10d
  je     L134
L22:
  lea    -0x40(%r9),%rax
L62:
  mov    (%rax),%r11
  mov    0x40(%rax),%rcx
  mov    %r11,%rsi
  shl    $0x4,%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,(%rax)
  shr    $0x4,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x40(%rax)
  mov    0x8(%rax),%r11
  mov    0x48(%rax),%rcx
  mov    %r11,%rsi
  shl    $0x4,%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,0x8(%rax)
  shr    $0x4,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x48(%rax)
  add    $0x10,%rax
  cmp    %r9,%rax
  jne    L62
  jmp    L109
L134:
  lea    0x20(%rdx),%r9
  mov    $0x2,%r10d
  movabs $0xcccccccccccccccc,%r8
  movabs $0x3333333333333333,%rdi
  jmp    L20
L115:
  add    $0x4,%r10d
  add    $0x40,%r9
  cmp    $0x42,%r10d
  je     L59
L20:
  lea    -0x20(%r9),%rax
L135:
  mov    (%rax),%r11
  mov    0x20(%rax),%rcx
  lea    0x0(,%r11,4),%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,(%rax)
  shr    $0x2,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x20(%rax)
  mov    0x8(%rax),%r11
  mov    0x28(%rax),%rcx
  lea    0x0(,%r11,4),%rsi
  and    %r8,%rsi
  mov    %rcx,%rbx
  and    %rdi,%rbx
  or     %rbx,%rsi
  mov    %rsi,0x8(%rax)
  shr    $0x2,%rcx
  and    %rdi,%rcx
  and    %r8,%r11
  or     %r11,%rcx
  mov    %rcx,0x28(%rax)
  add    $0x10,%rax
  cmp    %r9,%rax
  jne    L135
  jmp    L115
L59:
  lea    0x400(%rdx),%r8
  movabs $0xaaaaaaaaaaaaaaaa,%rdi
  movabs $0x5555555555555555,%rsi
L84:
  mov    (%rdx),%r9
  mov    0x10(%rdx),%rax
  lea    (%r9,%r9,1),%rcx
  and    %rdi,%rcx
  mov    %rax,%r10
  and    %rsi,%r10
  or     %r10,%rcx
  mov    %rcx,(%rdx)
  shr    %rax
  and    %rsi,%rax
  and    %rdi,%r9
  or     %r9,%rax
  mov    %rax,0x10(%rdx)
  mov    0x8(%rdx),%r9
  mov    0x18(%rdx),%rax
  lea    (%r9,%r9,1),%rcx
  and    %rdi,%rcx
  mov    %rax,%r10
  and    %rsi,%r10
  or     %r10,%rcx
  mov    %rcx,0x8(%rdx)
  shr    %rax
  and    %rsi,%rax
  and    %rdi,%r9
  or     %r9,%rax
  mov    %rax,0x18(%rdx)
  add    $0x20,%rdx
  cmp    %r8,%rdx
  jne    L84
  pop    %rbx
  ret
```

assistant: ```c
void trasp64_128_88ccw(unsigned char *data) {
  int i, j;
  for (j = 0; j < 64; j += 64) {
    unsigned long long int t, b;
    for (i = 0; i < 32; i++) {
      t = ((unsigned long long int *)data)[2 * (j + i)];
      b = ((unsigned long long int *)data)[2 * (j + 32 + i)];
      ((unsigned long long int *)data)[2 * (j + i)] = (t & 0x00000000ffffffffULL) | ((b) << 32);
      ((unsigned long long int *)data)[2 * (j + 32 + i)] = ((t) >> 32) | (b & 0xffffffff00000000ULL);
      t = ((unsigned long long int *)data)[2 * (j + i) + 1];
      b = ((unsigned long long int *)data)[2 * (j + 32 + i) + 1];
      ((unsigned long long int *)data)[2 * (j + i) + 1] = (t & 0x00000000ffffffffULL) | ((b) << 32);
      ((unsigned long long int *)data)[2 * (j + 32 + i) + 1] = ((t) >> 32) | (b & 0xffffffff00000000ULL);
    }
  }
  for (j = 0; j < 64; j += 32) {
    unsigned long long int t, b;
    for (i = 0; i < 16; i++) {
      t = ((unsigned long long int *)data)[2 * (j + i)];
      b = ((unsigned long long int *)data)[2 * (j + 16 + i)];
      ((unsigned long long int *)data)[2 * (j + i)] = (t & 0x0000ffff0000ffffULL) | ((b & 0x0000ffff0000ffffULL) << 16);
      ((unsigned long long int *)data)[2 * (j + 16 + i)] = ((t & 0xffff0000ffff0000ULL) >> 16) | (b & 0xffff0000ffff0000ULL);
      t = ((unsigned long long int *)data)[2 * (j + i) + 1];
      b = ((unsigned long long int *)data)[2 * (j + 16 + i) + 1];
      ((unsigned long long int *)data)[2 * (j + i) + 1] = (t & 0x0000ffff0000ffffULL) | ((b & 0x0000ffff0000ffffULL) << 16);
      ((unsigned long long int *)data)[2 * (j + 16 + i) + 1] = ((t & 0xffff0000ffff0000ULL) >> 16) | (b & 0xffff0000ffff0000ULL);
    }
  }
  for (j = 0; j < 64; j += 16) {
    unsigned long long int t, b;
    for (i = 0; i < 8; i++) {
      t = ((unsigned long long int *)data)[2 * (j + i)];
      b = ((unsigned long long int *)data)[2 * (j + 8 + i)];
      ((unsigned long long int *)data)[2 * (j + i)] = (t & 0x00ff00ff00ff00ffULL) | ((b & 0x00ff00ff00ff00ffULL) << 8);
      ((unsigned long long int *)data)[2 * (j + 8 + i)] = ((t & 0xff00ff00ff00ff00ULL) >> 8) | (b & 0xff00ff00ff00ff00ULL);
      t = ((unsigned long long int *)data)[2 * (j + i) + 1];
      b = ((unsigned long long int *)data)[2 * (j + 8 + i) + 1];
      ((unsigned long long int *)data)[2 * (j + i) + 1] = (t & 0x00ff00ff00ff00ffULL) | ((b & 0x00ff00ff00ff00ffULL) << 8);
      ((unsigned long long int *)data)[2 * (j + 8 + i) + 1] = ((t & 0xff00ff00ff00ff00ULL) >> 8) | (b & 0xff00ff00ff00ff00ULL);
    }
  }
  for (j = 0; j < 64; j += 8) {
    unsigned long long int t, b;
    for (i = 0; i < 4; i++) {
      t = ((unsigned long long int *)data)[2 * (j + i)];
      b = ((unsigned long long int *)data)[2 * (j + 4 + i)];
      ((unsigned long long int *)data)[2 * (j + i)] = ((t & 0x0f0f0f0f0f0f0f0fULL) << 4) | (b & 0x0f0f0f0f0f0f0f0fULL);
      ((unsigned long long int *)data)[2 * (j + 4 + i)] = (t & 0xf0f0f0f0f0f0f0f0ULL) | ((b & 0xf0f0f0f0f0f0f0f0ULL) >> 4);
      t = ((unsigned long long int *)data)[2 * (j + i) + 1];
      b = ((unsigned long long int *)data)[2 * (j + 4 + i) + 1];
      ((unsigned long long int *)data)[2 * (j + i) + 1] = ((t & 0x0f0f0f0f0f0f0f0fULL) << 4) | (b & 0x0f0f0f0f0f0f0f0fULL);
      ((unsigned long long int *)data)[2 * (j + 4 + i) + 1] = (t & 0xf0f0f0f0f0f0f0f0ULL) | ((b & 0xf0f0f0f0f0f0f0f0ULL) >> 4);
    }
  }
  for (j = 0; j < 64; j += 4) {
    unsigned long long int t, b;
    for (i = 0; i < 2; i++) {
      t = ((unsigned long long int *)data)[2 * (j + i)];
      b = ((unsigned long long int *)data)[2 * (j + 2 + i)];
      ((unsigned long long int *)data)[2 * (j + i)] = ((t & 0x3333333333333333ULL) << 2) | (b & 0x3333333333333333ULL);
      ((unsigned long long int *)data)[2 * (j + 2 + i)] = (t & 0xccccccccccccccccULL) | ((b & 0xccccccccccccccccULL) >> 2);
      t = ((unsigned long long int *)data)[2 * (j + i) + 1];
      b = ((unsigned long long int *)data)[2 * (j + 2 + i) + 1];
      ((unsigned long long int *)data)[2 * (j + i) + 1] = ((t & 0x3333333333333333ULL) << 2) | (b & 0x3333333333333333ULL);
      ((unsigned long long int *)data)[2 * (j + 2 + i) + 1] = (t & 0xccccccccccccccccULL) | ((b & 0xccccccccccccccccULL) >> 2);
    }
  }
  for (j = 0; j < 64; j += 2) {
    unsigned long long int t, b;
    for (i = 0; i < 1; i++) {
      t = ((unsigned long long int *)data)[2 * (j + i)];
      b = ((unsigned long long int *)data)[2 * (j + 1 + i)];
      ((unsigned long long int *)data)[2 * (j + i)] = ((t & 0x5555555555555555ULL) << 1) | (b & 0x5555555555555555ULL);
      ((unsigned long long int *)data)[2 * (j + 1 + i)] = (t & 0xaaaaaaaaaaaaaaaaULL) | ((b & 0xaaaaaaaaaaaaaaaaULL) >> 1);
      t = ((unsigned long long int *)data)[2 * (j + i) + 1];
      b = ((unsigned long long int *)data)[2 * (j + 1 + i) + 1];
      ((unsigned long long int *)data)[2 * (j + i) + 1] = ((t & 0x5555555555555555ULL) << 1) | (b & 0x5555555555555555ULL);
      ((unsigned long long int *)data)[2 * (j + 1 + i) + 1] = (t & 0xaaaaaaaaaaaaaaaaULL) | ((b & 0xaaaaaaaaaaaaaaaaULL) >> 1);
    }
  }
}
```