user: What would the C source look like for the assembly code provided here?

```asm
<detecteMenuOption>:
  endbr64
  push   %r15
  xor    %eax,%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  call   <adirisseSouris@plt>
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <ordonneeSouris@plt>
  mov    %eax,%r13d
  xor    %eax,%eax
  call   <largeurFenetre@plt>
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <hauteurFenetre@plt>
  lea    (%r15,%r15,4),%r10d
  mov    %r15d,%esi
  movslq %r10d,%r8
  lea    0x0(,%rax,8),%r11d
  mov    %eax,%ebp
  sar    $0x1f,%esi
  imul   $0x2aaaaaab,%r8,%r8
  sub    %eax,%r11d
  mov    %r10d,%eax
  mov    %esi,(%rsp)
  sar    $0x1f,%eax
  lea    0x0(%rbp,%rbp,2),%edx
  movslq %r11d,%rbx
  sar    $0x1f,%r11d
  imul   $0x66666667,%rbx,%rbx
  mov    %r11d,0xc(%rsp)
  sar    $0x21,%r8
  mov    %r10d,0x14(%rsp)
  sub    %eax,%r8d
  movslq %edx,%rax
  sar    $0x1f,%edx
  imul   $0x66666667,%rax,%rax
  mov    %rbx,%r14
  sar    $0x22,%rbx
  mov    %r8d,0x8(%rsp)
  sub    %r11d,%ebx
  shr    $0x20,%r14
  mov    %ebx,%r9d
  sar    $0x21,%rax
  sub    %edx,%eax
  mov    %eax,%ecx
  movslq %r15d,%rax
  imul   $0x2aaaaaab,%rax,%rax
  mov    %ecx,0x10(%rsp)
  mov    %rax,%rdi
  sar    $0x21,%rax
  sub    %esi,%eax
  shr    $0x20,%rdi
  mov    %r13d,%esi
  mov    %rdi,0x18(%rsp)
  mov    %eax,%edx
  mov    %r12d,%edi
  mov    %eax,0x4(%rsp)
  call   <estDansRectangle@plt>
  mov    %rax,%r9
  mov    $0x1,%eax
  test   %r9,%r9
  je     L10
L28:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L10:
  test   %ebp,%ebp
  lea    0x3(%rbp),%eax
  mov    0xc(%rsp),%r11d
  mov    0x8(%rsp),%r8d
  cmovns %ebp,%eax
  sar    $0x3,%r14d
  mov    0x4(%rsp),%edx
  mov    %r13d,%esi
  sub    %r11d,%r14d
  mov    %r12d,%edi
  sar    $0x2,%eax
  mov    %r14d,%ecx
  mov    %eax,%r9d
  mov    %eax,0xc(%rsp)
  call   <estDansRectangle@plt>
  mov    %rax,%r8
  mov    $0x3,%eax
  test   %r8,%r8
  jne    L28
  mov    0x14(%rsp),%r10d
  mov    0x10(%rsp),%ecx
  mov    %ebx,%r9d
  mov    %r13d,%esi
  mov    %r12d,%edi
  lea    (%r15,%r10,2),%eax
  movslq %eax,%r8
  sar    $0x1f,%eax
  imul   $0x2aaaaaab,%r8,%r8
  sar    $0x21,%r8
  sub    %eax,%r8d
  lea    0x0(,%r15,8),%eax
  sub    %r15d,%eax
  mov    %r8d,0x8(%rsp)
  movslq %eax,%rdx
  sar    $0x1f,%eax
  imul   $0x2aaaaaab,%rdx,%rdx
  sar    $0x21,%rdx
  sub    %eax,%edx
  mov    %edx,0x4(%rsp)
  call   <estDansRectangle@plt>
  mov    %rax,%r9
  mov    $0x2,%eax
  test   %r9,%r9
  jne    L28
  mov    0x8(%rsp),%r8d
  mov    0xc(%rsp),%r9d
  mov    %r14d,%ecx
  mov    %r13d,%esi
  mov    0x4(%rsp),%edx
  mov    %r12d,%edi
  call   <estDansRectangle@plt>
  mov    %rax,%r8
  mov    $0x4,%eax
  test   %r8,%r8
  jne    L28
  movslq %ebp,%r9
  sar    $0x1f,%ebp
  mov    0x18(%rsp),%r8d
  xor    %ecx,%ecx
  imul   $0x66666667,%r9,%r9
  sub    (%rsp),%r8d
  xor    %edx,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  sar    $0x22,%r9
  sub    %ebp,%r9d
  call   <estDansRectangle@plt>
  neg    %rax
  sbb    %eax,%eax
  add    $0x28,%rsp
  pop    %rbx
  and    $0x5,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int detecteMenuOption(void) {
  int abs = adirisseSouris();
  int ord = ordonneeSouris();
  int L = largeurFenetre();
  int H = hauteurFenetre();
  if (estDansRectangle(abs, ord, L / 12, H * 3 / 5, L * 5 / 12, H * 7 / 10)) {
    return 1;
  }
  if (estDansRectangle(abs, ord, L / 12, H * 7 / 20, L * 5 / 12, H / 4)) {
    return 3;
  }
  if (estDansRectangle(abs, ord, L * 7 / 12, H * 3 / 5, L * 11 / 12, H * 7 / 10)) {
    return 2;
  }
  if (estDansRectangle(abs, ord, L * 7 / 12, H * 7 / 20, L * 11 / 12, H / 4)) {
    return 4;
  }
  if (estDansRectangle(abs, ord, 0, 0, L / 6, H / 10)) {
    return 5;
  }
  return 0;
}
```