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

```asm
<decode_dxt1_block>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x48,%rsp
  mov    (%rdi),%r13d
  mov    0x8(%rdi),%r12d
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rcx
  lea    0xc(%rsp),%rdx
  lea    0x8(%rsp),%rsi
  mov    %r13d,%edi
  call   <rgb565_le@plt>
  lea    0x1c(%rsp),%rcx
  lea    0x18(%rsp),%rdx
  mov    %r12d,%edi
  lea    0x14(%rsp),%rsi
  call   <rgb565_le@plt>
  mov    0x10(%rsp),%edx
  mov    0xc(%rsp),%esi
  mov    $0xff,%ecx
  movq   $0x0,0x28(%rsp)
  mov    0x8(%rsp),%edi
  call   <color@plt>
  mov    0x1c(%rsp),%edx
  mov    0x18(%rsp),%esi
  mov    $0xff,%ecx
  mov    0x14(%rsp),%edi
  mov    %eax,0x20(%rsp)
  call   <color@plt>
  mov    %eax,0x24(%rsp)
  cmp    %r12d,%r13d
  jle    L17
  mov    0x10(%rsp),%edx
  mov    0x1c(%rsp),%eax
  mov    0xc(%rsp),%ecx
  lea    (%rax,%rdx,2),%eax
  movslq %eax,%rdx
  sar    $0x1f,%eax
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  sub    %eax,%edx
  mov    0x18(%rsp),%eax
  lea    (%rax,%rcx,2),%eax
  mov    0x8(%rsp),%ecx
  movslq %eax,%rsi
  sar    $0x1f,%eax
  imul   $0x55555556,%rsi,%rsi
  shr    $0x20,%rsi
  sub    %eax,%esi
  mov    0x14(%rsp),%eax
  lea    (%rax,%rcx,2),%eax
  mov    $0xff,%ecx
  movslq %eax,%rdi
  sar    $0x1f,%eax
  imul   $0x55555556,%rdi,%rdi
  shr    $0x20,%rdi
  sub    %eax,%edi
  call   <color@plt>
  mov    0x1c(%rsp),%edx
  mov    0x18(%rsp),%ecx
  mov    %eax,0x28(%rsp)
  mov    0x10(%rsp),%eax
  lea    (%rax,%rdx,2),%eax
  movslq %eax,%rdx
  sar    $0x1f,%eax
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  sub    %eax,%edx
  mov    0xc(%rsp),%eax
  lea    (%rax,%rcx,2),%eax
  mov    0x14(%rsp),%ecx
  movslq %eax,%rsi
  sar    $0x1f,%eax
  imul   $0x55555556,%rsi,%rsi
  shr    $0x20,%rsi
  sub    %eax,%esi
  mov    0x8(%rsp),%eax
  lea    (%rax,%rcx,2),%eax
  mov    $0xff,%ecx
  movslq %eax,%rdi
  sar    $0x1f,%eax
  imul   $0x55555556,%rdi,%rdi
  shr    $0x20,%rdi
  sub    %eax,%edi
  call   <color@plt>
L36:
  mov    0x10(%rbp),%edx
  mov    %eax,0x2c(%rsp)
  lea    0x40(%rbx),%rsi
  mov    %rbx,%rax
  nopl   0x0(%rax)
L10:
  mov    %edx,%ecx
  add    $0x4,%rax
  sar    $0x2,%edx
  and    $0x3,%ecx
  mov    0x20(%rsp,%rcx,4),%ecx
  mov    %ecx,-0x4(%rax)
  cmp    %rax,%rsi
  jne    L10
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L23
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax,%rax,1)
L17:
  mov    0x1c(%rsp),%eax
  add    0x10(%rsp),%eax
  mov    $0xff,%ecx
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %eax,%edx
  mov    0x18(%rsp),%eax
  add    0xc(%rsp),%eax
  mov    %eax,%esi
  sar    %edx
  shr    $0x1f,%esi
  add    %eax,%esi
  mov    0x14(%rsp),%eax
  add    0x8(%rsp),%eax
  mov    %eax,%edi
  sar    %esi
  shr    $0x1f,%edi
  add    %eax,%edi
  sar    %edi
  call   <color@plt>
  mov    $0xff,%ecx
  xor    %edx,%edx
  xor    %esi,%esi
  xor    %edi,%edi
  mov    %eax,0x28(%rsp)
  call   <color@plt>
  jmp    L36
L23:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void decode_dxt1_block(const uint8_t *data, uint32_t *outbuf) {
  uint8_t r0, g0, b0, r1, g1, b1;
  int q0 = *(uint16_t *)(data);
  int q1 = *(uint16_t *)(data + 2);
  rgb565_le(q0, &r0, &g0, &b0);
  rgb565_le(q1, &r1, &g1, &b1);
  uint_fast32_t c[4] = {color(r0, g0, b0, 255), color(r1, g1, b1, 255)};
  if (q0 > q1) {
    c[2] = color((r0 * 2 + r1) / 3, (g0 * 2 + g1) / 3, (b0 * 2 + b1) / 3, 255);
    c[3] = color((r0 + r1 * 2) / 3, (g0 + g1 * 2) / 3, (b0 + b1 * 2) / 3, 255);
  } else {
    c[2] = color((r0 + r1) / 2, (g0 + g1) / 2, (b0 + b1) / 2, 255);
    c[3] = color(0, 0, 0, 255);
  }
  uint_fast32_t d = (*(uint32_t *)(data + 4));
  for (int i = 0; i < 16; i++, d >>= 2)
    outbuf[i] = c[d & 3];
}
```