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

```asm
<qpcomb_y>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x24(%rbp)
  movl   $0x0,-0x4(%rbp)
  movl   $0x4,-0xc(%rbp)
  jmp    L14
L30:
  movl   $0x0,-0x8(%rbp)
  jmp    L8
L20:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x8(%rbp),%eax
  sub    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%esi
  lea    0x0(,%rax,4),%ecx
  mov    %esi,%eax
  sub    %ecx,%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x8(%rbp),%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%edx
  mov    -0x8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %edx,%esi
  sub    %eax,%esi
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x8(%rbp),%eax
  sub    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  lea    0x0(,%rax,4),%ecx
  mov    %edi,%eax
  sub    %ecx,%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x8(%rbp),%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%edx
  mov    -0x8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  sar    $0x1f,%eax
  xor    %eax,%esi
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x8(%rbp),%eax
  sub    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  lea    0x0(,%rax,4),%ecx
  mov    %edi,%eax
  sub    %ecx,%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x8(%rbp),%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%edx
  mov    -0x8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  shr    $0x1f,%eax
  add    %esi,%eax
  add    %eax,-0x4(%rbp)
  addl   $0x1,-0x8(%rbp)
L8:
  cmpl   $0x7,-0x8(%rbp)
  jle    L20
  mov    -0x24(%rbp),%eax
  cltq
  add    %rax,-0x18(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  add    %rax,-0x20(%rbp)
  subl   $0x1,-0xc(%rbp)
L14:
  cmpl   $0x0,-0xc(%rbp)
  jne    L30
  mov    -0x4(%rbp),%eax
  pop    %rbp
  ret
```

assistant: ```c
int qpcomb_y(unsigned char *a, unsigned char *b, int s) {
  int i, j, diff = 0;
  for (i = 4; i; i--) {
    for (j = 0; j < 8; j++)
      diff += (((a[j] - 3 * b[j - s] + 3 * a[j + s] - b[j]) ^ ((a[j] - 3 * b[j - s] + 3 * a[j + s] - b[j]) >> 31)) - ((a[j] - 3 * b[j - s] + 3 * a[j + s] - b[j]) >> 31));
    a += s;
    b += s;
  }
  return diff;
}
```