#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 main() {
  printf("%s\t\t%16s %16s\n", "TYPE", "MIN", "MAX");
  printf("%s\t\t%16s %16s\n", "----", "---", "---");
  printf("char\t\t%16d %16d\n", CHAR_MIN, CHAR_MAX);
  printf("signed char\t%16d %16d\n", SCHAR_MIN, SCHAR_MAX);
  printf("unsigned char\t%16d %16d\n", 0, UCHAR_MAX);
  printf("short\t\t%16d %16d\n", SHRT_MIN, SHRT_MAX);
  printf("unsigned short\t%16d %16d\n", 0, USHRT_MAX);
  printf("int\t\t%16d %16d\n", INT_MIN, INT_MAX);
  printf("unsigned int\t%16d %16u\n", 0, UINT_MAX);
  printf("long\t\t%16ld %16ld\n", LONG_MIN, LONG_MAX);
  printf("unsigned long\t%16d %16lu\n", 0, ULONG_MAX);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
lea    0xee2(%rip),%rsi
lea    0xee0(%rip),%rdx
lea    0xedd(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb7(%rip),%rdi
lea    0xecc(%rip),%rsi
lea    0xec6(%rip),%rcx
mov    %rcx,%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e70(%rip),%rax
mov    (%rax),%esi
mov    0x2e6f(%rip),%rax
mov    (%rax),%edx
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e18(%rip),%rax
mov    (%rax),%esi
mov    0x2e07(%rip),%rax
mov    (%rax),%edx
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e48(%rip),%rax
mov    (%rax),%edx
lea    0xe81(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2dc7(%rip),%rax
mov    (%rax),%esi
mov    0x2db6(%rip),%rax
mov    (%rax),%edx
lea    0xe78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2def(%rip),%rax
mov    (%rax),%edx
lea    0xe73(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2db6(%rip),%rax
mov    (%rax),%esi
mov    0x2dc5(%rip),%rax
mov    (%rax),%edx
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2da6(%rip),%rax
mov    (%rax),%edx
lea    0xe64(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d85(%rip),%rax
mov    (%rax),%esi
mov    0x2d54(%rip),%rax
mov    (%rax),%edx
lea    0xe5a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d1d(%rip),%rax
mov    (%rax),%edx
lea    0xe56(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xef0(%rip),%rsi
lea    0xeee(%rip),%rdx
lea    0xeeb(%rip),%rcx
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xede(%rip),%rsi
lea    0xed8(%rip),%rcx
mov    %rbx,%rdi
mov    %rcx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e7f(%rip),%rax
mov    (%rax),%esi
mov    0x2e7e(%rip),%rax
mov    (%rax),%edx
lea    0xeb6(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e27(%rip),%rax
mov    (%rax),%esi
mov    0x2e16(%rip),%rax
mov    (%rax),%edx
lea    0xea9(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e57(%rip),%rax
mov    (%rax),%edx
lea    0xe90(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2dd6(%rip),%rax
mov    (%rax),%esi
mov    0x2dc5(%rip),%rax
mov    (%rax),%edx
lea    0xe87(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2dfe(%rip),%rax
mov    (%rax),%edx
lea    0xe82(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2dc5(%rip),%rax
mov    (%rax),%esi
mov    0x2dd4(%rip),%rax
mov    (%rax),%edx
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2db5(%rip),%rax
mov    (%rax),%edx
lea    0xe73(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d94(%rip),%rax
mov    (%rax),%esi
mov    0x2d63(%rip),%rax
mov    (%rax),%edx
lea    0xe69(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d2c(%rip),%rax
mov    (%rax),%edx
lea    0xe65(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [15 x i8] c"%s\09\09%16s %16s\0A\00"
@.str.1 = [5 x i8] c"TYPE\00"
@.str.2 = [4 x i8] c"MIN\00"
@.str.3 = [4 x i8] c"MAX\00"
@.str.4 = [5 x i8] c"----\00"
@.str.5 = [4 x i8] c"---\00"
@.str.6 = [17 x i8] c"char\09\09%16d %16d\0A\00"
@CHAR_MIN = global i32 0
@CHAR_MAX = global i32 0
@.str.7 = [23 x i8] c"signed char\09%16d %16d\0A\00"
@SCHAR_MIN = global i32 0
@SCHAR_MAX = global i32 0
@.str.8 = [25 x i8] c"unsigned char\09%16d %16d\0A\00"
@UCHAR_MAX = global i32 0
@.str.9 = [18 x i8] c"short\09\09%16d %16d\0A\00"
@SHRT_MIN = global i32 0
@SHRT_MAX = global i32 0
@.str.10 = [26 x i8] c"unsigned short\09%16d %16d\0A\00"
@USHRT_MAX = global i32 0
@.str.11 = [16 x i8] c"int\09\09%16d %16d\0A\00"
@INT_MIN = global i32 0
@INT_MAX = global i32 0
@.str.12 = [24 x i8] c"unsigned int\09%16d %16u\0A\00"
@UINT_MAX = global i32 0
@.str.13 = [19 x i8] c"long\09\09%16ld %16ld\0A\00"
@LONG_MIN = global i32 0
@LONG_MAX = global i32 0
@.str.14 = [26 x i8] c"unsigned long\09%16d %16lu\0A\00"
@ULONG_MAX = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%4 = load i32, i32* @CHAR_MIN
%5 = load i32, i32* @CHAR_MAX
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %4, i32 %5)
%7 = load i32, i32* @SCHAR_MIN
%8 = load i32, i32* @SCHAR_MAX
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %7, i32 %8)
%10 = load i32, i32* @UCHAR_MAX
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 0, i32 %10)
%12 = load i32, i32* @SHRT_MIN
%13 = load i32, i32* @SHRT_MAX
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %12, i32 %13)
%15 = load i32, i32* @USHRT_MAX
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0), i32 0, i32 %15)
%17 = load i32, i32* @INT_MIN
%18 = load i32, i32* @INT_MAX
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 %17, i32 %18)
%20 = load i32, i32* @UINT_MAX
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0), i32 0, i32 %20)
%22 = load i32, i32* @LONG_MIN
%23 = load i32, i32* @LONG_MAX
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), i32 %22, i32 %23)
%25 = load i32, i32* @ULONG_MAX
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0), i32 0, i32 %25)
ret i32 0
}

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