#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ getchar();
int /*<<< orphan*/ stderr;
void warn(void) {
  fprintf(stderr, "\n\n!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!\n");
  fprintf(stderr, "This program is intended for use on eeproms\nusing external "
                  "busses such as i2c-pport.\n");
  fprintf(stderr,
          "Do not use this on your SDRAM DIMM EEPROMS\nunless you REALLY "
          "REALLY know what you are\ndoing!!! Doing so will render your "
          "SDRAM\nUSELESS and leave your system UNBOOTABLE!!!\n");
  fprintf(stderr, "To disable this warning use -force\n");
  fprintf(stderr,
          "\n\nPress  ENTER  to continue or hit Control-C NOW !!!!\n\n\n");
  getchar();
}


x86 assembly (clang, -O0):
<warn>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2ea0(%rip),%rax
mov    (%rax),%edi
lea    0xeec(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%edi
lea    0xf2d(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e76(%rip),%rax
mov    (%rax),%edi
lea    0xfc4(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e61(%rip),%rax
mov    (%rax),%edi
lea    0xfd3(%rip),%rsi
call   1040 <fprintf@plt>
mov    $0x0,%al
call   1030 <getchar@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<warn>:
push   %rbx
mov    0x2eb8(%rip),%rbx
mov    (%rbx),%edi
lea    0xecf(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xef6(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf3e(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfdc(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xff2(%rip),%rsi
call   1040 <fprintf@plt>
xor    %eax,%eax
pop    %rbx
jmp    1030 <getchar@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [53 x i8] c"\0A\0A!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!\0A\00"
@.str.1 = [86 x i8] c"This program is intended for use on eeproms\0Ausing external busses such as i2c-pport.\0A\00"
@.str.2 = [172 x i8] c"Do not use this on your SDRAM DIMM EEPROMS\0Aunless you REALLY REALLY know what you are\0Adoing!!! Doing so will render your SDRAM\0AUSELESS and leave your system UNBOOTABLE!!!\0A\00"
@.str.3 = [36 x i8] c"To disable this warning use -force\0A\00"
@.str.4 = [57 x i8] c"\0A\0APress ENTER to continue or hit Control-C NOW !!!!\0A\0A\0A\00"
define void @warn() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([172 x i8], [172 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%11 = call i32 (...) @getchar()
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [53 x i8] c"\0A\0A!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!\0A\00"
@.str.1 = [86 x i8] c"This program is intended for use on eeproms\0Ausing external busses such as i2c-pport.\0A\00"
@.str.2 = [172 x i8] c"Do not use this on your SDRAM DIMM EEPROMS\0Aunless you REALLY REALLY know what you are\0Adoing!!! Doing so will render your SDRAM\0AUSELESS and leave your system UNBOOTABLE!!!\0A\00"
@.str.3 = [36 x i8] c"To disable this warning use -force\0A\00"
@.str.4 = [57 x i8] c"\0A\0APress ENTER to continue or hit Control-C NOW !!!!\0A\0A\0A\00"
define void @warn() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([172 x i8], [172 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 (...) @getchar()
ret void
}