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

```asm
<get_vertex_type>:
  endbr64
  mov    %esi,%ecx
  mov    %rdx,%rsi
  movb   $0x0,(%rdi)
  lea    0x14(%rcx),%eax
  add    $0xd,%ecx
  cmovns %ecx,%eax
  and    $0x7,%ecx
  sar    $0x3,%eax
  movslq %eax,%rdx
  mov    (%rsi),%rax
  movzbl (%rax,%rdx,1),%eax
  sar    %cl,%eax
  and    $0x1,%eax
  mov    %al,(%rdi)
  mov    0x8(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L8
  or     $0x2,%eax
  mov    %al,(%rdi)
L8:
  mov    0x10(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L37
  movb   $0x3,(%rdi)
  mov    $0x3,%eax
L37:
  mov    0x18(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L49
  or     $0x4,%eax
  mov    %al,(%rdi)
L49:
  mov    0x20(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L3
  or     $0x8,%eax
  mov    %al,(%rdi)
L3:
  mov    0x28(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L95
  or     $0xc,%eax
  mov    %al,(%rdi)
L95:
  mov    0x30(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L6
  or     $0x10,%eax
  mov    %al,(%rdi)
L6:
  mov    0x38(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L54
  or     $0x20,%eax
  mov    %al,(%rdi)
L54:
  mov    0x40(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L57
  or     $0x30,%eax
  mov    %al,(%rdi)
L57:
  mov    0x50(%rsi),%r8
  movzbl (%r8,%rdx,1),%r8d
  bt     %ecx,%r8d
  jae    L47
  or     $0x40,%eax
  mov    %al,(%rdi)
L47:
  mov    0x60(%rsi),%rsi
  movzbl (%rsi,%rdx,1),%edx
  bt     %ecx,%edx
  jae    L2
  or     $0xffffff80,%eax
  mov    %al,(%rdi)
L2:
  ret
```

assistant: ```c
void get_vertex_type(unsigned char *type, int vertex_num, unsigned char **matrix) {
  unsigned char val = 0;
  *type = 0;
  { val = (((matrix)[(0 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 1;
  }
  { val = (((matrix)[(1 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 2;
  }
  { val = (((matrix)[(2 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 3;
  }
  { val = (((matrix)[(3 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 4;
  }
  { val = (((matrix)[(4 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 8;
  }
  { val = (((matrix)[(5 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 12;
  }
  { val = (((matrix)[(6 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 16;
  }
  { val = (((matrix)[(7 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 32;
  }
  { val = (((matrix)[(8 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 48;
  }
  { val = (((matrix)[(9 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 0;
  }
  { val = (((matrix)[(10 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 64;
  }
  { val = (((matrix)[(12 - 13 + 13)][(vertex_num + 13) / 8] & (1 << ((vertex_num + 13) % 8))) ? (1) : (0)); };
  if (val) {
    *type |= 128;
  }
}
```