#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_sys_cfg_wmm_usage(void) {
  printf("\nUsage : sys_cfg_wmm  [qosinfo=<qos_info>] [AC_BE AIFSN ECW_MAX "
         "ECW_MIN TX_OP]\n");
  printf("\n                     [AC_BK AIFSN ECW_MAX ECW_MIN TX_OP]\n");
  printf("\n                     [AC_VI AIFSN ECW_MAX ECW_MIN TX_OP]\n");
  printf("\n                     [AC_VO AIFSN ECW_MAX ECW_MIN TX_OP]\n");
  printf("\nOptions: qosinfo - 0x80 or 0x00");
  printf("\n         AC_BE - 0, AC_BK - 1");
  printf("\n         AC_VI - 2, AC_VO - 3");
  printf("\n         AIFSN - AIFSN value");
  printf("\n         ECW_MAX: ECW max");
  printf("\n         ECW_MIN: ECW min");
  printf("\n         TX_OP: TXOP Limit");
  printf("\n         empty - Get current wmm parameters\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_cfg_wmm_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
call   1030 <printf@plt>
lea    0xf87(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcb(%rip),%rdi
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
call   1030 <printf@plt>
lea    0xff1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1003(%rip),%rdi
call   1030 <printf@plt>
lea    0x1012(%rip),%rdi
call   1030 <printf@plt>
lea    0x1021(%rip),%rdi
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_cfg_wmm_usage>:
push   %rax
lea    0xfa7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfea(%rip),%rdi
call   1030 <puts@plt>
lea    0x1018(%rip),%rdi
call   1030 <puts@plt>
lea    0x1046(%rip),%rdi
call   1030 <puts@plt>
lea    0xea8(%rip),%rdi
call   1040 <printf@plt>
lea    0xebd(%rip),%rdi
call   1040 <printf@plt>
lea    0xed0(%rip),%rdi
call   1040 <printf@plt>
lea    0xee3(%rip),%rdi
call   1040 <printf@plt>
lea    0xef5(%rip),%rdi
call   1040 <printf@plt>
lea    0xf04(%rip),%rdi
call   1040 <printf@plt>
lea    0xf13(%rip),%rdi
call   1040 <printf@plt>
lea    0x1020(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [80 x i8] c"\0AUsage : sys_cfg_wmm [qosinfo=<qos_info>] [AC_BE AIFSN ECW_MAX ECW_MIN TX_OP]\0A\00"
@.str.1 = [59 x i8] c"\0A [AC_BK AIFSN ECW_MAX ECW_MIN TX_OP]\0A\00"
@.str.2 = [59 x i8] c"\0A [AC_VI AIFSN ECW_MAX ECW_MIN TX_OP]\0A\00"
@.str.3 = [59 x i8] c"\0A [AC_VO AIFSN ECW_MAX ECW_MIN TX_OP]\0A\00"
@.str.4 = [33 x i8] c"\0AOptions: qosinfo - 0x80 or 0x00\00"
@.str.5 = [31 x i8] c"\0A AC_BE - 0, AC_BK - 1\00"
@.str.6 = [31 x i8] c"\0A AC_VI - 2, AC_VO - 3\00"
@.str.7 = [30 x i8] c"\0A AIFSN - AIFSN value\00"
@.str.8 = [27 x i8] c"\0A ECW_MAX: ECW max\00"
@.str.9 = [27 x i8] c"\0A ECW_MIN: ECW min\00"
@.str.10 = [28 x i8] c"\0A TX_OP: TXOP Limit\00"
@.str.11 = [46 x i8] c"\0A empty - Get current wmm parameters\0A\00"
define void @print_sys_cfg_wmm_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.4 = [33 x i8] c"\0AOptions: qosinfo - 0x80 or 0x00\00"
@.str.5 = [31 x i8] c"\0A AC_BE - 0, AC_BK - 1\00"
@.str.6 = [31 x i8] c"\0A AC_VI - 2, AC_VO - 3\00"
@.str.7 = [30 x i8] c"\0A AIFSN - AIFSN value\00"
@.str.8 = [27 x i8] c"\0A ECW_MAX: ECW max\00"
@.str.9 = [27 x i8] c"\0A ECW_MIN: ECW min\00"
@.str.10 = [28 x i8] c"\0A TX_OP: TXOP Limit\00"
@str = [79 x i8] c"\0AUsage : sys_cfg_wmm [qosinfo=<qos_info>] [AC_BE AIFSN ECW_MAX ECW_MIN TX_OP]\00"
@str.12 = [58 x i8] c"\0A [AC_BK AIFSN ECW_MAX ECW_MIN TX_OP]\00"
@str.13 = [58 x i8] c"\0A [AC_VI AIFSN ECW_MAX ECW_MIN TX_OP]\00"
@str.14 = [58 x i8] c"\0A [AC_VO AIFSN ECW_MAX ECW_MIN TX_OP]\00"
@str.15 = [45 x i8] c"\0A empty - Get current wmm parameters\00"
define void @print_sys_cfg_wmm_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.15, i64 0, i64 0))
ret void
}