#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*/ printf(char *);
void usage(void) {
  printf("Usage:\n");
  printf("    cpe_ctrl get\n");
  printf("    cpe_ctrl get xx:xx:xx:xx:xx:xx\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx deviceid xxxxxx\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx dhcp enable/disable\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx ip x.x.x.x\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx netmask xx\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx ssid xxxxx\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx rssithr xxx yyy\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx security open\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx security wpa-psk/wpa2-psk "
         "passphrase\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx security wpa/wpa2 ttls/peap "
         "username password\n");
  printf("    cpe_ctrl set xx:xx:xx:xx:xx:xx apply\n");
  return;
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee1(%rip),%rdi
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
call   1030 <printf@plt>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
lea    0xf53(%rip),%rdi
call   1030 <printf@plt>
lea    0xf76(%rip),%rdi
call   1030 <printf@plt>
lea    0xf99(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbc(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe4(%rip),%rdi
call   1030 <printf@plt>
lea    0x100a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1047(%rip),%rdi
call   1030 <printf@plt>
lea    0x108d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee3(%rip),%rdi
call   1030 <puts@plt>
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeff(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf51(%rip),%rdi
call   1030 <puts@plt>
lea    0xf73(%rip),%rdi
call   1030 <puts@plt>
lea    0xf95(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfde(%rip),%rdi
call   1030 <puts@plt>
lea    0x1003(%rip),%rdi
call   1030 <puts@plt>
lea    0x103f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1084(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [18 x i8] c" cpe_ctrl get\0A\00"
@.str.2 = [36 x i8] c" cpe_ctrl get xx:xx:xx:xx:xx:xx\0A\00"
@.str.3 = [52 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx deviceid xxxxxx\0A\00"
@.str.4 = [56 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx dhcp enable/disable\0A\00"
@.str.5 = [47 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx ip x.x.x.x\0A\00"
@.str.6 = [47 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx netmask xx\0A\00"
@.str.7 = [47 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx ssid xxxxx\0A\00"
@.str.8 = [52 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx rssithr xxx yyy\0A\00"
@.str.9 = [50 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx security open\0A\00"
@.str.10 = [73 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx security wpa-psk/wpa2-psk passphrase\0A\00"
@.str.11 = [82 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx security wpa/wpa2 ttls/peap username password\0A\00"
@.str.12 = [42 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx apply\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [7 x i8] c"Usage:\00"
@str.13 = [17 x i8] c" cpe_ctrl get\00"
@str.14 = [35 x i8] c" cpe_ctrl get xx:xx:xx:xx:xx:xx\00"
@str.15 = [51 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx deviceid xxxxxx\00"
@str.16 = [55 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx dhcp enable/disable\00"
@str.17 = [46 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx ip x.x.x.x\00"
@str.18 = [46 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx netmask xx\00"
@str.19 = [46 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx ssid xxxxx\00"
@str.20 = [51 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx rssithr xxx yyy\00"
@str.21 = [49 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx security open\00"
@str.22 = [72 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx security wpa-psk/wpa2-psk passphrase\00"
@str.23 = [81 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx security wpa/wpa2 ttls/peap username password\00"
@str.24 = [41 x i8] c" cpe_ctrl set xx:xx:xx:xx:xx:xx apply\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.24, i64 0, i64 0))
ret void
}