#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 INT_MAX;
int INT_MIN;
int LLONG_MAX;
int LLONG_MIN;
int LONG_MAX;
int LONG_MIN;
int UINT_MAX;
int ULLONG_MAX;
int ULONG_MAX;
int /*<<< orphan*/ printf(char *, int);
int main() {
  printf("INT_MAX: \t%d\n", INT_MAX);
  printf("UINT_MAX: \t%u\n", UINT_MAX);
  printf("LONG_MAX: \t%ld\n", LONG_MAX);
  printf("LLONG_MAX: \t%lld\n", LLONG_MAX);
  printf("ULONG_MAX: \t%lu\n", ULONG_MAX);
  printf("ULLONG_MAX: \t%llu\n\n", ULLONG_MAX);
  printf("INT_MIN: \t%d\n", INT_MIN);
  printf("LONG_MIN: \t%ld\n", LONG_MIN);
  printf("LLONG_MIN: \t%lld\n", LLONG_MIN);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <printf@plt>
mov    0x2ea8(%rip),%rax
mov    (%rax),%esi
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e63(%rip),%rax
mov    (%rax),%esi
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e66(%rip),%rax
mov    (%rax),%esi
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%esi
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e64(%rip),%rax
mov    (%rax),%esi
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e2f(%rip),%rax
mov    (%rax),%esi
lea    0xec2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e22(%rip),%rax
mov    (%rax),%esi
lea    0xebb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2ded(%rip),%rax
mov    (%rax),%esi
lea    0xeb6(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2ec8(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2eab(%rip),%rax
mov    (%rax),%esi
lea    0xed8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e66(%rip),%rax
mov    (%rax),%esi
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e69(%rip),%rax
mov    (%rax),%esi
lea    0xecd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e2c(%rip),%rax
mov    (%rax),%esi
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e67(%rip),%rax
mov    (%rax),%esi
lea    0xec6(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%esi
lea    0xec5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e25(%rip),%rax
mov    (%rax),%esi
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
mov    0x2df0(%rip),%rax
mov    (%rax),%esi
lea    0xeb9(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [14 x i8] c"INT_MAX: \09%d\0A\00"
@INT_MAX = global i32 0
@.str.1 = [15 x i8] c"UINT_MAX: \09%u\0A\00"
@UINT_MAX = global i32 0
@.str.2 = [16 x i8] c"LONG_MAX: \09%ld\0A\00"
@LONG_MAX = global i32 0
@.str.3 = [18 x i8] c"LLONG_MAX: \09%lld\0A\00"
@LLONG_MAX = global i32 0
@.str.4 = [17 x i8] c"ULONG_MAX: \09%lu\0A\00"
@ULONG_MAX = global i32 0
@.str.5 = [20 x i8] c"ULLONG_MAX: \09%llu\0A\0A\00"
@ULLONG_MAX = global i32 0
@.str.6 = [14 x i8] c"INT_MIN: \09%d\0A\00"
@INT_MIN = global i32 0
@.str.7 = [16 x i8] c"LONG_MIN: \09%ld\0A\00"
@LONG_MIN = global i32 0
@.str.8 = [18 x i8] c"LLONG_MIN: \09%lld\0A\00"
@LLONG_MIN = global i32 0
define i32 @main() {
%1 = load i32, i32* @INT_MAX
%2 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @UINT_MAX
%4 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @LONG_MAX
%6 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @LLONG_MAX
%8 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @ULONG_MAX
%10 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @ULLONG_MAX
%12 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @INT_MIN
%14 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @LONG_MIN
%16 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @LLONG_MIN
%18 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %17)
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"INT_MAX: \09%d\0A\00"
@INT_MAX = global i32 0
@.str.1 = [15 x i8] c"UINT_MAX: \09%u\0A\00"
@UINT_MAX = global i32 0
@.str.2 = [16 x i8] c"LONG_MAX: \09%ld\0A\00"
@LONG_MAX = global i32 0
@.str.3 = [18 x i8] c"LLONG_MAX: \09%lld\0A\00"
@LLONG_MAX = global i32 0
@.str.4 = [17 x i8] c"ULONG_MAX: \09%lu\0A\00"
@ULONG_MAX = global i32 0
@.str.5 = [20 x i8] c"ULLONG_MAX: \09%llu\0A\0A\00"
@ULLONG_MAX = global i32 0
@.str.6 = [14 x i8] c"INT_MIN: \09%d\0A\00"
@INT_MIN = global i32 0
@.str.7 = [16 x i8] c"LONG_MIN: \09%ld\0A\00"
@LONG_MIN = global i32 0
@.str.8 = [18 x i8] c"LLONG_MIN: \09%lld\0A\00"
@LLONG_MIN = global i32 0
define i32 @main() {
%1 = load i32, i32* @INT_MAX
%2 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @UINT_MAX
%4 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @LONG_MAX
%6 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @LLONG_MAX
%8 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @ULONG_MAX
%10 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @ULLONG_MAX
%12 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @INT_MIN
%14 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @LONG_MIN
%16 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @LLONG_MIN
%18 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %17)
ret i32 0
}