#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*/ errprintf(char *, char *, char *, int, char *, char *,
                             char *, char *);
int /*<<< orphan*/ errputc(char);
void usageheaderARGUMENT() {
  register int i, llen = 66;
  for (i = 0; i < llen; i++)
    errputc('-');
  errprintf("\n%s version %s.     (C) %d. %s. %s.\n%s  %s\n", "ESTate", "0.5.0",
            1999, "Guy St.C. Slater.", "UK-HGMP-RC",
            "http://www.hgmp.mrc.ac.uk/~gslater/",
            "mailto:gslater@hgmp.mrc.ac.uk");
  for (i = 0; i < llen; i++)
    errputc('-');
  errputc('\n');
  return;
}


x86 assembly (clang, -O0):
<usageheaderARGUMENT>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x42,-0x8(%rbp)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    115a <usageheaderARGUMENT+0x3a>
mov    $0x2d,%edi
call   1030 <errputc@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1136 <usageheaderARGUMENT+0x16>
lea    0xe9f(%rip),%rdi
lea    0xec4(%rip),%rsi
lea    0xec4(%rip),%rdx
mov    $0x7cf,%ecx
lea    0xebe(%rip),%r8
lea    0xec9(%rip),%r9
lea    0xecd(%rip),%r10
lea    0xeea(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <errprintf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11c9 <usageheaderARGUMENT+0xa9>
mov    $0x2d,%edi
call   1030 <errputc@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11a5 <usageheaderARGUMENT+0x85>
mov    $0xa,%edi
call   1030 <errputc@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usageheaderARGUMENT>:
push   %rbx
mov    $0x42,%ebx
cs nopw 0x0(%rax,%rax,1)
mov    $0x2d,%edi
call   1030 <errputc@plt>
add    $0xffffffff,%ebx
jne    1130 <usageheaderARGUMENT+0x10>
lea    0xf34(%rip),%rax
lea    0xf09(%rip),%rbx
lea    0xeac(%rip),%rdi
lea    0xed1(%rip),%rsi
lea    0xed1(%rip),%rdx
lea    0xed0(%rip),%r8
lea    0xedb(%rip),%r9
mov    $0x7cf,%ecx
push   %rax
push   %rbx
call   1040 <errprintf@plt>
add    $0x10,%rsp
mov    $0x42,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0x2d,%edi
call   1030 <errputc@plt>
add    $0xffffffff,%ebx
jne    1190 <usageheaderARGUMENT+0x70>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <errputc@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"\0A%s version %s. (C) %d. %s. %s.\0A%s %s\0A\00"
@.str.1 = [7 x i8] c"ESTate\00"
@.str.2 = [6 x i8] c"0.5.0\00"
@.str.3 = [18 x i8] c"Guy St.C. Slater.\00"
@.str.4 = [11 x i8] c"UK-HGMP-RC\00"
@.str.5 = [36 x i8] c"http://www.hgmp.mrc.ac.uk/~gslater/\00"
@.str.6 = [30 x i8] c"mailto:gslater@hgmp.mrc.ac.uk\00"
define void @usageheaderARGUMENT() {
%1 = alloca i32
%2 = alloca i32
store i32 66, i32* %2
store i32 0, i32* %1
br label %3
3: ; preds = %9, %0
%4 = load i32, i32* %1
%5 = load i32, i32* %2
%6 = icmp slt i32 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = call i32 @errputc(i8 signext 45)
br label %9
9: ; preds = %7
%10 = load i32, i32* %1
%11 = add nsw i32 %10, 1
store i32 %11, i32* %1
br label %3
12: ; preds = %3
%13 = call i32 @errprintf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 1999, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %1
br label %14
14: ; preds = %20, %12
%15 = load i32, i32* %1
%16 = load i32, i32* %2
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %23
18: ; preds = %14
%19 = call i32 @errputc(i8 signext 45)
br label %20
20: ; preds = %18
%21 = load i32, i32* %1
%22 = add nsw i32 %21, 1
store i32 %22, i32* %1
br label %14
23: ; preds = %14
%24 = call i32 @errputc(i8 signext 10)
ret void
}

LLVM IR (-O2):
@.str = [44 x i8] c"\0A%s version %s. (C) %d. %s. %s.\0A%s %s\0A\00"
@.str.1 = [7 x i8] c"ESTate\00"
@.str.2 = [6 x i8] c"0.5.0\00"
@.str.3 = [18 x i8] c"Guy St.C. Slater.\00"
@.str.4 = [11 x i8] c"UK-HGMP-RC\00"
@.str.5 = [36 x i8] c"http://www.hgmp.mrc.ac.uk/~gslater/\00"
@.str.6 = [30 x i8] c"mailto:gslater@hgmp.mrc.ac.uk\00"
define void @usageheaderARGUMENT() {
br label %1
1: ; preds = %0, %1
%2 = phi i32 [ 0, %0 ], [ %4, %1 ]
%3 = tail call i32 @errputc(i8 signext 45)
%4 = add nuw nsw i32 %2, 1
%5 = icmp eq i32 %4, 66
br i1 %5, label %6, label %1
6: ; preds = %1
%7 = tail call i32 @errprintf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 1999, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
br label %8
8: ; preds = %6, %8
%9 = phi i32 [ 0, %6 ], [ %11, %8 ]
%10 = tail call i32 @errputc(i8 signext 45)
%11 = add nuw nsw i32 %9, 1
%12 = icmp eq i32 %11, 66
br i1 %12, label %13, label %8
13: ; preds = %8
%14 = tail call i32 @errputc(i8 signext 10)
ret void
}