user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<sha1_process_part1>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %ecx,-0x2c(%rbp)
  mov    %r8,-0x38(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L78
L16:
  movl   $0x18,-0x4(%rbp)
  jmp    L56
L28:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%esi
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    -0x4(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  add    %esi,%edx
  mov    %edx,(%rax)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  subl   $0x8,-0x4(%rbp)
L56:
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x2c(%rbp)
  jle    L76
  cmpl   $0x0,-0x4(%rbp)
  jns    L28
  jmp    L76
L4:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%esi
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  sub    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x4(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  add    %esi,%edx
  mov    %edx,(%rax)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  subl   $0x8,-0x4(%rbp)
L76:
  cmpl   $0x0,-0x4(%rbp)
  jns    L4
  addl   $0x1,-0x8(%rbp)
L78:
  cmpl   $0xf,-0x8(%rbp)
  jle    L16
  movl   $0x10,-0x8(%rbp)
  jmp    L52
L0:
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0xc(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x20(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  xor    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x38(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  xor    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x40(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  xor    %edx,%eax
  lea    (%rax,%rax,1),%ecx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0xc(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x20(%rax),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%eax
  xor    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x38(%rax),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%eax
  xor    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x40(%rax),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%eax
  xor    %edx,%eax
  cltd
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  or     %ecx,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x8(%rbp)
L52:
  cmpl   $0x4f,-0x8(%rbp)
  jle    L0
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void sha1_process_part1(uint32_t *w, const char *message, uint32_t *pos, uint32_t mes_len, const unsigned char *mes_bkp) {
  uint32_t i;
  for (i = 0; i <= 15; i++) {
    int32_t count = 24;
    while (*pos < mes_len && count >= 0) {
      w[i] += (((uint32_t)message[*pos]) << count);
      (*pos)++;
      count -= 8;
    }
    while (count >= 0) {
      w[i] += (((uint32_t)mes_bkp[*pos - mes_len]) << count);
      (*pos)++;
      count -= 8;
    }
  }
  for (i = 16; i <= 79; i++) {
    w[i] = ((((w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16])) << (1)) | (((w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16])) >> (32 - (1))));
  }
}
```