user: 请从给定的汇编指令推导出C源代码：

```asm
<collisions_found>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %esi,-0x38(%rbp)
  mov    %rdx,-0x40(%rbp)
  mov    %rcx,-0x48(%rbp)
  movl   $0x1,-0x28(%rbp)
  cmpl   $0x1,-0x38(%rbp)
  jg     L5
  mov    $0x0,%eax
  jmp    L45
L68:
  shll   -0x28(%rbp)
L5:
  mov    -0x28(%rbp),%eax
  cmp    %eax,-0x38(%rbp)
  jge    L68
  mov    -0x38(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x28(%rbp),%eax
  cmp    %eax,%edx
  setge  %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x28(%rbp),%eax
  add    $0x3f,%eax
  mov    %eax,%eax
  shl    $0x2,%rax
  shr    $0x6,%rax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0x2c(%rbp)
  jmp    L26
L76:
  mov    -0x34(%rbp),%eax
  and    $0xf4000000,%eax
  test   %eax,%eax
  je     L74
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  jmp    L37
L74:
  mov    $0x0,%edx
L37:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x40(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x34(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <eval_hash_func@plt>
  mov    %eax,-0x1c(%rbp)
  movl   $0x0,-0x24(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x20(%rbp)
L11:
  mov    -0x24(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0x1(%rax),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x24(%rbp)
  sarl   $0x5,-0x20(%rbp)
  mov    -0x28(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x24(%rbp),%eax
  and    %edx,%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x18(%rbp),%eax
  and    $0x3f,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x18(%rbp),%eax
  shr    $0x6,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  and    -0x14(%rbp),%eax
  test   %eax,%eax
  je     L98
  mov    -0x18(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x1c(%rbp)
  jne    L11
  mov    $0x1,%eax
  jmp    L45
L98:
  mov    -0x18(%rbp),%eax
  shr    $0x6,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  lea    0x0(,%rax,4),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  mov    %edx,%edx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  or     -0x14(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x18(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  mov    %eax,(%rdx)
  nop
  addl   $0x1,-0x2c(%rbp)
L26:
  mov    -0x2c(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L76
  mov    $0x0,%eax
L45:
  leave
  ret
```

assistant: ```c
int collisions_found(uint32_t func, int n, const char *strings[], void *mem) {
  int i;
  unsigned bucket_count = 1;
  if (n < 2)
    return 0;
  while ((int)bucket_count <= n)
    bucket_count *= 2;
  assert((int)bucket_count <= n * 2);
  uint32_t *const buckets = mem;
  uint64_t *const bitmap = (void *)(buckets + bucket_count);
  memset(bitmap, 0, (sizeof(uint64_t) * ((bucket_count) + 63) / 64));
  for (i = 0; i < n; i++) {
    uint32_t hash = eval_hash_func(func, strings[i], (0xf4000000 & func) ? strlen(strings[i]) : 0);
    uint32_t j = 0;
    uint32_t perturb = hash;
    while (1) {
      j = j * 5 + 1 + perturb;
      perturb >>= 5;
      unsigned index = j & (bucket_count - 1);
      uint64_t mask = (uint64_t)1 << (index & 63);
      if (bitmap[index / 64] & mask) {
        if (buckets[index] == hash)
          return 1;
      } else {
        bitmap[index / 64] |= mask;
        buckets[index] = hash;
        break;
      }
    }
  }
  return 0;
}
```