#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*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
void usage(void) {
  fputs("Usage: pwgen [ OPTIONS ] [ pw_length ] [ num_pw ]\n\n", stderr);
  fputs("Options supported by pwgen:\n", stderr);
  fputs("  -c or --capitalize\n", stderr);
  fputs("\tInclude at least one capital letter in the password\n", stderr);
  fputs("  -A or --no-capitalize\n", stderr);
  fputs("\tDon't include capital letters in the password\n", stderr);
  fputs("  -n or --numerals\n", stderr);
  fputs("\tInclude at least one number in the password\n", stderr);
  fputs("  -0 or --no-numerals\n", stderr);
  fputs("\tDon't include numbers in the password\n", stderr);
  fputs("  -y or --symbols\n", stderr);
  fputs("\tInclude at least one special symbol in the password\n", stderr);
  fputs("  -s or --secure\n", stderr);
  fputs("\tGenerate completely random passwords\n", stderr);
  fputs("  -B or --ambiguous\n", stderr);
  fputs("\tDon't include ambiguous characters in the password\n", stderr);
  fputs("  -h or --help\n", stderr);
  fputs("\tPrint a help message\n", stderr);
  fputs("  -H or --sha1=path/to/file[#seed]\n", stderr);
  fputs("\tUse sha1 hash of given file as a (not so) random generator\n",
        stderr);
  fputs("  -C\n\tPrint the generated passwords in columns\n", stderr);
  fputs("  -1\n\tDon't print the generated passwords in columns\n", stderr);
  fputs("  -v or --no-vowels\n", stderr);
  fputs("\tDo not use any vowels so as to avoid accidental nasty words\n",
        stderr);
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%esi
lea    0xecc(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2ea0(%rip),%rax
mov    (%rax),%esi
lea    0xeeb(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%esi
lea    0xef3(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e76(%rip),%rax
mov    (%rax),%esi
lea    0xef4(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e61(%rip),%rax
mov    (%rax),%esi
lea    0xf15(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e4c(%rip),%rax
mov    (%rax),%esi
lea    0xf19(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e37(%rip),%rax
mov    (%rax),%esi
lea    0xf34(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e22(%rip),%rax
mov    (%rax),%esi
lea    0xf33(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%esi
lea    0xf4c(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2df8(%rip),%rax
mov    (%rax),%esi
lea    0xf4e(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2de3(%rip),%rax
mov    (%rax),%esi
lea    0xf61(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%esi
lea    0xf5f(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2db9(%rip),%rax
mov    (%rax),%esi
lea    0xf80(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2da4(%rip),%rax
mov    (%rax),%esi
lea    0xf7d(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d8f(%rip),%rax
mov    (%rax),%esi
lea    0xf8f(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d7a(%rip),%rax
mov    (%rax),%esi
lea    0xf8f(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d65(%rip),%rax
mov    (%rax),%esi
lea    0xfaf(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d50(%rip),%rax
mov    (%rax),%esi
lea    0xfaa(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d3b(%rip),%rax
mov    (%rax),%esi
lea    0xfac(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d26(%rip),%rax
mov    (%rax),%esi
lea    0xfbb(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2d11(%rip),%rax
mov    (%rax),%esi
lea    0xfe3(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2cfc(%rip),%rax
mov    (%rax),%esi
lea    0xffe(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2ce7(%rip),%rax
mov    (%rax),%esi
lea    0x101f(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2cd2(%rip),%rax
mov    (%rax),%esi
lea    0x101f(%rip),%rdi
call   1030 <fputs@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    0x2eb8(%rip),%rbx
mov    (%rbx),%esi
lea    0xecf(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xef5(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf04(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf0c(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf34(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf3f(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf61(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf67(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf87(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf90(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfaa(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfaf(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfd7(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfdb(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xff4(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xffb(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1022(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1024(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x102d(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1043(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1072(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1094(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x10bc(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x10c3(%rip),%rdi
call   1030 <fputs@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [52 x i8] c"Usage: pwgen [ OPTIONS ] [ pw_length ] [ num_pw ]\0A\0A\00"
@stderr = global i32 0
@.str.1 = [29 x i8] c"Options supported by pwgen:\0A\00"
@.str.2 = [22 x i8] c" -c or --capitalize\0A\00"
@.str.3 = [54 x i8] c"\09Include at least one capital letter in the password\0A\00"
@.str.4 = [25 x i8] c" -A or --no-capitalize\0A\00"
@.str.5 = [48 x i8] c"\09Don't include capital letters in the password\0A\00"
@.str.6 = [20 x i8] c" -n or --numerals\0A\00"
@.str.7 = [46 x i8] c"\09Include at least one number in the password\0A\00"
@.str.8 = [23 x i8] c" -0 or --no-numerals\0A\00"
@.str.9 = [40 x i8] c"\09Don't include numbers in the password\0A\00"
@.str.10 = [19 x i8] c" -y or --symbols\0A\00"
@.str.11 = [54 x i8] c"\09Include at least one special symbol in the password\0A\00"
@.str.12 = [18 x i8] c" -s or --secure\0A\00"
@.str.13 = [39 x i8] c"\09Generate completely random passwords\0A\00"
@.str.14 = [21 x i8] c" -B or --ambiguous\0A\00"
@.str.15 = [53 x i8] c"\09Don't include ambiguous characters in the password\0A\00"
@.str.16 = [16 x i8] c" -h or --help\0A\00"
@.str.17 = [23 x i8] c"\09Print a help message\0A\00"
@.str.18 = [36 x i8] c" -H or --sha1=path/to/file[#seed]\0A\00"
@.str.19 = [61 x i8] c"\09Use sha1 hash of given file as a (not so) random generator\0A\00"
@.str.20 = [48 x i8] c" -C\0A\09Print the generated passwords in columns\0A\00"
@.str.21 = [54 x i8] c" -1\0A\09Don't print the generated passwords in columns\0A\00"
@.str.22 = [21 x i8] c" -v or --no-vowels\0A\00"
@.str.23 = [62 x i8] c"\09Do not use any vowels so as to avoid accidental nasty words\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fputs(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = call i32 @fputs(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @stderr
%6 = call i32 @fputs(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stderr
%8 = call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @stderr
%10 = call i32 @fputs(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stderr
%12 = call i32 @fputs(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stderr
%14 = call i32 @fputs(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @stderr
%16 = call i32 @fputs(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stderr
%18 = call i32 @fputs(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @stderr
%20 = call i32 @fputs(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @stderr
%22 = call i32 @fputs(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @stderr
%24 = call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @stderr
%26 = call i32 @fputs(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @stderr
%28 = call i32 @fputs(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @stderr
%30 = call i32 @fputs(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @stderr
%32 = call i32 @fputs(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.15, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @stderr
%34 = call i32 @fputs(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @stderr
%36 = call i32 @fputs(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @stderr
%38 = call i32 @fputs(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.18, i64 0, i64 0), i32 %37)
%39 = load i32, i32* @stderr
%40 = call i32 @fputs(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.19, i64 0, i64 0), i32 %39)
%41 = load i32, i32* @stderr
%42 = call i32 @fputs(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.20, i64 0, i64 0), i32 %41)
%43 = load i32, i32* @stderr
%44 = call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.21, i64 0, i64 0), i32 %43)
%45 = load i32, i32* @stderr
%46 = call i32 @fputs(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.22, i64 0, i64 0), i32 %45)
%47 = load i32, i32* @stderr
%48 = call i32 @fputs(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.23, i64 0, i64 0), i32 %47)
%49 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [52 x i8] c"Usage: pwgen [ OPTIONS ] [ pw_length ] [ num_pw ]\0A\0A\00"
@stderr = global i32 0
@.str.1 = [29 x i8] c"Options supported by pwgen:\0A\00"
@.str.2 = [22 x i8] c" -c or --capitalize\0A\00"
@.str.3 = [54 x i8] c"\09Include at least one capital letter in the password\0A\00"
@.str.4 = [25 x i8] c" -A or --no-capitalize\0A\00"
@.str.5 = [48 x i8] c"\09Don't include capital letters in the password\0A\00"
@.str.6 = [20 x i8] c" -n or --numerals\0A\00"
@.str.7 = [46 x i8] c"\09Include at least one number in the password\0A\00"
@.str.8 = [23 x i8] c" -0 or --no-numerals\0A\00"
@.str.9 = [40 x i8] c"\09Don't include numbers in the password\0A\00"
@.str.10 = [19 x i8] c" -y or --symbols\0A\00"
@.str.11 = [54 x i8] c"\09Include at least one special symbol in the password\0A\00"
@.str.12 = [18 x i8] c" -s or --secure\0A\00"
@.str.13 = [39 x i8] c"\09Generate completely random passwords\0A\00"
@.str.14 = [21 x i8] c" -B or --ambiguous\0A\00"
@.str.15 = [53 x i8] c"\09Don't include ambiguous characters in the password\0A\00"
@.str.16 = [16 x i8] c" -h or --help\0A\00"
@.str.17 = [23 x i8] c"\09Print a help message\0A\00"
@.str.18 = [36 x i8] c" -H or --sha1=path/to/file[#seed]\0A\00"
@.str.19 = [61 x i8] c"\09Use sha1 hash of given file as a (not so) random generator\0A\00"
@.str.20 = [48 x i8] c" -C\0A\09Print the generated passwords in columns\0A\00"
@.str.21 = [54 x i8] c" -1\0A\09Don't print the generated passwords in columns\0A\00"
@.str.22 = [21 x i8] c" -v or --no-vowels\0A\00"
@.str.23 = [62 x i8] c"\09Do not use any vowels so as to avoid accidental nasty words\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fputs(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = tail call i32 @fputs(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @stderr
%6 = tail call i32 @fputs(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stderr
%8 = tail call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @stderr
%10 = tail call i32 @fputs(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stderr
%12 = tail call i32 @fputs(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stderr
%14 = tail call i32 @fputs(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @stderr
%16 = tail call i32 @fputs(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stderr
%18 = tail call i32 @fputs(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @stderr
%20 = tail call i32 @fputs(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @stderr
%22 = tail call i32 @fputs(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @stderr
%24 = tail call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @stderr
%26 = tail call i32 @fputs(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @stderr
%28 = tail call i32 @fputs(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @stderr
%30 = tail call i32 @fputs(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @stderr
%32 = tail call i32 @fputs(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.15, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @stderr
%34 = tail call i32 @fputs(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @stderr
%36 = tail call i32 @fputs(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @stderr
%38 = tail call i32 @fputs(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.18, i64 0, i64 0), i32 %37)
%39 = load i32, i32* @stderr
%40 = tail call i32 @fputs(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.19, i64 0, i64 0), i32 %39)
%41 = load i32, i32* @stderr
%42 = tail call i32 @fputs(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.20, i64 0, i64 0), i32 %41)
%43 = load i32, i32* @stderr
%44 = tail call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.21, i64 0, i64 0), i32 %43)
%45 = load i32, i32* @stderr
%46 = tail call i32 @fputs(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.22, i64 0, i64 0), i32 %45)
%47 = load i32, i32* @stderr
%48 = tail call i32 @fputs(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.23, i64 0, i64 0), i32 %47)
%49 = tail call i32 @exit(i32 1)
unreachable
}