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

```asm
<stbi_decode_DXT1_block>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,0x10(%rsp)
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  movzbl 0x1(%rsi),%eax
  shl    $0x8,%eax
  movzbl (%rsi),%edx
  lea    (%rax,%rdx,1),%edi
  movzbl 0x3(%rsi),%eax
  shl    $0x8,%eax
  movzbl 0x2(%rsi),%edx
  lea    (%rax,%rdx,1),%r14d
  mov    %r14d,0xc(%rsp)
  lea    0x2c(%rsp),%r15
  lea    0x28(%rsp),%r14
  lea    0x24(%rsp),%rax
  mov    %r15,%rcx
  mov    %r14,%rdx
  mov    %rax,0x18(%rsp)
  mov    %rax,%rsi
  mov    %edi,0x8(%rsp)
  call   <stbi_rgb_888_from_565@plt>
  mov    0x24(%rsp),%r13d
  mov    %r13b,0x30(%rsp)
  mov    0x28(%rsp),%r12d
  mov    %r12b,0x31(%rsp)
  mov    0x2c(%rsp),%ebp
  mov    %bpl,0x32(%rsp)
  movb   $0xff,0x33(%rsp)
  mov    %r15,%rcx
  mov    %r14,%rdx
  mov    0x18(%rsp),%rsi
  mov    0xc(%rsp),%r14d
  mov    %r14d,%edi
  call   <stbi_rgb_888_from_565@plt>
  mov    0x24(%rsp),%eax
  mov    %al,0x34(%rsp)
  mov    0x28(%rsp),%edx
  mov    %dl,0x35(%rsp)
  mov    0x2c(%rsp),%edi
  cmp    %r14d,0x8(%rsp)
  jle    L1
  movzbl %r13b,%r13d
  movzbl %al,%esi
  lea    (%rsi,%r13,2),%ecx
  movslq %ecx,%rcx
  imul   $0x55555556,%rcx,%rcx
  shr    $0x20,%rcx
  movzbl %r12b,%r12d
  movzbl %dl,%r8d
  lea    (%r8,%r12,2),%edx
  movslq %edx,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  movzbl %bpl,%ebp
  movzbl %dil,%r10d
  lea    (%r10,%rbp,2),%eax
  cltq
  imul   $0x55555556,%rax,%rax
  shr    $0x20,%rax
  lea    0x0(%r13,%rsi,2),%r9d
  movslq %r9d,%r9
  imul   $0x55555556,%r9,%r9
  shr    $0x20,%r9
  lea    (%r12,%r8,2),%r8d
  movslq %r8d,%r8
  imul   $0x55555556,%r8,%r8
  shr    $0x20,%r8
  lea    0x0(%rbp,%r10,2),%esi
  movslq %esi,%rsi
  imul   $0x55555556,%rsi,%rsi
  shr    $0x20,%rsi
  mov    $0xffffffff,%r10d
L23:
  mov    %dil,0x36(%rsp)
  movb   $0xff,0x37(%rsp)
  mov    %cl,0x38(%rsp)
  mov    %dl,0x39(%rsp)
  mov    %al,0x3a(%rsp)
  movb   $0xff,0x3b(%rsp)
  mov    %r9b,0x3c(%rsp)
  mov    %r8b,0x3d(%rsp)
  mov    %sil,0x3e(%rsp)
  mov    %r10b,0x3f(%rsp)
  mov    0x10(%rsp),%rdx
  mov    $0x20,%esi
L2:
  mov    %esi,%eax
  sar    $0x3,%eax
  cltq
  movzbl (%rbx,%rax,1),%eax
  mov    %esi,%ecx
  and    $0x7,%ecx
  sar    %cl,%eax
  and    $0x3,%eax
  shl    $0x2,%eax
  add    $0x2,%esi
  movslq %eax,%rcx
  movzbl 0x30(%rsp,%rcx,1),%ecx
  mov    %cl,(%rdx)
  lea    0x1(%rax),%ecx
  movslq %ecx,%rcx
  movzbl 0x30(%rsp,%rcx,1),%ecx
  mov    %cl,0x1(%rdx)
  lea    0x2(%rax),%ecx
  movslq %ecx,%rcx
  movzbl 0x30(%rsp,%rcx,1),%ecx
  mov    %cl,0x2(%rdx)
  add    $0x3,%eax
  cltq
  movzbl 0x30(%rsp,%rax,1),%eax
  mov    %al,0x3(%rdx)
  add    $0x4,%rdx
  cmp    $0x40,%esi
  jne    L2
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L1:
  movzbl %al,%eax
  movzbl %r13b,%r13d
  lea    (%rax,%r13,1),%ecx
  shr    %ecx
  movzbl %r12b,%r12d
  movzbl %dl,%eax
  lea    (%r12,%rax,1),%edx
  shr    %edx
  movzbl %bpl,%ebp
  movzbl %dil,%eax
  lea    0x0(%rbp,%rax,1),%eax
  shr    %eax
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  mov    $0x0,%esi
  mov    $0x0,%r10d
  jmp    L23
L32:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void stbi_decode_DXT1_block(unsigned char uncompressed[16 * 4], unsigned char compressed[8]) {
  int next_bit = 4 * 8;
  int i, r, g, b;
  int c0, c1;
  unsigned char decode_colors[4 * 4];
  c0 = compressed[0] + (compressed[1] << 8);
  c1 = compressed[2] + (compressed[3] << 8);
  stbi_rgb_888_from_565(c0, &r, &g, &b);
  decode_colors[0] = r;
  decode_colors[1] = g;
  decode_colors[2] = b;
  decode_colors[3] = 255;
  stbi_rgb_888_from_565(c1, &r, &g, &b);
  decode_colors[4] = r;
  decode_colors[5] = g;
  decode_colors[6] = b;
  decode_colors[7] = 255;
  if (c0 > c1) {
    decode_colors[8] = (2 * decode_colors[0] + decode_colors[4]) / 3;
    decode_colors[9] = (2 * decode_colors[1] + decode_colors[5]) / 3;
    decode_colors[10] = (2 * decode_colors[2] + decode_colors[6]) / 3;
    decode_colors[11] = 255;
    decode_colors[12] = (decode_colors[0] + 2 * decode_colors[4]) / 3;
    decode_colors[13] = (decode_colors[1] + 2 * decode_colors[5]) / 3;
    decode_colors[14] = (decode_colors[2] + 2 * decode_colors[6]) / 3;
    decode_colors[15] = 255;
  } else {
    decode_colors[8] = (decode_colors[0] + decode_colors[4]) / 2;
    decode_colors[9] = (decode_colors[1] + decode_colors[5]) / 2;
    decode_colors[10] = (decode_colors[2] + decode_colors[6]) / 2;
    decode_colors[11] = 255;
    decode_colors[12] = 0;
    decode_colors[13] = 0;
    decode_colors[14] = 0;
    decode_colors[15] = 0;
  }
  for (i = 0; i < 16 * 4; i += 4) {
    int idx = ((compressed[next_bit >> 3] >> (next_bit & 7)) & 3) * 4;
    next_bit += 2;
    uncompressed[i + 0] = decode_colors[idx + 0];
    uncompressed[i + 1] = decode_colors[idx + 1];
    uncompressed[i + 2] = decode_colors[idx + 2];
    uncompressed[i + 3] = decode_colors[idx + 3];
  }
}
```