user: Translate the below assembly code into C programming language:

```asm
<find>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  movsbl (%rdi),%eax
  test   %al,%al
  je     L92
  lea    0x1(%rdi),%rdx
  xor    %ecx,%ecx
  nopl   0x0(%rax,%rax,1)
L62:
  add    $0x1,%rdx
  add    %eax,%ecx
  movsbl -0x1(%rdx),%eax
  test   %al,%al
  jne    L62
  movslq %ecx,%rbp
  mov    %ecx,%eax
  lea    D15(%rip),%rsi
  imul   $0x66666667,%rbp,%rbp
  sar    $0x1f,%eax
  lea    D23(%rip),%rdi
  sar    $0x22,%rbp
  sub    %eax,%ebp
  lea    0x0(%rbp,%rbp,4),%eax
  add    %eax,%eax
  sub    %eax,%ecx
  movslq %ecx,%rbx
  call   <fopen@plt>
  imul   $0x2e,%rbx,%rsi
  xor    %edx,%edx
  mov    %rax,%rdi
  mov    %rax,%r12
  call   <fseek@plt>
  cmp    $0xffffffff,%ebx
  je     L47
L13:
  lea    0x30(%rsp),%rax
  mov    %rax,0x10(%rsp)
  lea    0x24(%rsp),%rax
  mov    %rax,0x18(%rsp)
L19:
  lea    (%rbx,%rbx,8),%rax
  xor    %edx,%edx
  mov    %r12,%rdi
  lea    (%rbx,%rax,4),%rsi
  shl    $0x2,%rsi
  call   <fseek@plt>
  mov    0x18(%rsp),%rdx
  mov    %r12,%rdi
  xor    %eax,%eax
  mov    0x10(%rsp),%rcx
  lea    D2(%rip),%rsi
  call   <fscanf@plt>
  mov    0x24(%rsp),%edx
  test   %edx,%edx
  jle    L43
  xor    %ebx,%ebx
  lea    0x2c(%rsp),%r15
  lea    0x40(%rsp),%r14
  lea    0x36(%rsp),%rbp
  lea    0x28(%rsp),%r13
  jmp    L28
  nopl   0x0(%rax)
L48:
  add    $0x1,%ebx
  cmp    %ebx,0x24(%rsp)
  jle    L43
L28:
  mov    %r12,%rdi
  call   <ftell@plt>
  mov    %r15,%r9
  mov    %r14,%r8
  mov    %rbp,%rcx
  mov    %eax,0x4(%rsp)
  mov    %r13,%rdx
  lea    D5(%rip),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <fscanf@plt>
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  jne    L48
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L48
  mov    0x4(%rsp),%esi
  xor    %edx,%edx
  mov    %r12,%rdi
  add    $0x2,%esi
  movslq %esi,%rsi
  call   <fseek@plt>
L85:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L50
  add    $0x68,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L43:
  movslq 0x30(%rsp),%rbx
  cmp    $0xffffffff,%ebx
  jne    L19
L47:
  mov    %r12,%rdi
  xor    %r12d,%r12d
  call   <fclose@plt>
  jmp    L85
L92:
  lea    D15(%rip),%rsi
  lea    D23(%rip),%rdi
  xor    %ebx,%ebx
  call   <fopen@plt>
  xor    %edx,%edx
  xor    %esi,%esi
  mov    %rax,%rdi
  mov    %rax,%r12
  call   <fseek@plt>
  jmp    L13
L50:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D15
type: string
name: disassemble_data
arguments: label: D23
type: string
name: disassemble_data
arguments: label: D2
type: string
name: disassemble_data
arguments: label: D5
type: string

tool: D15: r+

tool: D23: ../create/emp

tool: D2: %d%d

tool: D5: %d%s%s%f

assistant: ```c
FILE *find(char *key) {
  FILE *fp;
  int x, h, nrec, i, j;
  long off, offr;
  int del;
  char ssn[10], name[21];
  float sal;
  int ovptr;
  for (i = x = 0; key[i] != 0; i++) {
    x = x + key[i];
  }
  h = x % 10;
  off = h * (44 + 2L);
  fp = fopen("../create/emp", "r+");
  fseek(fp, off, 0);
  for (i = h; i != -1; i = ovptr) {
    off = i * (10L + 3 * (3 + 10 + 21 + 10 + 2));
    fseek(fp, off, 0);
    fscanf(fp, "%d%d", &nrec, &ovptr);
    for (j = 0; j < nrec; j++) {
      offr = ftell(fp) + 2;
      fscanf(fp, "%d%s%s%f", &del, ssn, name, &sal);
      if ((del == 0) && (strcmp(ssn, key) == 0)) {
        fseek(fp, offr, 0);
        return fp;
      }
    }
  }
  fclose(fp);
  return 0;
}
```