#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*/ stderr;
void maze_solve_usage(void) {
  fprintf(stderr, "\t--nthreads nthreads\n");
  fprintf(stderr, "\t\tNumber of threads to use in solution.\n");
  fprintf(stderr, "\t\tDefault: 2.\n");
  fprintf(stderr, "\t--threadstart method\n");
  fprintf(stderr, "\t\tThread start-location method to use.\n");
  fprintf(stderr, "\t\tantidiagonal: Spread diagonally from upper right "
                  "to lower left.\n");
  fprintf(stderr, "\t\tdiagonal: Spread diagonally from upper left "
                  "to lower right.\n");
  fprintf(stderr, "\t\thorizontal: Spread horizontally.\n");
  fprintf(stderr, "\t\tvertical: Spread vertically.\n");
  fprintf(stderr, "\t\tspread: Spread in 2D patterns.\n");
  fprintf(stderr, "\t\trandom: Spread randomly.\n");
  fprintf(stderr, "\t\tExcess threads are spread randomly.\n");
  fprintf(stderr, "\t\tDefault: random.\n");
  fprintf(stderr, "\t--threadstats\n");
  fprintf(stderr, "\t\tEnable printing of per-thread work statistics.\n");
  fprintf(stderr, "\t\tDefault: No printing.\n");
}


x86 assembly (clang, -O0):
<maze_solve_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%edi
lea    0xedd(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
lea    0xef1(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e86(%rip),%rax
mov    (%rax),%edi
lea    0xeeb(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%edi
lea    0xeed(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edi
lea    0xf00(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%edi
lea    0xf2e(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
lea    0xf58(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e1d(%rip),%rax
mov    (%rax),%edi
lea    0xf67(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e08(%rip),%rax
mov    (%rax),%edi
lea    0xf72(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2df3(%rip),%rax
mov    (%rax),%edi
lea    0xf7f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dde(%rip),%rax
mov    (%rax),%edi
lea    0xf86(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dc9(%rip),%rax
mov    (%rax),%edi
lea    0xf98(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2db4(%rip),%rax
mov    (%rax),%edi
lea    0xf97(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d9f(%rip),%rax
mov    (%rax),%edi
lea    0xf92(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d8a(%rip),%rax
mov    (%rax),%edi
lea    0xfaf(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<maze_solve_usage>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee7(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf02(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf03(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf0c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf26(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf5b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf8c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa2(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfb4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfc8(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfd6(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfef(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xff5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xff7(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x101b(%rip),%rsi
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [22 x i8] c"\09--nthreads nthreads\0A\00"
@.str.1 = [41 x i8] c"\09\09Number of threads to use in solution.\0A\00"
@.str.2 = [15 x i8] c"\09\09Default: 2.\0A\00"
@.str.3 = [23 x i8] c"\09--threadstart method\0A\00"
@.str.4 = [40 x i8] c"\09\09Thread start-location method to use.\0A\00"
@.str.5 = [67 x i8] c"\09\09antidiagonal: Spread diagonally from upper right to lower left.\0A\00"
@.str.6 = [63 x i8] c"\09\09diagonal: Spread diagonally from upper left to lower right.\0A\00"
@.str.7 = [36 x i8] c"\09\09horizontal: Spread horizontally.\0A\00"
@.str.8 = [32 x i8] c"\09\09vertical: Spread vertically.\0A\00"
@.str.9 = [34 x i8] c"\09\09spread: Spread in 2D patterns.\0A\00"
@.str.10 = [28 x i8] c"\09\09random: Spread randomly.\0A\00"
@.str.11 = [39 x i8] c"\09\09Excess threads are spread randomly.\0A\00"
@.str.12 = [20 x i8] c"\09\09Default: random.\0A\00"
@.str.13 = [16 x i8] c"\09--threadstats\0A\00"
@.str.14 = [50 x i8] c"\09\09Enable printing of per-thread work statistics.\0A\00"
@.str.15 = [25 x i8] c"\09\09Default: No printing.\0A\00"
define void @maze_solve_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [22 x i8] c"\09--nthreads nthreads\0A\00"
@.str.1 = [41 x i8] c"\09\09Number of threads to use in solution.\0A\00"
@.str.2 = [15 x i8] c"\09\09Default: 2.\0A\00"
@.str.3 = [23 x i8] c"\09--threadstart method\0A\00"
@.str.4 = [40 x i8] c"\09\09Thread start-location method to use.\0A\00"
@.str.5 = [67 x i8] c"\09\09antidiagonal: Spread diagonally from upper right to lower left.\0A\00"
@.str.6 = [63 x i8] c"\09\09diagonal: Spread diagonally from upper left to lower right.\0A\00"
@.str.7 = [36 x i8] c"\09\09horizontal: Spread horizontally.\0A\00"
@.str.8 = [32 x i8] c"\09\09vertical: Spread vertically.\0A\00"
@.str.9 = [34 x i8] c"\09\09spread: Spread in 2D patterns.\0A\00"
@.str.10 = [28 x i8] c"\09\09random: Spread randomly.\0A\00"
@.str.11 = [39 x i8] c"\09\09Excess threads are spread randomly.\0A\00"
@.str.12 = [20 x i8] c"\09\09Default: random.\0A\00"
@.str.13 = [16 x i8] c"\09--threadstats\0A\00"
@.str.14 = [50 x i8] c"\09\09Enable printing of per-thread work statistics.\0A\00"
@.str.15 = [25 x i8] c"\09\09Default: No printing.\0A\00"
define void @maze_solve_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = tail call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
ret void
}