#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 *);
int /*<<< orphan*/ sw_printFooter();
int /*<<< orphan*/ sw_printJoinHelp();
int /*<<< orphan*/ sw_printStartapHelp();
void sw_printFullHelp(void) {
  printf("Available commands with full description for each:\n");
  printf("join\n----\n");
  sw_printJoinHelp();
  printf("\n");
  printf("leave\n-----\n");
  printf("wifi leave\n  No arguments\n");
  printf("\n");
  printf("scan\n----\n");
  printf("wifi scan\n   No arguments\n");
  printf("\n");
  printf("startsta\n--------\n");
  printf("wifi startsta\n   No arguments\n");
  printf("\n");
  printf("startap\n-------\n");
  sw_printStartapHelp();
  printf("\n");
  printf("stop\n----\n");
  printf("wifi stop\n   No arguments\n");
  printf("   Stops the running mode (STA or AP)\n");
  printf("\n");
  printf("country\n--------\n");
  printf("wifi country [<country code>]\n");
  printf("  <country code> is capital two letters\n");
  printf("                 if country code is not set, it will return country "
         "code from NVdata\n");
  printf("                 Note that\n");
  printf("                 to set country code, Wi-Fi should be off\n");
  printf("                 to get country code, Wi-Fi should be on\n");
  printf("\n");
  printf("opmode\n--------\n");
  printf("wifi opmode\n");
  printf("    returns Wi-Fi operation mode (among NONE, STA and SOFTAP)\n");
  printf("\n");
  printf("txpower\n--------\n");
  printf("wifi txpower <dbm>\n");
  printf("    sets the tx power to dbm (value between 12-30).\n");
  printf("\n");
  printf("saveconfig\n--------\n");
  printf("wifi saveconfig\n");
  printf("    Saves the current state of the wifi stack to be reused after "
         "reboot/restart.\n");
  printf("    The functionality is only available in STA mode. If connected to "
         "an external\n");
  printf("    AP when saving then it will auto-reconnect to this AP the next "
         "time STA mode.\n");
  printf("    is enabled. Save config when disconnected to clear any "
         "auto-connects.\n");
  printf("\n");
  printf("ie\n--------\n");
  printf("wifi ie <oui> <ie-data>\n");
  printf("    Sets the vendor specific IE data + OUI for the next time \n");
  printf("    the AP mode is started.\n");
  printf("      <oui>     : the Organizational Unique Id in hex (format: "
         "xxxxxx)\n");
  printf("      <ie-data> : the IE data as string representation\n");
  printf("\n");
  printf("status\n--------\n");
  printf("wifi status\n");
  printf("    returns Wi-Fi connection status\n");
  printf("    STA : it returns whether Wi-Fi is connected or not\n");
  printf("    soft AP : it returns whether connected number of STAs\n");
  printf("\n");
  printf("auto\n----\n");
  printf("wifi auto [<testscript>]\n");
  printf("  <testscript> is optional and is the full path to a file\n");
  printf("               containing the command line arguments to\n");
  printf("               execute sequentially - on command per line\n");
  printf("               omitting the \"wifi\" part\n");
  printf("\n");
  printf("help\n  This help\n");
  printf("use the command help to get extended help about arguments for the\n");
  printf("different commands\n");
  sw_printFooter();
}


