#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*/ _POSIX_ARG_MAX;
int /*<<< orphan*/ _POSIX_CHILD_MAX;
int /*<<< orphan*/ _POSIX_LINK_MAX;
int /*<<< orphan*/ _POSIX_MAX_CANON;
int /*<<< orphan*/ _POSIX_MAX_INPUT;
int /*<<< orphan*/ _POSIX_NAME_MAX;
int /*<<< orphan*/ _POSIX_NGROUPS_MAX;
int /*<<< orphan*/ _POSIX_OPEN_MAX;
int /*<<< orphan*/ _POSIX_PATH_MAX;
int /*<<< orphan*/ _POSIX_PIPE_BUF;
int /*<<< orphan*/ _POSIX_SSIZE_MAX;
int /*<<< orphan*/ _POSIX_STREAM_MAX;
int /*<<< orphan*/ _POSIX_TZNAME_MAX;
int /*<<< orphan*/ print_const(char *, int /*<<< orphan*/);
int main(int argc, char const *argv[]) {
  print_const("_POSIX_ARG_MAX", _POSIX_ARG_MAX);
  print_const("_POSIX_CHILD_MAX", _POSIX_CHILD_MAX);
  print_const("_POSIX_LINK_MAX", _POSIX_LINK_MAX);
  print_const("_POSIX_MAX_CANON", _POSIX_MAX_CANON);
  print_const("_POSIX_MAX_INPUT", _POSIX_MAX_INPUT);
  print_const("_POSIX_NAME_MAX", _POSIX_NAME_MAX);
  print_const("_POSIX_NGROUPS_MAX", _POSIX_NGROUPS_MAX);
  print_const("_POSIX_OPEN_MAX", _POSIX_OPEN_MAX);
  print_const("_POSIX_PATH_MAX", _POSIX_PATH_MAX);
  print_const("_POSIX_PIPE_BUF", _POSIX_PIPE_BUF);
  print_const("_POSIX_SSIZE_MAX", _POSIX_SSIZE_MAX);
  print_const("_POSIX_STREAM_MAX", _POSIX_STREAM_MAX);
  print_const("_POSIX_TZNAME_MAX", _POSIX_TZNAME_MAX);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2ebb(%rip),%rax
mov    (%rax),%esi
lea    0xeca(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e96(%rip),%rax
mov    (%rax),%esi
lea    0xec4(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e31(%rip),%rax
mov    (%rax),%esi
lea    0xec0(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e44(%rip),%rax
mov    (%rax),%esi
lea    0xebb(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e17(%rip),%rax
mov    (%rax),%esi
lea    0xeb7(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e4a(%rip),%rax
mov    (%rax),%esi
lea    0xeb3(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2de5(%rip),%rax
mov    (%rax),%esi
lea    0xeae(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e00(%rip),%rax
mov    (%rax),%esi
lea    0xeac(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e23(%rip),%rax
mov    (%rax),%esi
lea    0xea7(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%esi
lea    0xea2(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%esi
lea    0xe9d(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2d94(%rip),%rax
mov    (%rax),%esi
lea    0xe99(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2d9f(%rip),%rax
mov    (%rax),%esi
lea    0xe96(%rip),%rdi
call   1030 <print_const@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2ed0(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2eab(%rip),%rax
mov    (%rax),%esi
lea    0xed9(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e46(%rip),%rax
mov    (%rax),%esi
lea    0xed5(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e59(%rip),%rax
mov    (%rax),%esi
lea    0xed0(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e2c(%rip),%rax
mov    (%rax),%esi
lea    0xecc(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e5f(%rip),%rax
mov    (%rax),%esi
lea    0xec8(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2dfa(%rip),%rax
mov    (%rax),%esi
lea    0xec3(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e15(%rip),%rax
mov    (%rax),%esi
lea    0xec1(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2e38(%rip),%rax
mov    (%rax),%esi
lea    0xebc(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2de3(%rip),%rax
mov    (%rax),%esi
lea    0xeb7(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2d96(%rip),%rax
mov    (%rax),%esi
lea    0xeb2(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2da9(%rip),%rax
mov    (%rax),%esi
lea    0xeae(%rip),%rdi
call   1030 <print_const@plt>
mov    0x2db4(%rip),%rax
mov    (%rax),%esi
lea    0xeab(%rip),%rdi
call   1030 <print_const@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [15 x i8] c"_POSIX_ARG_MAX\00"
@_POSIX_ARG_MAX = global i32 0
@.str.1 = [17 x i8] c"_POSIX_CHILD_MAX\00"
@_POSIX_CHILD_MAX = global i32 0
@.str.2 = [16 x i8] c"_POSIX_LINK_MAX\00"
@_POSIX_LINK_MAX = global i32 0
@.str.3 = [17 x i8] c"_POSIX_MAX_CANON\00"
@_POSIX_MAX_CANON = global i32 0
@.str.4 = [17 x i8] c"_POSIX_MAX_INPUT\00"
@_POSIX_MAX_INPUT = global i32 0
@.str.5 = [16 x i8] c"_POSIX_NAME_MAX\00"
@_POSIX_NAME_MAX = global i32 0
@.str.6 = [19 x i8] c"_POSIX_NGROUPS_MAX\00"
@_POSIX_NGROUPS_MAX = global i32 0
@.str.7 = [16 x i8] c"_POSIX_OPEN_MAX\00"
@_POSIX_OPEN_MAX = global i32 0
@.str.8 = [16 x i8] c"_POSIX_PATH_MAX\00"
@_POSIX_PATH_MAX = global i32 0
@.str.9 = [16 x i8] c"_POSIX_PIPE_BUF\00"
@_POSIX_PIPE_BUF = global i32 0
@.str.10 = [17 x i8] c"_POSIX_SSIZE_MAX\00"
@_POSIX_SSIZE_MAX = global i32 0
@.str.11 = [18 x i8] c"_POSIX_STREAM_MAX\00"
@_POSIX_STREAM_MAX = global i32 0
@.str.12 = [18 x i8] c"_POSIX_TZNAME_MAX\00"
@_POSIX_TZNAME_MAX = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* @_POSIX_ARG_MAX
%7 = call i32 @print_const(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @_POSIX_CHILD_MAX
%9 = call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @_POSIX_LINK_MAX
%11 = call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @_POSIX_MAX_CANON
%13 = call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @_POSIX_MAX_INPUT
%15 = call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %14)
%16 = load i32, i32* @_POSIX_NAME_MAX
%17 = call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 %16)
%18 = load i32, i32* @_POSIX_NGROUPS_MAX
%19 = call i32 @print_const(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %18)
%20 = load i32, i32* @_POSIX_OPEN_MAX
%21 = call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %20)
%22 = load i32, i32* @_POSIX_PATH_MAX
%23 = call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %22)
%24 = load i32, i32* @_POSIX_PIPE_BUF
%25 = call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 %24)
%26 = load i32, i32* @_POSIX_SSIZE_MAX
%27 = call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i32 %26)
%28 = load i32, i32* @_POSIX_STREAM_MAX
%29 = call i32 @print_const(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i32 %28)
%30 = load i32, i32* @_POSIX_TZNAME_MAX
%31 = call i32 @print_const(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %30)
ret i32 0
}

LLVM IR (-O2):
@.str = [15 x i8] c"_POSIX_ARG_MAX\00"
@_POSIX_ARG_MAX = global i32 0
@.str.1 = [17 x i8] c"_POSIX_CHILD_MAX\00"
@_POSIX_CHILD_MAX = global i32 0
@.str.2 = [16 x i8] c"_POSIX_LINK_MAX\00"
@_POSIX_LINK_MAX = global i32 0
@.str.3 = [17 x i8] c"_POSIX_MAX_CANON\00"
@_POSIX_MAX_CANON = global i32 0
@.str.4 = [17 x i8] c"_POSIX_MAX_INPUT\00"
@_POSIX_MAX_INPUT = global i32 0
@.str.5 = [16 x i8] c"_POSIX_NAME_MAX\00"
@_POSIX_NAME_MAX = global i32 0
@.str.6 = [19 x i8] c"_POSIX_NGROUPS_MAX\00"
@_POSIX_NGROUPS_MAX = global i32 0
@.str.7 = [16 x i8] c"_POSIX_OPEN_MAX\00"
@_POSIX_OPEN_MAX = global i32 0
@.str.8 = [16 x i8] c"_POSIX_PATH_MAX\00"
@_POSIX_PATH_MAX = global i32 0
@.str.9 = [16 x i8] c"_POSIX_PIPE_BUF\00"
@_POSIX_PIPE_BUF = global i32 0
@.str.10 = [17 x i8] c"_POSIX_SSIZE_MAX\00"
@_POSIX_SSIZE_MAX = global i32 0
@.str.11 = [18 x i8] c"_POSIX_STREAM_MAX\00"
@_POSIX_STREAM_MAX = global i32 0
@.str.12 = [18 x i8] c"_POSIX_TZNAME_MAX\00"
@_POSIX_TZNAME_MAX = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = load i32, i32* @_POSIX_ARG_MAX
%4 = tail call i32 @print_const(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @_POSIX_CHILD_MAX
%6 = tail call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @_POSIX_LINK_MAX
%8 = tail call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @_POSIX_MAX_CANON
%10 = tail call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @_POSIX_MAX_INPUT
%12 = tail call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @_POSIX_NAME_MAX
%14 = tail call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @_POSIX_NGROUPS_MAX
%16 = tail call i32 @print_const(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @_POSIX_OPEN_MAX
%18 = tail call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @_POSIX_PATH_MAX
%20 = tail call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @_POSIX_PIPE_BUF
%22 = tail call i32 @print_const(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @_POSIX_SSIZE_MAX
%24 = tail call i32 @print_const(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @_POSIX_STREAM_MAX
%26 = tail call i32 @print_const(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @_POSIX_TZNAME_MAX
%28 = tail call i32 @print_const(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %27)
ret i32 0
}