#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*/ printf(char *);
void help() {
  printf("./lucky j [k] [--lucky|--evenLucky]\n");
  printf("\n");
  printf("       argument(s)        |  what is displayed\n");
  printf("==============================================\n");
  printf("-j=m                      |  mth lucky number\n");
  printf("-j=m  --lucky             |  mth lucky number\n");
  printf("-j=m  --evenLucky         |  mth even lucky number\n");
  printf("-j=m  -k=n                |  mth through nth (inclusive) lucky "
         "numbers\n");
  printf("-j=m  -k=n  --lucky       |  mth through nth (inclusive) lucky "
         "numbers\n");
  printf("-j=m  -k=n  --evenLucky   |  mth through nth (inclusive) even lucky "
         "numbers\n");
  printf(
      "-j=m  -k=-n               |  all lucky numbers in the range [m, n]\n");
  printf(
      "-j=m  -k=-n  --lucky      |  all lucky numbers in the range [m, n]\n");
  printf("-j=m  -k=-n  --evenLucky  |  all even lucky numbers in the range [m, "
         "n]\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
lea    0xf16(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf80(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa8(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1020(%rip),%rdi
call   1030 <printf@plt>
lea    0x1061(%rip),%rdi
call   1030 <printf@plt>
lea    0x1099(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d1(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf09(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1040 <puts@plt>
lea    0xf4e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf70(%rip),%rdi
call   1040 <puts@plt>
lea    0xf97(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd2(%rip),%rdi
call   1040 <puts@plt>
lea    0x100d(%rip),%rdi
call   1040 <puts@plt>
lea    0x104d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1084(%rip),%rdi
call   1040 <puts@plt>
lea    0x10bb(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"./lucky j [k] [--lucky|--evenLucky]\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [48 x i8] c" argument(s) | what is displayed\0A\00"
@.str.3 = [48 x i8] c"==============================================\0A\00"
@.str.4 = [47 x i8] c"-j=m | mth lucky number\0A\00"
@.str.5 = [47 x i8] c"-j=m --lucky | mth lucky number\0A\00"
@.str.6 = [52 x i8] c"-j=m --evenLucky | mth even lucky number\0A\00"
@.str.7 = [72 x i8] c"-j=m -k=n | mth through nth (inclusive) lucky numbers\0A\00"
@.str.8 = [72 x i8] c"-j=m -k=n --lucky | mth through nth (inclusive) lucky numbers\0A\00"
@.str.9 = [77 x i8] c"-j=m -k=n --evenLucky | mth through nth (inclusive) even lucky numbers\0A\00"
@.str.10 = [68 x i8] c"-j=m -k=-n | all lucky numbers in the range [m, n]\0A\00"
@.str.11 = [68 x i8] c"-j=m -k=-n --lucky | all lucky numbers in the range [m, n]\0A\00"
@.str.12 = [73 x i8] c"-j=m -k=-n --evenLucky | all even lucky numbers in the range [m, n]\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [36 x i8] c"./lucky j [k] [--lucky|--evenLucky]\00"
@str.13 = [47 x i8] c" argument(s) | what is displayed\00"
@str.14 = [47 x i8] c"==============================================\00"
@str.15 = [46 x i8] c"-j=m | mth lucky number\00"
@str.16 = [46 x i8] c"-j=m --lucky | mth lucky number\00"
@str.17 = [51 x i8] c"-j=m --evenLucky | mth even lucky number\00"
@str.18 = [71 x i8] c"-j=m -k=n | mth through nth (inclusive) lucky numbers\00"
@str.19 = [71 x i8] c"-j=m -k=n --lucky | mth through nth (inclusive) lucky numbers\00"
@str.20 = [76 x i8] c"-j=m -k=n --evenLucky | mth through nth (inclusive) even lucky numbers\00"
@str.21 = [67 x i8] c"-j=m -k=-n | all lucky numbers in the range [m, n]\00"
@str.22 = [67 x i8] c"-j=m -k=-n --lucky | all lucky numbers in the range [m, n]\00"
@str.23 = [72 x i8] c"-j=m -k=-n --evenLucky | all even lucky numbers in the range [m, n]\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.22, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.23, i64 0, i64 0))
ret void
}