user: 这段汇编代码用C语言表示是什么样的：

```asm
<drawBitmap2BPP>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x44(%rbp)
  mov    %ecx,-0x48(%rbp)
  mov    %r8d,-0x4c(%rbp)
  mov    %r9d,-0x50(%rbp)
  mov    0x30(%rbp),%eax
  mov    %al,-0x54(%rbp)
  mov    -0x44(%rbp),%eax
  sub    $0x1,%eax
  sar    $0x2,%eax
  add    $0x1,%eax
  mov    %eax,-0x1c(%rbp)
  mov    0x10(%rbp),%eax
  add    %eax,%eax
  and    $0x6,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x4c(%rbp),%eax
  and    $0x1,%eax
  mov    %eax,-0x20(%rbp)
  mov    0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    0x10(%rbp),%eax
  sar    $0x2,%eax
  add    %edx,%eax
  cltq
  add    %rax,-0x40(%rbp)
  mov    -0x50(%rbp),%eax
  shl    $0x6,%eax
  mov    %eax,%edx
  mov    -0x4c(%rbp),%eax
  sar    %eax
  add    %edx,%eax
  cltq
  add    %rax,-0x38(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L91
L112:
  mov    0x20(%rbp),%eax
  mov    %eax,-0x28(%rbp)
  mov    -0x40(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    -0x24(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  mov    %al,-0x2a(%rbp)
  jmp    L98
L13:
  movzbl -0x2a(%rbp),%eax
  and    $0x3,%eax
  mov    %al,-0x29(%rbp)
  cmpb   $0x0,-0x29(%rbp)
  jne    L55
  cmpl   $0x0,0x38(%rbp)
  jne    L41
L55:
  cmpb   $0x0,-0x54(%rbp)
  js     L16
  movzbl -0x54(%rbp),%eax
  mov    %al,-0x29(%rbp)
L16:
  cmpl   $0x0,-0x20(%rbp)
  jne    L1
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  and    $0xfffffff0,%eax
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  or     -0x29(%rbp),%al
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    %dl,(%rax)
  jmp    L41
L1:
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  and    $0xf,%eax
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%edx
  movsbl -0x29(%rbp),%eax
  shl    $0x4,%eax
  or     %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    %dl,(%rax)
L41:
  addl   $0x2,-0x24(%rbp)
  cmpl   $0x6,-0x24(%rbp)
  jle    L99
  movl   $0x0,-0x24(%rbp)
  addq   $0x1,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0x2a(%rbp)
  jmp    L72
L99:
  sarb   $0x2,-0x2a(%rbp)
L72:
  addl   $0x1,-0x20(%rbp)
  cmpl   $0x1,-0x20(%rbp)
  jle    L98
  addq   $0x1,-0x38(%rbp)
  movl   $0x0,-0x20(%rbp)
L98:
  mov    -0x28(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x28(%rbp)
  test   %eax,%eax
  jg     L13
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  add    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  addq   $0x40,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x38(%rbp)
L91:
  mov    0x28(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,0x28(%rbp)
  test   %eax,%eax
  jg     L112
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void drawBitmap2BPP(char *buffer, char *bitmap, int bitmapWidth, int bitmapHeight, int destX, int destY, int sourceX, int sourceY, int width, int height, signed char shade, int isTransparent) {
  int startPos, startShift, widthLeft;
  char currentBitmap, currentShade;
  char *startBitmap, *startBuffer;
  int bitmapScanlineSkip = ((bitmapWidth - 1) >> 2) + 1;
  int bitmapShift = (sourceX & 0x03) << 1;
  int pixelPos = destX & 0x1;
  bitmap += (sourceY * bitmapScanlineSkip) + (sourceX >> 2);
  buffer += (destY << 6) + (destX >> 1);
  startShift = bitmapShift;
  startPos = pixelPos;
  startBitmap = bitmap;
  startBuffer = buffer;
  while (height-- > 0) {
    widthLeft = width;
    currentBitmap = *bitmap >> bitmapShift;
    while (widthLeft-- > 0) {
      currentShade = currentBitmap & 0x03;
      if (currentShade != 0 || !isTransparent) {
        if (shade >= 0)
          currentShade = shade;
        if (pixelPos == 0) {
          *buffer &= 0xF0;
          *buffer |= currentShade;
        } else {
          *buffer &= 0x0F;
          *buffer |= currentShade << 4;
        }
      }
      bitmapShift += 2;
      if (bitmapShift > 6) {
        bitmapShift = 0;
        currentBitmap = *(++bitmap);
      } else
        currentBitmap >>= 2;
      if (++pixelPos > 1) {
        buffer++;
        pixelPos = 0;
      }
    }
    bitmapShift = startShift;
    startBitmap += bitmapScanlineSkip;
    bitmap = startBitmap;
    pixelPos = startPos;
    startBuffer += 64;
    buffer = startBuffer;
  }
}
```