#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stdout;
void usage() {
  fprintf(stdout, "\n");
  fprintf(stdout, "Usage: dicthelp [OPTION]... [word]\n");
  fprintf(stdout, "\n");
  fprintf(stdout, "Refers the dictionary and suggests correctly spelled "
                  "words(s) for a given (misspelled) word.\n");
  fprintf(stdout, "If the word is not supplied on the command-line, it is "
                  "read through stdin\n");
  fprintf(stdout, "\n");
  fprintf(stdout, "Options:\n");
  fprintf(stdout, "        -d <dictionary>\n");
  fprintf(stdout, "           Specify name of the dictionary to look up the\n");
  fprintf(stdout, "           word/suggestions into\n");
  fprintf(stdout, "           *Default dictionary = %s\n",
          "/usr/share/dict/words");
  fprintf(stdout, "        -s <r|a>\n");
  fprintf(stdout, "           Set sort order of the output\n");
  fprintf(stdout, "           r  sorts suggested words according to the "
                  "relevancy (edit-distance)\n");
  fprintf(stdout, "           a  sorts suggested words alphabetically\n");
  fprintf(stdout, "           *Default sort order = r\n");
  fprintf(stdout, "        -f Force suggestions.\n");
  fprintf(stdout, "           Show suggestions (similarly spelled words) "
                  "even if the supplied word is\n");
  fprintf(stdout, "           spelled correctly.\n");
  fprintf(stdout, "           *By default -f is not in effect.\n");
  fprintf(stdout, "        -v Enable verbose output\n");
  fprintf(stdout, "        -h Show this help\n");
  fprintf(stdout, "Advanced Options:\n");
  fprintf(stdout, "        -e n\n");
  fprintf(stdout, "           Set max edit-distance threshold.\n");
  fprintf(stdout, "           n is edit-distance (a numeric value).\n");
  fprintf(stdout, "           Only suggestions with edit-distance less "
                  "than or equal to n will be shown\n");
  fprintf(stdout, "           Higher the value of n, more the suggestions"
                  " (with reducing relevancy)\n");
  fprintf(stdout, "           *Default edit-distance threshold =  %d\n", 2);
  fprintf(stdout, " SOME EXAMPLES:\n");
  fprintf(stdout, " dicthelp happyness\n");
  fprintf(stdout, " dicthelp -e3 happyness\n");
  fprintf(stdout, " dicthelp -e3 -sa happyness\n");
  fprintf(stdout, " dicthelp -e1 -f happy\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0x10e2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2eae(%rip),%rax
mov    (%rax),%edi
lea    0xec5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e97(%rip),%rax
mov    (%rax),%edi
lea    0x10b4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e80(%rip),%rax
mov    (%rax),%edi
lea    0xebb(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e69(%rip),%rax
mov    (%rax),%edi
lea    0xf02(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e52(%rip),%rax
mov    (%rax),%edi
lea    0x106f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e3b(%rip),%rax
mov    (%rax),%edi
lea    0x11b7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e24(%rip),%rax
mov    (%rax),%edi
lea    0xf08(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
lea    0xf0a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2df6(%rip),%rax
mov    (%rax),%edi
lea    0xf2d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ddf(%rip),%rax
mov    (%rax),%edi
lea    0xf38(%rip),%rsi
lea    0xf56(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dc1(%rip),%rax
mov    (%rax),%edi
lea    0xf55(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2daa(%rip),%rax
mov    (%rax),%edi
lea    0xf50(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d93(%rip),%rax
mov    (%rax),%edi
lea    0xf62(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d7c(%rip),%rax
mov    (%rax),%edi
lea    0xf9b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d65(%rip),%rax
mov    (%rax),%edi
lea    0xfb8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d4e(%rip),%rax
mov    (%rax),%edi
lea    0xfc5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d37(%rip),%rax
mov    (%rax),%edi
lea    0xfcd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d20(%rip),%rax
mov    (%rax),%edi
lea    0x100a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d09(%rip),%rax
mov    (%rax),%edi
lea    0x1012(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cf2(%rip),%rax
mov    (%rax),%edi
lea    0x1028(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cdb(%rip),%rax
mov    (%rax),%edi
lea    0x1033(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cc4(%rip),%rax
mov    (%rax),%edi
lea    0x1037(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cad(%rip),%rax
mov    (%rax),%edi
lea    0x1033(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c96(%rip),%rax
mov    (%rax),%edi
lea    0x102a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c7f(%rip),%rax
mov    (%rax),%edi
lea    0x1040(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c68(%rip),%rax
mov    (%rax),%edi
lea    0x105b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c51(%rip),%rax
mov    (%rax),%edi
lea    0x109a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c3a(%rip),%rax
mov    (%rax),%edi
lea    0x10d5(%rip),%rsi
mov    $0x2,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c1e(%rip),%rax
mov    (%rax),%edi
lea    0x10ec(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c07(%rip),%rax
mov    (%rax),%edi
lea    0x10e6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2bf0(%rip),%rax
mov    (%rax),%edi
lea    0x10e4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2bd9(%rip),%rax
mov    (%rax),%edi
lea    0x10e6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2bc2(%rip),%rax
mov    (%rax),%edi
lea    0x10ec(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %r14
push   %rbx
push   %rax
mov    0x2ec5(%rip),%rbx
mov    (%rbx),%edi
lea    0x10e2(%rip),%r14
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xec9(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xed1(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf1f(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11e6(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf3e(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf47(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf71(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf83(%rip),%rsi
lea    0xfa1(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa7(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa9(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfc2(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1002(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1026(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x103a(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1049(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x108d(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x109c(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10b9(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10cb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d6(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d9(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d7(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10f4(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1116(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x115c(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x119e(%rip),%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11bc(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11bd(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11c2(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11cb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11d8(%rip),%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [2 x i8] c"\0A\00"
@.str.1 = [36 x i8] c"Usage: dicthelp [OPTION]... [word]\0A\00"
@.str.2 = [94 x i8] c"Refers the dictionary and suggests correctly spelled words(s) for a given (misspelled) word.\0A\00"
@.str.3 = [75 x i8] c"If the word is not supplied on the command-line, it is read through stdin\0A\00"
@.str.4 = [10 x i8] c"Options:\0A\00"
@.str.5 = [25 x i8] c" -d <dictionary>\0A\00"
@.str.6 = [58 x i8] c" Specify name of the dictionary to look up the\0A\00"
@.str.7 = [34 x i8] c" word/suggestions into\0A\00"
@.str.8 = [37 x i8] c" *Default dictionary = %s\0A\00"
@.str.9 = [22 x i8] c"/usr/share/dict/words\00"
@.str.10 = [18 x i8] c" -s <r|a>\0A\00"
@.str.11 = [41 x i8] c" Set sort order of the output\0A\00"
@.str.12 = [80 x i8] c" r sorts suggested words according to the relevancy (edit-distance)\0A\00"
@.str.13 = [52 x i8] c" a sorts suggested words alphabetically\0A\00"
@.str.14 = [36 x i8] c" *Default sort order = r\0A\00"
@.str.15 = [31 x i8] c" -f Force suggestions.\0A\00"
@.str.16 = [84 x i8] c" Show suggestions (similarly spelled words) even if the supplied word is\0A\00"
@.str.17 = [31 x i8] c" spelled correctly.\0A\00"
@.str.18 = [45 x i8] c" *By default -f is not in effect.\0A\00"
@.str.19 = [34 x i8] c" -v Enable verbose output\0A\00"
@.str.20 = [27 x i8] c" -h Show this help\0A\00"
@.str.21 = [19 x i8] c"Advanced Options:\0A\00"
@.str.22 = [14 x i8] c" -e n\0A\00"
@.str.23 = [45 x i8] c" Set max edit-distance threshold.\0A\00"
@.str.24 = [50 x i8] c" n is edit-distance (a numeric value).\0A\00"
@.str.25 = [86 x i8] c" Only suggestions with edit-distance less than or equal to n will be shown\0A\00"
@.str.26 = [82 x i8] c" Higher the value of n, more the suggestions (with reducing relevancy)\0A\00"
@.str.27 = [51 x i8] c" *Default edit-distance threshold = %d\0A\00"
@.str.28 = [17 x i8] c" SOME EXAMPLES:\0A\00"
@.str.29 = [21 x i8] c" dicthelp happyness\0A\00"
@.str.30 = [25 x i8] c" dicthelp -e3 happyness\0A\00"
@.str.31 = [29 x i8] c" dicthelp -e3 -sa happyness\0A\00"
@.str.32 = [24 x i8] c" dicthelp -e1 -f happy\0A\00"
define void @usage() {
%1 = load i32, i32* @stdout
%2 = call i32 (i32, i8*, ...) @fprintf(i32 %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stdout
%4 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%15 = load i32, i32* @stdout
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
%23 = load i32, i32* @stdout
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%25 = load i32, i32* @stdout
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
%27 = load i32, i32* @stdout
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.12, i64 0, i64 0))
%29 = load i32, i32* @stdout
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.13, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.14, i64 0, i64 0))
%33 = load i32, i32* @stdout
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %33, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.15, i64 0, i64 0))
%35 = load i32, i32* @stdout
%36 = call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.16, i64 0, i64 0))
%37 = load i32, i32* @stdout
%38 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.17, i64 0, i64 0))
%39 = load i32, i32* @stdout
%40 = call i32 (i32, i8*, ...) @fprintf(i32 %39, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0))
%41 = load i32, i32* @stdout
%42 = call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.19, i64 0, i64 0))
%43 = load i32, i32* @stdout
%44 = call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0))
%45 = load i32, i32* @stdout
%46 = call i32 (i32, i8*, ...) @fprintf(i32 %45, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.21, i64 0, i64 0))
%47 = load i32, i32* @stdout
%48 = call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0))
%49 = load i32, i32* @stdout
%50 = call i32 (i32, i8*, ...) @fprintf(i32 %49, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0))
%51 = load i32, i32* @stdout
%52 = call i32 (i32, i8*, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.24, i64 0, i64 0))
%53 = load i32, i32* @stdout
%54 = call i32 (i32, i8*, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.25, i64 0, i64 0))
%55 = load i32, i32* @stdout
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.26, i64 0, i64 0))
%57 = load i32, i32* @stdout
%58 = call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.27, i64 0, i64 0), i32 2)
%59 = load i32, i32* @stdout
%60 = call i32 (i32, i8*, ...) @fprintf(i32 %59, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.28, i64 0, i64 0))
%61 = load i32, i32* @stdout
%62 = call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.29, i64 0, i64 0))
%63 = load i32, i32* @stdout
%64 = call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.30, i64 0, i64 0))
%65 = load i32, i32* @stdout
%66 = call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.31, i64 0, i64 0))
%67 = load i32, i32* @stdout
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.32, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [2 x i8] c"\0A\00"
@.str.1 = [36 x i8] c"Usage: dicthelp [OPTION]... [word]\0A\00"
@.str.2 = [94 x i8] c"Refers the dictionary and suggests correctly spelled words(s) for a given (misspelled) word.\0A\00"
@.str.3 = [75 x i8] c"If the word is not supplied on the command-line, it is read through stdin\0A\00"
@.str.4 = [10 x i8] c"Options:\0A\00"
@.str.5 = [25 x i8] c" -d <dictionary>\0A\00"
@.str.6 = [58 x i8] c" Specify name of the dictionary to look up the\0A\00"
@.str.7 = [34 x i8] c" word/suggestions into\0A\00"
@.str.8 = [37 x i8] c" *Default dictionary = %s\0A\00"
@.str.9 = [22 x i8] c"/usr/share/dict/words\00"
@.str.10 = [18 x i8] c" -s <r|a>\0A\00"
@.str.11 = [41 x i8] c" Set sort order of the output\0A\00"
@.str.12 = [80 x i8] c" r sorts suggested words according to the relevancy (edit-distance)\0A\00"
@.str.13 = [52 x i8] c" a sorts suggested words alphabetically\0A\00"
@.str.14 = [36 x i8] c" *Default sort order = r\0A\00"
@.str.15 = [31 x i8] c" -f Force suggestions.\0A\00"
@.str.16 = [84 x i8] c" Show suggestions (similarly spelled words) even if the supplied word is\0A\00"
@.str.17 = [31 x i8] c" spelled correctly.\0A\00"
@.str.18 = [45 x i8] c" *By default -f is not in effect.\0A\00"
@.str.19 = [34 x i8] c" -v Enable verbose output\0A\00"
@.str.20 = [27 x i8] c" -h Show this help\0A\00"
@.str.21 = [19 x i8] c"Advanced Options:\0A\00"
@.str.22 = [14 x i8] c" -e n\0A\00"
@.str.23 = [45 x i8] c" Set max edit-distance threshold.\0A\00"
@.str.24 = [50 x i8] c" n is edit-distance (a numeric value).\0A\00"
@.str.25 = [86 x i8] c" Only suggestions with edit-distance less than or equal to n will be shown\0A\00"
@.str.26 = [82 x i8] c" Higher the value of n, more the suggestions (with reducing relevancy)\0A\00"
@.str.27 = [51 x i8] c" *Default edit-distance threshold = %d\0A\00"
@.str.28 = [17 x i8] c" SOME EXAMPLES:\0A\00"
@.str.29 = [21 x i8] c" dicthelp happyness\0A\00"
@.str.30 = [25 x i8] c" dicthelp -e3 happyness\0A\00"
@.str.31 = [29 x i8] c" dicthelp -e3 -sa happyness\0A\00"
@.str.32 = [24 x i8] c" dicthelp -e1 -f happy\0A\00"
define void @usage() {
%1 = load i32, i32* @stdout
%2 = tail call i32 (i32, i8*, ...) @fprintf(i32 %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stdout
%4 = tail call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = tail call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%15 = load i32, i32* @stdout
%16 = tail call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = tail call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = tail call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
%23 = load i32, i32* @stdout
%24 = tail call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%25 = load i32, i32* @stdout
%26 = tail call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
%27 = load i32, i32* @stdout
%28 = tail call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.12, i64 0, i64 0))
%29 = load i32, i32* @stdout
%30 = tail call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.13, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = tail call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.14, i64 0, i64 0))
%33 = load i32, i32* @stdout
%34 = tail call i32 (i32, i8*, ...) @fprintf(i32 %33, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.15, i64 0, i64 0))
%35 = load i32, i32* @stdout
%36 = tail call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.16, i64 0, i64 0))
%37 = load i32, i32* @stdout
%38 = tail call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.17, i64 0, i64 0))
%39 = load i32, i32* @stdout
%40 = tail call i32 (i32, i8*, ...) @fprintf(i32 %39, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0))
%41 = load i32, i32* @stdout
%42 = tail call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.19, i64 0, i64 0))
%43 = load i32, i32* @stdout
%44 = tail call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0))
%45 = load i32, i32* @stdout
%46 = tail call i32 (i32, i8*, ...) @fprintf(i32 %45, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.21, i64 0, i64 0))
%47 = load i32, i32* @stdout
%48 = tail call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0))
%49 = load i32, i32* @stdout
%50 = tail call i32 (i32, i8*, ...) @fprintf(i32 %49, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0))
%51 = load i32, i32* @stdout
%52 = tail call i32 (i32, i8*, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.24, i64 0, i64 0))
%53 = load i32, i32* @stdout
%54 = tail call i32 (i32, i8*, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.25, i64 0, i64 0))
%55 = load i32, i32* @stdout
%56 = tail call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.26, i64 0, i64 0))
%57 = load i32, i32* @stdout
%58 = tail call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.27, i64 0, i64 0), i32 2)
%59 = load i32, i32* @stdout
%60 = tail call i32 (i32, i8*, ...) @fprintf(i32 %59, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.28, i64 0, i64 0))
%61 = load i32, i32* @stdout
%62 = tail call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.29, i64 0, i64 0))
%63 = load i32, i32* @stdout
%64 = tail call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.30, i64 0, i64 0))
%65 = load i32, i32* @stdout
%66 = tail call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.31, i64 0, i64 0))
%67 = load i32, i32* @stdout
%68 = tail call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.32, i64 0, i64 0))
ret void
}