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

```asm
<unpack27_32_avx2>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    $0x7ffffff,%edi
  call   <_mm256_set1_epi32@plt>
  mov    %eax,%r12d
  push   $0x0
  push   $0x0
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    $0x0,%edx
  mov    $0x2,%esi
  mov    $0x0,%edi
  call   <_mm256_set_epi32@plt>
  mov    %eax,%r13d
  mov    (%rbx),%eax
  mov    0x4(%rbx),%r14d
  mov    0x8(%rbx),%r8d
  mov    0xc(%rbx),%ecx
  mov    0x10(%rbx),%edx
  mov    0x14(%rbx),%esi
  mov    %r14d,%r11d
  sar    $0x16,%r11d
  mov    %r8d,%r9d
  shl    $0xa,%r9d
  sar    $0x11,%r8d
  mov    %ecx,%r10d
  shl    $0xf,%r10d
  sar    $0xc,%ecx
  mov    %edx,%edi
  shl    $0x14,%edi
  or     %edi,%ecx
  sar    $0x7,%edx
  mov    %esi,%edi
  shl    $0x19,%edi
  or     %edi,%edx
  mov    0x18(%rbx),%edi
  shl    $0x3,%edi
  mov    %esi,%r15d
  sar    $0x1d,%r15d
  or     %r15d,%edi
  push   %rax
  sar    $0x1b,%eax
  shl    $0x5,%r14d
  or     %r14d,%eax
  push   %rax
  or     %r11d,%r9d
  or     %r10d,%r8d
  call   <_mm256_set_epi32@plt>
  mov    %eax,%edi
  add    $0x20,%rsp
  mov    %r13d,%esi
  call   <_mm256_srlv_epi32@plt>
  mov    %eax,%edi
  mov    %r12d,%esi
  call   <_mm256_and_si256@plt>
  mov    %eax,%esi
  mov    %rbp,%rdi
  call   <_mm256_storeu_si256@plt>
  push   $0x0
  push   $0x0
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  mov    $0x4,%ecx
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <_mm256_set_epi32@plt>
  mov    %eax,%r13d
  mov    0x1c(%rbx),%eax
  mov    0x24(%rbx),%r8d
  mov    0x28(%rbx),%ecx
  mov    0x2c(%rbx),%esi
  mov    0x30(%rbx),%r10d
  mov    0x20(%rbx),%r14d
  sar    $0xe,%r14d
  mov    %r8d,%r9d
  shl    $0x12,%r9d
  sar    $0x9,%r8d
  mov    %ecx,%r11d
  shl    $0x17,%r11d
  mov    %ecx,%edx
  sar    $0x1f,%edx
  lea    (%rsi,%rsi,1),%edi
  or     %edi,%edx
  sar    $0x1a,%esi
  mov    %r10d,%edi
  shl    $0x6,%edi
  or     %edi,%esi
  mov    0x34(%rbx),%edi
  shl    $0xb,%edi
  sar    $0x15,%r10d
  or     %r10d,%edi
  movsbl 0x1b(%rbx),%r10d
  mov    %eax,%r15d
  shl    $0x8,%r15d
  or     %r15d,%r10d
  push   %r10
  sar    $0x13,%eax
  mov    0x20(%rbx),%r10d
  shl    $0xd,%r10d
  or     %r10d,%eax
  push   %rax
  or     %r14d,%r9d
  or     %r11d,%r8d
  call   <_mm256_set_epi32@plt>
  mov    %eax,%edi
  add    $0x20,%rsp
  mov    %r13d,%esi
  call   <_mm256_srlv_epi32@plt>
  mov    %eax,%edi
  mov    %r12d,%esi
  call   <_mm256_and_si256@plt>
  mov    %eax,%esi
  lea    0x20(%rbp),%rdi
  call   <_mm256_storeu_si256@plt>
  push   $0x0
  push   $0x0
  mov    $0x0,%r9d
  mov    $0x1,%r8d
  mov    $0x0,%ecx
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <_mm256_set_epi32@plt>
  mov    %eax,%r13d
  mov    0x38(%rbx),%eax
  mov    0x3c(%rbx),%ecx
  mov    0x40(%rbx),%r8d
  mov    0x44(%rbx),%edx
  mov    0x48(%rbx),%esi
  mov    0x4c(%rbx),%r14d
  mov    %ecx,%r11d
  sar    $0x6,%r11d
  mov    %r8d,%r9d
  shl    $0x1a,%r9d
  mov    %r8d,%r10d
  sar    $0x1c,%r10d
  mov    %edx,%edi
  shl    $0x4,%edi
  or     %edi,%r10d
  sar    $0x17,%edx
  mov    %esi,%edi
  shl    $0x9,%edi
  or     %edi,%edx
  sar    $0x12,%esi
  mov    %r14d,%edi
  shl    $0xe,%edi
  or     %edi,%esi
  mov    0x50(%rbx),%edi
  shl    $0x13,%edi
  sar    $0xd,%r14d
  or     %r14d,%edi
  movswl 0x36(%rbx),%r14d
  mov    %eax,%r15d
  shl    $0x10,%r15d
  or     %r15d,%r14d
  push   %r14
  sar    $0xb,%eax
  shl    $0x15,%ecx
  or     %ecx,%eax
  push   %rax
  or     %r11d,%r9d
  mov    %r10d,%ecx
  call   <_mm256_set_epi32@plt>
  mov    %eax,%edi
  add    $0x20,%rsp
  mov    %r13d,%esi
  call   <_mm256_srlv_epi32@plt>
  mov    %eax,%edi
  mov    %r12d,%esi
  call   <_mm256_and_si256@plt>
  mov    %eax,%esi
  lea    0x40(%rbp),%rdi
  call   <_mm256_storeu_si256@plt>
  push   $0x0
  push   $0x3
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    $0x5,%edi
  call   <_mm256_set_epi32@plt>
  mov    %eax,%r13d
  mov    0x54(%rbx),%r10d
  mov    0x58(%rbx),%r8d
  mov    0x5c(%rbx),%ecx
  mov    0x60(%rbx),%edx
  mov    0x64(%rbx),%esi
  mov    0x68(%rbx),%edi
  mov    %r10d,%r14d
  sar    $0x1e,%r14d
  lea    0x0(,%r8,4),%r9d
  sar    $0x19,%r8d
  mov    %ecx,%r11d
  shl    $0x7,%r11d
  sar    $0x14,%ecx
  mov    %edx,%eax
  shl    $0xc,%eax
  or     %eax,%ecx
  sar    $0xf,%edx
  mov    %esi,%eax
  shl    $0x11,%eax
  or     %eax,%edx
  sar    $0xa,%esi
  mov    %edi,%eax
  shl    $0x16,%eax
  or     %eax,%esi
  mov    0x50(%rbx),%eax
  sar    $0x8,%eax
  mov    %r10d,%r15d
  shl    $0x18,%r15d
  or     %r15d,%eax
  push   %rax
  push   %r10
  or     %r14d,%r9d
  or     %r11d,%r8d
  call   <_mm256_set_epi32@plt>
  mov    %eax,%edi
  add    $0x20,%rsp
  mov    %r13d,%esi
  call   <_mm256_srlv_epi32@plt>
  mov    %eax,%edi
  mov    %r12d,%esi
  call   <_mm256_and_si256@plt>
  mov    %eax,%esi
  lea    0x60(%rbp),%rdi
  call   <_mm256_storeu_si256@plt>
  lea    0x6c(%rbx),%rax
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
const uint32_t *unpack27_32_avx2(const uint32_t *in, uint32_t *out) {
  uint32_t mask = 0x7ffffff;
  __m256i reg_shifts, reg_inls, reg_masks;
  __m256i results;
  reg_masks = _mm256_set1_epi32(mask);
  reg_shifts = _mm256_set_epi32(0, 2, 0, 0, 0, 0, 0, 0);
  reg_inls = _mm256_set_epi32(in[5] >> 29 | in[6] << 3, in[5], in[4] >> 7 | in[5] << 25, in[3] >> 12 | in[4] << 20, in[2] >> 17 | in[3] << 15, in[1] >> 22 | in[2] << 10, in[0] >> 27 | in[1] << 5, in[0]);
  results = _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  reg_shifts = _mm256_set_epi32(0, 0, 0, 4, 0, 0, 0, 0);
  reg_inls = _mm256_set_epi32(in[12] >> 21 | in[13] << 11, in[11] >> 26 | in[12] << 6, in[10] >> 31 | in[11] << 1, in[10], in[9] >> 9 | in[10] << 23, in[8] >> 14 | in[9] << 18, in[7] >> 19 | in[8] << 13, in[6] >> 24 | in[7] << 8);
  results = _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  reg_shifts = _mm256_set_epi32(0, 0, 0, 0, 1, 0, 0, 0);
  reg_inls = _mm256_set_epi32(in[19] >> 13 | in[20] << 19, in[18] >> 18 | in[19] << 14, in[17] >> 23 | in[18] << 9, in[16] >> 28 | in[17] << 4, in[16], in[15] >> 6 | in[16] << 26, in[14] >> 11 | in[15] << 21, in[13] >> 16 | in[14] << 16);
  results = _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  reg_shifts = _mm256_set_epi32(5, 0, 0, 0, 0, 0, 3, 0);
  reg_inls = _mm256_set_epi32(in[26], in[25] >> 10 | in[26] << 22, in[24] >> 15 | in[25] << 17, in[23] >> 20 | in[24] << 12, in[22] >> 25 | in[23] << 7, in[21] >> 30 | in[22] << 2, in[21], in[20] >> 8 | in[21] << 24);
  results = _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  in += 27;
  return in;
}
```