#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_custom_ie_usage(void) {
  printf("\nUsage : sys_cfg_custom_ie [INDEX] [MASK] [IEBuffer]");
  printf("\n         empty - Get all IE settings\n");
  printf("\n         INDEX:  0 - Get/Set IE index 0 setting");
  printf("\n                 1 - Get/Set IE index 1 setting");
  printf("\n                 2 - Get/Set IE index 2 setting");
  printf("\n                 3 - Get/Set IE index 3 setting");
  printf("\n                -1 - Append/Delet IE automatically");
  printf("\n                     Delete will delete the IE from the matching "
         "IE buffer");
  printf("\n                     Append will append the IE to the buffer with "
         "the same mask");
  printf(
      "\n         MASK :  Management subtype mask value as per bit defintions");
  printf("\n              :  Bit 0 - Association request.");
  printf("\n              :  Bit 1 - Association response.");
  printf("\n              :  Bit 2 - Reassociation request.");
  printf("\n              :  Bit 3 - Reassociation response.");
  printf("\n              :  Bit 4 - Probe request.");
  printf("\n              :  Bit 5 - Probe response.");
  printf("\n              :  Bit 8 - Beacon.");
  printf("\n         MASK :  MASK = 0 to clear the mask and the IE buffer");
  printf("\n         IEBuffer :  IE Buffer in hex (max 256 bytes)\n\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_cfg_custom_ie_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf73(%rip),%rdi
call   1030 <printf@plt>
lea    0xf98(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbd(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1025(%rip),%rdi
call   1030 <printf@plt>
lea    0x106a(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a4(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c7(%rip),%rdi
call   1030 <printf@plt>
lea    0x10eb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1110(%rip),%rdi
call   1030 <printf@plt>
lea    0x1136(%rip),%rdi
call   1030 <printf@plt>
lea    0x1153(%rip),%rdi
call   1030 <printf@plt>
lea    0x1171(%rip),%rdi
call   1030 <printf@plt>
lea    0x1187(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ba(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_cfg_custom_ie_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
lea    0x1252(%rip),%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1040 <printf@plt>
lea    0xf1a(%rip),%rdi
call   1040 <printf@plt>
lea    0xf3f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf64(%rip),%rdi
call   1040 <printf@plt>
lea    0xf89(%rip),%rdi
call   1040 <printf@plt>
lea    0xfb1(%rip),%rdi
call   1040 <printf@plt>
lea    0xff1(%rip),%rdi
call   1040 <printf@plt>
lea    0x1036(%rip),%rdi
call   1040 <printf@plt>
lea    0x1070(%rip),%rdi
call   1040 <printf@plt>
lea    0x1093(%rip),%rdi
call   1040 <printf@plt>
lea    0x10b7(%rip),%rdi
call   1040 <printf@plt>
lea    0x10dc(%rip),%rdi
call   1040 <printf@plt>
lea    0x1102(%rip),%rdi
call   1040 <printf@plt>
lea    0x111f(%rip),%rdi
call   1040 <printf@plt>
lea    0x113d(%rip),%rdi
call   1040 <printf@plt>
lea    0x1153(%rip),%rdi
call   1040 <printf@plt>
lea    0x11ac(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [53 x i8] c"\0AUsage : sys_cfg_custom_ie [INDEX] [MASK] [IEBuffer]\00"
@.str.1 = [39 x i8] c"\0A empty - Get all IE settings\0A\00"
@.str.2 = [49 x i8] c"\0A INDEX: 0 - Get/Set IE index 0 setting\00"
@.str.3 = [49 x i8] c"\0A 1 - Get/Set IE index 1 setting\00"
@.str.4 = [49 x i8] c"\0A 2 - Get/Set IE index 2 setting\00"
@.str.5 = [49 x i8] c"\0A 3 - Get/Set IE index 3 setting\00"
@.str.6 = [52 x i8] c"\0A -1 - Append/Delet IE automatically\00"
@.str.7 = [76 x i8] c"\0A Delete will delete the IE from the matching IE buffer\00"
@.str.8 = [81 x i8] c"\0A Append will append the IE to the buffer with the same mask\00"
@.str.9 = [70 x i8] c"\0A MASK : Management subtype mask value as per bit defintions\00"
@.str.10 = [47 x i8] c"\0A : Bit 0 - Association request.\00"
@.str.11 = [48 x i8] c"\0A : Bit 1 - Association response.\00"
@.str.12 = [49 x i8] c"\0A : Bit 2 - Reassociation request.\00"
@.str.13 = [50 x i8] c"\0A : Bit 3 - Reassociation response.\00"
@.str.14 = [41 x i8] c"\0A : Bit 4 - Probe request.\00"
@.str.15 = [42 x i8] c"\0A : Bit 5 - Probe response.\00"
@.str.16 = [34 x i8] c"\0A : Bit 8 - Beacon.\00"
@.str.17 = [63 x i8] c"\0A MASK : MASK = 0 to clear the mask and the IE buffer\00"
@.str.18 = [57 x i8] c"\0A IEBuffer : IE Buffer in hex (max 256 bytes)\0A\0A\00"
define void @print_sys_cfg_custom_ie_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [53 x i8] c"\0AUsage : sys_cfg_custom_ie [INDEX] [MASK] [IEBuffer]\00"
@.str.2 = [49 x i8] c"\0A INDEX: 0 - Get/Set IE index 0 setting\00"
@.str.3 = [49 x i8] c"\0A 1 - Get/Set IE index 1 setting\00"
@.str.4 = [49 x i8] c"\0A 2 - Get/Set IE index 2 setting\00"
@.str.5 = [49 x i8] c"\0A 3 - Get/Set IE index 3 setting\00"
@.str.6 = [52 x i8] c"\0A -1 - Append/Delet IE automatically\00"
@.str.7 = [76 x i8] c"\0A Delete will delete the IE from the matching IE buffer\00"
@.str.8 = [81 x i8] c"\0A Append will append the IE to the buffer with the same mask\00"
@.str.9 = [70 x i8] c"\0A MASK : Management subtype mask value as per bit defintions\00"
@.str.10 = [47 x i8] c"\0A : Bit 0 - Association request.\00"
@.str.11 = [48 x i8] c"\0A : Bit 1 - Association response.\00"
@.str.12 = [49 x i8] c"\0A : Bit 2 - Reassociation request.\00"
@.str.13 = [50 x i8] c"\0A : Bit 3 - Reassociation response.\00"
@.str.14 = [41 x i8] c"\0A : Bit 4 - Probe request.\00"
@.str.15 = [42 x i8] c"\0A : Bit 5 - Probe response.\00"
@.str.16 = [34 x i8] c"\0A : Bit 8 - Beacon.\00"
@.str.17 = [63 x i8] c"\0A MASK : MASK = 0 to clear the mask and the IE buffer\00"
@str = [38 x i8] c"\0A empty - Get all IE settings\00"
@str.19 = [56 x i8] c"\0A IEBuffer : IE Buffer in hex (max 256 bytes)\0A\00"
define void @print_sys_cfg_custom_ie_usage() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%16 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.15, i64 0, i64 0))
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0))
%18 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.17, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.19, i64 0, i64 0))
ret void
}