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

```asm
<Kentec320x240x16_SSD2119PixelDrawMultiple>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %esi,%r15d
  mov    %edx,0xc(%rsp)
  mov    %ecx,%ebx
  mov    %r8d,%ebp
  mov    %r9d,%r14d
  mov    0x50(%rsp),%r13
  mov    0x58(%rsp),%r12
  mov    $0x11,%edi
  call   <WriteCommand@plt>
  mov    $0x6830,%edi
  call   <WriteData@plt>
  mov    $0x4e,%edi
  call   <WriteCommand@plt>
  mov    %r15d,%edi
  call   <WriteData@plt>
  mov    $0x4f,%edi
  call   <WriteCommand@plt>
  mov    0xc(%rsp),%edi
  call   <WriteData@plt>
  mov    $0x22,%edi
  call   <WriteCommand@plt>
  and    $0xbfffffff,%r14d
  cmp    $0x4,%r14d
  je     L72
  cmp    $0x8,%r14d
  je     L56
  cmp    $0x1,%r14d
  je     L36
L61:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L56:
  mov    %ebp,%eax
  lea    0x0(%r13,%rax,4),%rbx
  test   %ebp,%ebp
  je     L61
L120:
  add    $0x4,%r13
  mov    -0x4(%r13),%eax
  lea    (%rax,%rax,2),%eax
  cltq
  mov    (%r12,%rax,4),%eax
  and    $0xffffff,%eax
  mov    %eax,%edi
  sar    $0x8,%edi
  and    $0xf800,%edi
  mov    %eax,%edx
  sar    $0x5,%edx
  and    $0x7e0,%edx
  or     %edx,%edi
  sar    $0x3,%eax
  and    $0x1f,%eax
  or     %eax,%edi
  call   <WriteData@plt>
  cmp    %r13,%rbx
  jne    L120
  jmp    L61
L36:
  test   %ebp,%ebp
  je     L61
  mov    $0x7,%r15d
  jmp    L69
L153:
  mov    $0x0,%ebx
  test   %ebp,%ebp
  je     L61
L69:
  add    $0x4,%r13
  mov    -0x4(%r13),%r14d
  cmp    $0x7,%ebx
  jg     L153
  test   %ebp,%ebp
  je     L153
L130:
  mov    %r15d,%ecx
  sub    %ebx,%ecx
  mov    %r14d,%eax
  sar    %cl,%eax
  and    $0x1,%eax
  mov    (%r12,%rax,4),%edi
  call   <WriteData@plt>
  add    $0x1,%ebx
  sub    $0x1,%ebp
  cmp    $0x7,%ebx
  jg     L153
  test   %ebp,%ebp
  jne    L130
  jmp    L153
L72:
  test   $0x1,%bl
  je     L35
L14:
  lea    0x4(%r13),%rbx
  mov    0x0(%r13),%eax
  and    $0xf,%eax
  lea    (%rax,%rax,2),%eax
  cltq
  mov    (%r12,%rax,4),%eax
  and    $0xffffff,%eax
  mov    %eax,%edi
  sar    $0x8,%edi
  and    $0xf800,%edi
  mov    %eax,%edx
  sar    $0x5,%edx
  and    $0x7e0,%edx
  or     %edx,%edi
  sar    $0x3,%eax
  and    $0x1f,%eax
  or     %eax,%edi
  call   <WriteData@plt>
  sub    $0x1,%ebp
  mov    %rbx,%r13
L35:
  test   %ebp,%ebp
  je     L61
  mov    0x0(%r13),%eax
  sar    $0x4,%eax
  lea    (%rax,%rax,2),%eax
  cltq
  mov    (%r12,%rax,4),%eax
  and    $0xffffff,%eax
  mov    %eax,%edi
  sar    $0x8,%edi
  and    $0xf800,%edi
  mov    %eax,%edx
  sar    $0x5,%edx
  and    $0x7e0,%edx
  or     %edx,%edi
  sar    $0x3,%eax
  and    $0x1f,%eax
  or     %eax,%edi
  call   <WriteData@plt>
  sub    $0x1,%ebp
  je     L35
  jmp    L14
```

assistant: ```c
void Kentec320x240x16_SSD2119PixelDrawMultiple(void *pvDisplayData, int32_t i32X, int32_t i32Y, int32_t i32X0, int32_t i32Count, int32_t i32BPP, const uint8_t *pui8Data, const uint8_t *pui8Palette) {
  uint32_t ui32Byte;
  WriteCommand(0x11);
  WriteData(((0x6830 & 0xff00) | (0x30)));
  WriteCommand(0x4e);
  WriteData((i32X));
  WriteCommand(0x4f);
  WriteData((i32Y));
  WriteCommand(0x22);
  switch (i32BPP & ~0x40000000) {
  case 1: {
    while (i32Count) {
      ui32Byte = *pui8Data++;
      for (; (i32X0 < 8) && i32Count; i32X0++, i32Count--) {
        WriteData(((uint32_t *)pui8Palette)[(ui32Byte >> (7 - i32X0)) & 1]);
      }
      i32X0 = 0;
    }
    break;
  }
  case 4: {
    switch (i32X0 & 1) {
    case 0:
      while (i32Count) {
        ui32Byte = (*pui8Data >> 4) * 3;
        ui32Byte = (*(uint32_t *)(pui8Palette + ui32Byte) & 0x00ffffff);
        WriteData(((((ui32Byte)&0x00f80000) >> 8) | (((ui32Byte)&0x0000fc00) >> 5) | (((ui32Byte)&0x000000f8) >> 3)));
        i32Count--;
        if (i32Count) {
        case 1:
          ui32Byte = (*pui8Data++ & 15) * 3;
          ui32Byte = (*(uint32_t *)(pui8Palette + ui32Byte) & 0x00ffffff);
          WriteData(((((ui32Byte)&0x00f80000) >> 8) | (((ui32Byte)&0x0000fc00) >> 5) | (((ui32Byte)&0x000000f8) >> 3)));
          i32Count--;
        }
      }
    }
    break;
  }
  case 8: {
    while (i32Count--) {
      ui32Byte = *pui8Data++ * 3;
      ui32Byte = *(uint32_t *)(pui8Palette + ui32Byte) & 0x00ffffff;
      WriteData(((((ui32Byte)&0x00f80000) >> 8) | (((ui32Byte)&0x0000fc00) >> 5) | (((ui32Byte)&0x000000f8) >> 3)));
    }
    break;
  }
  }
}
```