x86 assembly (clang, -O0):
<sw_printFullHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xeb5(%rip),%rdi
call   1040 <printf@plt>
lea    0xedd(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <sw_printJoinHelp@plt>
lea    0x1377(%rip),%rdi
call   1040 <printf@plt>
lea    0xec9(%rip),%rdi
call   1040 <printf@plt>
lea    0xeca(%rip),%rdi
call   1040 <printf@plt>
lea    0x1353(%rip),%rdi
call   1040 <printf@plt>
lea    0xecd(%rip),%rdi
call   1040 <printf@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0x132f(%rip),%rdi
call   1040 <printf@plt>
lea    0xecf(%rip),%rdi
call   1040 <printf@plt>
lea    0xed6(%rip),%rdi
call   1040 <printf@plt>
lea    0x130b(%rip),%rdi
call   1040 <printf@plt>
lea    0xedd(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1030 <sw_printStartapHelp@plt>
lea    0x12ec(%rip),%rdi
call   1040 <printf@plt>
lea    0xecf(%rip),%rdi
call   1040 <printf@plt>
lea    0xece(%rip),%rdi
call   1040 <printf@plt>
lea    0xedd(%rip),%rdi
call   1040 <printf@plt>
lea    0x12bc(%rip),%rdi
call   1040 <printf@plt>
lea    0xeec(%rip),%rdi
call   1040 <printf@plt>
lea    0xef2(%rip),%rdi
call   1040 <printf@plt>
lea    0xf05(%rip),%rdi
call   1040 <printf@plt>
lea    0xf22(%rip),%rdi
call   1040 <printf@plt>
lea    0xf6c(%rip),%rdi
call   1040 <printf@plt>
lea    0xf7c(%rip),%rdi
call   1040 <printf@plt>
lea    0xfab(%rip),%rdi
call   1040 <printf@plt>
lea    0x125c(%rip),%rdi
call   1040 <printf@plt>
lea    0xfcd(%rip),%rdi
call   1040 <printf@plt>
lea    0xfd2(%rip),%rdi
call   1040 <printf@plt>
lea    0xfd3(%rip),%rdi
call   1040 <printf@plt>
lea    0x122c(%rip),%rdi
call   1040 <printf@plt>
lea    0xffa(%rip),%rdi
call   1040 <printf@plt>
lea    0x1000(%rip),%rdi
call   1040 <printf@plt>
lea    0x1008(%rip),%rdi
call   1040 <printf@plt>
lea    0x11fc(%rip),%rdi
call   1040 <printf@plt>
lea    0x1025(%rip),%rdi
call   1040 <printf@plt>
lea    0x102e(%rip),%rdi
call   1040 <printf@plt>
lea    0x1033(%rip),%rdi
call   1040 <printf@plt>
lea    0x1079(%rip),%rdi
call   1040 <printf@plt>
lea    0x10bf(%rip),%rdi
call   1040 <printf@plt>
lea    0x1106(%rip),%rdi
call   1040 <printf@plt>
lea    0x11a8(%rip),%rdi
call   1040 <printf@plt>
lea    0x1139(%rip),%rdi
call   1040 <printf@plt>
lea    0x113a(%rip),%rdi
call   1040 <printf@plt>
lea    0x1147(%rip),%rdi
call   1040 <printf@plt>
lea    0x117a(%rip),%rdi
call   1040 <printf@plt>
lea    0x118b(%rip),%rdi
call   1040 <printf@plt>
lea    0x11c7(%rip),%rdi
call   1040 <printf@plt>
lea    0x1154(%rip),%rdi
call   1040 <printf@plt>
lea    0x11e7(%rip),%rdi
call   1040 <printf@plt>
lea    0x11ec(%rip),%rdi
call   1040 <printf@plt>
lea    0x11ed(%rip),%rdi
call   1040 <printf@plt>
lea    0x1206(%rip),%rdi
call   1040 <printf@plt>
lea    0x1232(%rip),%rdi
call   1040 <printf@plt>
lea    0x110c(%rip),%rdi
call   1040 <printf@plt>
lea    0x1255(%rip),%rdi
call   1040 <printf@plt>
lea    0x1254(%rip),%rdi
call   1040 <printf@plt>
lea    0x1262(%rip),%rdi
call   1040 <printf@plt>
lea    0x1291(%rip),%rdi
call   1040 <printf@plt>
lea    0x12be(%rip),%rdi
call   1040 <printf@plt>
lea    0x12ed(%rip),%rdi
call   1040 <printf@plt>
lea    0x10b8(%rip),%rdi
call   1040 <printf@plt>
lea    0x12fe(%rip),%rdi
call   1040 <printf@plt>
lea    0x1304(%rip),%rdi
call   1040 <printf@plt>
lea    0x133b(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1060 <sw_printFooter@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<sw_printFullHelp>:
push   %rax
lea    0xea8(%rip),%rdi
call   1050 <puts@plt>
lea    0xecf(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
call   1060 <sw_printJoinHelp@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xebc(%rip),%rdi
call   1050 <puts@plt>
lea    0xebc(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xec0(%rip),%rdi
call   1050 <puts@plt>
lea    0xebe(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xec2(%rip),%rdi
call   1050 <puts@plt>
lea    0xec8(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xed0(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
call   1030 <sw_printStartapHelp@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xec3(%rip),%rdi
call   1050 <puts@plt>
lea    0xec1(%rip),%rdi
call   1050 <puts@plt>
lea    0xecf(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xedf(%rip),%rdi
call   1050 <puts@plt>
lea    0xee4(%rip),%rdi
call   1050 <puts@plt>
lea    0xef6(%rip),%rdi
call   1050 <puts@plt>
lea    0xf12(%rip),%rdi
call   1050 <puts@plt>
lea    0xf5b(%rip),%rdi
call   1050 <puts@plt>
lea    0xf6a(%rip),%rdi
call   1050 <puts@plt>
lea    0xf98(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xfbb(%rip),%rdi
call   1050 <puts@plt>
lea    0xfbf(%rip),%rdi
call   1050 <puts@plt>
lea    0xfbf(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xfe7(%rip),%rdi
call   1050 <puts@plt>
lea    0xfec(%rip),%rdi
call   1050 <puts@plt>
lea    0xff3(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x1011(%rip),%rdi
call   1050 <puts@plt>
lea    0x1019(%rip),%rdi
call   1050 <puts@plt>
lea    0x101d(%rip),%rdi
call   1050 <puts@plt>
lea    0x1062(%rip),%rdi
call   1050 <puts@plt>
lea    0x10a7(%rip),%rdi
call   1050 <puts@plt>
lea    0x10ed(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x1121(%rip),%rdi
call   1050 <puts@plt>
lea    0x1121(%rip),%rdi
call   1050 <puts@plt>
lea    0x112d(%rip),%rdi
call   1050 <puts@plt>
lea    0x115f(%rip),%rdi
call   1050 <puts@plt>
lea    0x116f(%rip),%rdi
call   1050 <puts@plt>
lea    0x11aa(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x11cb(%rip),%rdi
call   1050 <puts@plt>
lea    0x11cf(%rip),%rdi
call   1050 <puts@plt>
lea    0x11cf(%rip),%rdi
call   1050 <puts@plt>
lea    0x11e7(%rip),%rdi
call   1050 <puts@plt>
lea    0x1212(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x1236(%rip),%rdi
call   1050 <puts@plt>
lea    0x1234(%rip),%rdi
call   1050 <puts@plt>
lea    0x1241(%rip),%rdi
call   1050 <puts@plt>
lea    0x126f(%rip),%rdi
call   1050 <puts@plt>
lea    0x129b(%rip),%rdi
call   1050 <puts@plt>
lea    0x12c9(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x12db(%rip),%rdi
call   1050 <puts@plt>
lea    0x12e0(%rip),%rdi
call   1050 <puts@plt>
lea    0x1316(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
pop    %rcx
jmp    1070 <sw_printFooter@plt>

LLVM IR (-O0):
@.str = [52 x i8] c"Available commands with full description for each:\0A\00"
@.str.1 = [11 x i8] c"join\0A----\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [13 x i8] c"leave\0A-----\0A\00"
@.str.4 = [27 x i8] c"wifi leave\0A No arguments\0A\00"
@.str.5 = [11 x i8] c"scan\0A----\0A\00"
@.str.6 = [27 x i8] c"wifi scan\0A No arguments\0A\00"
@.str.7 = [19 x i8] c"startsta\0A--------\0A\00"
@.str.8 = [31 x i8] c"wifi startsta\0A No arguments\0A\00"
@.str.9 = [17 x i8] c"startap\0A-------\0A\00"
@.str.10 = [11 x i8] c"stop\0A----\0A\00"
@.str.11 = [27 x i8] c"wifi stop\0A No arguments\0A\00"
@.str.12 = [39 x i8] c" Stops the running mode (STA or AP)\0A\00"
@.str.13 = [18 x i8] c"country\0A--------\0A\00"
@.str.14 = [31 x i8] c"wifi country [<country code>]\0A\00"
@.str.15 = [41 x i8] c" <country code> is capital two letters\0A\00"
@.str.16 = [86 x i8] c" if country code is not set, it will return country code from NVdata\0A\00"
@.str.17 = [28 x i8] c" Note that\0A\00"
@.str.18 = [59 x i8] c" to set country code, Wi-Fi should be off\0A\00"
@.str.19 = [58 x i8] c" to get country code, Wi-Fi should be on\0A\00"
@.str.20 = [17 x i8] c"opmode\0A--------\0A\00"
@.str.21 = [13 x i8] c"wifi opmode\0A\00"
@.str.22 = [63 x i8] c" returns Wi-Fi operation mode (among NONE, STA and SOFTAP)\0A\00"
@.str.23 = [18 x i8] c"txpower\0A--------\0A\00"
@.str.24 = [20 x i8] c"wifi txpower <dbm>\0A\00"
@.str.25 = [53 x i8] c" sets the tx power to dbm (value between 12-30).\0A\00"
@.str.26 = [21 x i8] c"saveconfig\0A--------\0A\00"
@.str.27 = [17 x i8] c"wifi saveconfig\0A\00"
@.str.28 = [82 x i8] c" Saves the current state of the wifi stack to be reused after reboot/restart.\0A\00"
@.str.29 = [82 x i8] c" The functionality is only available in STA mode. If connected to an external\0A\00"
@.str.30 = [83 x i8] c" AP when saving then it will auto-reconnect to this AP the next time STA mode.\0A\00"
@.str.31 = [75 x i8] c" is enabled. Save config when disconnected to clear any auto-connects.\0A\00"
@.str.32 = [13 x i8] c"ie\0A--------\0A\00"
@.str.33 = [25 x i8] c"wifi ie <oui> <ie-data>\0A\00"
@.str.34 = [63 x i8] c" Sets the vendor specific IE data + OUI for the next time \0A\00"
@.str.35 = [29 x i8] c" the AP mode is started.\0A\00"
@.str.36 = [72 x i8] c" <oui> : the Organizational Unique Id in hex (format: xxxxxx)\0A\00"
@.str.37 = [56 x i8] c" <ie-data> : the IE data as string representation\0A\00"
@.str.38 = [17 x i8] c"status\0A--------\0A\00"
@.str.39 = [13 x i8] c"wifi status\0A\00"
@.str.40 = [37 x i8] c" returns Wi-Fi connection status\0A\00"
@.str.41 = [56 x i8] c" STA : it returns whether Wi-Fi is connected or not\0A\00"
@.str.42 = [59 x i8] c" soft AP : it returns whether connected number of STAs\0A\00"
@.str.43 = [11 x i8] c"auto\0A----\0A\00"
@.str.44 = [26 x i8] c"wifi auto [<testscript>]\0A\00"
@.str.45 = [59 x i8] c" <testscript> is optional and is the full path to a file\0A\00"
@.str.46 = [57 x i8] c" containing the command line arguments to\0A\00"
@.str.47 = [59 x i8] c" execute sequentially - on command per line\0A\00"
@.str.48 = [41 x i8] c" omitting the \22wifi\22 part\0A\00"
@.str.49 = [18 x i8] c"help\0A This help\0A\00"
@.str.50 = [67 x i8] c"use the command help to get extended help about arguments for the\0A\00"
@.str.51 = [20 x i8] c"different commands\0A\00"
define void @sw_printFullHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (...) @sw_printJoinHelp()
%4 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 (...) @sw_printStartapHelp()
%16 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.12, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.16, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.18, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.19, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.22, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.24, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.25, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.26, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.27, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.28, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.29, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.30, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.31, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.32, i64 0, i64 0))
%45 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.33, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.34, i64 0, i64 0))
%47 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.35, i64 0, i64 0))
%48 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.36, i64 0, i64 0))
%49 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.37, i64 0, i64 0))
%50 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%51 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0))
%52 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.39, i64 0, i64 0))
%53 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.40, i64 0, i64 0))
%54 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.41, i64 0, i64 0))
%55 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.42, i64 0, i64 0))
%56 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%57 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.43, i64 0, i64 0))
%58 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.44, i64 0, i64 0))
%59 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.45, i64 0, i64 0))
%60 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.46, i64 0, i64 0))
%61 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.47, i64 0, i64 0))
%62 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.48, i64 0, i64 0))
%63 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%64 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.49, i64 0, i64 0))
%65 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.50, i64 0, i64 0))
%66 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.51, i64 0, i64 0))
%67 = call i32 (...) @sw_printFooter()
ret void
}

