user: Demonstrate the C code that generates the assembly output below:

```asm
<bs_conv_14le_8>:
  endbr64
  push   %r15
  mov    %esi,%eax
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  lea    0x7(%rsi),%r12d
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  sub    $0x18,%rsp
  test   %esi,%esi
  cmovns %esi,%r12d
  sar    $0x1f,%eax
  mov    %esi,0x4(%rsp)
  shr    $0x1d,%eax
  mov    %r12d,%r15d
  lea    (%rsi,%rax,1),%r13d
  and    $0xfffffff8,%r12d
  sar    $0x3,%r15d
  and    $0x7,%r13d
  sub    %eax,%r13d
  sub    %r15d,%r12d
  lea    (%r12,%r13,1),%eax
  mov    %eax,(%rsp)
  test   %r15d,%r15d
  je     L164
  mov    %r15d,%eax
  mov    %rdx,%rbx
  mov    %rax,0x8(%rsp)
  lea    (%rdi,%rax,8),%r12
  cs nopw 0x0(%rax,%rax,1)
L16:
  mov    (%r14),%edi
  add    $0x8,%r14
  add    $0x7,%rbx
  call   <spdif_swab_s32@plt>
  mov    -0x4(%r14),%edi
  mov    %eax,%r15d
  call   <spdif_swab_s32@plt>
  mov    %r15d,%edx
  mov    %eax,%ecx
  shr    $0x8,%eax
  shl    $0x8,%ecx
  and    $0xff00ff,%eax
  shl    $0x8,%edx
  and    $0xff00ff00,%ecx
  and    $0xff00ff00,%edx
  or     %ecx,%eax
  mov    %r15d,%ecx
  shr    $0x8,%ecx
  mov    %eax,%r9d
  and    $0x3fff,%eax
  and    $0xff00ff,%ecx
  shr    $0x2,%r9d
  or     %ecx,%edx
  and    $0xfffc000,%r9d
  shl    $0x1c,%ecx
  lea    0x0(,%rdx,4),%edi
  shl    $0x4,%edx
  or     %ecx,%eax
  mov    %r9d,%r15d
  and    $0x3fff0,%edx
  and    $0xfffc0000,%edi
  or     %eax,%r15d
  or     %edx,%edi
  call   <spdif_swab_s32@plt>
  mov    %r15d,%edi
  mov    %eax,-0x7(%rbx)
  call   <spdif_swab_s32@plt>
  mov    %eax,-0x4(%rbx)
  cmp    %r12,%r14
  jne    L16
  mov    0x8(%rsp),%rax
  lea    0x0(%rbp,%rax,8),%rbp
  sub    %rax,%rbp
L134:
  testb  $0x7,0x4(%rsp)
  je     L145
  test   %r13d,%r13d
  je     L250
  lea    0x1(%r12),%rcx
  mov    %rbp,%rdx
  lea    -0x1(%r13),%eax
  sub    %rcx,%rdx
  cmp    $0xe,%rdx
  jbe    L59
  cmp    $0x6,%eax
  jbe    L59
  cmp    $0xe,%eax
  jbe    L188
  xor    %eax,%eax
  mov    $0xfffffff0,%edx
L126:
  movdqu (%r12,%rax,1),%xmm0
  movups %xmm0,0x0(%rbp,%rax,1)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L126
  mov    $0xfffffff0,%eax
L97:
  mov    %eax,%edx
  mov    (%r12,%rdx,1),%rcx
  mov    %rcx,0x0(%rbp,%rdx,1)
  lea    0x8(%rax),%edx
  movzbl (%r12,%rdx,1),%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  lea    0x9(%rax),%edx
  cmp    %edx,%r13d
  jbe    L229
  movzbl (%r12,%rdx,1),%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  lea    0xa(%rax),%edx
  cmp    %edx,%r13d
  jbe    L229
  movzbl (%r12,%rdx,1),%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  lea    0xb(%rax),%edx
  cmp    %edx,%r13d
  jbe    L229
  movzbl (%r12,%rdx,1),%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  lea    0xc(%rax),%edx
  cmp    %edx,%r13d
  jbe    L229
  movzbl (%r12,%rdx,1),%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  lea    0xd(%rax),%edx
  cmp    %edx,%r13d
  jbe    L229
  movzbl (%r12,%rdx,1),%ecx
  add    $0xe,%eax
  mov    %cl,0x0(%rbp,%rdx,1)
  cmp    %eax,%r13d
  jbe    L229
  movzbl (%r12,%rax,1),%edx
  mov    %dl,0x0(%rbp,%rax,1)
  cs nopw 0x0(%rax,%rax,1)
L229:
  mov    0x0(%rbp),%edi
  call   <spdif_swab_s32@plt>
  mov    0x4(%rbp),%edi
  mov    %eax,%ebx
  call   <spdif_swab_s32@plt>
  mov    %eax,%edx
  shr    $0x8,%eax
  shl    $0x8,%edx
  and    $0xff00ff,%eax
  and    $0xff00ff00,%edx
  or     %edx,%eax
  mov    %ebx,%edx
  shl    $0x8,%ebx
  shr    $0x8,%edx
  and    $0xff00ff00,%ebx
  mov    %eax,%ecx
  and    $0x3fff,%eax
  and    $0xff00ff,%edx
  mov    %eax,%r13d
  shr    $0x2,%ecx
  or     %edx,%ebx
  shl    $0x1c,%edx
  and    $0xfffc000,%ecx
  lea    0x0(,%rbx,4),%edi
  shl    $0x4,%ebx
  or     %edx,%r13d
  and    $0xfffc0000,%edi
  and    $0x3fff0,%ebx
  or     %ecx,%r13d
  or     %ebx,%edi
  call   <spdif_swab_s32@plt>
  mov    %r13d,%edi
  mov    %eax,0x0(%rbp)
  call   <spdif_swab_s32@plt>
  mov    %eax,0x3(%rbp)
L145:
  mov    (%rsp),%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L250:
  xor    %eax,%eax
  mov    %ax,0x0(%rbp)
  mov    $0x2,%eax
  nopl   0x0(%rax)
L241:
  mov    %eax,%edx
  movb   $0x0,0x0(%rbp,%rdx,1)
  lea    0x1(%rax),%edx
  cmp    $0x7,%eax
  je     L229
  movb   $0x0,0x0(%rbp,%rdx,1)
  lea    0x2(%rax),%edx
  cmp    $0x6,%eax
  je     L229
  movb   $0x0,0x0(%rbp,%rdx,1)
  lea    0x3(%rax),%edx
  cmp    $0x5,%eax
  je     L229
  movb   $0x0,0x0(%rbp,%rdx,1)
  lea    0x4(%rax),%edx
  cmp    $0x4,%eax
  je     L229
  mov    %edx,%eax
  movb   $0x0,0x0(%rbp,%rax,1)
  cmp    $0x6,%edx
  jne    L229
  movb   $0x0,0x7(%rbp)
  jmp    L229
  nopw   0x0(%rax,%rax,1)
L164:
  mov    %rdi,%r12
  jmp    L134
L59:
  mov    %r13d,%ecx
  xor    %eax,%eax
  nopl   (%rax)
L262:
  movzbl (%r12,%rax,1),%edx
  mov    %dl,0x0(%rbp,%rax,1)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L262
  cmp    $0x7,%r13d
  ja     L229
  movb   $0x0,0x0(%rbp,%rax,1)
  lea    0x1(%r13),%eax
  je     L229
  movb   $0x0,0x0(%rbp,%rax,1)
  lea    0x2(%r13),%eax
  cmp    $0x6,%r13d
  jne    L241
  jmp    L229
L188:
  xor    %eax,%eax
  jmp    L97
```

