#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_pscfg_usage(void) {
  printf("\nUsage : pscfg [MODE] [CTRL INACTTO MIN_SLEEP MAX_SLEEP MIN_AWAKE "
         "MAX_AWAKE]");
  printf("\nOptions: MODE :     0 - disable power mode");
  printf("\n                    1 - periodic DTIM power save mode");
  printf("\n                    2 - inactivity based power save mode");
  printf("\n   PS PARAMS:");
  printf("\n        CTRL:  0 - disable protection frame Tx before PS");
  printf("\n               1 - enable protection frame Tx before PS");
  printf("\n        INACTTO: Inactivity timeout in miroseconds");
  printf("\n        MIN_SLEEP: Minimum sleep duration in microseconds");
  printf("\n        MAX_SLEEP: Maximum sleep duration in miroseconds");
  printf("\n        MIN_AWAKE: Minimum awake duration in microseconds");
  printf("\n        MAX_AWAKE: Maximum awake duration in microseconds");
  printf("\n        MIN_AWAKE,MAX_AWAKE only valid for inactivity based power "
         "save mode");
  printf("\n        empty - get current power mode\n");
  return;
}


x86 assembly (clang, -O0):
<print_pscfg_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
call   1030 <printf@plt>
lea    0xf46(%rip),%rdi
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd0(%rip),%rdi
call   1030 <printf@plt>
lea    0xffd(%rip),%rdi
call   1030 <printf@plt>
lea    0x1025(%rip),%rdi
call   1030 <printf@plt>
lea    0x1054(%rip),%rdi
call   1030 <printf@plt>
lea    0x1082(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b1(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1121(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_pscfg_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
lea    0xf19(%rip),%rdi
call   1040 <printf@plt>
lea    0xf39(%rip),%rdi
call   1040 <printf@plt>
lea    0xf64(%rip),%rdi
call   1040 <printf@plt>
lea    0xf92(%rip),%rdi
call   1040 <printf@plt>
lea    0xf95(%rip),%rdi
call   1040 <printf@plt>
lea    0xfc3(%rip),%rdi
call   1040 <printf@plt>
lea    0xff0(%rip),%rdi
call   1040 <printf@plt>
lea    0x1018(%rip),%rdi
call   1040 <printf@plt>
lea    0x1047(%rip),%rdi
call   1040 <printf@plt>
lea    0x1075(%rip),%rdi
call   1040 <printf@plt>
lea    0x10a4(%rip),%rdi
call   1040 <printf@plt>
lea    0x10d3(%rip),%rdi
call   1040 <printf@plt>
lea    0x1114(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [77 x i8] c"\0AUsage : pscfg [MODE] [CTRL INACTTO MIN_SLEEP MAX_SLEEP MIN_AWAKE MAX_AWAKE]\00"
@.str.1 = [44 x i8] c"\0AOptions: MODE : 0 - disable power mode\00"
@.str.2 = [55 x i8] c"\0A 1 - periodic DTIM power save mode\00"
@.str.3 = [58 x i8] c"\0A 2 - inactivity based power save mode\00"
@.str.4 = [15 x i8] c"\0A PS PARAMS:\00"
@.str.5 = [58 x i8] c"\0A CTRL: 0 - disable protection frame Tx before PS\00"
@.str.6 = [57 x i8] c"\0A 1 - enable protection frame Tx before PS\00"
@.str.7 = [52 x i8] c"\0A INACTTO: Inactivity timeout in miroseconds\00"
@.str.8 = [59 x i8] c"\0A MIN_SLEEP: Minimum sleep duration in microseconds\00"
@.str.9 = [58 x i8] c"\0A MAX_SLEEP: Maximum sleep duration in miroseconds\00"
@.str.10 = [59 x i8] c"\0A MIN_AWAKE: Minimum awake duration in microseconds\00"
@.str.11 = [59 x i8] c"\0A MAX_AWAKE: Maximum awake duration in microseconds\00"
@.str.12 = [77 x i8] c"\0A MIN_AWAKE,MAX_AWAKE only valid for inactivity based power save mode\00"
@.str.13 = [41 x i8] c"\0A empty - get current power mode\0A\00"
define void @print_pscfg_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [77 x i8] c"\0AUsage : pscfg [MODE] [CTRL INACTTO MIN_SLEEP MAX_SLEEP MIN_AWAKE MAX_AWAKE]\00"
@.str.1 = [44 x i8] c"\0AOptions: MODE : 0 - disable power mode\00"
@.str.2 = [55 x i8] c"\0A 1 - periodic DTIM power save mode\00"
@.str.3 = [58 x i8] c"\0A 2 - inactivity based power save mode\00"
@.str.4 = [15 x i8] c"\0A PS PARAMS:\00"
@.str.5 = [58 x i8] c"\0A CTRL: 0 - disable protection frame Tx before PS\00"
@.str.6 = [57 x i8] c"\0A 1 - enable protection frame Tx before PS\00"
@.str.7 = [52 x i8] c"\0A INACTTO: Inactivity timeout in miroseconds\00"
@.str.8 = [59 x i8] c"\0A MIN_SLEEP: Minimum sleep duration in microseconds\00"
@.str.9 = [58 x i8] c"\0A MAX_SLEEP: Maximum sleep duration in miroseconds\00"
@.str.10 = [59 x i8] c"\0A MIN_AWAKE: Minimum awake duration in microseconds\00"
@.str.11 = [59 x i8] c"\0A MAX_AWAKE: Maximum awake duration in microseconds\00"
@.str.12 = [77 x i8] c"\0A MIN_AWAKE,MAX_AWAKE only valid for inactivity based power save mode\00"
@str = [40 x i8] c"\0A empty - get current power mode\00"
define void @print_pscfg_usage() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str, i64 0, i64 0))
ret void
}