#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 EXIT_SUCCESS;
int /*<<< orphan*/ _SC_LEVEL1_DCACHE_ASSOC;
int /*<<< orphan*/ _SC_LEVEL1_DCACHE_LINESIZE;
int /*<<< orphan*/ _SC_LEVEL1_DCACHE_SIZE;
int /*<<< orphan*/ _SC_LEVEL1_ICACHE_ASSOC;
int /*<<< orphan*/ _SC_LEVEL1_ICACHE_LINESIZE;
int /*<<< orphan*/ _SC_LEVEL1_ICACHE_SIZE;
int /*<<< orphan*/ _SC_LEVEL2_CACHE_ASSOC;
int /*<<< orphan*/ _SC_LEVEL2_CACHE_LINESIZE;
int /*<<< orphan*/ _SC_LEVEL2_CACHE_SIZE;
int /*<<< orphan*/ _SC_LEVEL3_CACHE_ASSOC;
int /*<<< orphan*/ _SC_LEVEL3_CACHE_LINESIZE;
int /*<<< orphan*/ _SC_LEVEL3_CACHE_SIZE;
int /*<<< orphan*/ _SC_LEVEL4_CACHE_ASSOC;
int /*<<< orphan*/ _SC_LEVEL4_CACHE_LINESIZE;
int /*<<< orphan*/ _SC_LEVEL4_CACHE_SIZE;
int /*<<< orphan*/ _SC_NPROCESSORS_CONF;
int /*<<< orphan*/ _SC_NPROCESSORS_ONLN;
int /*<<< orphan*/ printf(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ sysconf(int /*<<< orphan*/);
int main(void) {
  printf("_SC_%-23s = %ld\n", "NPROCESSORS_ONLN",
         sysconf(_SC_NPROCESSORS_ONLN));
  printf("_SC_%-23s = %ld\n", "NPROCESSORS_CONF",
         sysconf(_SC_NPROCESSORS_CONF));
  printf("_SC_%-23s = %ld\n", "LEVEL1_ICACHE_SIZE",
         sysconf(_SC_LEVEL1_ICACHE_SIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL1_ICACHE_ASSOC",
         sysconf(_SC_LEVEL1_ICACHE_ASSOC));
  printf("_SC_%-23s = %ld\n", "LEVEL1_ICACHE_LINESIZE",
         sysconf(_SC_LEVEL1_ICACHE_LINESIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL1_DCACHE_SIZE",
         sysconf(_SC_LEVEL1_DCACHE_SIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL1_DCACHE_ASSOC",
         sysconf(_SC_LEVEL1_DCACHE_ASSOC));
  printf("_SC_%-23s = %ld\n", "LEVEL1_DCACHE_LINESIZE",
         sysconf(_SC_LEVEL1_DCACHE_LINESIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL2_CACHE_SIZE",
         sysconf(_SC_LEVEL2_CACHE_SIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL2_CACHE_ASSOC",
         sysconf(_SC_LEVEL2_CACHE_ASSOC));
  printf("_SC_%-23s = %ld\n", "LEVEL2_CACHE_LINESIZE",
         sysconf(_SC_LEVEL2_CACHE_LINESIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL3_CACHE_SIZE",
         sysconf(_SC_LEVEL3_CACHE_SIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL3_CACHE_ASSOC",
         sysconf(_SC_LEVEL3_CACHE_ASSOC));
  printf("_SC_%-23s = %ld\n", "LEVEL3_CACHE_LINESIZE",
         sysconf(_SC_LEVEL3_CACHE_LINESIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL4_CACHE_SIZE",
         sysconf(_SC_LEVEL4_CACHE_SIZE));
  printf("_SC_%-23s = %ld\n", "LEVEL4_CACHE_ASSOC",
         sysconf(_SC_LEVEL4_CACHE_ASSOC));
  printf("_SC_%-23s = %ld\n", "LEVEL4_CACHE_LINESIZE",
         sysconf(_SC_LEVEL4_CACHE_LINESIZE));
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2eaa(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xeba(%rip),%rdi
lea    0xec4(%rip),%rsi
call   1030 <printf@plt>
mov    0x2e1f(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xe97(%rip),%rdi
lea    0xeb2(%rip),%rsi
call   1030 <printf@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xe74(%rip),%rdi
lea    0xea0(%rip),%rsi
call   1030 <printf@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xe51(%rip),%rdi
lea    0xe90(%rip),%rsi
call   1030 <printf@plt>
mov    0x2e36(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xe2e(%rip),%rdi
lea    0xe81(%rip),%rsi
call   1030 <printf@plt>
mov    0x2dab(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xe0b(%rip),%rdi
lea    0xe75(%rip),%rsi
call   1030 <printf@plt>
mov    0x2d78(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xde8(%rip),%rdi
lea    0xe65(%rip),%rsi
call   1030 <printf@plt>
mov    0x2d95(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xdc5(%rip),%rdi
lea    0xe56(%rip),%rsi
call   1030 <printf@plt>
mov    0x2d0a(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xda2(%rip),%rdi
lea    0xe4a(%rip),%rsi
call   1030 <printf@plt>
mov    0x2cf7(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xd7f(%rip),%rdi
lea    0xe39(%rip),%rsi
call   1030 <printf@plt>
mov    0x2d0c(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xd5c(%rip),%rdi
lea    0xe29(%rip),%rsi
call   1030 <printf@plt>
mov    0x2ca9(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xd39(%rip),%rdi
lea    0xe1c(%rip),%rsi
call   1030 <printf@plt>
mov    0x2cae(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xd16(%rip),%rdi
lea    0xe0b(%rip),%rsi
call   1030 <printf@plt>
mov    0x2cb3(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xcf3(%rip),%rdi
lea    0xdfb(%rip),%rsi
call   1030 <printf@plt>
mov    0x2c78(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xcd0(%rip),%rdi
lea    0xdee(%rip),%rsi
call   1030 <printf@plt>
mov    0x2c75(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xcad(%rip),%rdi
lea    0xddd(%rip),%rsi
call   1030 <printf@plt>
mov    0x2c6a(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
mov    %eax,%edx
lea    0xc8a(%rip),%rdi
lea    0xdcd(%rip),%rsi
call   1030 <printf@plt>
mov    0x2be7(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xeca(%rip),%rbx
lea    0xed4(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2e2a(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xec6(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2e6b(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xeb8(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2e3c(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xeac(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2e4d(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xea1(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2dc6(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe99(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2d97(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe8d(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2db8(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe82(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2d31(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe7a(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2d22(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe6d(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2d3b(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe61(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2cdc(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe58(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2ce5(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe4b(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2cee(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe3f(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2cb7(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe36(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2cb8(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe29(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2cb1(%rip),%rax
mov    (%rax),%edi
call   1040 <sysconf@plt>
lea    0xe1d(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
call   1030 <printf@plt>
mov    0x2c32(%rip),%rax
mov    (%rax),%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"_SC_%-23s = %ld\0A\00"
@.str.1 = [17 x i8] c"NPROCESSORS_ONLN\00"
@_SC_NPROCESSORS_ONLN = global i32 0
@.str.2 = [17 x i8] c"NPROCESSORS_CONF\00"
@_SC_NPROCESSORS_CONF = global i32 0
@.str.3 = [19 x i8] c"LEVEL1_ICACHE_SIZE\00"
@_SC_LEVEL1_ICACHE_SIZE = global i32 0
@.str.4 = [20 x i8] c"LEVEL1_ICACHE_ASSOC\00"
@_SC_LEVEL1_ICACHE_ASSOC = global i32 0
@.str.5 = [23 x i8] c"LEVEL1_ICACHE_LINESIZE\00"
@_SC_LEVEL1_ICACHE_LINESIZE = global i32 0
@.str.6 = [19 x i8] c"LEVEL1_DCACHE_SIZE\00"
@_SC_LEVEL1_DCACHE_SIZE = global i32 0
@.str.7 = [20 x i8] c"LEVEL1_DCACHE_ASSOC\00"
@_SC_LEVEL1_DCACHE_ASSOC = global i32 0
@.str.8 = [23 x i8] c"LEVEL1_DCACHE_LINESIZE\00"
@_SC_LEVEL1_DCACHE_LINESIZE = global i32 0
@.str.9 = [18 x i8] c"LEVEL2_CACHE_SIZE\00"
@_SC_LEVEL2_CACHE_SIZE = global i32 0
@.str.10 = [19 x i8] c"LEVEL2_CACHE_ASSOC\00"
@_SC_LEVEL2_CACHE_ASSOC = global i32 0
@.str.11 = [22 x i8] c"LEVEL2_CACHE_LINESIZE\00"
@_SC_LEVEL2_CACHE_LINESIZE = global i32 0
@.str.12 = [18 x i8] c"LEVEL3_CACHE_SIZE\00"
@_SC_LEVEL3_CACHE_SIZE = global i32 0
@.str.13 = [19 x i8] c"LEVEL3_CACHE_ASSOC\00"
@_SC_LEVEL3_CACHE_ASSOC = global i32 0
@.str.14 = [22 x i8] c"LEVEL3_CACHE_LINESIZE\00"
@_SC_LEVEL3_CACHE_LINESIZE = global i32 0
@.str.15 = [18 x i8] c"LEVEL4_CACHE_SIZE\00"
@_SC_LEVEL4_CACHE_SIZE = global i32 0
@.str.16 = [19 x i8] c"LEVEL4_CACHE_ASSOC\00"
@_SC_LEVEL4_CACHE_ASSOC = global i32 0
@.str.17 = [22 x i8] c"LEVEL4_CACHE_LINESIZE\00"
@_SC_LEVEL4_CACHE_LINESIZE = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i32, i32* @_SC_NPROCESSORS_ONLN
%3 = call i32 @sysconf(i32 %2)
%4 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @_SC_NPROCESSORS_CONF
%6 = call i32 @sysconf(i32 %5)
%7 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @_SC_LEVEL1_ICACHE_SIZE
%9 = call i32 @sysconf(i32 %8)
%10 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @_SC_LEVEL1_ICACHE_ASSOC
%12 = call i32 @sysconf(i32 %11)
%13 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @_SC_LEVEL1_ICACHE_LINESIZE
%15 = call i32 @sysconf(i32 %14)
%16 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @_SC_LEVEL1_DCACHE_SIZE
%18 = call i32 @sysconf(i32 %17)
%19 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %18)
%20 = load i32, i32* @_SC_LEVEL1_DCACHE_ASSOC
%21 = call i32 @sysconf(i32 %20)
%22 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @_SC_LEVEL1_DCACHE_LINESIZE
%24 = call i32 @sysconf(i32 %23)
%25 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i32 %24)
%26 = load i32, i32* @_SC_LEVEL2_CACHE_SIZE
%27 = call i32 @sysconf(i32 %26)
%28 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @_SC_LEVEL2_CACHE_ASSOC
%30 = call i32 @sysconf(i32 %29)
%31 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), i32 %30)
%32 = load i32, i32* @_SC_LEVEL2_CACHE_LINESIZE
%33 = call i32 @sysconf(i32 %32)
%34 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @_SC_LEVEL3_CACHE_SIZE
%36 = call i32 @sysconf(i32 %35)
%37 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %36)
%38 = load i32, i32* @_SC_LEVEL3_CACHE_ASSOC
%39 = call i32 @sysconf(i32 %38)
%40 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), i32 %39)
%41 = load i32, i32* @_SC_LEVEL3_CACHE_LINESIZE
%42 = call i32 @sysconf(i32 %41)
%43 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i32 %42)
%44 = load i32, i32* @_SC_LEVEL4_CACHE_SIZE
%45 = call i32 @sysconf(i32 %44)
%46 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.15, i64 0, i64 0), i32 %45)
%47 = load i32, i32* @_SC_LEVEL4_CACHE_ASSOC
%48 = call i32 @sysconf(i32 %47)
%49 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i32 %48)
%50 = load i32, i32* @_SC_LEVEL4_CACHE_LINESIZE
%51 = call i32 @sysconf(i32 %50)
%52 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0), i32 %51)
%53 = load i32, i32* @EXIT_SUCCESS
ret i32 %53
}

LLVM IR (-O2):
@.str = [17 x i8] c"_SC_%-23s = %ld\0A\00"
@.str.1 = [17 x i8] c"NPROCESSORS_ONLN\00"
@_SC_NPROCESSORS_ONLN = global i32 0
@.str.2 = [17 x i8] c"NPROCESSORS_CONF\00"
@_SC_NPROCESSORS_CONF = global i32 0
@.str.3 = [19 x i8] c"LEVEL1_ICACHE_SIZE\00"
@_SC_LEVEL1_ICACHE_SIZE = global i32 0
@.str.4 = [20 x i8] c"LEVEL1_ICACHE_ASSOC\00"
@_SC_LEVEL1_ICACHE_ASSOC = global i32 0
@.str.5 = [23 x i8] c"LEVEL1_ICACHE_LINESIZE\00"
@_SC_LEVEL1_ICACHE_LINESIZE = global i32 0
@.str.6 = [19 x i8] c"LEVEL1_DCACHE_SIZE\00"
@_SC_LEVEL1_DCACHE_SIZE = global i32 0
@.str.7 = [20 x i8] c"LEVEL1_DCACHE_ASSOC\00"
@_SC_LEVEL1_DCACHE_ASSOC = global i32 0
@.str.8 = [23 x i8] c"LEVEL1_DCACHE_LINESIZE\00"
@_SC_LEVEL1_DCACHE_LINESIZE = global i32 0
@.str.9 = [18 x i8] c"LEVEL2_CACHE_SIZE\00"
@_SC_LEVEL2_CACHE_SIZE = global i32 0
@.str.10 = [19 x i8] c"LEVEL2_CACHE_ASSOC\00"
@_SC_LEVEL2_CACHE_ASSOC = global i32 0
@.str.11 = [22 x i8] c"LEVEL2_CACHE_LINESIZE\00"
@_SC_LEVEL2_CACHE_LINESIZE = global i32 0
@.str.12 = [18 x i8] c"LEVEL3_CACHE_SIZE\00"
@_SC_LEVEL3_CACHE_SIZE = global i32 0
@.str.13 = [19 x i8] c"LEVEL3_CACHE_ASSOC\00"
@_SC_LEVEL3_CACHE_ASSOC = global i32 0
@.str.14 = [22 x i8] c"LEVEL3_CACHE_LINESIZE\00"
@_SC_LEVEL3_CACHE_LINESIZE = global i32 0
@.str.15 = [18 x i8] c"LEVEL4_CACHE_SIZE\00"
@_SC_LEVEL4_CACHE_SIZE = global i32 0
@.str.16 = [19 x i8] c"LEVEL4_CACHE_ASSOC\00"
@_SC_LEVEL4_CACHE_ASSOC = global i32 0
@.str.17 = [22 x i8] c"LEVEL4_CACHE_LINESIZE\00"
@_SC_LEVEL4_CACHE_LINESIZE = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = load i32, i32* @_SC_NPROCESSORS_ONLN
%2 = tail call i32 @sysconf(i32 %1)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @_SC_NPROCESSORS_CONF
%5 = tail call i32 @sysconf(i32 %4)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @_SC_LEVEL1_ICACHE_SIZE
%8 = tail call i32 @sysconf(i32 %7)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @_SC_LEVEL1_ICACHE_ASSOC
%11 = tail call i32 @sysconf(i32 %10)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @_SC_LEVEL1_ICACHE_LINESIZE
%14 = tail call i32 @sysconf(i32 %13)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i32 %14)
%16 = load i32, i32* @_SC_LEVEL1_DCACHE_SIZE
%17 = tail call i32 @sysconf(i32 %16)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @_SC_LEVEL1_DCACHE_ASSOC
%20 = tail call i32 @sysconf(i32 %19)
%21 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i32 %20)
%22 = load i32, i32* @_SC_LEVEL1_DCACHE_LINESIZE
%23 = tail call i32 @sysconf(i32 %22)
%24 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @_SC_LEVEL2_CACHE_SIZE
%26 = tail call i32 @sysconf(i32 %25)
%27 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %26)
%28 = load i32, i32* @_SC_LEVEL2_CACHE_ASSOC
%29 = tail call i32 @sysconf(i32 %28)
%30 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @_SC_LEVEL2_CACHE_LINESIZE
%32 = tail call i32 @sysconf(i32 %31)
%33 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0), i32 %32)
%34 = load i32, i32* @_SC_LEVEL3_CACHE_SIZE
%35 = tail call i32 @sysconf(i32 %34)
%36 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @_SC_LEVEL3_CACHE_ASSOC
%38 = tail call i32 @sysconf(i32 %37)
%39 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), i32 %38)
%40 = load i32, i32* @_SC_LEVEL3_CACHE_LINESIZE
%41 = tail call i32 @sysconf(i32 %40)
%42 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i32 %41)
%43 = load i32, i32* @_SC_LEVEL4_CACHE_SIZE
%44 = tail call i32 @sysconf(i32 %43)
%45 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.15, i64 0, i64 0), i32 %44)
%46 = load i32, i32* @_SC_LEVEL4_CACHE_ASSOC
%47 = tail call i32 @sysconf(i32 %46)
%48 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i32 %47)
%49 = load i32, i32* @_SC_LEVEL4_CACHE_LINESIZE
%50 = tail call i32 @sysconf(i32 %49)
%51 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0), i32 %50)
%52 = load i32, i32* @EXIT_SUCCESS
ret i32 %52
}