#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_hssetpara_usage(void) {
  printf("\nUsage : hssetpara 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\n");
  return;
}


x86 assembly (clang, -O0):
<print_hssetpara_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf54(%rip),%rdi
call   1030 <printf@plt>
lea    0xf77(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa1(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
lea    0x100c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1046(%rip),%rdi
call   1030 <printf@plt>
lea    0x1087(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_hssetpara_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
lea    0xef9(%rip),%rdi
call   1040 <printf@plt>
lea    0xf21(%rip),%rdi
call   1040 <printf@plt>
lea    0xf47(%rip),%rdi
call   1040 <printf@plt>
lea    0xf6a(%rip),%rdi
call   1040 <printf@plt>
lea    0xf94(%rip),%rdi
call   1040 <printf@plt>
lea    0xfc1(%rip),%rdi
call   1040 <printf@plt>
lea    0xfff(%rip),%rdi
call   1040 <printf@plt>
lea    0x1039(%rip),%rdi
call   1040 <printf@plt>
lea    0x107a(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [45 x i8] c"\0AUsage : hssetpara 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 = [77 x i8] c"\0A or 0xff for special setting when GPIO is used to wakeup host\0A\00"
define void @print_hssetpara_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 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 ([77 x i8], [77 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [45 x i8] c"\0AUsage : hssetpara 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 = [76 x i8] c"\0A or 0xff for special setting when GPIO is used to wakeup host\00"
define void @print_hssetpara_usage() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 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 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str, i64 0, i64 0))
ret void
}