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

```asm
<find_lf>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  cmp    %rsi,%rdi
  jbe    L107
L133:
  lea    -0x44(%rbp),%r13
  cmp    %r13,%rbx
  ja     L50
  movabs $0xa0a0a0a0a0a0a0a,%r12
  jmp    L39
  nopl   0x0(%rax)
L45:
  mov    0x8(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L263
  mov    0x10(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L71
  mov    0x18(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L75
  mov    0x20(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L213
  mov    0x28(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L200
  mov    0x30(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L161
  mov    0x38(%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  jne    L183
  add    $0x40,%rbx
  cmp    %rbx,%r13
  jb     L50
L39:
  mov    (%rbx),%rdi
  xor    %r12,%rdi
  call   <has_zero64@plt>
  test   %rax,%rax
  je     L45
L50:
  mov    %rbx,%r12
L90:
  mov    (%r12),%edi
  xor    $0xa0a0a0a,%edi
  call   <has_zero32@plt>
  mov    %rax,%r8
  lea    0x4(%r12),%rax
  test   %r8,%r8
  cmove  %rax,%r12
  cmp    %r12,%rbp
  ja     L208
  jmp    L89
  nopl   0x0(%rax,%rax,1)
L180:
  add    $0x1,%r12
  cmp    %r12,%rbp
  je     L89
L208:
  cmpb   $0xa,(%r12)
  jne    L180
L89:
  add    $0x8,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L164:
  cmpb   $0xa,(%rbx)
  je     L60
  add    $0x1,%rbx
L107:
  test   $0x3,%bl
  jne    L164
L60:
  test   $0x4,%bl
  je     L133
  mov    (%rbx),%edi
  xor    $0xa0a0a0a,%edi
  call   <has_zero32@plt>
  mov    %rax,%r8
  lea    0x4(%rbx),%rax
  test   %r8,%r8
  cmove  %rax,%rbx
  jmp    L133
  nopw   0x0(%rax,%rax,1)
L263:
  lea    0x8(%rbx),%r12
  jmp    L90
  nopl   0x0(%rax)
L71:
  lea    0x10(%rbx),%r12
  jmp    L90
  nopl   0x0(%rax)
L75:
  lea    0x18(%rbx),%r12
  jmp    L90
  nopl   0x0(%rax)
L213:
  lea    0x20(%rbx),%r12
  jmp    L90
  nopl   0x0(%rax)
L200:
  lea    0x28(%rbx),%r12
  jmp    L90
  nopl   0x0(%rax)
L161:
  lea    0x30(%rbx),%r12
  jmp    L90
  nopl   0x0(%rax)
L183:
  lea    0x38(%rbx),%r12
  jmp    L90
```

assistant: ```c
char *find_lf(char *next, char *end) {
  if (sizeof(long) == 4) {
    while (next < end && (((unsigned long)next) & 3) && *next != '\n')
      next++;
    while (next < end) {
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
      if (has_zero32(*(unsigned int *)next ^ 0x0A0A0A0A))
        break;
      next += 4;
    }
  } else {
    if (next <= end) {
      while ((((unsigned long)next) & 3) && *next != '\n')
        next++;
      if ((((unsigned long)next) & 4) && !has_zero32(*(unsigned int *)next ^ 0x0A0A0A0AU))
        next += 4;
    }
    while (next <= (end - 68)) {
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
      if (has_zero64(*(unsigned long long *)next ^ 0x0A0A0A0A0A0A0A0AULL))
        break;
      next += 8;
    }
    if (!has_zero32(*(unsigned int *)next ^ 0x0A0A0A0AU))
      next += 4;
  }
  while (next < end) {
    if (*next == '\n')
      break;
    next++;
  }
  return next;
}
```