#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 print_hscfg_usage(void) {
  printf("\nUsage : hscfg [condition [[GPIO# [gap]]]]");
  printf("\nOptions: condition : bit 0 = 1   -- broadcast data");
  printf("\n                     bit 1 = 1   -- unicast data");
  printf("\n                     bit 2 = 1   -- mac event");
  printf("\n                     bit 3 = 1   -- multicast packet");
  printf("\n                     bit 6 = 1   -- mgmt frame received");
  printf("\n         GPIO: the pin number (e.g. 0-7) of GPIO used to wakeup "
         "the host");
  printf(
      "\n               or 0xff interface (e.g. SDIO) used to wakeup the host");
  printf("\n         gap: time between wakeup signal and wakeup event (in "
         "milliseconds)");
  printf("\n              or 0xff for special setting when GPIO is used to "
         "wakeup host");
  printf("\n         empty - get current host sleep parameters\n");
  return;
}


x86 assembly (clang, -O0):
<print_hscfg_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf52(%rip),%rdi
call   1030 <printf@plt>
lea    0xf75(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcc(%rip),%rdi
call   1030 <printf@plt>
lea    0x100a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1044(%rip),%rdi
call   1030 <printf@plt>
lea    0x1085(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_hscfg_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
lea    0xef7(%rip),%rdi
call   1040 <printf@plt>
lea    0xf1f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf45(%rip),%rdi
call   1040 <printf@plt>
lea    0xf68(%rip),%rdi
call   1040 <printf@plt>
lea    0xf92(%rip),%rdi
call   1040 <printf@plt>
lea    0xfbf(%rip),%rdi
call   1040 <printf@plt>
lea    0xffd(%rip),%rdi
call   1040 <printf@plt>
lea    0x1037(%rip),%rdi
call   1040 <printf@plt>
lea    0x1078(%rip),%rdi
call   1040 <printf@plt>
lea    0x10b8(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [43 x i8] c"\0AUsage : hscfg [condition [[GPIO# [gap]]]]\00"
@.str.1 = [52 x i8] c"\0AOptions: condition : bit 0 = 1 -- broadcast data\00"
@.str.2 = [50 x i8] c"\0A bit 1 = 1 -- unicast data\00"
@.str.3 = [47 x i8] c"\0A bit 2 = 1 -- mac event\00"
@.str.4 = [54 x i8] c"\0A bit 3 = 1 -- multicast packet\00"
@.str.5 = [57 x i8] c"\0A bit 6 = 1 -- mgmt frame received\00"
@.str.6 = [74 x i8] c"\0A GPIO: the pin number (e.g. 0-7) of GPIO used to wakeup the host\00"
@.str.7 = [70 x i8] c"\0A or 0xff interface (e.g. SDIO) used to wakeup the host\00"
@.str.8 = [77 x i8] c"\0A gap: time between wakeup signal and wakeup event (in milliseconds)\00"
@.str.9 = [76 x i8] c"\0A or 0xff for special setting when GPIO is used to wakeup host\00"
@.str.10 = [53 x i8] c"\0A empty - get current host sleep parameters\0A\00"
define void @print_hscfg_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [43 x i8] c"\0AUsage : hscfg [condition [[GPIO# [gap]]]]\00"
@.str.1 = [52 x i8] c"\0AOptions: condition : bit 0 = 1 -- broadcast data\00"
@.str.2 = [50 x i8] c"\0A bit 1 = 1 -- unicast data\00"
@.str.3 = [47 x i8] c"\0A bit 2 = 1 -- mac event\00"
@.str.4 = [54 x i8] c"\0A bit 3 = 1 -- multicast packet\00"
@.str.5 = [57 x i8] c"\0A bit 6 = 1 -- mgmt frame received\00"
@.str.6 = [74 x i8] c"\0A GPIO: the pin number (e.g. 0-7) of GPIO used to wakeup the host\00"
@.str.7 = [70 x i8] c"\0A or 0xff interface (e.g. SDIO) used to wakeup the host\00"
@.str.8 = [77 x i8] c"\0A gap: time between wakeup signal and wakeup event (in milliseconds)\00"
@.str.9 = [76 x i8] c"\0A or 0xff for special setting when GPIO is used to wakeup host\00"
@str = [52 x i8] c"\0A empty - get current host sleep parameters\00"
define void @print_hscfg_usage() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str, i64 0, i64 0))
ret void
}