user: Converte this assembly snippet into its equivalent C code:

```asm
<innerHash>:
  endbr64
  push   %r15
  push   %r14
  mov    %rsi,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    0x10(%rdi),%eax
  mov    (%rdi),%r15d
  mov    0x4(%rdi),%r13d
  mov    0x8(%rdi),%ebp
  mov    %rdi,0x28(%rsp)
  mov    %eax,0xc(%rsp)
  lea    0x40(%rsi),%rax
  mov    0xc(%rdi),%r12d
  mov    %rsi,0x20(%rsp)
  mov    %rax,0x18(%rsp)
  jmp    L7
  nop
L31:
  mov    %ebp,%r12d
  mov    %r8d,%r15d
  mov    %ebx,%ebp
L7:
  mov    $0x5,%esi
  mov    %r15d,%edi
  add    $0x4,%r14
  call   <rol@plt>
  mov    %ebp,%r8d
  mov    -0x4(%r14),%ecx
  mov    %r13d,%edi
  xor    %r12d,%r8d
  mov    $0x1e,%esi
  and    %r13d,%r8d
  lea    0x5a827999(%rcx,%rax,1),%eax
  mov    %r15d,%r13d
  xor    %r12d,%r8d
  add    %eax,%r8d
  add    0xc(%rsp),%r8d
  mov    %r8d,0x10(%rsp)
  call   <rol@plt>
  cmp    %r14,0x18(%rsp)
  mov    %r12d,0xc(%rsp)
  mov    0x10(%rsp),%r8d
  mov    %eax,%ebx
  jne    L31
  mov    0x20(%rsp),%r14
  lea    0x10(%r14),%rax
  mov    %rax,0x18(%rsp)
L21:
  mov    0x34(%r14),%edi
  mov    $0x1,%esi
  xor    0x20(%r14),%edi
  add    $0x4,%r14
  xor    0x4(%r14),%edi
  xor    -0x4(%r14),%edi
  mov    %r8d,0xc(%rsp)
  call   <rol@plt>
  mov    0xc(%rsp),%r8d
  mov    $0x5,%esi
  mov    %eax,0x3c(%r14)
  mov    %r8d,%edi
  mov    %r8d,0x10(%rsp)
  call   <rol@plt>
  mov    %ebx,%r9d
  mov    0x3c(%r14),%ecx
  mov    %r15d,%edi
  xor    %ebp,%r9d
  mov    $0x1e,%esi
  and    %r15d,%r9d
  lea    0x5a827999(%rcx,%rax,1),%eax
  xor    %ebp,%r9d
  add    %eax,%r9d
  add    %r12d,%r9d
  mov    %ebp,%r12d
  mov    %r9d,0xc(%rsp)
  call   <rol@plt>
  mov    0x10(%rsp),%r8d
  cmp    %r14,0x18(%rsp)
  mov    0xc(%rsp),%r9d
  mov    %eax,%r13d
  mov    %r8d,%r15d
  je     L71
  mov    %ebx,%ebp
  mov    %r9d,%r8d
  mov    %r13d,%ebx
  jmp    L21
  nopw   0x0(%rax,%rax,1)
L71:
  mov    0x20(%rsp),%rax
  mov    0x18(%rsp),%r12
  add    $0x60,%rax
  mov    %rax,0x18(%rsp)
  jmp    L69
  nopl   (%rax)
L43:
  mov    %r13d,%ebx
  mov    %r15d,%r9d
  mov    %r14d,%r13d
L69:
  mov    0x34(%r12),%edi
  mov    $0x1,%esi
  xor    0x20(%r12),%edi
  mov    %r9d,0xc(%rsp)
  xor    0x8(%r12),%edi
  xor    (%r12),%edi
  mov    %r8d,0x10(%rsp)
  add    $0x4,%r12
  call   <rol@plt>
  mov    0xc(%rsp),%edi
  mov    $0x5,%esi
  mov    %eax,0x3c(%r12)
  call   <rol@plt>
  mov    0x10(%rsp),%r8d
  mov    $0x1e,%esi
  mov    %eax,%r10d
  mov    %r8d,%eax
  mov    %r8d,%edi
  xor    %r13d,%eax
  xor    %ebx,%eax
  lea    0x6ed9eba1(%rax,%r10,1),%r15d
  add    0x3c(%r12),%r15d
  call   <rol@plt>
  mov    0xc(%rsp),%r9d
  add    %ebp,%r15d
  mov    %ebx,%ebp
  mov    %eax,%r14d
  mov    %r9d,%r8d
  cmp    %r12,0x18(%rsp)
  jne    L43
  mov    0x20(%rsp),%rax
  mov    0x18(%rsp),%r12
  add    $0xb0,%rax
  mov    %rax,0x10(%rsp)
  jmp    L67
  nopl   0x0(%rax,%rax,1)
L80:
  mov    %r14d,%r13d
  mov    %ebp,%r15d
  mov    %edx,%r14d
L67:
  mov    0x34(%r12),%edi
  mov    $0x1,%esi
  xor    0x20(%r12),%edi
  mov    %r14d,%ebp
  xor    0x8(%r12),%edi
  xor    (%r12),%edi
  mov    %r9d,0xc(%rsp)
  or     %r13d,%ebp
  call   <rol@plt>
  mov    $0x5,%esi
  mov    %r15d,%edi
  add    $0x4,%r12
  mov    %eax,0x3c(%r12)
  call   <rol@plt>
  mov    0xc(%rsp),%r9d
  mov    %r14d,%esi
  and    %r13d,%esi
  and    %r9d,%ebp
  mov    %r9d,%edi
  or     %esi,%ebp
  mov    0x3c(%r12),%esi
  lea    -0x70e44324(%rsi,%rax,1),%eax
  mov    $0x1e,%esi
  add    %eax,%ebp
  call   <rol@plt>
  add    %ebx,%ebp
  mov    %r15d,%r9d
  mov    %r13d,%ebx
  mov    %eax,%edx
  cmp    %r12,0x10(%rsp)
  jne    L80
  mov    0x20(%rsp),%rax
  mov    0x10(%rsp),%r12
  add    $0x100,%rax
  mov    %rax,0x10(%rsp)
  jmp    L56
  cs nopw 0x0(%rax,%rax,1)
L27:
  mov    %edx,%r14d
  mov    %ebx,%ebp
  mov    %eax,%edx
L56:
  mov    0x34(%r12),%edi
  mov    $0x1,%esi
  mov    %edx,0xc(%rsp)
  add    $0x4,%r12
  xor    0x1c(%r12),%edi
  xor    0x4(%r12),%edi
  xor    -0x4(%r12),%edi
  call   <rol@plt>
  mov    $0x5,%esi
  mov    %ebp,%edi
  mov    %eax,0x3c(%r12)
  call   <rol@plt>
  mov    0xc(%rsp),%edx
  mov    %r15d,%edi
  mov    $0x1e,%esi
  mov    %eax,%r9d
  mov    %r15d,%eax
  mov    %ebp,%r15d
  xor    %edx,%eax
  xor    %r14d,%eax
  lea    -0x359d3e2a(%rax,%r9,1),%ebx
  add    0x3c(%r12),%ebx
  call   <rol@plt>
  add    %r13d,%ebx
  cmp    %r12,0x10(%rsp)
  mov    %r14d,%r13d
  mov    0xc(%rsp),%edx
  jne    L27
  mov    0x28(%rsp),%rcx
  add    %ebx,(%rcx)
  add    %ebp,0x4(%rcx)
  add    %eax,0x8(%rcx)
  add    %edx,0xc(%rcx)
  add    %r14d,0x10(%rcx)
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void innerHash(unsigned int *result, unsigned int *w) {
  unsigned int a = result[0];
  unsigned int b = result[1];
  unsigned int c = result[2];
  unsigned int d = result[3];
  unsigned int e = result[4];
  int round = 0;
  while (round < 16) {
    {
      const unsigned int t = rol(a, 5) + ((b & c) | (~b & d)) + e + 0x5a827999 + w[round];
      e = d;
      d = c;
      c = rol(b, 30);
      b = a;
      a = t;
    }
    ++round;
  }
  while (round < 20) {
    w[round] = rol((w[round - 3] ^ w[round - 8] ^ w[round - 14] ^ w[round - 16]), 1);
    {
      const unsigned int t = rol(a, 5) + ((b & c) | (~b & d)) + e + 0x5a827999 + w[round];
      e = d;
      d = c;
      c = rol(b, 30);
      b = a;
      a = t;
    }
    ++round;
  }
  while (round < 40) {
    w[round] = rol((w[round - 3] ^ w[round - 8] ^ w[round - 14] ^ w[round - 16]), 1);
    {
      const unsigned int t = rol(a, 5) + (b ^ c ^ d) + e + 0x6ed9eba1 + w[round];
      e = d;
      d = c;
      c = rol(b, 30);
      b = a;
      a = t;
    }
    ++round;
  }
  while (round < 60) {
    w[round] = rol((w[round - 3] ^ w[round - 8] ^ w[round - 14] ^ w[round - 16]), 1);
    {
      const unsigned int t = rol(a, 5) + ((b & c) | (b & d) | (c & d)) + e + 0x8f1bbcdc + w[round];
      e = d;
      d = c;
      c = rol(b, 30);
      b = a;
      a = t;
    }
    ++round;
  }
  while (round < 80) {
    w[round] = rol((w[round - 3] ^ w[round - 8] ^ w[round - 14] ^ w[round - 16]), 1);
    {
      const unsigned int t = rol(a, 5) + (b ^ c ^ d) + e + 0xca62c1d6 + w[round];
      e = d;
      d = c;
      c = rol(b, 30);
      b = a;
      a = t;
    }
    ++round;
  }
  result[0] += a;
  result[1] += b;
  result[2] += c;
  result[3] += d;
  result[4] += e;
}
```