#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*/ junk;

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
scalar_t__ readline(char *, char *, int);
int DOhelp() {
  char junk[10];
  printf("Command:      Description\n");
  printf("!             Escape to a shell\n");
  printf("append        Append a file to remote host\n");
  printf("ascii         Set file transfer type to ascii\n");
  printf("binary        Set file transfer type to binary\n");
  printf("block         Set file transfer mode to block\n");
  printf("bye           Close connection and exit\n");
  printf("cd            Change directory on remote host\n");
  printf("close         Close connection\n");
  printf("clone         Clone a file\n");
  printf("del           Remove file on remote host\n");
  printf("dir           Display long form remote host directory listing\n");
  printf("exit          Close connection and exit\n");
  printf("get           Retrieve a file from remote host\n");
  printf("help          Display this text\n");
  if (readline("Press ENTER to continue... ", junk, sizeof(junk)))
    return (-1);
  printf("lcd           Change directory on local host\n");
  printf("ldir          Display long form local host directory listing\n");
  printf("lls           Display local host directory listing\n");
  printf("lmkdir        Create directory on local host\n");
  printf("lpwd          Display current directory on local host\n");
  printf("lrmdir        Remove directory on local host\n");
  printf("ls            Display remote host directory listing\n");
  printf("mget          Retrieve multiple files from remote host\n");
  printf("mkdir         Create directory on remote host\n");
  printf("mod           Get file modification time\n");
  printf("mput          Send multiple files to remote host\n");
  printf("noop          Send the ftp NOOP command\n");
  if (readline("Press ENTER to continue... ", junk, sizeof(junk)))
    return (-1);
  printf("open          Open connection to remote host\n");
  printf("pass          Enter remote user password\n");
  printf("passive       Toggle passive mode\n");
  printf("put           Send a file to remote host\n");
  printf("putu          Send a file to remote host(unique)\n");
  printf("pwd           Display current directory on remote host\n");
  printf("quit          Close connection and exit\n");
  printf("quote         Send raw ftp command to remote host\n");
  printf("reget         Restart a partial file retrieve from remote host\n");
  printf("remotehelp    Display ftp commands implemented on remote host\n");
  printf("reput         Restart a partial file send to remote host\n");
  printf("rm            Remove file on remote host\n");
  printf("rmdir         Remove directory on remote host\n");
  if (readline("Press ENTER to continue... ", junk, sizeof(junk)))
    return (-1);
  printf("site          Send a site specific command\n");
  printf("size          Get file size information\n");
  printf("status        Get connection/file status information\n");
  printf("stream        Set file transfer mode to stream\n");
  printf("system        Get remote system type information\n");
  printf("user          Enter remote user information\n");
  printf("ver           Display client version information\n");
  return (0);
}


