#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ header(char *);
scalar_t__ linux_kernel_version(int, int, int);
void show_capabilities(void) {
  int ret;
  header("capabilities(linux)");
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  ;
  if ((linux_kernel_version(2, 4, -1))) {
    ;
    ;
  }
  if ((linux_kernel_version(2, 6, 11))) {
    ;
    ;
  }
  if ((linux_kernel_version(2, 6, 24)))
    ;
  if ((linux_kernel_version(2, 6, 25))) {
    ;
    ;
  }
}


x86 assembly (clang, -O0):
<show_capabilities>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xed1(%rip),%rdi
call   1030 <header@plt>
mov    $0x2,%edi
mov    $0x4,%esi
mov    $0xffffffff,%edx
call   1040 <linux_kernel_version@plt>
cmp    $0x0,%rax
je     1157 <show_capabilities+0x37>
jmp    1157 <show_capabilities+0x37>
mov    $0x2,%edi
mov    $0x6,%esi
mov    $0xb,%edx
call   1040 <linux_kernel_version@plt>
cmp    $0x0,%rax
je     117a <show_capabilities+0x5a>
jmp    117a <show_capabilities+0x5a>
mov    $0x2,%edi
mov    $0x6,%esi
mov    $0x18,%edx
call   1040 <linux_kernel_version@plt>
cmp    $0x0,%rax
je     119d <show_capabilities+0x7d>
jmp    119d <show_capabilities+0x7d>
mov    $0x2,%edi
mov    $0x6,%esi
mov    $0x19,%edx
call   1040 <linux_kernel_version@plt>
cmp    $0x0,%rax
je     11c0 <show_capabilities+0xa0>
jmp    11c0 <show_capabilities+0xa0>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_capabilities>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <header@plt>
mov    $0x2,%edi
mov    $0x4,%esi
mov    $0xffffffff,%edx
call   1040 <linux_kernel_version@plt>
mov    $0x2,%edi
mov    $0x6,%esi
mov    $0xb,%edx
call   1040 <linux_kernel_version@plt>
mov    $0x2,%edi
mov    $0x6,%esi
mov    $0x18,%edx
call   1040 <linux_kernel_version@plt>
mov    $0x2,%edi
mov    $0x6,%esi
mov    $0x19,%edx
pop    %rax
jmp    1040 <linux_kernel_version@plt>

LLVM IR (-O0):
@.str = [20 x i8] c"capabilities(linux)\00"
define void @show_capabilities() {
%1 = alloca i32
%2 = call i32 @header(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%3 = call i64 @linux_kernel_version(i32 2, i32 4, i32 -1)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
br label %6
6: ; preds = %5, %0
%7 = call i64 @linux_kernel_version(i32 2, i32 6, i32 11)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %6
br label %10
10: ; preds = %9, %6
%11 = call i64 @linux_kernel_version(i32 2, i32 6, i32 24)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
br label %14
14: ; preds = %13, %10
%15 = call i64 @linux_kernel_version(i32 2, i32 6, i32 25)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14
br label %18
18: ; preds = %17, %14
ret void
}

LLVM IR (-O2):
@.str = [20 x i8] c"capabilities(linux)\00"
define void @show_capabilities() {
%1 = tail call i32 @header(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%2 = tail call i64 @linux_kernel_version(i32 2, i32 4, i32 -1)
%3 = tail call i64 @linux_kernel_version(i32 2, i32 6, i32 11)
%4 = tail call i64 @linux_kernel_version(i32 2, i32 6, i32 24)
%5 = tail call i64 @linux_kernel_version(i32 2, i32 6, i32 25)
ret void
}