void help(c0, cn, ns, es) int c0, cn;
char **ns, **es;
{
  printf("\t\t--- You may use the following commands:\n");
  printf("\t\t--- Commands may be abbreviated as long as they are not "
         "ambiguous\n\n");
  for (; c0 <= cn; c0++)
    printf("\t%s\t: %s\n", *(ns + c0), *(es + c0));
  putchar('\n');
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
lea    0xec3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jg     1192 <help+0x72>
mov    -0x10(%rbp),%rax
movslq -0x4(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    -0x18(%rbp),%rax
movslq -0x4(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
lea    0xef4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1152 <help+0x32>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rcx,%r14
mov    %rdx,%r15
mov    %esi,%r13d
mov    %edi,%r12d
lea    0xebc(%rip),%rdi
call   1040 <puts@plt>
lea    0xeda(%rip),%rdi
call   1040 <puts@plt>
cmp    %r13d,%r12d
jg     119b <help+0x6b>
movslq %r12d,%rax
lea    (%r15,%rax,8),%r15
lea    (%r14,%rax,8),%rbx
sub    %r12d,%r13d
add    $0x1,%r13d
lea    0xe83(%rip),%r14
xor    %ebp,%ebp
nop
mov    (%r15,%rbp,8),%rsi
mov    (%rbx,%rbp,8),%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    %ebp,%r13d
jne    1180 <help+0x50>
mov    $0xa,%edi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [43 x i8] c"\09\09--- You may use the following commands:\0A\00"
@.str.1 = [70 x i8] c"\09\09--- Commands may be abbreviated as long as they are not ambiguous\0A\0A\00"
@.str.2 = [10 x i8] c"\09%s\09: %s\0A\00"
define void @help(i32 %0, i32 %1, i8** %2, i8** %3) {
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8**
%8 = alloca i8**
store i32 %0, i32* %5
store i32 %1, i32* %6
store i8** %2, i8*** %7
store i8** %3, i8*** %8
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0))
br label %11
11: ; preds = %27, %4
%12 = load i32, i32* %5
%13 = load i32, i32* %6
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %30
15: ; preds = %11
%16 = load i8**, i8*** %7
%17 = load i32, i32* %5
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8*, i8** %16, i64 %18
%20 = load i8*, i8** %19
%21 = load i8**, i8*** %8
%22 = load i32, i32* %5
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8*, i8** %21, i64 %23
%25 = load i8*, i8** %24
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %20, i8* %25)
br label %27
27: ; preds = %15
%28 = load i32, i32* %5
%29 = add nsw i32 %28, 1
store i32 %29, i32* %5
br label %11
30: ; preds = %11
%31 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
ret void
}

LLVM IR (-O2):
@.str.2 = [10 x i8] c"\09%s\09: %s\0A\00"
@str = [42 x i8] c"\09\09--- You may use the following commands:\00"
@str.3 = [69 x i8] c"\09\09--- Commands may be abbreviated as long as they are not ambiguous\0A\00"
define void @help(i32 %0, i32 %1, i8** nocapture %2, i8** nocapture %3) {
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.3, i64 0, i64 0))
%7 = icmp sgt i32 %0, %1
br i1 %7, label %21, label %8
8: ; preds = %4
%9 = sext i32 %0 to i64
%10 = add i32 %1, 1
br label %11
11: ; preds = %8, %11
%12 = phi i64 [ %9, %8 ], [ %18, %11 ]
%13 = getelementptr inbounds i8*, i8** %2, i64 %12
%14 = load i8*, i8** %13
%15 = getelementptr inbounds i8*, i8** %3, i64 %12
%16 = load i8*, i8** %15
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %14, i8* %16)
%18 = add nsw i64 %12, 1
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %10, %19
br i1 %20, label %21, label %11
21: ; preds = %11, %4
%22 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
ret void
}