void DumpAllCommandSyntax(void) {
  int n;
  bwx_DEBUG(__FUNCTION__);
  for (n = 0; n < 143; n++) {
    prn_lprintf(
        "------------------------------------------------------------\n");
    DumpOneCommandSyntax(n, -1);
  }
  prn_lprintf("------------------------------------------------------------\n");
}


x86 assembly (clang, -O0):
<DumpAllCommandSyntax>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1040 <bwx_DEBUG@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x8f,-0x4(%rbp)
jge    1185 <DumpAllCommandSyntax+0x55>
lea    0xeb4(%rip),%rdi
mov    $0x0,%al
call   1050 <prn_lprintf@plt>
mov    -0x4(%rbp),%edi
mov    $0xffffffff,%esi
mov    $0x0,%al
call   1030 <DumpOneCommandSyntax@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    114d <DumpAllCommandSyntax+0x1d>
lea    0xe89(%rip),%rdi
mov    $0x0,%al
call   1050 <prn_lprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<DumpAllCommandSyntax>:
push   %rbp
push   %rbx
push   %rax
lea    0xec6(%rip),%rdi
xor    %eax,%eax
call   1040 <bwx_DEBUG@plt>
lea    0xecd(%rip),%rbx
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <prn_lprintf@plt>
mov    %ebp,%edi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1030 <DumpOneCommandSyntax@plt>
add    $0x1,%ebp
cmp    $0x8f,%ebp
jne    1150 <DumpAllCommandSyntax+0x20>
lea    0xe9b(%rip),%rdi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1050 <prn_lprintf@plt>

LLVM IR (-O0):
@__FUNCTION__.DumpAllCommandSyntax = [21 x i8] c"DumpAllCommandSyntax\00"
@.str = [62 x i8] c"------------------------------------------------------------\0A\00"
define void @DumpAllCommandSyntax() {
%1 = alloca i32
%2 = call i32 (i8*, ...) bitcast (i32 (...)* @bwx_DEBUG to i32 (i8*, ...)*)(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @__FUNCTION__.DumpAllCommandSyntax, i64 0, i64 0))
store i32 0, i32* %1
br label %3
3: ; preds = %10, %0
%4 = load i32, i32* %1
%5 = icmp slt i32 %4, 143
br i1 %5, label %6, label %13
6: ; preds = %3
%7 = call i32 (i8*, ...) bitcast (i32 (...)* @prn_lprintf to i32 (i8*, ...)*)(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* %1
%9 = call i32 (i32, i32, ...) bitcast (i32 (...)* @DumpOneCommandSyntax to i32 (i32, i32, ...)*)(i32 %8, i32 -1)
br label %10
10: ; preds = %6
%11 = load i32, i32* %1
%12 = add nsw i32 %11, 1
store i32 %12, i32* %1
br label %3
13: ; preds = %3
%14 = call i32 (i8*, ...) bitcast (i32 (...)* @prn_lprintf to i32 (i8*, ...)*)(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@__FUNCTION__.DumpAllCommandSyntax = [21 x i8] c"DumpAllCommandSyntax\00"
@.str = [62 x i8] c"------------------------------------------------------------\0A\00"
define void @DumpAllCommandSyntax() {
%1 = tail call i32 (i8*, ...) bitcast (i32 (...)* @bwx_DEBUG to i32 (i8*, ...)*)(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @__FUNCTION__.DumpAllCommandSyntax, i64 0, i64 0))
br label %2
2: ; preds = %0, %2
%3 = phi i32 [ 0, %0 ], [ %6, %2 ]
%4 = tail call i32 (i8*, ...) bitcast (i32 (...)* @prn_lprintf to i32 (i8*, ...)*)(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @DumpOneCommandSyntax to i32 (i32, i32, ...)*)(i32 %3, i32 -1)
%6 = add nuw nsw i32 %3, 1
%7 = icmp eq i32 %6, 143
br i1 %7, label %8, label %2
8: ; preds = %2
%9 = tail call i32 (i8*, ...) bitcast (i32 (...)* @prn_lprintf to i32 (i8*, ...)*)(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
ret void
}