#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *);
void help(FILE *stream, int exit_code) {
  fprintf(stream, "Usage: %s options\n", "easter");
  fprintf(
      stream,
      "  -y                 Display the date of Easter for the specified "
      "year.\n"
      "                     Without argument the current year is implied.\n\n"
      "  -3                 Display the previous, current and next date of "
      "Easter\n"
      "                     surrounding the specified year.\n\n"
      "  -1                 Display only date of Easter for the current year.\n"
      "                     This is the default.\n\n"
      "  -w, --western      Western Easter after gregorian calendar. For year "
      "1583 on\n"
      "                     this is the default.\n\n"
      "  -o  --orthodox     Orthodox Easter after gregorian calendar.\n\n"
      "  -j  --julian       Julian calendar. For year before 1583 this is the "
      "default.\n\n"
      "  -H, --header       Display headers for Western, Eastern or Julian "
      "Easter.\n\n"
      "  -A number          Years to add after. The specified number of years "
      "is added\n"
      "                     to the end of the display. This is in addition to "
      "any date\n"
      "                     range selected by the -y, -3, or -1 options. "
      "Negative\n"
      "                     numbers are allowed, in which case the specified "
      "number of\n"
      "                     years is subtracted. For example,  \"easter -y "
      "-B-2\"\n"
      "                     produces the same result as \"easter -y -A2\": it "
      "shows\n"
      "                     Easter date for the current year and the next two\n"
      "                     following years.\n\n"
      "  -B number          Years to add before. The specified number of years "
      "is\n"
      "                     added to the beginning of the display. See -A for "
      "examples.\n\n"
      "  -h  --help         Print this usage and exit.\n\n"
      "  -v  --version      Print version information and exit\n\n"
      "Report bugs to: <%s>\n",
      "jtrubat@uoc.edu");
  exit(exit_code);
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xec6(%rip),%rsi
lea    0xed2(%rip),%rdx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xec9(%rip),%rsi
lea    0x14f3(%rip),%rdx
call   1030 <fprintf@plt>
mov    -0xc(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<help>:
push   %rbp
push   %rbx
push   %rax
mov    %esi,%ebp
mov    %rdi,%rbx
lea    0xed1(%rip),%rsi
lea    0xedd(%rip),%rdx
call   1030 <fprintf@plt>
lea    0xed8(%rip),%rsi
lea    0x1502(%rip),%rdx
mov    %rbx,%rdi
call   1030 <fprintf@plt>
mov    %ebp,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"Usage: %s options\0A\00"
@.str.1 = [7 x i8] c"easter\00"
@.str.2 = [1585 x i8] c" -y Display the date of Easter for the specified year.\0A Without argument the current year is implied.\0A\0A -3 Display the previous, current and next date of Easter\0A surrounding the specified year.\0A\0A -1 Display only date of Easter for the current year.\0A This is the default.\0A\0A -w, --western Western Easter after gregorian calendar. For year 1583 on\0A this is the default.\0A\0A -o --orthodox Orthodox Easter after gregorian calendar.\0A\0A -j --julian Julian calendar. For year before 1583 this is the default.\0A\0A -H, --header Display headers for Western, Eastern or Julian Easter.\0A\0A -A number Years to add after. The specified number of years is added\0A to the end of the display. This is in addition to any date\0A range selected by the -y, -3, or -1 options. Negative\0A numbers are allowed, in which case the specified number of\0A years is subtracted. For example, \22easter -y -B-2\22\0A produces the same result as \22easter -y -A2\22: it shows\0A Easter date for the current year and the next two\0A following years.\0A\0A -B number Years to add before. The specified number of years is\0A added to the beginning of the display. See -A for examples.\0A\0A -h --help Print this usage and exit.\0A\0A -v --version Print version information and exit\0A\0AReport bugs to: <%s>\0A\00"
@.str.3 = [16 x i8] c"jtrubat@uoc.edu\00"
define void @help(i32* %0, i32 %1) {
%3 = alloca i32*
%4 = alloca i32
store i32* %0, i32** %3
store i32 %1, i32* %4
%5 = load i32*, i32** %3
%6 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32*, i32** %3
%8 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([1585 x i8], [1585 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* %4
%10 = call i32 @exit(i32 %9)
unreachable
}

LLVM IR (-O2):
@.str = [19 x i8] c"Usage: %s options\0A\00"
@.str.1 = [7 x i8] c"easter\00"
@.str.2 = [1585 x i8] c" -y Display the date of Easter for the specified year.\0A Without argument the current year is implied.\0A\0A -3 Display the previous, current and next date of Easter\0A surrounding the specified year.\0A\0A -1 Display only date of Easter for the current year.\0A This is the default.\0A\0A -w, --western Western Easter after gregorian calendar. For year 1583 on\0A this is the default.\0A\0A -o --orthodox Orthodox Easter after gregorian calendar.\0A\0A -j --julian Julian calendar. For year before 1583 this is the default.\0A\0A -H, --header Display headers for Western, Eastern or Julian Easter.\0A\0A -A number Years to add after. The specified number of years is added\0A to the end of the display. This is in addition to any date\0A range selected by the -y, -3, or -1 options. Negative\0A numbers are allowed, in which case the specified number of\0A years is subtracted. For example, \22easter -y -B-2\22\0A produces the same result as \22easter -y -A2\22: it shows\0A Easter date for the current year and the next two\0A following years.\0A\0A -B number Years to add before. The specified number of years is\0A added to the beginning of the display. See -A for examples.\0A\0A -h --help Print this usage and exit.\0A\0A -v --version Print version information and exit\0A\0AReport bugs to: <%s>\0A\00"
@.str.3 = [16 x i8] c"jtrubat@uoc.edu\00"
define void @help(i32* nocapture %0, i32 %1) {
%3 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([1585 x i8], [1585 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @exit(i32 %1)
unreachable
}