LLVM IR (-O2):
@str = [51 x i8] c"Available commands with full description for each:\00"
@str.52 = [10 x i8] c"join\0A----\00"
@str.53 = [12 x i8] c"leave\0A-----\00"
@str.54 = [26 x i8] c"wifi leave\0A No arguments\00"
@str.55 = [10 x i8] c"scan\0A----\00"
@str.56 = [26 x i8] c"wifi scan\0A No arguments\00"
@str.57 = [18 x i8] c"startsta\0A--------\00"
@str.58 = [30 x i8] c"wifi startsta\0A No arguments\00"
@str.59 = [16 x i8] c"startap\0A-------\00"
@str.60 = [10 x i8] c"stop\0A----\00"
@str.61 = [26 x i8] c"wifi stop\0A No arguments\00"
@str.62 = [38 x i8] c" Stops the running mode (STA or AP)\00"
@str.63 = [17 x i8] c"country\0A--------\00"
@str.64 = [30 x i8] c"wifi country [<country code>]\00"
@str.65 = [40 x i8] c" <country code> is capital two letters\00"
@str.66 = [85 x i8] c" if country code is not set, it will return country code from NVdata\00"
@str.67 = [27 x i8] c" Note that\00"
@str.68 = [58 x i8] c" to set country code, Wi-Fi should be off\00"
@str.69 = [57 x i8] c" to get country code, Wi-Fi should be on\00"
@str.70 = [16 x i8] c"opmode\0A--------\00"
@str.71 = [12 x i8] c"wifi opmode\00"
@str.72 = [62 x i8] c" returns Wi-Fi operation mode (among NONE, STA and SOFTAP)\00"
@str.73 = [17 x i8] c"txpower\0A--------\00"
@str.74 = [19 x i8] c"wifi txpower <dbm>\00"
@str.75 = [52 x i8] c" sets the tx power to dbm (value between 12-30).\00"
@str.76 = [20 x i8] c"saveconfig\0A--------\00"
@str.77 = [16 x i8] c"wifi saveconfig\00"
@str.78 = [81 x i8] c" Saves the current state of the wifi stack to be reused after reboot/restart.\00"
@str.79 = [81 x i8] c" The functionality is only available in STA mode. If connected to an external\00"
@str.80 = [82 x i8] c" AP when saving then it will auto-reconnect to this AP the next time STA mode.\00"
@str.81 = [74 x i8] c" is enabled. Save config when disconnected to clear any auto-connects.\00"
@str.82 = [12 x i8] c"ie\0A--------\00"
@str.83 = [24 x i8] c"wifi ie <oui> <ie-data>\00"
@str.84 = [62 x i8] c" Sets the vendor specific IE data + OUI for the next time \00"
@str.85 = [28 x i8] c" the AP mode is started.\00"
@str.86 = [71 x i8] c" <oui> : the Organizational Unique Id in hex (format: xxxxxx)\00"
@str.87 = [55 x i8] c" <ie-data> : the IE data as string representation\00"
@str.88 = [16 x i8] c"status\0A--------\00"
@str.89 = [12 x i8] c"wifi status\00"
@str.90 = [36 x i8] c" returns Wi-Fi connection status\00"
@str.91 = [55 x i8] c" STA : it returns whether Wi-Fi is connected or not\00"
@str.92 = [58 x i8] c" soft AP : it returns whether connected number of STAs\00"
@str.93 = [10 x i8] c"auto\0A----\00"
@str.94 = [25 x i8] c"wifi auto [<testscript>]\00"
@str.95 = [58 x i8] c" <testscript> is optional and is the full path to a file\00"
@str.96 = [56 x i8] c" containing the command line arguments to\00"
@str.97 = [58 x i8] c" execute sequentially - on command per line\00"
@str.98 = [40 x i8] c" omitting the \22wifi\22 part\00"
@str.99 = [17 x i8] c"help\0A This help\00"
@str.100 = [66 x i8] c"use the command help to get extended help about arguments for the\00"
@str.101 = [19 x i8] c"different commands\00"
define void @sw_printFullHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.52, i64 0, i64 0))
%3 = tail call i32 (...) @sw_printJoinHelp()
%4 = tail call i32 @putchar(i32 10)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.53, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.54, i64 0, i64 0))
%7 = tail call i32 @putchar(i32 10)
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.55, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.56, i64 0, i64 0))
%10 = tail call i32 @putchar(i32 10)
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.57, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.58, i64 0, i64 0))
%13 = tail call i32 @putchar(i32 10)
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.59, i64 0, i64 0))
%15 = tail call i32 (...) @sw_printStartapHelp()
%16 = tail call i32 @putchar(i32 10)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.60, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.61, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.62, i64 0, i64 0))
%20 = tail call i32 @putchar(i32 10)
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.63, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.64, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.65, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.66, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.67, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.68, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.69, i64 0, i64 0))
%28 = tail call i32 @putchar(i32 10)
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.70, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.71, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.72, i64 0, i64 0))
%32 = tail call i32 @putchar(i32 10)
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.73, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.74, i64 0, i64 0))
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.75, i64 0, i64 0))
%36 = tail call i32 @putchar(i32 10)
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.76, i64 0, i64 0))
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.77, i64 0, i64 0))
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.78, i64 0, i64 0))
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.79, i64 0, i64 0))
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.80, i64 0, i64 0))
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.81, i64 0, i64 0))
%43 = tail call i32 @putchar(i32 10)
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.82, i64 0, i64 0))
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.83, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.84, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.85, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.86, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.87, i64 0, i64 0))
%50 = tail call i32 @putchar(i32 10)
%51 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.88, i64 0, i64 0))
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.89, i64 0, i64 0))
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.90, i64 0, i64 0))
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.91, i64 0, i64 0))
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.92, i64 0, i64 0))
%56 = tail call i32 @putchar(i32 10)
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.93, i64 0, i64 0))
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.94, i64 0, i64 0))
%59 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.95, i64 0, i64 0))
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.96, i64 0, i64 0))
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.97, i64 0, i64 0))
%62 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.98, i64 0, i64 0))
%63 = tail call i32 @putchar(i32 10)
%64 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.99, i64 0, i64 0))
%65 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.100, i64 0, i64 0))
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.101, i64 0, i64 0))
%67 = tail call i32 (...) @sw_printFooter()
ret void
}