x86 assembly (clang, -O0):
<DOhelp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xed1(%rip),%rdi
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf15(%rip),%rdi
call   1030 <printf@plt>
lea    0xf38(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbf(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd3(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1001(%rip),%rdi
call   1030 <printf@plt>
lea    0x1034(%rip),%rdi
call   1030 <printf@plt>
lea    0x1051(%rip),%rdi
call   1030 <printf@plt>
lea    0x1075(%rip),%rdi
call   1030 <printf@plt>
lea    -0xe(%rbp),%rsi
lea    0x1086(%rip),%rdi
mov    $0xa,%edx
call   1040 <readline@plt>
cmp    $0x0,%rax
je     1207 <DOhelp+0xe7>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e4 <DOhelp+0x2c4>
lea    0x107b(%rip),%rdi
call   1030 <printf@plt>
lea    0x109d(%rip),%rdi
call   1030 <printf@plt>
lea    0x10cf(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1119(%rip),%rdi
call   1030 <printf@plt>
lea    0x1144(%rip),%rdi
call   1030 <printf@plt>
lea    0x1166(%rip),%rdi
call   1030 <printf@plt>
lea    0x118f(%rip),%rdi
call   1030 <printf@plt>
lea    0x11bb(%rip),%rdi
call   1030 <printf@plt>
lea    0x11de(%rip),%rdi
call   1030 <printf@plt>
lea    0x11fc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1222(%rip),%rdi
call   1030 <printf@plt>
lea    -0xe(%rbp),%rsi
lea    0xfcb(%rip),%rdi
mov    $0xa,%edx
call   1040 <readline@plt>
cmp    $0x0,%rax
je     12c2 <DOhelp+0x1a2>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e4 <DOhelp+0x2c4>
lea    0x1214(%rip),%rdi
call   1030 <printf@plt>
lea    0x1236(%rip),%rdi
call   1030 <printf@plt>
lea    0x1254(%rip),%rdi
call   1030 <printf@plt>
lea    0x126b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1289(%rip),%rdi
call   1030 <printf@plt>
lea    0x12af(%rip),%rdi
call   1030 <printf@plt>
lea    0x12db(%rip),%rdi
call   1030 <printf@plt>
lea    0x12f8(%rip),%rdi
call   1030 <printf@plt>
lea    0x131f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1353(%rip),%rdi
call   1030 <printf@plt>
lea    0x1386(%rip),%rdi
call   1030 <printf@plt>
lea    0x13b4(%rip),%rdi
call   1030 <printf@plt>
lea    0x13d2(%rip),%rdi
call   1030 <printf@plt>
lea    -0xe(%rbp),%rsi
lea    0xf04(%rip),%rdi
mov    $0xa,%edx
call   1040 <readline@plt>
cmp    $0x0,%rax
je     1389 <DOhelp+0x269>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e4 <DOhelp+0x2c4>
lea    0x13ca(%rip),%rdi
call   1030 <printf@plt>
lea    0x13ea(%rip),%rdi
call   1030 <printf@plt>
lea    0x1407(%rip),%rdi
call   1030 <printf@plt>
lea    0x1431(%rip),%rdi
call   1030 <printf@plt>
lea    0x1455(%rip),%rdi
call   1030 <printf@plt>
lea    0x147b(%rip),%rdi
call   1030 <printf@plt>
lea    0x149c(%rip),%rdi
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<DOhelp>:
push   %rbx
sub    $0x10,%rsp
lea    0xef0(%rip),%rdi
call   1030 <puts@plt>
lea    0xefe(%rip),%rdi
call   1030 <puts@plt>
lea    0xf12(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf53(%rip),%rdi
call   1030 <puts@plt>
lea    0xf76(%rip),%rdi
call   1030 <puts@plt>
lea    0xf98(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe9(%rip),%rdi
call   1030 <puts@plt>
lea    0xff8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1015(%rip),%rdi
call   1030 <puts@plt>
lea    0x1047(%rip),%rdi
call   1030 <puts@plt>
lea    0x1063(%rip),%rdi
call   1030 <puts@plt>
lea    0x1086(%rip),%rdi
call   1030 <puts@plt>
lea    0xe20(%rip),%rdi
lea    0x6(%rsp),%rsi
mov    $0xa,%edx
call   1040 <readline@plt>
mov    $0xffffffff,%ebx
test   %rax,%rax
jne    13b9 <DOhelp+0x299>
lea    0x1076(%rip),%rdi
call   1030 <puts@plt>
lea    0x1097(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c8(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ef(%rip),%rdi
call   1030 <puts@plt>
lea    0x1110(%rip),%rdi
call   1030 <puts@plt>
lea    0x113a(%rip),%rdi
call   1030 <puts@plt>
lea    0x115b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1183(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ae(%rip),%rdi
call   1030 <puts@plt>
lea    0x11d0(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ed(%rip),%rdi
call   1030 <puts@plt>
lea    0x1212(%rip),%rdi
call   1030 <puts@plt>
lea    0xd6c(%rip),%rdi
lea    0x6(%rsp),%rsi
mov    $0xa,%edx
call   1040 <readline@plt>
test   %rax,%rax
jne    13b9 <DOhelp+0x299>
lea    0x120f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1230(%rip),%rdi
call   1030 <puts@plt>
lea    0x124d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1263(%rip),%rdi
call   1030 <puts@plt>
lea    0x1280(%rip),%rdi
call   1030 <puts@plt>
lea    0x12a5(%rip),%rdi
call   1030 <puts@plt>
lea    0x12d0(%rip),%rdi
call   1030 <puts@plt>
lea    0x12ec(%rip),%rdi
call   1030 <puts@plt>
lea    0x1312(%rip),%rdi
call   1030 <puts@plt>
lea    0x1345(%rip),%rdi
call   1030 <puts@plt>
lea    0x1377(%rip),%rdi
call   1030 <puts@plt>
lea    0x13a4(%rip),%rdi
call   1030 <puts@plt>
lea    0x13c1(%rip),%rdi
call   1030 <puts@plt>
lea    0xcb1(%rip),%rdi
lea    0x6(%rsp),%rsi
mov    $0xa,%edx
call   1040 <readline@plt>
test   %rax,%rax
jne    13b9 <DOhelp+0x299>
lea    0x13c8(%rip),%rdi
call   1030 <puts@plt>
lea    0x13e7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1403(%rip),%rdi
call   1030 <puts@plt>
lea    0x142c(%rip),%rdi
call   1030 <puts@plt>
lea    0x144f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1474(%rip),%rdi
call   1030 <puts@plt>
lea    0x1494(%rip),%rdi
call   1030 <puts@plt>
xor    %ebx,%ebx
mov    %ebx,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"Command: Description\0A\00"
@.str.1 = [33 x i8] c"! Escape to a shell\0A\00"
@.str.2 = [44 x i8] c"append Append a file to remote host\0A\00"
@.str.3 = [47 x i8] c"ascii Set file transfer type to ascii\0A\00"
@.str.4 = [48 x i8] c"binary Set file transfer type to binary\0A\00"
@.str.5 = [47 x i8] c"block Set file transfer mode to block\0A\00"
@.str.6 = [41 x i8] c"bye Close connection and exit\0A\00"
@.str.7 = [47 x i8] c"cd Change directory on remote host\0A\00"
@.str.8 = [32 x i8] c"close Close connection\0A\00"
@.str.9 = [28 x i8] c"clone Clone a file\0A\00"
@.str.10 = [42 x i8] c"del Remove file on remote host\0A\00"
@.str.11 = [63 x i8] c"dir Display long form remote host directory listing\0A\00"
@.str.12 = [41 x i8] c"exit Close connection and exit\0A\00"
@.str.13 = [48 x i8] c"get Retrieve a file from remote host\0A\00"
@.str.14 = [33 x i8] c"help Display this text\0A\00"
@.str.15 = [28 x i8] c"Press ENTER to continue... \00"
@.str.16 = [46 x i8] c"lcd Change directory on local host\0A\00"
@.str.17 = [62 x i8] c"ldir Display long form local host directory listing\0A\00"
@.str.18 = [52 x i8] c"lls Display local host directory listing\0A\00"
@.str.19 = [46 x i8] c"lmkdir Create directory on local host\0A\00"
@.str.20 = [55 x i8] c"lpwd Display current directory on local host\0A\00"
@.str.21 = [46 x i8] c"lrmdir Remove directory on local host\0A\00"
@.str.22 = [53 x i8] c"ls Display remote host directory listing\0A\00"
@.str.23 = [56 x i8] c"mget Retrieve multiple files from remote host\0A\00"
@.str.24 = [47 x i8] c"mkdir Create directory on remote host\0A\00"
@.str.25 = [42 x i8] c"mod Get file modification time\0A\00"
@.str.26 = [50 x i8] c"mput Send multiple files to remote host\0A\00"
@.str.27 = [41 x i8] c"noop Send the ftp NOOP command\0A\00"
@.str.28 = [46 x i8] c"open Open connection to remote host\0A\00"
@.str.29 = [42 x i8] c"pass Enter remote user password\0A\00"
@.str.30 = [35 x i8] c"passive Toggle passive mode\0A\00"
@.str.31 = [42 x i8] c"put Send a file to remote host\0A\00"
@.str.32 = [50 x i8] c"putu Send a file to remote host(unique)\0A\00"
@.str.33 = [56 x i8] c"pwd Display current directory on remote host\0A\00"
@.str.34 = [41 x i8] c"quit Close connection and exit\0A\00"
@.str.35 = [51 x i8] c"quote Send raw ftp command to remote host\0A\00"
@.str.36 = [64 x i8] c"reget Restart a partial file retrieve from remote host\0A\00"
@.str.37 = [63 x i8] c"remotehelp Display ftp commands implemented on remote host\0A\00"
@.str.38 = [58 x i8] c"reput Restart a partial file send to remote host\0A\00"
@.str.39 = [42 x i8] c"rm Remove file on remote host\0A\00"
@.str.40 = [47 x i8] c"rmdir Remove directory on remote host\0A\00"
@.str.41 = [44 x i8] c"site Send a site specific command\0A\00"
@.str.42 = [41 x i8] c"size Get file size information\0A\00"
@.str.43 = [54 x i8] c"status Get connection/file status information\0A\00"
@.str.44 = [48 x i8] c"stream Set file transfer mode to stream\0A\00"
@.str.45 = [50 x i8] c"system Get remote system type information\0A\00"
@.str.46 = [45 x i8] c"user Enter remote user information\0A\00"
@.str.47 = [50 x i8] c"ver Display client version information\0A\00"
define i32 @DOhelp() {
%1 = alloca i32
%2 = alloca [10 x i8]
%3 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.14, i64 0, i64 0))
%18 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%19 = call i64 @readline(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8* %18, i32 10)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %0
store i32 -1, i32* %1
br label %65
22: ; preds = %0
%23 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.16, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.17, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.18, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.19, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.20, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.21, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.22, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.23, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.24, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.25, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.26, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.27, i64 0, i64 0))
%35 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%36 = call i64 @readline(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8* %35, i32 10)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %22
store i32 -1, i32* %1
br label %65
39: ; preds = %22
%40 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.28, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.29, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.30, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.31, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.32, i64 0, i64 0))
%45 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.33, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.34, i64 0, i64 0))
%47 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.35, i64 0, i64 0))
%48 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.36, i64 0, i64 0))
%49 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.37, i64 0, i64 0))
%50 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.38, i64 0, i64 0))
%51 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.39, i64 0, i64 0))
%52 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.40, i64 0, i64 0))
%53 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%54 = call i64 @readline(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8* %53, i32 10)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %39
store i32 -1, i32* %1
br label %65
57: ; preds = %39
%58 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.41, i64 0, i64 0))
%59 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.42, i64 0, i64 0))
%60 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.43, i64 0, i64 0))
%61 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.44, i64 0, i64 0))
%62 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.45, i64 0, i64 0))
%63 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.46, i64 0, i64 0))
%64 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.47, i64 0, i64 0))
store i32 0, i32* %1
br label %65
65: ; preds = %57, %56, %38, %21
%66 = load i32, i32* %1
ret i32 %66
}

