user: 下面的汇编指令对应的C源代码是什么：

```asm
<draw_block4x4_rgb8_etc2_planar_mode>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%rcx
  movzbl (%rdi),%r9d
  mov    %r9d,%r11d
  sar    %r11d
  and    $0x3f,%r11d
  movzbl 0x1(%rdi),%eax
  shl    $0x6,%r9d
  and    $0x40,%r9d
  mov    %eax,%edx
  sar    %edx
  and    $0x3f,%edx
  or     %edx,%r9d
  movzbl 0x2(%rdi),%r8d
  movzbl 0x3(%rdi),%edx
  shl    $0x5,%eax
  and    $0x20,%eax
  lea    (%r8,%r8,1),%edi
  and    $0x6,%edi
  or     %edi,%eax
  mov    %edx,%edi
  shr    $0x7,%dil
  and    $0x18,%r8d
  or     %r8d,%edi
  movzbl %dil,%edi
  or     %edi,%eax
  mov    %edx,%r10d
  shr    %r10d
  and    $0x3e,%r10d
  and    $0x1,%edx
  or     %edx,%r10d
  movzbl 0x4(%rcx),%r8d
  mov    %r8d,%ebx
  shr    %bl
  movzbl %bl,%ebx
  movzbl 0x5(%rcx),%edi
  shl    $0x5,%r8d
  and    $0x20,%r8d
  mov    %edi,%edx
  shr    $0x3,%dl
  movzbl %dl,%edx
  or     %edx,%r8d
  movzbl 0x6(%rcx),%edx
  shl    $0x3,%edi
  and    $0x38,%edi
  mov    %edx,%ebp
  shr    $0x5,%bpl
  movzbl %bpl,%ebp
  or     %ebp,%edi
  movzbl 0x7(%rcx),%ecx
  shl    $0x2,%edx
  and    $0x7c,%edx
  mov    %ecx,%ebp
  shr    $0x6,%bpl
  movzbl %bpl,%ebp
  or     %ebp,%edx
  and    $0x3f,%ecx
  lea    0x0(,%r11,4),%ebp
  sar    $0x4,%r11d
  or     %ebp,%r11d
  lea    (%r9,%r9,1),%ebp
  sar    $0x6,%r9d
  mov    %ebp,%r14d
  or     %r9d,%r14d
  mov    %r14d,0x24(%rsp)
  lea    0x0(,%rax,4),%r9d
  sar    $0x4,%eax
  or     %eax,%r9d
  mov    %r9d,%r15d
  mov    %r9d,0x28(%rsp)
  lea    0x0(,%r10,4),%r9d
  mov    %r10d,%eax
  sar    $0x4,%eax
  mov    %r9d,%r10d
  or     %eax,%r10d
  lea    (%rbx,%rbx,1),%eax
  sar    $0x6,%ebx
  or     %ebx,%eax
  mov    %eax,0x2c(%rsp)
  lea    0x0(,%r8,4),%eax
  sar    $0x4,%r8d
  or     %r8d,%eax
  mov    %eax,0x30(%rsp)
  lea    0x0(,%rdi,4),%r9d
  sar    $0x4,%edi
  lea    (%rdx,%rdx,1),%r8d
  sar    $0x6,%edx
  lea    0x0(,%rcx,4),%eax
  sar    $0x4,%ecx
  or     %edi,%r9d
  sub    %r11d,%r9d
  mov    %r9d,0x34(%rsp)
  lea    0x2(,%r11,4),%ebx
  mov    %ebx,0x18(%rsp)
  or     %edx,%r8d
  sub    %r14d,%r8d
  mov    %r8d,0x38(%rsp)
  lea    0x2(,%r14,4),%edx
  mov    %edx,0x1c(%rsp)
  or     %eax,%ecx
  sub    %r15d,%ecx
  mov    %ecx,0x3c(%rsp)
  lea    0x2(,%r15,4),%eax
  mov    %eax,0x20(%rsp)
  lea    0x10(%rsi),%rbp
  movl   $0x0,0x14(%rsp)
  sub    %r11d,%r10d
  mov    %r10d,0x10(%rsp)
L14:
  mov    0x2c(%rsp),%eax
  sub    0x24(%rsp),%eax
  mov    %eax,0x8(%rsp)
  mov    0x30(%rsp),%eax
  sub    0x28(%rsp),%eax
  mov    %eax,0xc(%rsp)
  lea    -0x10(%rbp),%rbx
  mov    0x20(%rsp),%r15d
  mov    0x1c(%rsp),%r14d
  mov    0x18(%rsp),%r13d
L2:
  mov    %r13d,%edi
  sar    $0x2,%edi
  call   <clamp@plt>
  mov    %eax,0x4(%rsp)
  mov    %r14d,%ecx
  sar    $0x2,%ecx
  mov    %ecx,%edi
  call   <clamp@plt>
  mov    %eax,%r12d
  mov    %r15d,%esi
  sar    $0x2,%esi
  mov    %esi,%edi
  call   <clamp@plt>
  mov    %eax,%edx
  mov    %r12d,%esi
  mov    0x4(%rsp),%edi
  call   <pack_rgb_alpha_0xff@plt>
  mov    %eax,(%rbx)
  add    0x10(%rsp),%r13d
  add    0x8(%rsp),%r14d
  add    0xc(%rsp),%r15d
  add    $0x4,%rbx
  cmp    %rbp,%rbx
  jne    L2
  mov    0x34(%rsp),%ecx
  add    %ecx,0x18(%rsp)
  mov    0x38(%rsp),%esi
  add    %esi,0x1c(%rsp)
  mov    0x3c(%rsp),%ebx
  add    %ebx,0x20(%rsp)
  addl   $0x4,0x14(%rsp)
  mov    0x14(%rsp),%eax
  add    $0x10,%rbp
  cmp    $0x10,%eax
  jne    L14
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void draw_block4x4_rgb8_etc2_planar_mode(const unsigned char *bitstring, unsigned int *image_buffer) {
  int RO = (bitstring[0] & 0x7E) >> 1;
  int GO = ((bitstring[0] & 0x1) << 6) | ((bitstring[1] & 0x7E) >> 1);
  int BO = ((bitstring[1] & 0x1) << 5) | (bitstring[2] & 0x18) | ((bitstring[2] & 0x03) << 1) | ((bitstring[3] & 0x80) >> 7);
  int RH = ((bitstring[3] & 0x7C) >> 1) | (bitstring[3] & 0x1);
  int GH = (bitstring[4] & 0xFE) >> 1;
  int BH = ((bitstring[4] & 0x1) << 5) | ((bitstring[5] & 0xF8) >> 3);
  int RV = ((bitstring[5] & 0x7) << 3) | ((bitstring[6] & 0xE0) >> 5);
  int GV = ((bitstring[6] & 0x1F) << 2) | ((bitstring[7] & 0xC0) >> 6);
  int BV = bitstring[7] & 0x3F;
  RO = (RO << 2) | ((RO & 0x30) >> 4);
  GO = (GO << 1) | ((GO & 0x40) >> 6);
  BO = (BO << 2) | ((BO & 0x30) >> 4);
  RH = (RH << 2) | ((RH & 0x30) >> 4);
  GH = (GH << 1) | ((GH & 0x40) >> 6);
  BH = (BH << 2) | ((BH & 0x30) >> 4);
  RV = (RV << 2) | ((RV & 0x30) >> 4);
  GV = (GV << 1) | ((GV & 0x40) >> 6);
  BV = (BV << 2) | ((BV & 0x30) >> 4);
  for (int y = 0; y < 4; y++)
    for (int x = 0; x < 4; x++) {
      int r = clamp((x * (RH - RO) + y * (RV - RO) + 4 * RO + 2) >> 2);
      int g = clamp((x * (GH - GO) + y * (GV - GO) + 4 * GO + 2) >> 2);
      int b = clamp((x * (BH - BO) + y * (BV - BO) + 4 * BO + 2) >> 2);
      image_buffer[y * 4 + x] = pack_rgb_alpha_0xff(r, g, b);
    }
}
```