user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<DecompressSparse>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %ecx,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x20(%rbp)
  cmpl   $0x4,-0x4c(%rbp)
  jg     L58
  mov    $0x0,%eax
  jmp    L37
L58:
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  shl    $0x18,%eax
  or     %eax,-0x20(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  shl    $0x10,%eax
  or     %eax,-0x20(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  shl    $0x8,%eax
  or     %eax,-0x20(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  or     %eax,-0x20(%rbp)
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x20(%rbp)
  jbe    L9
  mov    $0x0,%eax
  jmp    L37
L9:
  mov    -0x20(%rbp),%edx
  mov    -0x40(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L18
L34:
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  and    $0x80,%eax
  test   %eax,%eax
  je     L17
  mov    -0x1c(%rbp),%eax
  and    $0x7f,%eax
  add    $0x1,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  cmovbe %edx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x10(%rbp),%rcx
  mov    -0x18(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x24(%rbp),%eax
  add    %rax,-0x10(%rbp)
  jmp    L22
L17:
  mov    -0x1c(%rbp),%eax
  and    $0x7f,%eax
  add    $0x3,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  cmovbe %edx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x18(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L22:
  mov    -0x24(%rbp),%eax
  add    %rax,-0x18(%rbp)
  mov    -0x24(%rbp),%eax
  sub    %eax,-0x20(%rbp)
L18:
  mov    -0x10(%rbp),%rax
  cmp    -0x8(%rbp),%rax
  jb     L34
  mov    $0x1,%eax
L37:
  leave
  ret
```

assistant: ```c
int DecompressSparse(void *pvOutBuffer, int *pcbOutBuffer, void *pvInBuffer, int cbInBuffer) {
  unsigned char *pbInBufferEnd = (unsigned char *)pvInBuffer + cbInBuffer;
  unsigned char *pbOutBuffer = (unsigned char *)pvOutBuffer;
  unsigned char *pbInBuffer = (unsigned char *)pvInBuffer;
  unsigned int cbChunkSize;
  unsigned int cbOutBuffer = 0;
  unsigned int OneByte;
  if (cbInBuffer < 5)
    return 0;
  OneByte = *pbInBuffer++;
  cbOutBuffer |= (OneByte << 0x18);
  OneByte = *pbInBuffer++;
  cbOutBuffer |= (OneByte << 0x10);
  OneByte = *pbInBuffer++;
  cbOutBuffer |= (OneByte << 0x08);
  OneByte = *pbInBuffer++;
  cbOutBuffer |= (OneByte << 0x00);
  if (cbOutBuffer > (unsigned int)*pcbOutBuffer)
    return 0;
  *pcbOutBuffer = cbOutBuffer;
  while (pbInBuffer < pbInBufferEnd) {
    OneByte = *pbInBuffer++;
    if (OneByte & 0x80) {
      cbChunkSize = (OneByte & 0x7F) + 1;
      cbChunkSize = (cbChunkSize < cbOutBuffer) ? cbChunkSize : cbOutBuffer;
      memcpy(pbOutBuffer, pbInBuffer, cbChunkSize);
      pbInBuffer += cbChunkSize;
    } else {
      cbChunkSize = (OneByte & 0x7F) + 3;
      cbChunkSize = (cbChunkSize < cbOutBuffer) ? cbChunkSize : cbOutBuffer;
      memset(pbOutBuffer, 0, cbChunkSize);
    }
    pbOutBuffer += cbChunkSize;
    cbOutBuffer -= cbChunkSize;
  }
  return 1;
}
```