user: 请从给定的汇编指令推导出C源代码：

```asm
<_interleave>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x50,%rsp
  movdqa D121(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r14
  lea    0x18(%rsp),%r13
  lea    0x20(%rsp),%r12
  mov    D76(%rip),%rax
  movaps %xmm0,(%rsp)
  mov    %rax,0x10(%rsp)
  nopl   0x0(%rax,%rax,1)
L2:
  movslq (%r14),%rax
  add    $0x4,%r14
  lea    (%rbx,%rax,4),%rbp
  mov    0x0(%rbp),%edi
  call   <_reverse@plt>
  mov    0x1c(%rbp),%edi
  mov    %eax,0x0(%rbp)
  call   <_reverse@plt>
  movdqu 0x0(%rbp),%xmm1
  mov    %r12,%rsi
  mov    %rbp,%rdi
  movd   %eax,%xmm6
  pxor   %xmm2,%xmm2
  mov    %eax,0x1c(%rbp)
  mov    $0x8,%edx
  pshufd $0x55,%xmm1,%xmm0
  pshufd $0x0,%xmm6,%xmm3
  movdqa D85(%rip),%xmm4
  movdqa D112(%rip),%xmm5
  movdqa %xmm0,%xmm8
  movdqa %xmm0,%xmm6
  pshufd $0xaa,%xmm1,%xmm0
  movd   0x18(%rbp),%xmm13
  pand   %xmm4,%xmm6
  movdqa %xmm0,%xmm7
  pand   %xmm4,%xmm0
  pcmpeqd %xmm2,%xmm6
  pcmpeqd %xmm2,%xmm0
  pand   %xmm5,%xmm7
  pand   %xmm5,%xmm8
  pcmpeqd %xmm2,%xmm7
  pshufd $0x0,%xmm1,%xmm9
  pcmpeqd %xmm2,%xmm8
  movdqa %xmm3,%xmm10
  pand   %xmm4,%xmm3
  pandn  D1(%rip),%xmm0
  pcmpeqd %xmm2,%xmm3
  pandn  D17(%rip),%xmm6
  pandn  D1(%rip),%xmm7
  movdqa %xmm9,%xmm11
  pand   %xmm4,%xmm9
  por    %xmm0,%xmm6
  pshufd $0xff,%xmm1,%xmm0
  movd   0x10(%rbp),%xmm1
  pandn  D17(%rip),%xmm8
  pcmpeqd %xmm2,%xmm9
  pand   %xmm5,%xmm10
  pand   %xmm5,%xmm11
  por    %xmm7,%xmm8
  movdqa %xmm0,%xmm7
  pand   %xmm4,%xmm0
  pandn  D134(%rip),%xmm3
  pcmpeqd %xmm2,%xmm0
  pandn  D193(%rip),%xmm0
  pshufd $0x0,%xmm1,%xmm1
  pcmpeqd %xmm2,%xmm10
  pand   %xmm5,%xmm7
  pcmpeqd %xmm2,%xmm7
  por    %xmm3,%xmm0
  movdqa %xmm1,%xmm3
  pand   %xmm4,%xmm1
  pandn  D193(%rip),%xmm7
  pandn  D197(%rip),%xmm9
  pcmpeqd %xmm2,%xmm1
  pcmpeqd %xmm2,%xmm11
  pand   %xmm5,%xmm3
  pandn  D175(%rip),%xmm1
  pcmpeqd %xmm2,%xmm3
  pandn  D134(%rip),%xmm10
  pandn  D175(%rip),%xmm3
  pandn  D197(%rip),%xmm11
  por    %xmm1,%xmm9
  movd   0x14(%rbp),%xmm1
  por    %xmm10,%xmm7
  pshufd $0x0,%xmm13,%xmm10
  por    %xmm3,%xmm11
  movdqa %xmm10,%xmm12
  pand   %xmm4,%xmm10
  pshufd $0x0,%xmm1,%xmm1
  pcmpeqd %xmm2,%xmm10
  pand   %xmm5,%xmm12
  movdqa %xmm1,%xmm3
  pand   %xmm4,%xmm1
  pandn  D146(%rip),%xmm10
  pcmpeqd %xmm2,%xmm1
  pand   %xmm5,%xmm3
  pandn  D94(%rip),%xmm1
  pcmpeqd %xmm2,%xmm3
  pcmpeqd %xmm2,%xmm12
  pandn  D94(%rip),%xmm3
  pandn  D146(%rip),%xmm12
  por    %xmm10,%xmm1
  por    %xmm9,%xmm1
  por    %xmm12,%xmm3
  por    %xmm6,%xmm1
  por    %xmm11,%xmm3
  por    %xmm1,%xmm0
  por    %xmm8,%xmm3
  movaps %xmm0,0x30(%rsp)
  por    %xmm7,%xmm3
  movaps %xmm3,0x20(%rsp)
  call   <memcpy@plt>
  cmp    %r14,%r13
  jne    L2
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x50,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D121
type: byte[16]
name: retrieve_data
arguments: label: D76
type: byte[8]
name: retrieve_data
arguments: label: D85
type: byte[16]
name: retrieve_data
arguments: label: D112
type: byte[16]
name: retrieve_data
arguments: label: D1
type: byte[16]
name: retrieve_data
arguments: label: D17
type: byte[16]
name: retrieve_data
arguments: label: D134
type: byte[16]
name: retrieve_data
arguments: label: D193
type: byte[16]
name: retrieve_data
arguments: label: D197
type: byte[16]
name: retrieve_data
arguments: label: D175
type: byte[16]
name: retrieve_data
arguments: label: D146
type: byte[16]
name: retrieve_data
arguments: label: D94
type: byte[16]

tool: {"D121": [0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x14,0x00,0x00,0x00]}

tool: {"D76": [0x1a,0x00,0x00,0x00,0x20,0x00,0x00,0x00]}

tool: {"D85": [0x08,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: {"D112": [0x80,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x10,0x00,0x00,0x00]}

tool: {"D1": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D17": [0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00]}

tool: {"D134": [0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00]}

tool: {"D193": [0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00]}

tool: {"D197": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: {"D175": [0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00]}

tool: {"D146": [0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00]}

tool: {"D94": [0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00]}

assistant: ```c
void _interleave(uint8_t *frame) {
  int b, i, j;
  int offset[6] = {0, 6, 12, 20, 26, 32};
  uint8_t r[8];
  uint8_t m;
  for (b = 0; b < 6; b++) {
    uint8_t *s = frame + offset[b];
    s[0] = _reverse(s[0]);
    s[7] = _reverse(s[7]);
    for (i = 0, m = 0x80; i < 8; i++, m >>= 1) {
      r[i] = 0x00;
      for (j = 0; j < 8; j++) {
        r[i] |= ((m & s[j]) ? 1 : 0) << j;
      }
    }
    memcpy(s, r, 8);
  }
}
```