#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 LLONG_MAX;
int LLONG_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 ULLONG_MAX;
int ULONG_MAX;
int USHRT_MAX;
int __WORDSIZE;
int /*<<< orphan*/ printf(char *, int);
int main() {
  printf("__WORDSIZE = %d\n", __WORDSIZE);
  printf("The minimum value of SIGNED CHAR = %d\n", SCHAR_MIN);
  printf("The maximum value of SIGNED CHAR = %d\n", SCHAR_MAX);
  printf("The maximum value of UNSIGNED CHAR = %d\n", UCHAR_MAX);
  printf("The minimum value of CHAR = %d\n", CHAR_MIN);
  printf("The maximum value of CHAR = %d\n", CHAR_MAX);
  printf("The minimum value of SHORT INT = %d\n", SHRT_MIN);
  printf("The maximum value of SHORT INT = %d\n", SHRT_MAX);
  printf("The maximum value of UNSIGNED SHORT INT = %u\n", USHRT_MAX);
  printf("The minimum value of INT = %d\n", INT_MIN);
  printf("The maximum value of INT = %d\n", INT_MAX);
  printf("The maximum value of UNSIGNED INT = %u\n", UINT_MAX);
  printf("The minimum value of LONG = %ld\n", LONG_MIN);
  printf("The maximum value of LONG = %ld\n", LONG_MAX);
  printf("The maximum value of UNSIGNED LONG = %lu\n", ULONG_MAX);
  printf("The minimum value of LONG LONG = %lld\n", LLONG_MIN);
  printf("The maximum value of LONG LONG = %lld\n", LLONG_MAX);
  printf("The maximum value of UNSIGNED LONG LONG = %llu\n", ULLONG_MAX);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2eb2(%rip),%rax
mov    (%rax),%esi
lea    0xed1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e4d(%rip),%rax
mov    (%rax),%esi
lea    0xecd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e30(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%esi
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e56(%rip),%rax
mov    (%rax),%esi
lea    0xf05(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e51(%rip),%rax
mov    (%rax),%esi
lea    0xf10(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dc4(%rip),%rax
mov    (%rax),%esi
lea    0xf1b(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da7(%rip),%rax
mov    (%rax),%esi
lea    0xf2b(%rip),%rdi
call   1030 <printf@plt>
mov    0x2df2(%rip),%rax
mov    (%rax),%esi
lea    0xf3b(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dbd(%rip),%rax
mov    (%rax),%esi
lea    0xf54(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dc0(%rip),%rax
mov    (%rax),%esi
lea    0xf5e(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da3(%rip),%rax
mov    (%rax),%esi
lea    0xf68(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d86(%rip),%rax
mov    (%rax),%esi
lea    0xf7b(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d39(%rip),%rax
mov    (%rax),%esi
lea    0xf87(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d04(%rip),%rax
mov    (%rax),%esi
lea    0xf93(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d17(%rip),%rax
mov    (%rax),%esi
lea    0xfa8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d22(%rip),%rax
mov    (%rax),%esi
lea    0xfba(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d3d(%rip),%rax
mov    (%rax),%esi
lea    0xfcc(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2ec0(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e5b(%rip),%rax
mov    (%rax),%esi
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e3e(%rip),%rax
mov    (%rax),%esi
lea    0xeed(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%esi
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e64(%rip),%rax
mov    (%rax),%esi
lea    0xf13(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e5f(%rip),%rax
mov    (%rax),%esi
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dd2(%rip),%rax
mov    (%rax),%esi
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
mov    0x2db5(%rip),%rax
mov    (%rax),%esi
lea    0xf39(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e00(%rip),%rax
mov    (%rax),%esi
lea    0xf49(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dcb(%rip),%rax
mov    (%rax),%esi
lea    0xf62(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%esi
lea    0xf6c(%rip),%rdi
call   1030 <printf@plt>
mov    0x2db1(%rip),%rax
mov    (%rax),%esi
lea    0xf76(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d94(%rip),%rax
mov    (%rax),%esi
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d47(%rip),%rax
mov    (%rax),%esi
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d12(%rip),%rax
mov    (%rax),%esi
lea    0xfa1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d25(%rip),%rax
mov    (%rax),%esi
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d30(%rip),%rax
mov    (%rax),%esi
lea    0xfc8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d4b(%rip),%rax
mov    (%rax),%esi
lea    0xfda(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"__WORDSIZE = %d\0A\00"
@__WORDSIZE = global i32 0
@.str.1 = [39 x i8] c"The minimum value of SIGNED CHAR = %d\0A\00"
@SCHAR_MIN = global i32 0
@.str.2 = [39 x i8] c"The maximum value of SIGNED CHAR = %d\0A\00"
@SCHAR_MAX = global i32 0
@.str.3 = [41 x i8] c"The maximum value of UNSIGNED CHAR = %d\0A\00"
@UCHAR_MAX = global i32 0
@.str.4 = [32 x i8] c"The minimum value of CHAR = %d\0A\00"
@CHAR_MIN = global i32 0
@.str.5 = [32 x i8] c"The maximum value of CHAR = %d\0A\00"
@CHAR_MAX = global i32 0
@.str.6 = [37 x i8] c"The minimum value of SHORT INT = %d\0A\00"
@SHRT_MIN = global i32 0
@.str.7 = [37 x i8] c"The maximum value of SHORT INT = %d\0A\00"
@SHRT_MAX = global i32 0
@.str.8 = [46 x i8] c"The maximum value of UNSIGNED SHORT INT = %u\0A\00"
@USHRT_MAX = global i32 0
@.str.9 = [31 x i8] c"The minimum value of INT = %d\0A\00"
@INT_MIN = global i32 0
@.str.10 = [31 x i8] c"The maximum value of INT = %d\0A\00"
@INT_MAX = global i32 0
@.str.11 = [40 x i8] c"The maximum value of UNSIGNED INT = %u\0A\00"
@UINT_MAX = global i32 0
@.str.12 = [33 x i8] c"The minimum value of LONG = %ld\0A\00"
@LONG_MIN = global i32 0
@.str.13 = [33 x i8] c"The maximum value of LONG = %ld\0A\00"
@LONG_MAX = global i32 0
@.str.14 = [42 x i8] c"The maximum value of UNSIGNED LONG = %lu\0A\00"
@ULONG_MAX = global i32 0
@.str.15 = [39 x i8] c"The minimum value of LONG LONG = %lld\0A\00"
@LLONG_MIN = global i32 0
@.str.16 = [39 x i8] c"The maximum value of LONG LONG = %lld\0A\00"
@LLONG_MAX = global i32 0
@.str.17 = [48 x i8] c"The maximum value of UNSIGNED LONG LONG = %llu\0A\00"
@ULLONG_MAX = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i32, i32* @__WORDSIZE
%3 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @SCHAR_MIN
%5 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i32 %4)
%6 = load i32, i32* @SCHAR_MAX
%7 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @UCHAR_MAX
%9 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @CHAR_MIN
%11 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @CHAR_MAX
%13 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @SHRT_MIN
%15 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i32 %14)
%16 = load i32, i32* @SHRT_MAX
%17 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %16)
%18 = load i32, i32* @USHRT_MAX
%19 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 %18)
%20 = load i32, i32* @INT_MIN
%21 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0), i32 %20)
%22 = load i32, i32* @INT_MAX
%23 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0), i32 %22)
%24 = load i32, i32* @UINT_MAX
%25 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i32 %24)
%26 = load i32, i32* @LONG_MIN
%27 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0), i32 %26)
%28 = load i32, i32* @LONG_MAX
%29 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i32 %28)
%30 = load i32, i32* @ULONG_MAX
%31 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.14, i64 0, i64 0), i32 %30)
%32 = load i32, i32* @LLONG_MIN
%33 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0), i32 %32)
%34 = load i32, i32* @LLONG_MAX
%35 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0), i32 %34)
%36 = load i32, i32* @ULLONG_MAX
%37 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.17, i64 0, i64 0), i32 %36)
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"__WORDSIZE = %d\0A\00"
@__WORDSIZE = global i32 0
@.str.1 = [39 x i8] c"The minimum value of SIGNED CHAR = %d\0A\00"
@SCHAR_MIN = global i32 0
@.str.2 = [39 x i8] c"The maximum value of SIGNED CHAR = %d\0A\00"
@SCHAR_MAX = global i32 0
@.str.3 = [41 x i8] c"The maximum value of UNSIGNED CHAR = %d\0A\00"
@UCHAR_MAX = global i32 0
@.str.4 = [32 x i8] c"The minimum value of CHAR = %d\0A\00"
@CHAR_MIN = global i32 0
@.str.5 = [32 x i8] c"The maximum value of CHAR = %d\0A\00"
@CHAR_MAX = global i32 0
@.str.6 = [37 x i8] c"The minimum value of SHORT INT = %d\0A\00"
@SHRT_MIN = global i32 0
@.str.7 = [37 x i8] c"The maximum value of SHORT INT = %d\0A\00"
@SHRT_MAX = global i32 0
@.str.8 = [46 x i8] c"The maximum value of UNSIGNED SHORT INT = %u\0A\00"
@USHRT_MAX = global i32 0
@.str.9 = [31 x i8] c"The minimum value of INT = %d\0A\00"
@INT_MIN = global i32 0
@.str.10 = [31 x i8] c"The maximum value of INT = %d\0A\00"
@INT_MAX = global i32 0
@.str.11 = [40 x i8] c"The maximum value of UNSIGNED INT = %u\0A\00"
@UINT_MAX = global i32 0
@.str.12 = [33 x i8] c"The minimum value of LONG = %ld\0A\00"
@LONG_MIN = global i32 0
@.str.13 = [33 x i8] c"The maximum value of LONG = %ld\0A\00"
@LONG_MAX = global i32 0
@.str.14 = [42 x i8] c"The maximum value of UNSIGNED LONG = %lu\0A\00"
@ULONG_MAX = global i32 0
@.str.15 = [39 x i8] c"The minimum value of LONG LONG = %lld\0A\00"
@LLONG_MIN = global i32 0
@.str.16 = [39 x i8] c"The maximum value of LONG LONG = %lld\0A\00"
@LLONG_MAX = global i32 0
@.str.17 = [48 x i8] c"The maximum value of UNSIGNED LONG LONG = %llu\0A\00"
@ULLONG_MAX = global i32 0
define i32 @main() {
%1 = load i32, i32* @__WORDSIZE
%2 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @SCHAR_MIN
%4 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @SCHAR_MAX
%6 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @UCHAR_MAX
%8 = tail call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @CHAR_MIN
%10 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @CHAR_MAX
%12 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @SHRT_MIN
%14 = tail call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @SHRT_MAX
%16 = tail call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @USHRT_MAX
%18 = tail call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @INT_MIN
%20 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @INT_MAX
%22 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @UINT_MAX
%24 = tail call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @LONG_MIN
%26 = tail call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @LONG_MAX
%28 = tail call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @ULONG_MAX
%30 = tail call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @LLONG_MIN
%32 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @LLONG_MAX
%34 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @ULLONG_MAX
%36 = tail call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.17, i64 0, i64 0), i32 %35)
ret i32 0
}