LLVM IR (-O2):
@.str.15 = [28 x i8] c"Press ENTER to continue... \00"
@str = [26 x i8] c"Command: Description\00"
@str.48 = [32 x i8] c"! Escape to a shell\00"
@str.49 = [43 x i8] c"append Append a file to remote host\00"
@str.50 = [46 x i8] c"ascii Set file transfer type to ascii\00"
@str.51 = [47 x i8] c"binary Set file transfer type to binary\00"
@str.52 = [46 x i8] c"block Set file transfer mode to block\00"
@str.53 = [40 x i8] c"bye Close connection and exit\00"
@str.54 = [46 x i8] c"cd Change directory on remote host\00"
@str.55 = [31 x i8] c"close Close connection\00"
@str.56 = [27 x i8] c"clone Clone a file\00"
@str.57 = [41 x i8] c"del Remove file on remote host\00"
@str.58 = [62 x i8] c"dir Display long form remote host directory listing\00"
@str.59 = [40 x i8] c"exit Close connection and exit\00"
@str.60 = [47 x i8] c"get Retrieve a file from remote host\00"
@str.61 = [32 x i8] c"help Display this text\00"
@str.62 = [45 x i8] c"lcd Change directory on local host\00"
@str.63 = [61 x i8] c"ldir Display long form local host directory listing\00"
@str.64 = [51 x i8] c"lls Display local host directory listing\00"
@str.65 = [45 x i8] c"lmkdir Create directory on local host\00"
@str.66 = [54 x i8] c"lpwd Display current directory on local host\00"
@str.67 = [45 x i8] c"lrmdir Remove directory on local host\00"
@str.68 = [52 x i8] c"ls Display remote host directory listing\00"
@str.69 = [55 x i8] c"mget Retrieve multiple files from remote host\00"
@str.70 = [46 x i8] c"mkdir Create directory on remote host\00"
@str.71 = [41 x i8] c"mod Get file modification time\00"
@str.72 = [49 x i8] c"mput Send multiple files to remote host\00"
@str.73 = [40 x i8] c"noop Send the ftp NOOP command\00"
@str.74 = [45 x i8] c"open Open connection to remote host\00"
@str.75 = [41 x i8] c"pass Enter remote user password\00"
@str.76 = [34 x i8] c"passive Toggle passive mode\00"
@str.77 = [41 x i8] c"put Send a file to remote host\00"
@str.78 = [49 x i8] c"putu Send a file to remote host(unique)\00"
@str.79 = [55 x i8] c"pwd Display current directory on remote host\00"
@str.80 = [40 x i8] c"quit Close connection and exit\00"
@str.81 = [50 x i8] c"quote Send raw ftp command to remote host\00"
@str.82 = [63 x i8] c"reget Restart a partial file retrieve from remote host\00"
@str.83 = [62 x i8] c"remotehelp Display ftp commands implemented on remote host\00"
@str.84 = [57 x i8] c"reput Restart a partial file send to remote host\00"
@str.85 = [41 x i8] c"rm Remove file on remote host\00"
@str.86 = [46 x i8] c"rmdir Remove directory on remote host\00"
@str.87 = [43 x i8] c"site Send a site specific command\00"
@str.88 = [40 x i8] c"size Get file size information\00"
@str.89 = [53 x i8] c"status Get connection/file status information\00"
@str.90 = [47 x i8] c"stream Set file transfer mode to stream\00"
@str.91 = [49 x i8] c"system Get remote system type information\00"
@str.92 = [44 x i8] c"user Enter remote user information\00"
@str.93 = [49 x i8] c"ver Display client version information\00"
define i32 @DOhelp() {
%1 = alloca [10 x i8]
%2 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 0
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.48, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.49, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.50, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.51, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.52, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.53, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.54, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.55, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.56, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.57, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.58, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.59, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.60, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.61, i64 0, i64 0))
%18 = call i64 @readline(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8* %2, i32 10)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %59
20: ; preds = %0
%21 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.62, i64 0, i64 0))
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.63, i64 0, i64 0))
%23 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.64, i64 0, i64 0))
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.65, i64 0, i64 0))
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.66, i64 0, i64 0))
%26 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.67, i64 0, i64 0))
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.68, i64 0, i64 0))
%28 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.69, i64 0, i64 0))
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.70, i64 0, i64 0))
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.71, i64 0, i64 0))
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.72, i64 0, i64 0))
%32 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.73, i64 0, i64 0))
%33 = call i64 @readline(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8* %2, i32 10)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %59
35: ; preds = %20
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.74, i64 0, i64 0))
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.75, i64 0, i64 0))
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.76, i64 0, i64 0))
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.77, i64 0, i64 0))
%40 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.78, i64 0, i64 0))
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.79, i64 0, i64 0))
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.80, i64 0, i64 0))
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.81, i64 0, i64 0))
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.82, i64 0, i64 0))
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.83, i64 0, i64 0))
%46 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.84, i64 0, i64 0))
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.85, i64 0, i64 0))
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.86, i64 0, i64 0))
%49 = call i64 @readline(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8* %2, i32 10)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %59
51: ; preds = %35
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.87, i64 0, i64 0))
%53 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.88, i64 0, i64 0))
%54 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.89, i64 0, i64 0))
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.90, i64 0, i64 0))
%56 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.91, i64 0, i64 0))
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.92, i64 0, i64 0))
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.93, i64 0, i64 0))
br label %59
59: ; preds = %35, %20, %0, %51
%60 = phi i32 [ 0, %51 ], [ -1, %0 ], [ -1, %20 ], [ -1, %35 ]
ret i32 %60
}