assistant: ```c
int bs_conv_14le_8(const unsigned char *in_buf, int size, unsigned char *out_buf) {
  int n = size / 8;
  int r = size % 8;
  const unsigned char *src = in_buf;
  unsigned char *dst = out_buf;
  unsigned int i, w1, w2;
  size = n * 7 + r;
  while (n--) {
    w1 = spdif_swab_s32(*(unsigned int *)(src + 0));
    w2 = spdif_swab_s32(*(unsigned int *)(src + 4));
    w2 = ((w2 & 0xff00ff00) >> 8) | ((w2 & 0x00ff00ff) << 8);
    w1 = ((w1 & 0xff00ff00) >> 8) | ((w1 & 0x00ff00ff) << 8);
    w2 = ((w2 & 0x3fff0000) >> 2) | (w2 & 0x00003fff) | (w1 << 28);
    w1 = ((w1 & 0x3fff0000) << 2) | ((w1 & 0x00003fff) << 4);
    (*(unsigned int *)(dst + 0)) = spdif_swab_s32(w1);
    (*(unsigned int *)(dst + 3)) = spdif_swab_s32(w2);
    src += 8;
    dst += 7;
  }
  if (r) {
    i = 0;
    for (; i < r; i++)
      dst[i] = src[i];
    for (; i < 8; i++)
      dst[i] = 0;
    w1 = spdif_swab_s32(*(unsigned int *)(dst + 0));
    w2 = spdif_swab_s32(*(unsigned int *)(dst + 4));
    w2 = ((w2 & 0xff00ff00) >> 8) | ((w2 & 0x00ff00ff) << 8);
    w1 = ((w1 & 0xff00ff00) >> 8) | ((w1 & 0x00ff00ff) << 8);
    w2 = ((w2 & 0x3fff0000) >> 2) | (w2 & 0x00003fff) | (w1 << 28);
    w1 = ((w1 & 0x3fff0000) << 2) | ((w1 & 0x00003fff) << 4);
    (*(unsigned int *)(dst + 0)) = spdif_swab_s32(w1);
    (*(unsigned int *)(dst + 3)) = spdif_swab_s32(w2);
  }
  return size;
}
```