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

```asm
<f22>:
  endbr64
  mov    %edi,%eax
  and    $0xf0000000,%eax
  cmp    $0x70000000,%eax
  je     L145
  mov    %edi,%eax
  and    $0xdf,%ah
  sub    $0x1cbf,%eax
  cmp    $0x1,%eax
  jbe    L92
  test   $0xffffffdf,%edi
  je     L92
  lea    -0x1fff(%rdi),%eax
  cmp    $0x1,%eax
  jbe    L92
  test   %edi,%edi
  jns    L239
  cmp    $0xffffffc1,%edi
  jge    L263
  cmp    $0xc0000002,%edi
  jge    L312
  cmp    $0xbfffffff,%edi
  jge    L92
  cmp    $0xa030ffff,%edi
  je     L92
  cmp    $0xa0310000,%edi
  jl     L76
  cmp    $0xbfbf0000,%edi
  je     L15
  nopl   0x0(%rax)
L260:
  lea    0x41(%rdi),%eax
  cmp    $0x1,%eax
  ja     L166
L92:
  ret
  nopl   (%rax)
L145:
  cmp    $0x70000000,%edi
  je     L92
  cmp    $0x7fffffff,%edi
  je     L92
L31:
  xor    %eax,%eax
  jmp    1050 <abort@plt>
  nop
L239:
  cmp    $0x3f,%edi
  jg     L116
  test   %edi,%edi
  je     L260
  movabs $0x8000000001000026,%rax
  bt     %rdi,%rax
  jae    L260
  ret
  nopw   0x0(%rax,%rax,1)
L116:
  cmp    $0x60000002,%edi
  je     L92
  jle    L250
  cmp    $0x6fffffff,%edi
  jne    L260
  ret
  nopw   0x0(%rax,%rax,1)
L76:
  cmp    $0x80000000,%edi
  je     L92
  lea    0x70000001(%rdi),%eax
  cmp    $0x1,%eax
  jbe    L22
L225:
  lea    0x41(%rdi),%eax
  cmp    $0x1,%eax
  jbe    L92
  cmp    $0x80000005,%edi
  je     L92
  cmp    $0xffffe003,%edi
  je     L92
  cmp    $0xffffdfc6,%edi
  je     L92
  nopl   0x0(%rax,%rax,1)
L166:
  lea    0x2040(%rdi),%eax
  and    $0xffffffbe,%eax
  je     L92
  mov    %edi,%eax
  and    $0xffffffbf,%eax
  cmp    $0xffffdfbf,%eax
  je     L92
  cmp    $0x80000008,%edi
  jne    L31
  ret
  nopl   0x0(%rax)
L250:
  lea    -0x1fffffff(%rdi),%eax
  cmp    $0x1,%eax
  ja     L260
  ret
  nopl   0x0(%rax,%rax,1)
L312:
  cmp    $0xffffc340,%edi
  je     L92
  cmp    $0xffffc341,%edi
  jl     L287
  cmp    $0xffffc342,%edi
  jne    L225
  ret
  nopl   0x0(%rax)
L263:
  movabs $0x4401000080000001,%rdx
  lea    0x3f(%rdi),%eax
  bt     %rax,%rdx
  jae    L260
  ret
L287:
  lea    0x10000001(%rdi),%eax
  cmp    $0x1,%eax
  ja     L260
  ret
L22:
  ret
  nopl   0x0(%rax)
L15:
  ret
```

assistant: ```c
void f22(int s) {
  if ((s & (-0x1000 << ((sizeof(int) - sizeof(short)) * 8))) != (0x7000 << ((sizeof(int) - sizeof(short)) * 8))) {
    if (s == 0 || s == 0x1cbf || s == 0x1cc0 || s == 0x1fff || s == 0x2000 || s == 0x20 || s == 0x3cbf || s == 0x3cc0 || s == 0x3f || s == (-0x4000 << ((sizeof(int) - sizeof(short)) * 8)) - 1 || s == (-0x1000 << ((sizeof(int) - sizeof(short)) * 8)) - 1 || s == (-0x7000 << ((sizeof(int) - sizeof(short)) * 8)) - 1 || s == (-0x5fcf << ((sizeof(int) - sizeof(short)) * 8)) - 1 || s == (-0x4041 << ((sizeof(int) - sizeof(short)) * 8)) || s == (-0x4000 << ((sizeof(int) - sizeof(short)) * 8)) || s == (-0x1000 << ((sizeof(int) - sizeof(short)) * 8)) || s == (-0x7000 << ((sizeof(int) - sizeof(short)) * 8)) || s == (-0x4000 << ((sizeof(int) - sizeof(short)) * 8)) + 1 || s == 1 || s == -1 || s == -15 || s == -15550 || s == -15552 || s == (0x7000 << ((sizeof(int) - sizeof(short)) * 8)) - 1 || s == (1 << ((sizeof(int) * 8 - 1) - 2)) || s == (1 << ((sizeof(int) * 8 - 1) - 2)) - 1 || s == -0x7fffffff - 1 || s == 2 || s == 24 || s == -32 || s == (3 << ((sizeof(int) * 8 - 1) - 2)) + 2 || s == 5 || s == -5 || s == -63 || s == -64 || s == -65 || s == -0x7fffffff + 4 || s == -8189 || s == -8191 || s == -8192 || s == -8193 || s == -8250 || s == -8255 || s == -8256 || s == -8257 || s == -0x7fffffff + 7)
      return;
  } else {
    if (s == (0x7000 << ((sizeof(int) - sizeof(short)) * 8)) || s == 0x7fffffff)
      return;
  }
  abort();
}
```