#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void help(char *execname) {
  printf("Usage: %s <options> <ifaces...>\n\n", execname);
  printf("Options:\n");
  printf("\t-h, --help\t\tthis help\n");
  printf("\t-V, --version\t\tcopyright and version information\n");
  printf("\t-a, --all\t\tde/configure all interfaces marked \"auto\"\n");
  printf("\t--allow CLASS\t\tignore non-\"allow-CLASS\" interfaces\n");
  printf("\t-i, --interfaces FILE\tuse FILE for interface definitions\n");
  printf("\t-n, --no-act\t\tprint out what would happen, but don't do it\n");
  printf("\t\t\t\t(note that this option doesn't disable mappings)\n");
  printf("\t-v, --verbose\t\tprint out what would happen before doing it\n");
  printf("\t--no-mappings\t\tdon't run any mappings\n");
  printf("\t--force\t\t\tforce de/configuration\n");
  exit(0);
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xec9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1025(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<help>:
push   %rax
mov    %rdi,%rsi
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed9(%rip),%rdi
call   1030 <puts@plt>
lea    0xed6(%rip),%rdi
call   1030 <puts@plt>
lea    0xee1(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf59(%rip),%rdi
call   1030 <puts@plt>
lea    0xf87(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1010(%rip),%rdi
call   1030 <puts@plt>
lea    0x102b(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [34 x i8] c"Usage: %s <options> <ifaces...>\0A\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [24 x i8] c"\09-h, --help\09\09this help\0A\00"
@.str.3 = [51 x i8] c"\09-V, --version\09\09copyright and version information\0A\00"
@.str.4 = [55 x i8] c"\09-a, --all\09\09de/configure all interfaces marked \22auto\22\0A\00"
@.str.5 = [53 x i8] c"\09--allow CLASS\09\09ignore non-\22allow-CLASS\22 interfaces\0A\00"
@.str.6 = [59 x i8] c"\09-i, --interfaces FILE\09use FILE for interface definitions\0A\00"
@.str.7 = [61 x i8] c"\09-n, --no-act\09\09print out what would happen, but don't do it\0A\00"
@.str.8 = [54 x i8] c"\09\09\09\09(note that this option doesn't disable mappings)\0A\00"
@.str.9 = [61 x i8] c"\09-v, --verbose\09\09print out what would happen before doing it\0A\00"
@.str.10 = [40 x i8] c"\09--no-mappings\09\09don't run any mappings\0A\00"
@.str.11 = [35 x i8] c"\09--force\09\09\09force de/configuration\0A\00"
define void @help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [34 x i8] c"Usage: %s <options> <ifaces...>\0A\0A\00"
@str = [9 x i8] c"Options:\00"
@str.12 = [23 x i8] c"\09-h, --help\09\09this help\00"
@str.13 = [50 x i8] c"\09-V, --version\09\09copyright and version information\00"
@str.14 = [54 x i8] c"\09-a, --all\09\09de/configure all interfaces marked \22auto\22\00"
@str.15 = [52 x i8] c"\09--allow CLASS\09\09ignore non-\22allow-CLASS\22 interfaces\00"
@str.16 = [58 x i8] c"\09-i, --interfaces FILE\09use FILE for interface definitions\00"
@str.17 = [60 x i8] c"\09-n, --no-act\09\09print out what would happen, but don't do it\00"
@str.18 = [53 x i8] c"\09\09\09\09(note that this option doesn't disable mappings)\00"
@str.19 = [60 x i8] c"\09-v, --verbose\09\09print out what would happen before doing it\00"
@str.20 = [39 x i8] c"\09--no-mappings\09\09don't run any mappings\00"
@str.21 = [34 x i8] c"\09--force\09\09\09force de/configuration\00"
define void @help(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.19, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.20, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.21, i64 0, i64 0))
%14 = tail call i32 @exit(i32 0)
unreachable
}