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

```asm
<ConvertPath>:
  endbr64
  push   %rbp
  push   %rbx
  movzbl (%rsi),%eax
  test   %al,%al
  je     L25
  mov    %rsi,%r8
  xor    %edx,%edx
  cs nopw 0x0(%rax,%rax,1)
L75:
  mov    %edx,%ecx
  add    $0x1,%rdx
  cmpb   $0x0,(%r8,%rdx,1)
  jne    L75
  lea    0x1(%rcx),%r10d
  xor    %edx,%edx
  xor    %ecx,%ecx
  mov    $0x1,%r9d
  mov    $0xba2e8ba3,%r11d
  jmp    L41
  nopl   0x0(%rax,%rax,1)
L64:
  cmp    $0x2e,%al
  je     L111
  movslq %edx,%rsi
  add    $0x1,%edx
  add    %rdi,%rsi
  cmp    $0xe5,%al
  je     L54
  lea    -0x61(%rax),%ebp
  lea    -0x20(%rax),%ebx
  cmp    $0x1a,%bpl
  cmovb  %ebx,%eax
  mov    %al,(%rsi)
  imul   $0xba2e8ba3,%edx,%eax
  cmp    $0x1745d174,%eax
  ja     L29
  movzbl 0x1(%r8,%rcx,1),%eax
  cmp    $0x2f,%al
  je     L29
  test   %al,%al
  jne    L76
  nop
L29:
  add    $0x1,%rcx
  cmp    %r10,%rcx
  je     L130
L178:
  movzbl (%r8,%rcx,1),%eax
L41:
  cmp    $0x2f,%al
  jne    L64
  test   %rcx,%rcx
  je     L29
  imul   $0xba2e8ba3,%edx,%eax
  cmp    $0x1745d174,%eax
  jbe    L118
  lea    0x1(%rdx),%eax
  cltq
  nopl   0x0(%rax)
L80:
  mov    %eax,%edx
  movb   $0x20,-0x1(%rdi,%rax,1)
  add    $0x1,%rax
  imul   $0xba2e8ba3,%edx,%esi
  cmp    $0x1745d174,%esi
  ja     L80
L118:
  add    $0x1,%rcx
  add    $0x1,%r9d
  cmp    %r10,%rcx
  jne    L178
  cs nopw 0x0(%rax,%rax,1)
L130:
  movslq %edx,%rcx
  add    %rdi,%rcx
L147:
  movzbl (%rcx),%eax
  mov    $0xffffffa3,%esi
  imul   %esi,%eax
  add    $0xb,%eax
  cmp    $0x16,%al
  jbe    L202
  movslq %edx,%rdx
  lea    0x1(%rdi,%rdx,1),%rdx
L60:
  movb   $0x20,(%rcx)
  mov    %rdx,%rcx
  add    $0x1,%rdx
  movzbl (%rcx),%eax
  imul   %esi,%eax
  add    $0xb,%eax
  cmp    $0x16,%al
  ja     L60
L202:
  movb   $0x0,(%rcx)
  mov    %r9d,%eax
  pop    %rbx
  pop    %rbp
  ret
L54:
  movb   $0x5,(%rsi)
  jmp    L29
  nopl   0x0(%rax,%rax,1)
L111:
  mov    %edx,%eax
  imul   %r11,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%esi
  lea    (%rax,%rsi,2),%esi
  mov    %edx,%eax
  sub    %esi,%eax
  cmp    $0x8,%eax
  jg     L76
  test   $0x7,%al
  je     L29
  lea    0x1(%rdx),%esi
  movslq %esi,%rsi
  nopw   0x0(%rax,%rax,1)
L98:
  mov    %esi,%eax
  movb   $0x20,-0x1(%rdi,%rsi,1)
  add    $0x1,%rsi
  mov    %rax,%rdx
  imul   %r11,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%ebx
  lea    (%rax,%rbx,2),%ebx
  mov    %edx,%eax
  sub    %ebx,%eax
  test   $0x7,%al
  jne    L98
  jmp    L29
L76:
  xor    %r9d,%r9d
  pop    %rbx
  pop    %rbp
  mov    %r9d,%eax
  ret
L25:
  mov    %rdi,%rcx
  xor    %edx,%edx
  mov    $0x1,%r9d
  jmp    L147
```

assistant: ```c
int ConvertPath(char *Out, char *In) {
  int depth = 1;
  int InLength = 0;
  int OutLength = 0;
  char *temp = In;
  while (*temp++)
    InLength++;
  for (int i = 0; i < InLength; i++) {
    if ((In[i] == '/')) {
      if (i) {
        while (OutLength % 11)
          Out[OutLength++] = ' ';
        depth++;
      }
    } else if (In[i] == '.') {
      if ((OutLength % 11) > 8)
        return 0;
      while ((OutLength % 11) % 8)
        Out[OutLength++] = ' ';
    } else if (In[i] == (char)0xE5) {
      Out[OutLength++] = 5;
    } else {
      if (In[i] >= 'a' && In[i] <= 'z')
        Out[OutLength++] = (char)(In[i] - ' ');
      else
        Out[OutLength++] = In[i];
      if (!(OutLength % 11) && ((In[i + 1] != '/') && (In[i + 1] != 0)))
        return 0;
    }
  }
  while ((Out[OutLength] % 11))
    Out[OutLength++] = ' ';
  Out[OutLength] = 0;
  return depth;
}
```