#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*/ RLIMIT_AS;
int /*<<< orphan*/ RLIMIT_CORE;
int /*<<< orphan*/ RLIMIT_CPU;
int /*<<< orphan*/ RLIMIT_DATA;
int /*<<< orphan*/ RLIMIT_FSIZE;
int /*<<< orphan*/ RLIMIT_LOCKS;
int /*<<< orphan*/ RLIMIT_MEMLOCK;
int /*<<< orphan*/ RLIMIT_MSGQUEUE;
int /*<<< orphan*/ RLIMIT_NICE;
int /*<<< orphan*/ RLIMIT_NOFILE;
int /*<<< orphan*/ RLIMIT_NPROC;
int /*<<< orphan*/ RLIMIT_OFILE;
int /*<<< orphan*/ RLIMIT_RSS;
int /*<<< orphan*/ RLIMIT_RTPRIO;
int /*<<< orphan*/ RLIMIT_SIGPENDING;
int /*<<< orphan*/ RLIMIT_STACK;
int /*<<< orphan*/ dump(char *, int /*<<< orphan*/);
int main() {
  dump("RLIMIT_AS:          ", RLIMIT_AS);
  dump("RLIMIT_CORE:        ", RLIMIT_CORE);
  dump("RLIMIT_CPU:         ", RLIMIT_CPU);
  dump("RLIMIT_DATA:        ", RLIMIT_DATA);
  dump("RLIMIT_FSIZE:       ", RLIMIT_FSIZE);
  dump("RLIMIT_LOCKS:       ", RLIMIT_LOCKS);
  dump("RLIMIT_MEMLOCK:     ", RLIMIT_MEMLOCK);
  dump("RLIMIT_MSGQUEUE:    ", RLIMIT_MSGQUEUE);
  dump("RLIMIT_NICE:        ", RLIMIT_NICE);
  dump("RLIMIT_NOFILE:      ", RLIMIT_NOFILE);
  dump("RLIMIT_NPROC:       ", RLIMIT_NPROC);
  dump("RLIMIT_RSS:         ", RLIMIT_RSS);
  dump("RLIMIT_RTPRIO:      ", RLIMIT_RTPRIO);
  dump("RLIMIT_SIGPENDING:  ", RLIMIT_SIGPENDING);
  dump("RLIMIT_STACK:       ", RLIMIT_STACK);
  dump("RLIMIT_OFILE:       ", RLIMIT_OFILE);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    0x2e6d(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e98(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e1b(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e86(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2df9(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e2c(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e37(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2dc2(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2de5(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2de8(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2dcb(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d7e(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2dac(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d4f(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d92(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <dump@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2e70(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e1e(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e89(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2dfc(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e2f(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2e3a(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2dc5(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2de8(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2deb(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d84(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2daf(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d52(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
mov    0x2d95(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <dump@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [21 x i8] c"RLIMIT_AS: \00"
@RLIMIT_AS = global i32 0
@.str.1 = [21 x i8] c"RLIMIT_CORE: \00"
@RLIMIT_CORE = global i32 0
@.str.2 = [21 x i8] c"RLIMIT_CPU: \00"
@RLIMIT_CPU = global i32 0
@.str.3 = [21 x i8] c"RLIMIT_DATA: \00"
@RLIMIT_DATA = global i32 0
@.str.4 = [21 x i8] c"RLIMIT_FSIZE: \00"
@RLIMIT_FSIZE = global i32 0
@.str.5 = [21 x i8] c"RLIMIT_LOCKS: \00"
@RLIMIT_LOCKS = global i32 0
@.str.6 = [21 x i8] c"RLIMIT_MEMLOCK: \00"
@RLIMIT_MEMLOCK = global i32 0
@.str.7 = [21 x i8] c"RLIMIT_MSGQUEUE: \00"
@RLIMIT_MSGQUEUE = global i32 0
@.str.8 = [21 x i8] c"RLIMIT_NICE: \00"
@RLIMIT_NICE = global i32 0
@.str.9 = [21 x i8] c"RLIMIT_NOFILE: \00"
@RLIMIT_NOFILE = global i32 0
@.str.10 = [21 x i8] c"RLIMIT_NPROC: \00"
@RLIMIT_NPROC = global i32 0
@.str.11 = [21 x i8] c"RLIMIT_RSS: \00"
@RLIMIT_RSS = global i32 0
@.str.12 = [21 x i8] c"RLIMIT_RTPRIO: \00"
@RLIMIT_RTPRIO = global i32 0
@.str.13 = [21 x i8] c"RLIMIT_SIGPENDING: \00"
@RLIMIT_SIGPENDING = global i32 0
@.str.14 = [21 x i8] c"RLIMIT_STACK: \00"
@RLIMIT_STACK = global i32 0
@.str.15 = [21 x i8] c"RLIMIT_OFILE: \00"
@RLIMIT_OFILE = global i32 0
define i32 @main() {
%1 = load i32, i32* @RLIMIT_AS
%2 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @RLIMIT_CORE
%4 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @RLIMIT_CPU
%6 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @RLIMIT_DATA
%8 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @RLIMIT_FSIZE
%10 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @RLIMIT_LOCKS
%12 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @RLIMIT_MEMLOCK
%14 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @RLIMIT_MSGQUEUE
%16 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @RLIMIT_NICE
%18 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @RLIMIT_NOFILE
%20 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @RLIMIT_NPROC
%22 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @RLIMIT_RSS
%24 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @RLIMIT_RTPRIO
%26 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @RLIMIT_SIGPENDING
%28 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @RLIMIT_STACK
%30 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @RLIMIT_OFILE
%32 = call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), i32 %31)
ret i32 0
}

LLVM IR (-O2):
@.str = [21 x i8] c"RLIMIT_AS: \00"
@RLIMIT_AS = global i32 0
@.str.1 = [21 x i8] c"RLIMIT_CORE: \00"
@RLIMIT_CORE = global i32 0
@.str.2 = [21 x i8] c"RLIMIT_CPU: \00"
@RLIMIT_CPU = global i32 0
@.str.3 = [21 x i8] c"RLIMIT_DATA: \00"
@RLIMIT_DATA = global i32 0
@.str.4 = [21 x i8] c"RLIMIT_FSIZE: \00"
@RLIMIT_FSIZE = global i32 0
@.str.5 = [21 x i8] c"RLIMIT_LOCKS: \00"
@RLIMIT_LOCKS = global i32 0
@.str.6 = [21 x i8] c"RLIMIT_MEMLOCK: \00"
@RLIMIT_MEMLOCK = global i32 0
@.str.7 = [21 x i8] c"RLIMIT_MSGQUEUE: \00"
@RLIMIT_MSGQUEUE = global i32 0
@.str.8 = [21 x i8] c"RLIMIT_NICE: \00"
@RLIMIT_NICE = global i32 0
@.str.9 = [21 x i8] c"RLIMIT_NOFILE: \00"
@RLIMIT_NOFILE = global i32 0
@.str.10 = [21 x i8] c"RLIMIT_NPROC: \00"
@RLIMIT_NPROC = global i32 0
@.str.11 = [21 x i8] c"RLIMIT_RSS: \00"
@RLIMIT_RSS = global i32 0
@.str.12 = [21 x i8] c"RLIMIT_RTPRIO: \00"
@RLIMIT_RTPRIO = global i32 0
@.str.13 = [21 x i8] c"RLIMIT_SIGPENDING: \00"
@RLIMIT_SIGPENDING = global i32 0
@.str.14 = [21 x i8] c"RLIMIT_STACK: \00"
@RLIMIT_STACK = global i32 0
@.str.15 = [21 x i8] c"RLIMIT_OFILE: \00"
@RLIMIT_OFILE = global i32 0
define i32 @main() {
%1 = load i32, i32* @RLIMIT_AS
%2 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @RLIMIT_CORE
%4 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @RLIMIT_CPU
%6 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @RLIMIT_DATA
%8 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @RLIMIT_FSIZE
%10 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @RLIMIT_LOCKS
%12 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @RLIMIT_MEMLOCK
%14 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @RLIMIT_MSGQUEUE
%16 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @RLIMIT_NICE
%18 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @RLIMIT_NOFILE
%20 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @RLIMIT_NPROC
%22 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @RLIMIT_RSS
%24 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @RLIMIT_RTPRIO
%26 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @RLIMIT_SIGPENDING
%28 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @RLIMIT_STACK
%30 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @RLIMIT_OFILE
%32 = tail call i32 @dump(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), i32 %31)
ret i32 0
}