user: 请将以下的汇编代码转换成C语言代码：

```asm
<CyBtldr_ParseRowData>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x360,%rsp
  mov    %edi,-0x324(%rbp)
  mov    %rsi,-0x330(%rbp)
  mov    %rdx,-0x338(%rbp)
  mov    %rcx,-0x340(%rbp)
  mov    %r8,-0x348(%rbp)
  mov    %r9,-0x350(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0x358(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movw   $0x6,-0x31e(%rbp)
  movl   $0x5,-0x314(%rbp)
  movl   $0x0,-0x318(%rbp)
  movzwl -0x31e(%rbp),%eax
  cmp    %eax,-0x324(%rbp)
  ja     L58
  movl   $0x3,-0x318(%rbp)
  jmp    L88
L58:
  mov    -0x330(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L35
  mov    -0x330(%rbp),%rax
  lea    0x1(%rax),%rsi
  mov    -0x324(%rbp),%eax
  lea    -0x1(%rax),%edi
  lea    -0x310(%rbp),%rdx
  lea    -0x320(%rbp),%rax
  mov    %rdx,%rcx
  mov    %rax,%rdx
  call   <CyBtldr_FromAscii@plt>
  mov    %eax,-0x318(%rbp)
  movzbl -0x310(%rbp),%edx
  mov    -0x338(%rbp),%rax
  mov    %dl,(%rax)
  movzbl -0x30f(%rbp),%eax
  movzbl %al,%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  movzbl -0x30e(%rbp),%eax
  movzbl %al,%eax
  or     %edx,%eax
  mov    %eax,%edx
  mov    -0x340(%rbp),%rax
  mov    %dx,(%rax)
  movzbl -0x30d(%rbp),%eax
  movzbl %al,%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  movzbl -0x30c(%rbp),%eax
  movzbl %al,%eax
  or     %edx,%eax
  mov    %eax,%edx
  mov    -0x350(%rbp),%rax
  mov    %dx,(%rax)
  movzwl -0x320(%rbp),%eax
  movzwl %ax,%eax
  sub    $0x1,%eax
  cltq
  movzbl -0x310(%rbp,%rax,1),%edx
  mov    -0x358(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x350(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  movzwl -0x31e(%rbp),%eax
  add    %eax,%edx
  movzwl -0x320(%rbp),%eax
  movzwl %ax,%eax
  cmp    %eax,%edx
  jne    L70
  movl   $0x0,-0x31c(%rbp)
  jmp    L89
L39:
  mov    -0x314(%rbp),%edx
  mov    -0x31c(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x31c(%rbp),%edx
  mov    -0x348(%rbp),%rax
  add    %rax,%rdx
  mov    %ecx,%eax
  movzbl -0x310(%rbp,%rax,1),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x31c(%rbp)
L89:
  mov    -0x350(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  cmp    %eax,-0x31c(%rbp)
  jb     L39
  jmp    L88
L70:
  movl   $0x4,-0x318(%rbp)
  jmp    L88
L35:
  movl   $0x5,-0x318(%rbp)
L88:
  mov    -0x318(%rbp),%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L13
  call   <__stack_chk_fail@plt>
L13:
  leave
  ret
```

assistant: ```c
int CyBtldr_ParseRowData(unsigned int bufSize, unsigned char *buffer, unsigned char *arrayId, unsigned short *rowNum, unsigned char *rowData, unsigned short *size, unsigned char *checksum) {
  const unsigned short MIN_SIZE = 6;
  const int DATA_OFFSET = 5;
  unsigned int i;
  unsigned short hexSize;
  unsigned char hexData[768];
  int err = 0x00;
  if (bufSize <= MIN_SIZE)
    err = 0x03;
  else if (buffer[0] == ':') {
    err = CyBtldr_FromAscii(bufSize - 1, &buffer[1], &hexSize, hexData);
    *arrayId = hexData[0];
    *rowNum = (hexData[1] << 8) | (hexData[2]);
    *size = (hexData[3] << 8) | (hexData[4]);
    *checksum = (hexData[hexSize - 1]);
    if ((*size + MIN_SIZE) == hexSize) {
      for (i = 0; i < *size; i++) {
        rowData[i] = (hexData[DATA_OFFSET + i]);
      }
    } else
      err = 0x04;
  } else
    err = 0x05;
  return err;
}
```