#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 CHAR_MAX;
int CHAR_MIN;
int INT_MAX;
int INT_MIN;
int LONG_MAX;
int LONG_MIN;
int SCHAR_MAX;
int SCHAR_MIN;
int SHRT_MAX;
int SHRT_MIN;
int UCHAR_MAX;
int UINT_MAX;
int ULONG_MAX;
int USHRT_MAX;
int /*<<< orphan*/ printf(char *, int, int);
main() {
  printf("UCHAR_MAX:	%08x=%d\n", UCHAR_MAX, UCHAR_MAX);
  printf("USHRT_MAX:	%08x=%d\n", USHRT_MAX, USHRT_MAX);
  printf("UINT_MAX:	%08x=%d\n", UINT_MAX, UINT_MAX);
  printf("ULONG_MAX:	%08lx=%ld\n", ULONG_MAX, ULONG_MAX);
  printf("CHAR_MAX:	%08x=%d\n", CHAR_MAX, CHAR_MAX);
  printf("SCHAR_MAX:	%08x=%d\n", SCHAR_MAX, SCHAR_MAX);
  printf("SHRT_MAX:	%08x=%d\n", SHRT_MAX, SHRT_MAX);
  printf("INT_MAX:	%08x=%d\n", INT_MAX, INT_MAX);
  printf("LONG_MAX:	%08lx=%ld\n", LONG_MAX, LONG_MAX);
  printf("CHAR_MIN:	%08x=%d\n", CHAR_MIN, CHAR_MIN);
  printf("SCHAR_MIN:	%08x=%d\n", SCHAR_MIN, SCHAR_MIN);
  printf("SHRT_MIN:	%08x=%d\n", SHRT_MIN, SHRT_MIN);
  printf("INT_MIN:	%08x=%d\n", INT_MIN, INT_MIN);
  printf("LONG_MIN:	%08lx=%ld\n", LONG_MIN, LONG_MIN);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2eca(%rip),%rax
mov    (%rax),%esi
mov    0x2ec1(%rip),%rax
mov    (%rax),%edx
lea    0xec8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e8c(%rip),%rax
mov    (%rax),%esi
mov    0x2e83(%rip),%rax
mov    (%rax),%edx
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e5e(%rip),%rax
mov    (%rax),%esi
mov    0x2e55(%rip),%rax
mov    (%rax),%edx
lea    0xeb4(%rip),%rdi
call   1030 <printf@plt>
mov    0x2df0(%rip),%rax
mov    (%rax),%esi
mov    0x2de7(%rip),%rax
mov    (%rax),%edx
lea    0xea9(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e42(%rip),%rax
mov    (%rax),%esi
mov    0x2e39(%rip),%rax
mov    (%rax),%edx
lea    0xea2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2ddc(%rip),%rax
mov    (%rax),%esi
mov    0x2dd3(%rip),%rax
mov    (%rax),%edx
lea    0xe83(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da6(%rip),%rax
mov    (%rax),%esi
mov    0x2d9d(%rip),%rax
mov    (%rax),%edx
lea    0xe29(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dd0(%rip),%rax
mov    (%rax),%esi
mov    0x2dc7(%rip),%rax
mov    (%rax),%edx
lea    0xe1f(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d7a(%rip),%rax
mov    (%rax),%esi
mov    0x2d71(%rip),%rax
mov    (%rax),%edx
lea    0xe14(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da4(%rip),%rax
mov    (%rax),%esi
mov    0x2d9b(%rip),%rax
mov    (%rax),%edx
lea    0xe20(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d4e(%rip),%rax
mov    (%rax),%esi
mov    0x2d45(%rip),%rax
mov    (%rax),%edx
lea    0xe01(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d18(%rip),%rax
mov    (%rax),%esi
mov    0x2d0f(%rip),%rax
mov    (%rax),%edx
lea    0xdf7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d22(%rip),%rax
mov    (%rax),%esi
mov    0x2d19(%rip),%rax
mov    (%rax),%edx
lea    0xdec(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d0c(%rip),%rax
mov    (%rax),%esi
mov    0x2d03(%rip),%rax
mov    (%rax),%edx
lea    0xde0(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2ed8(%rip),%rax
mov    (%rax),%edx
lea    0xedf(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2ea1(%rip),%rax
mov    (%rax),%edx
lea    0xedc(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2e7a(%rip),%rax
mov    (%rax),%edx
lea    0xed9(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2e13(%rip),%rax
mov    (%rax),%edx
lea    0xed5(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2e6c(%rip),%rax
mov    (%rax),%edx
lea    0xed5(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edx
lea    0xebd(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2dde(%rip),%rax
mov    (%rax),%edx
lea    0xe6a(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2e0f(%rip),%rax
mov    (%rax),%edx
lea    0xe67(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2dc0(%rip),%rax
mov    (%rax),%edx
lea    0xe63(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edx
lea    0xe76(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2da2(%rip),%rax
mov    (%rax),%edx
lea    0xe5e(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2d73(%rip),%rax
mov    (%rax),%edx
lea    0xe5b(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2d84(%rip),%rax
mov    (%rax),%edx
lea    0xe57(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
mov    0x2d75(%rip),%rax
mov    (%rax),%edx
lea    0xe52(%rip),%rdi
mov    %edx,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [20 x i8] c"UCHAR_MAX:\09%08x=%d\0A\00"
@UCHAR_MAX = global i32 0
@.str.1 = [20 x i8] c"USHRT_MAX:\09%08x=%d\0A\00"
@USHRT_MAX = global i32 0
@.str.2 = [19 x i8] c"UINT_MAX:\09%08x=%d\0A\00"
@UINT_MAX = global i32 0
@.str.3 = [22 x i8] c"ULONG_MAX:\09%08lx=%ld\0A\00"
@ULONG_MAX = global i32 0
@.str.4 = [19 x i8] c"CHAR_MAX:\09%08x=%d\0A\00"
@CHAR_MAX = global i32 0
@.str.5 = [20 x i8] c"SCHAR_MAX:\09%08x=%d\0A\00"
@SCHAR_MAX = global i32 0
@.str.6 = [19 x i8] c"SHRT_MAX:\09%08x=%d\0A\00"
@SHRT_MAX = global i32 0
@.str.7 = [18 x i8] c"INT_MAX:\09%08x=%d\0A\00"
@INT_MAX = global i32 0
@.str.8 = [21 x i8] c"LONG_MAX:\09%08lx=%ld\0A\00"
@LONG_MAX = global i32 0
@.str.9 = [19 x i8] c"CHAR_MIN:\09%08x=%d\0A\00"
@CHAR_MIN = global i32 0
@.str.10 = [20 x i8] c"SCHAR_MIN:\09%08x=%d\0A\00"
@SCHAR_MIN = global i32 0
@.str.11 = [19 x i8] c"SHRT_MIN:\09%08x=%d\0A\00"
@SHRT_MIN = global i32 0
@.str.12 = [18 x i8] c"INT_MIN:\09%08x=%d\0A\00"
@INT_MIN = global i32 0
@.str.13 = [21 x i8] c"LONG_MIN:\09%08lx=%ld\0A\00"
@LONG_MIN = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i32, i32* @UCHAR_MAX
%3 = load i32, i32* @UCHAR_MAX
%4 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %2, i32 %3)
%5 = load i32, i32* @USHRT_MAX
%6 = load i32, i32* @USHRT_MAX
%7 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 %5, i32 %6)
%8 = load i32, i32* @UINT_MAX
%9 = load i32, i32* @UINT_MAX
%10 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 %8, i32 %9)
%11 = load i32, i32* @ULONG_MAX
%12 = load i32, i32* @ULONG_MAX
%13 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 %11, i32 %12)
%14 = load i32, i32* @CHAR_MAX
%15 = load i32, i32* @CHAR_MAX
%16 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 %14, i32 %15)
%17 = load i32, i32* @SCHAR_MAX
%18 = load i32, i32* @SCHAR_MAX
%19 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %17, i32 %18)
%20 = load i32, i32* @SHRT_MAX
%21 = load i32, i32* @SHRT_MAX
%22 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %20, i32 %21)
%23 = load i32, i32* @INT_MAX
%24 = load i32, i32* @INT_MAX
%25 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i32 %23, i32 %24)
%26 = load i32, i32* @LONG_MAX
%27 = load i32, i32* @LONG_MAX
%28 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i32 %26, i32 %27)
%29 = load i32, i32* @CHAR_MIN
%30 = load i32, i32* @CHAR_MIN
%31 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %29, i32 %30)
%32 = load i32, i32* @SCHAR_MIN
%33 = load i32, i32* @SCHAR_MIN
%34 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32 %32, i32 %33)
%35 = load i32, i32* @SHRT_MIN
%36 = load i32, i32* @SHRT_MIN
%37 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i32 %35, i32 %36)
%38 = load i32, i32* @INT_MIN
%39 = load i32, i32* @INT_MIN
%40 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %38, i32 %39)
%41 = load i32, i32* @LONG_MIN
%42 = load i32, i32* @LONG_MIN
%43 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i32 %41, i32 %42)
ret i32 0
}

LLVM IR (-O2):
@.str = [20 x i8] c"UCHAR_MAX:\09%08x=%d\0A\00"
@UCHAR_MAX = global i32 0
@.str.1 = [20 x i8] c"USHRT_MAX:\09%08x=%d\0A\00"
@USHRT_MAX = global i32 0
@.str.2 = [19 x i8] c"UINT_MAX:\09%08x=%d\0A\00"
@UINT_MAX = global i32 0
@.str.3 = [22 x i8] c"ULONG_MAX:\09%08lx=%ld\0A\00"
@ULONG_MAX = global i32 0
@.str.4 = [19 x i8] c"CHAR_MAX:\09%08x=%d\0A\00"
@CHAR_MAX = global i32 0
@.str.5 = [20 x i8] c"SCHAR_MAX:\09%08x=%d\0A\00"
@SCHAR_MAX = global i32 0
@.str.6 = [19 x i8] c"SHRT_MAX:\09%08x=%d\0A\00"
@SHRT_MAX = global i32 0
@.str.7 = [18 x i8] c"INT_MAX:\09%08x=%d\0A\00"
@INT_MAX = global i32 0
@.str.8 = [21 x i8] c"LONG_MAX:\09%08lx=%ld\0A\00"
@LONG_MAX = global i32 0
@.str.9 = [19 x i8] c"CHAR_MIN:\09%08x=%d\0A\00"
@CHAR_MIN = global i32 0
@.str.10 = [20 x i8] c"SCHAR_MIN:\09%08x=%d\0A\00"
@SCHAR_MIN = global i32 0
@.str.11 = [19 x i8] c"SHRT_MIN:\09%08x=%d\0A\00"
@SHRT_MIN = global i32 0
@.str.12 = [18 x i8] c"INT_MIN:\09%08x=%d\0A\00"
@INT_MIN = global i32 0
@.str.13 = [21 x i8] c"LONG_MIN:\09%08lx=%ld\0A\00"
@LONG_MIN = global i32 0
define i32 @main() {
%1 = load i32, i32* @UCHAR_MAX
%2 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %1, i32 %1)
%3 = load i32, i32* @USHRT_MAX
%4 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 %3, i32 %3)
%5 = load i32, i32* @UINT_MAX
%6 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 %5, i32 %5)
%7 = load i32, i32* @ULONG_MAX
%8 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 %7, i32 %7)
%9 = load i32, i32* @CHAR_MAX
%10 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 %9, i32 %9)
%11 = load i32, i32* @SCHAR_MAX
%12 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %11, i32 %11)
%13 = load i32, i32* @SHRT_MAX
%14 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %13, i32 %13)
%15 = load i32, i32* @INT_MAX
%16 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i32 %15, i32 %15)
%17 = load i32, i32* @LONG_MAX
%18 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i32 %17, i32 %17)
%19 = load i32, i32* @CHAR_MIN
%20 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %19, i32 %19)
%21 = load i32, i32* @SCHAR_MIN
%22 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32 %21, i32 %21)
%23 = load i32, i32* @SHRT_MIN
%24 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i32 %23, i32 %23)
%25 = load i32, i32* @INT_MIN
%26 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %25, i32 %25)
%27 = load i32, i32* @LONG_MIN
%28 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i32 %27, i32 %27)
ret i32 0
}