#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*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, char *, char *,
                           char *, char *);
int /*<<< orphan*/ stderr;
void help_exit(int estatus) {
  fprintf(stderr,
          "Usage: %s <OPTIONS> [<INPUT FILE>] [<OUTPUT FILE>]\n"
          "OPTIONS:\n"
          "-l <LANGUAGE> - Supported languages: C and S (shell)\n"
          "-h <b/f/n>    - Head type:\n"
          "   y - Full ms macro head with monospace font\n"
          "   f - Font head (courier type and point size 8.5)\n"
          "   n - No head included\n\n"
          "%s %s, Copyright (C) 2011 %s <%s>\n\n",
          "C2troff", "C2troff", "0.3", "David B. Cortarello",
          "dcortarello@gmail.com");
  exit(estatus);
}


x86 assembly (clang, -O0):
<help_exit>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    0x2eae(%rip),%rax
mov    (%rax),%edi
lea    0xec5(%rip),%rsi
lea    0xfe8(%rip),%rcx
lea    0xfe9(%rip),%r8
lea    0xfe6(%rip),%r9
lea    0xff3(%rip),%rax
mov    %rcx,%rdx
mov    %rax,(%rsp)
call   1030 <fprintf@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<help_exit>:
push   %rbx
sub    $0x10,%rsp
mov    %edi,%ebx
mov    0x2eb2(%rip),%rax
mov    (%rax),%edi
lea    0x1013(%rip),%rax
mov    %rax,(%rsp)
lea    0xebe(%rip),%rsi
lea    0xfe1(%rip),%rcx
lea    0xfe2(%rip),%r8
lea    0xfdf(%rip),%r9
mov    %rcx,%rdx
call   1030 <fprintf@plt>
mov    %ebx,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [298 x i8] c"Usage: %s <OPTIONS> [<INPUT FILE>] [<OUTPUT FILE>]\0AOPTIONS:\0A-l <LANGUAGE> - Supported languages: C and S (shell)\0A-h <b/f/n> - Head type:\0A y - Full ms macro head with monospace font\0A f - Font head (courier type and point size 8.5)\0A n - No head included\0A\0A%s %s, Copyright (C) 2011 %s <%s>\0A\0A\00"
@.str.1 = [8 x i8] c"C2troff\00"
@.str.2 = [4 x i8] c"0.3\00"
@.str.3 = [20 x i8] c"David B. Cortarello\00"
@.str.4 = [22 x i8] c"dcortarello@gmail.com\00"
define void @help_exit(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([298 x i8], [298 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 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 ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%5 = load i32, i32* %2
%6 = call i32 @exit(i32 %5)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [298 x i8] c"Usage: %s <OPTIONS> [<INPUT FILE>] [<OUTPUT FILE>]\0AOPTIONS:\0A-l <LANGUAGE> - Supported languages: C and S (shell)\0A-h <b/f/n> - Head type:\0A y - Full ms macro head with monospace font\0A f - Font head (courier type and point size 8.5)\0A n - No head included\0A\0A%s %s, Copyright (C) 2011 %s <%s>\0A\0A\00"
@.str.1 = [8 x i8] c"C2troff\00"
@.str.2 = [4 x i8] c"0.3\00"
@.str.3 = [20 x i8] c"David B. Cortarello\00"
@.str.4 = [22 x i8] c"dcortarello@gmail.com\00"
define void @help_exit(i32 %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([298 x i8], [298 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 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 ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @exit(i32 %0)
unreachable
}