user: What is the c source code of the assembly code below:

```asm
<get_mi_id>:
  endbr64
  mov    %rdi,%rcx
  mov    %esi,%edx
  test   %esi,%esi
  jle    L13
  lea    -0x1(%rsi),%eax
  cmp    $0xe,%eax
  jbe    L118
  shr    $0x4,%esi
  pxor   %xmm1,%xmm1
  pxor   %xmm6,%xmm6
  mov    %rdi,%rax
  sub    $0x1,%esi
  pxor   %xmm4,%xmm4
  shl    $0x4,%rsi
  lea    0x10(%rdi,%rsi,1),%rsi
  nopl   0x0(%rax,%rax,1)
L106:
  movdqu (%rax),%xmm0
  movdqa %xmm6,%xmm3
  add    $0x10,%rax
  pcmpgtb %xmm0,%xmm3
  movdqa %xmm0,%xmm2
  punpcklbw %xmm3,%xmm2
  punpckhbw %xmm3,%xmm0
  movdqa %xmm4,%xmm3
  pcmpgtw %xmm2,%xmm3
  movdqa %xmm2,%xmm5
  punpcklwd %xmm3,%xmm5
  punpckhwd %xmm3,%xmm2
  movdqa %xmm0,%xmm3
  paddd  %xmm5,%xmm1
  paddd  %xmm2,%xmm1
  movdqa %xmm4,%xmm2
  pcmpgtw %xmm0,%xmm2
  punpcklwd %xmm2,%xmm3
  punpckhwd %xmm2,%xmm0
  paddd  %xmm3,%xmm1
  paddd  %xmm0,%xmm1
  cmp    %rsi,%rax
  jne    L106
  movdqa %xmm1,%xmm0
  mov    %edx,%esi
  psrldq $0x8,%xmm0
  and    $0xfffffff0,%esi
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%eax
  test   $0xf,%dl
  je     L100
L142:
  movslq %esi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x1(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x2(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x3(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x4(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x5(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x6(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x7(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x8(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0x9(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0xa(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0xb(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0xc(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  lea    0xd(%rsi),%edi
  cmp    %edi,%edx
  jle    L169
  movslq %edi,%rdi
  add    $0xe,%esi
  movsbl (%rcx,%rdi,1),%edi
  add    %edi,%eax
  cmp    %esi,%edx
  jle    L169
  movslq %esi,%rsi
  movsbl (%rcx,%rsi,1),%edx
  add    %edx,%eax
  ret
  nopl   0x0(%rax,%rax,1)
L13:
  xor    %eax,%eax
L169:
  ret
L118:
  xor    %esi,%esi
  xor    %eax,%eax
  jmp    L142
L100:
  ret
```

assistant: ```c
int get_mi_id(char *name, int len) {
  int n;
  int i;
  for (n = 0, i = 0; i < len; n += name[i], i++)
    ;
  return n;
}
```