#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);
int /*<<< orphan*/ puts(char *);
void showhelp(void) {
  puts("usage: mgb100cfg [OPTIONS]");
  puts("");
  puts("         -m0 [<MAC>]      : show/set MAC of wl0");
  puts("         -m1 [<MAC>]      : show/set MAC of eth1");
  puts("         -M0              : show MAC of wl0 (insmod format)");
  puts("         -M1              : show MAC of eth1 (insmod format)");
  puts("         -i [<ID>]        : show/set product ID");
  puts("         -n [<NAME>]      : show/set device name");
  puts("         -l [<LINUX CMD>] : show/set Linux command line (dangerous)");
  puts("         -c [0/1]         : show/set copy mtd2 as initrd (dangerous)");
  puts("         -w [1..255]      : show/set Redboot waittime...");
  puts("         -d <mtd-device>  : MTD device to read/write info from/to");
  puts("");
  exit(1);
}


x86 assembly (clang, -O0):
<showhelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a7(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
lea    0xf51(%rip),%rdi
call   1030 <puts@plt>
lea    0xf82(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1003(%rip),%rdi
call   1030 <puts@plt>
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1069(%rip),%rdi
call   1030 <puts@plt>
lea    0x1023(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<showhelp>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xecd(%rip),%rdi
call   1040 <puts@plt>
lea    0xef1(%rip),%rdi
call   1040 <puts@plt>
lea    0xf16(%rip),%rdi
call   1040 <puts@plt>
lea    0xf46(%rip),%rdi
call   1040 <puts@plt>
lea    0xf77(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9b(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc0(%rip),%rdi
call   1040 <puts@plt>
lea    0xff8(%rip),%rdi
call   1040 <puts@plt>
lea    0x1031(%rip),%rdi
call   1040 <puts@plt>
lea    0x105e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"usage: mgb100cfg [OPTIONS]\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [48 x i8] c" -m0 [<MAC>] : show/set MAC of wl0\00"
@.str.3 = [49 x i8] c" -m1 [<MAC>] : show/set MAC of eth1\00"
@.str.4 = [60 x i8] c" -M0 : show MAC of wl0 (insmod format)\00"
@.str.5 = [61 x i8] c" -M1 : show MAC of eth1 (insmod format)\00"
@.str.6 = [48 x i8] c" -i [<ID>] : show/set product ID\00"
@.str.7 = [49 x i8] c" -n [<NAME>] : show/set device name\00"
@.str.8 = [68 x i8] c" -l [<LINUX CMD>] : show/set Linux command line (dangerous)\00"
@.str.9 = [69 x i8] c" -c [0/1] : show/set copy mtd2 as initrd (dangerous)\00"
@.str.10 = [57 x i8] c" -w [1..255] : show/set Redboot waittime...\00"
@.str.11 = [66 x i8] c" -d <mtd-device> : MTD device to read/write info from/to\00"
define void @showhelp() {
%1 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @puts(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%14 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [27 x i8] c"usage: mgb100cfg [OPTIONS]\00"
@.str.2 = [48 x i8] c" -m0 [<MAC>] : show/set MAC of wl0\00"
@.str.3 = [49 x i8] c" -m1 [<MAC>] : show/set MAC of eth1\00"
@.str.4 = [60 x i8] c" -M0 : show MAC of wl0 (insmod format)\00"
@.str.5 = [61 x i8] c" -M1 : show MAC of eth1 (insmod format)\00"
@.str.6 = [48 x i8] c" -i [<ID>] : show/set product ID\00"
@.str.7 = [49 x i8] c" -n [<NAME>] : show/set device name\00"
@.str.8 = [68 x i8] c" -l [<LINUX CMD>] : show/set Linux command line (dangerous)\00"
@.str.9 = [69 x i8] c" -c [0/1] : show/set copy mtd2 as initrd (dangerous)\00"
@.str.10 = [57 x i8] c" -w [1..255] : show/set Redboot waittime...\00"
@.str.11 = [66 x i8] c" -d <mtd-device> : MTD device to read/write info from/to\00"
define void @showhelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @putchar(i32 10)
%14 = tail call i32 @exit(i32 1)
unreachable
}